Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273713 - net-proxy/squid-3.0.14-r2 fails with recent sys-kernel/linux-headers when linux/capability.h is included
Summary: net-proxy/squid-3.0.14-r2 fails with recent sys-kernel/linux-headers when lin...
Status: RESOLVED DUPLICATE of bug 270450
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 12:08 UTC by Tomek Lutelmowski
Modified: 2009-06-14 00:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomek Lutelmowski 2009-06-11 12:08:07 UTC
With fresh AMD64 install, nomultilib profile, trying to emerge squid....

        x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include   -I/usr/include/libxml2  -Wall -Wpointer-arith -Wwrite-strings -fhuge-objects -D_REENTRANT -m64 -O2 -march=native -pipe -MT globals.o -MD -MP -MF $depbase.Tpo -c -o globals.o globals.cc &&\
        mv -f $depbase.Tpo $depbase.Po
cc1plus: warning: switch '-fhuge-objects' is no longer supportedcc1plus: warning: switch '-fhuge-objects' is no longer supported

cc1plus: warning: switch '-fhuge-objects' is no longer supported
In file included from /usr/include/sys/capability.h:25,
                 from tools.cc:50:
/usr/include/linux/capability.h:73: error: '__le32' does not name a type
/usr/include/linux/capability.h:75: error: '__le32' does not name a type
/usr/include/linux/capability.h:76: error: '__le32' does not name a type
depbase=`echo string_arrays.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include   -I/usr/include/libxml2  -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -m64 -O2 -march=native -pipe -MT string_arrays.o -MD -MP -MF $depbase.Tpo -c -o string_arrays.o string_arrays.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo fs/ufs/StoreFSufs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include   -I/usr/include/libxml2  -Wall -Wpointer-arith -Wwrite-strings -fhuge-objects -D_REENTRANT -m64 -O2 -march=native -pipe -MT fs/ufs/StoreFSufs.o -MD -MP -MF $depbase.Tpo -c -o fs/ufs/StoreFSufs.o fs/ufs/StoreFSufs.cc &&\
        mv -f $depbase.Tpo $depbase.Po
make[3]: *** [tools.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: warning: switch '-fhuge-objects' is no longer supported
make[3]: Leaving directory `/tmp/portage/net-proxy/squid-3.0.14-r2/work/squid-3.0.STABLE14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/net-proxy/squid-3.0.14-r2/work/squid-3.0.STABLE14/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/portage/net-proxy/squid-3.0.14-r2/work/squid-3.0.STABLE14/src'
make: *** [all-recursive] Error 1


Reproducible: Always
Comment 1 Tomek Lutelmowski 2009-06-11 12:09:03 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29.4 x86_64)
=================================================================
System uname: Linux-2.6.29.4-x86_64-Intel-R-_Xeon-R-_CPU_X5550_@_2.67GHz-with-glibc2.2.5
Timestamp of tree: Thu, 11 Jun 2009 09:30:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j15"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes -z -h"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext acl amavis amd64 apache2 bash-completion berkdb bzip2 charconv clamav clamdtop cli cracklib crypt cups dri epoll gdbm gocr gpm iconv idn inode isdnlog jpeg midi mmap mmx mpi mudflap ncurses nls nptl nptlonly ntlm ocrad openmp pam pcre perl png pop3d postgres pppd python razor readline reflection samba session spamassassin spl sse sse2 ssl suhosin svg sysfs threads tiff unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias autoindex auth_basic authn_default authn_file authz_default authz_host authz_user cache filter deflate dir disk_cache file_cache info log_config mem_cache mime negotiation rewrite env setenvif so status vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTDIR_OVERLAY
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-14 00:48:46 UTC

*** This bug has been marked as a duplicate of bug 270450 ***