Bug 1932205

Summary: perl-IPTables-libiptc-0.52-36.fc35 FTBFS: iptables-detect-version.c:65:2: warning: #warning "This version of xtables is currently not supported by this Perl package
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-IPTables-libiptcAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-IPTables-libiptc
Whiteboard:
Fixed In Version: perl-IPTables-libiptc-0.52-37.fc35 perl-IPTables-libiptc-0.52-37.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-10 14:09:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1927309    

Description Petr Pisar 2021-02-24 08:52:47 UTC
perl-IPTables-libiptc-0.52-36.fc35 fails to build in F35:

gcc -c  -I/usr/local/include -I./include -I. -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection   -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" -fPIC "-I/usr/lib64/perl5/CORE"  -g -DIPTABLES_VERSION=\"1.4.4\" -DXTABLES_LIBDIR=\"\/lib/xtables\" -DIPTABLES_VERSION_CODE=\ libiptc.c
gcc: fatal error: no input files
compilation terminated.
make: *** [Makefile:350: libiptc.o] Error 1
make: *** Waiting for unfinished jobs....
make -C iptables/ all PREFIX="/usr" IPTABLES_VERSION="1.4.4" XTABLES_LIBDIR="/lib/xtables" IPTABLES_VERSION_CODE="" EXTRALIBS="-lip4tc -lxtables"
make[1]: Entering directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables'
make[1]: Leaving directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables'
make[1]: Entering directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables'
cc -O2 -Wall -Wunused -I/include -I/usr/include -I../include/ -fPIC -DXTABLES_INTERNAL -g -DIPTABLES_VERSION=\"1.4.4\" -DXTABLES_LIBDIR=\"/lib/xtables\" -DIPTABLES_VERSION_CODE=\ -c -o iptables.o iptables-detect-version.c
make[1]: Leaving directory '/builddir/build/BUILD/IPTables-libiptc-0.52/iptables'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
iptables-detect-version.c:65:2: warning: #warning "This version of xtables is currently not supported by this Perl package" [-Wcpp]

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/9920732>

Comment 1 Petr Pisar 2021-03-10 14:09:23 UTC
iptables tool called at build time was moved from iptables to iptables-legacy packages.

Comment 2 Fedora Update System 2021-06-15 14:52:20 UTC
FEDORA-2021-aa5ee7a292 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-aa5ee7a292

Comment 3 Fedora Update System 2021-06-16 02:02:36 UTC
FEDORA-2021-aa5ee7a292 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-aa5ee7a292`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-aa5ee7a292

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-06-24 16:51:52 UTC
FEDORA-2021-aa5ee7a292 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.