Bug 790640

Summary: various build errors/discrepancies
Product: [Fedora] Fedora Reporter: Mr-4 <mr.dash.four>
Component: iptablesAssignee: Thomas Woerner <twoerner>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: psabata, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 23:57:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mr-4 2012-02-15 01:26:26 UTC
Description of problem:
During build (from srpm) I get the following error:

error: Installed (but unpackaged) file(s) found:
   /sbin/nfnl_osf
   /usr/local/share/xtables/pf.os

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /sbin/nfnl_osf
   /usr/local/share/xtables/pf.os

I also get the following autoconf discrepancy during ./configure:
[...]
checking linux/proc_fs.h usability... no
checking linux/proc_fs.h presence... no
checking for linux/proc_fs.h... no

As far as I could tell, this file is from the kernel-devel package and I have the this package installed on my system. The file *is* present in /usr/src/kernels/<kernel_version>/include/linux/proc_fs.h. The kernel-headers package is also installed as well.

Version-Release number of selected component (if applicable):
Latest (1.4.12)

How reproducible:
Always

Steps to Reproduce:
1. rpm -ivh iptables-XXXX.src.rpm
2. cd build/SPECS
3. rpmbuild -bb iptables.spec
  
Actual results:
The above error & log

Expected results:
Compilation to pass and fs_proc.h to be recognised as "present" and to be used

Additional info:
The relevant part from config.log with regards to the proc_fs.h is as follows:

configure:10909: checking linux/proc_fs.h usability
configure:10909: gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -march=native -mtune=native -fno-strict-aliasing  conftest.c >&5
conftest.c:59:27: error: linux/proc_fs.h: No such file or directory
configure:10909: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "iptables"
| #define PACKAGE_TARNAME "iptables"
| #define PACKAGE_VERSION "1.4.12.2"
| #define PACKAGE_STRING "iptables 1.4.12.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iptables"
| #define VERSION "1.4.12.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LINUX_DCCP_H 1
| #define HAVE_LINUX_IP_VS_H 1
| #define HAVE_LINUX_MAGIC_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <linux/proc_fs.h>
configure:10909: result: no
configure:10909: checking linux/proc_fs.h presence
configure:10909: gcc -E  conftest.c
conftest.c:26:27: error: linux/proc_fs.h: No such file or directory
configure:10909: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "iptables"
| #define PACKAGE_TARNAME "iptables"
| #define PACKAGE_VERSION "1.4.12.2"
| #define PACKAGE_STRING "iptables 1.4.12.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "iptables"
| #define VERSION "1.4.12.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LINUX_DCCP_H 1
| #define HAVE_LINUX_IP_VS_H 1
| #define HAVE_LINUX_MAGIC_H 1
| /* end confdefs.h.  */
| #include <linux/proc_fs.h>
configure:10909: result: no
configure:10909: checking for linux/proc_fs.h
configure:10909: result: no

Comment 1 Fedora End Of Life 2013-01-16 20:33:12 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Fedora End Of Life 2013-02-13 23:57:51 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.