Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259999 - net-firewall/ipset-2.4.7 fails to emerge
Summary: net-firewall/ipset-2.4.7 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
: 260921 (view as bug list)
Depends on:
Blocks: 257483
  Show dependency tree
 
Reported: 2009-02-23 12:23 UTC by Aleksey Kunitskiy
Modified: 2009-03-02 15:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,3.46 KB, text/plain)
2009-02-23 12:25 UTC, Aleksey Kunitskiy
Details
build log (build.log,3.15 KB, text/plain)
2009-02-23 12:26 UTC, Aleksey Kunitskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Kunitskiy 2009-02-23 12:23:12 UTC
I'm using hardened x86 stable Gentoo system (2.6.26-hardened-r9) and emerging of net-firewall/ipset-2.4.7 fails with error:

cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
make: *** [ipset.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [ipset_ipmap.o] Error 1

emerge --info and build.log in attachments
Comment 1 Aleksey Kunitskiy 2009-02-23 12:25:50 UTC
Created attachment 182876 [details]
emerge --info
Comment 2 Aleksey Kunitskiy 2009-02-23 12:26:35 UTC
Created attachment 182878 [details]
build log
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-02-24 15:05:42 UTC
This bug is caused by old compiler (gcc-3.4.6) which does not understands -Wno-missing-field-initializers. This commit introduced this breakage:

http://svn.netfilter.org/cgi-bin/viewcvs.cgi/trunk/ipset/Makefile?rev=7576&view=diff&r1=7576&r2=7575&p1=trunk/ipset/Makefile&p2=/trunk/ipset/Makefile

Probably we could filter this but I still have not tested if it works.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2009-02-26 17:03:32 UTC
Thank you for report Aleksey. I've disabled warnings with sed in 2.4.7 version and using NO_EXTRA_WARN_FLAGS=yes make option in 2.4.8. Fixed.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2009-03-02 15:02:26 UTC
*** Bug 260921 has been marked as a duplicate of this bug. ***