Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1051220 - Add libtool to iptables spec to enable ppc64le
Summary: Add libtool to iptables spec to enable ppc64le
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: iptables
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-01-09 21:14 UTC by Brent Baude
Modified: 2014-01-10 15:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-10 15:58:20 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.