Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392331 - sys-apps/net-tools: error: expected specifier-qualifier-list before '__be16'
Summary: sys-apps/net-tools: error: expected specifier-qualifier-list before '__be16'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 21:42 UTC by Nicolas Pinto
Modified: 2011-11-28 22:14 UTC (History)
0 users

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 Nicolas Pinto 2011-11-28 21:42:48 UTC
see below

Reproducible: Always

Steps to Reproduce:
1. Bootstrap Gentoo Prefix on amd64
2. emerge sys-apps/net-tools
Actual Results:  
In file included from /usr/include/netinet/if_fddi.h:26,
                 from fddi.c:30:
/usr/include/linux/if_fddi.h:88: error: expected specifier-qualifier-list before '__be16'
x86_64-pc-linux-gnu-gcc -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/work/net-tools-1.60_p201111202031570500/include -Ilib  -c -o getargs.o getargs.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -Wall -fno-strict-aliasing  -I.. -I../include  -D_GNU_SOURCE -I. -I/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/work/net-tools-1.60_p201111202031570500/include -Ilib  -c -o getroute.o getroute.c
make[1]: *** [fddi.o] Error 1
make[1]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Llib -o mii-tool mii-tool.o
make[1]: Leaving directory `/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/work/net-tools-1.60_p201111202031570500/lib'
make: *** [libdir] Error 2
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: sys-apps/net-tools-1.60_p201111202031570500 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   98:  Called call-ebuildshell 'src_compile'
 *        environment, line  475:  Called src_compile
 *        environment, line 2637:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  562:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/net-tools-1.60_p201111202031570500',
 * the complete build log and the output of 'emerge -pqv =sys-apps/net-tools-1.60_p201111202031570500'.
 * The complete build log is located at '/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/temp/build.log'.
 * The ebuild environment file is located at '/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/temp/environment'.
 * S: '/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/work/net-tools-1.60_p201111202031570500'

>>> Failed to emerge sys-apps/net-tools-1.60_p201111202031570500, Log file:

>>>  '/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/temp/build.log'

 * Messages for package sys-apps/net-tools-1.60_p201111202031570500:

 * ERROR: sys-apps/net-tools-1.60_p201111202031570500 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   98:  Called call-ebuildshell 'src_compile'
 *        environment, line  475:  Called src_compile
 *        environment, line 2637:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  562:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/net-tools-1.60_p201111202031570500',
 * the complete build log and the output of 'emerge -pqv =sys-apps/net-tools-1.60_p201111202031570500'.
 * The complete build log is located at '/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/temp/build.log'.
 * The ebuild environment file is located at '/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/temp/environment'.
 * S: '/home/npinto/gentoo/var/tmp/portage/sys-apps/net-tools-1.60_p201111202031570500/work/net-tools-1.60_p201111202031570500'

 * IMPORTANT: 1 news items need reading for repository 'gentoo_prefix'.
 * Use eselect news to read news items.


Expected Results:  
net-tools successfully emerged.

% emerge --info '=sys-apps/net-tools-1.60_p201111202031570500'
Portage 2.2.01.19572-prefix (prefix/linux/amd64, gcc-4.2.4, unavailable, 2.6.18-238.12.1.el5.centos.plus x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.18-238.12.1.el5.centos.plus-x86_64-Intel-R-_Xeon-R-_CPU_X5680_@_3.33GHz-with-redhat-5.6-Final
Timestamp of tree: Mon, 28 Nov 2011 20:40:16 +0000
app-shells/bash:      4.2_p10
dev-lang/python:      2.7.2
dev-util/pkgconfig:   0.26
sys-devel/autoconf:   2.68
sys-devel/automake:   1.11.1
sys-devel/binutils:   2.21.53.0.2
sys-devel/gcc:        4.2.4-r01.4
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:    2.4-r4
sys-devel/make:       3.82
Repositories: gentoo_prefix
Installed sets: 
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/home/npinto/gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j 13"
PKGDIR="/home/npinto/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/npinto/gentoo/"
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="/home/npinto/gentoo/var/tmp"
PORTDIR="/home/npinto/gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap ncurses nls nptl nptlonly openmp pcre pppd prefix readline session sse sse2 ssl sysfs tcpd 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


% emerge -pqv '=sys-apps/net-tools-1.60_p201111202031570500'
[ebuild  N    ] sys-apps/net-tools-1.60_p201111202031570500  USE="nls -old-output -static" 

 * IMPORTANT: 1 news items need reading for repository 'gentoo_prefix'.
 * Use eselect news to read news items.
Comment 1 Nicolas Pinto 2011-11-28 21:44:53 UTC
Related bug from Debian:
http://lists.debian.org/debian-glibc/2007/07/msg00284.html
Comment 2 Nicolas Pinto 2011-11-28 21:50:04 UTC
Note that running "emerge --oneshot --nodeps linux-headers" fixes the issue.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-11-28 21:53:11 UTC
(In reply to comment #2)
> Note that running "emerge --oneshot --nodeps linux-headers" fixes the issue.

Huh? Is your issue with net-tools *before* you are done bootsrapping?
Comment 4 Nicolas Pinto 2011-11-28 22:01:19 UTC
Yes, at the "emerge -u system" step. Sorry about the confusion.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-11-28 22:13:50 UTC
(In reply to comment #4)
> Yes, at the "emerge -u system" step. Sorry about the confusion.

If that is the case, then this bug isn't valid. A Prefix "installation" is very fragile (non-supportable) until the final "emerge -e system"
Comment 6 Nicolas Pinto 2011-11-28 22:14:26 UTC
Sounds good. Closing the bug.