Bug 1051220

Summary: Add libtool to iptables spec to enable ppc64le
Product: [Fedora] Fedora Reporter: Brent Baude <bbaude>
Component: iptablesAssignee: Thomas Woerner <twoerner>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: bbaude, jpopelka, psabata, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-10 15:58:20 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: 1051573    

Description Brent Baude 2014-01-09 21:14:37 UTC
Please consider adding a libtoolize to the iptables spec as this enables ppc64le to build properly.

diff --git a/iptables.spec b/iptables.spec
index 4d10718..a1436fd 100644
--- a/iptables.spec
+++ b/iptables.spec
@@ -114,6 +114,7 @@ Currently only provides nfnl_osf with the pf.os database.
 %setup -q
 
 %build
+libtoolize -i -f
 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing " \
 ./configure --enable-devel --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=/etc --libdir=%{_libdir} --libexecdir=%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} --datadir=%{_datadir}  --with-kernel=/usr --with-kbuild=/usr --with-ksource=/usr

Comment 1 Jiri Popelka 2014-01-10 13:34:34 UTC
Actually config.sub in iptables-1.4.21 already contains ppc64le

# grep -r ppc64le iptables-1.4.21/build-aux/
iptables-1.4.21/build-aux/config.sub:   ppc64le | powerpc64little | ppc64-le | powerpc64-little)
iptables-1.4.21/build-aux/config.sub:   ppc64le-* | powerpc64little-*)

Do you think we still need to call the libtoolize ?

Comment 2 Brent Baude 2014-01-10 15:58:20 UTC
The newer version of iptables (from 1/10) works fine.  Thanks for your consideration.