Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205885 - sys-devel/binutils fails to process arlex.l with flex-2.5.34
Summary: sys-devel/binutils fails to process arlex.l with flex-2.5.34
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-14 20:37 UTC by Andrew Edgerton
Modified: 2008-01-26 10:37 UTC (History)
0 users

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


Attachments
arlex.l file (arlex.l,2.39 KB, text/plain)
2008-01-16 14:57 UTC, Andrew Edgerton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Edgerton 2008-01-14 20:37:22 UTC
/binutils -I../bfd -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/../bfd -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/../include -DLOCALEDIR="\"/usr/share/binutils-data/i686-pc-linux-gnu/2.18.50.0.3/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -c /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/rdcoff.c
/bin/sh /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/../ylwrap /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arparse.y y.tab.c arparse.c y.tab.h arparse.h y.output arparse.output -- bison -y -d
updating arparse.h
/bin/sh /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/../ylwrap /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l lex.yy.c arlex.c -- flex
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: %
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: unknown error processing section 1
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: unknown error processing section 1
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 1
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: %
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: unknown error processing section 1
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 2
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 5
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 0
make[4]: *** [arlex.c] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas -I. -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas-I../bfd -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/config -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/../include -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/.. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/../bfd -DLOCALEDIR="\"/usr/share/binutils-data/i686-pc-linux-gnu/2.18.50.0.3/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -c /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/config/obj-elf.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas -I. -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas-I../bfd -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/config -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/../include -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/.. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/../bfd -DLOCALEDIR="\"/usr/share/binutils-data/i686-pc-linux-gnu/2.18.50.0.3/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -c /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/config/atof-ieee.c
/bin/sh ./libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe   -o as-new  app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-i386.o obj-elf.o atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a
libtool: link: i686-pc-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -o .libs/as-new app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-i386.o obj-elf.o atof-ieee.o  ../opcodes/.libs/libopcodes.so ../bfd/.libs/libbfd.so -L/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/libiberty/pic -liberty ../libiberty/libiberty.a -Wl,-rpath -Wl,/usr/lib/binutils/i686-pc-linux-gnu/2.18.50.0.3
libtool: link: creating as-new
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/gas'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/gas'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/gas'
make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build'
make: *** [all] Error 2
 *
 * ERROR: sys-devel/binutils-2.18.50.0.3 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2703:  Called toolchain-binutils_src_compile
 *             environment, line 3242:  Called die
 * The specific snippet of code:
 *       emake all || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/temp/environment'.
 *

 * Messages for package sys-devel/binutils-2.18.50.0.3:

 *
 * ERROR: sys-devel/binutils-2.18.50.0.3 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2703:  Called toolchain-binutils_src_compile
 *             environment, line 3242:  Called die
 * The specific snippet of code:
 *       emake all || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/temp/environment'.



--------------------------------------
USE="nls USE="nls vanilla -multislot -multitarget -test"
--------------------------------------
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
--------------------------------------
Linux Sydnor 2.6.24-rc4 #1 SMP Fri Dec 7 17:43:18 GMT 2007 i686 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-14 21:32:43 UTC
emerge --info please...
Comment 2 Andrew Edgerton 2008-01-14 23:52:22 UTC
(In reply to comment #1)
> emerge --info please...
> 

Sydnor edge # emerge --info
Portage 2.1.4 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.24-rc4 i686)
=================================================================
System uname: 2.6.24-rc4 i686 AMD Athlon(tm) 64 Processor 3700+
Timestamp of tree: Mon, 14 Jan 2008 14:46:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.3-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10, 9999
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="** x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X accessibility acl alsa berkdb bitmap-fonts cli cracklib crypt cups curl dbus dri dvd dvdr dvdread encode ffmpeg flac flash fortran gdbm gif glitz gpm gtk hal iconv ipod isdnlog java jpeg kde libwww messenger midi mp3 mplayer msn mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 readline real reflection rt61pci samba session spl ssl svg symlink tcpd truetype-fonts type1-fonts unicode usb vanilla vcd wifi win32codecs x86 xine xinerama xorg zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968fm801 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 linearmeter 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 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" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 SpanKY gentoo-dev 2008-01-15 08:07:18 UTC
remove USE=vanilla from your global CFLAGS
Comment 4 Andrew Edgerton 2008-01-15 16:46:27 UTC
(In reply to comment #3)
> remove USE=vanilla from your global CFLAGS
> 

I had this error before i added that use flag. I thought it might be the reason it was failing because i use a vanilla kernel so i added it , and tried again. So here is the results of it without that use flag. That flag is not in any other package.

--------------------
tage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/ieee.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils -I. -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils -I../bfd -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/../bfd -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/../include -DLOCALEDIR="\"/usr/share/binutils-data/i686-pc-linux-gnu/2.18.50.0.3/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -c /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/rdcoff.c
/bin/sh /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/../ylwrap /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arparse.y y.tab.c arparse.c y.tab.h arparse.h y.output arparse.output -- bison -y -d
updating arparse.h
/bin/sh /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/../ylwrap /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l lex.yy.c arlex.c -- flex
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: %
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: unknown error processing section 1
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: unknown error processing section 1
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 1
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:39: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: %
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: unknown error processing section 1
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 2
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 5
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 0
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l:40: bad character: 0
make[4]: *** [arlex.c] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas -I. -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas-I../bfd -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/config -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/../include -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/.. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/../bfd -DLOCALEDIR="\"/usr/share/binutils-data/i686-pc-linux-gnu/2.18.50.0.3/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -c /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/config/obj-elf.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas -I. -I. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas-I../bfd -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/config -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/../include -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/.. -I/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/../bfd -DLOCALEDIR="\"/usr/share/binutils-data/i686-pc-linux-gnu/2.18.50.0.3/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -c /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/gas/config/atof-ieee.c
/bin/sh ./libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe   -o as-new  app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-i386.o obj-elf.o atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a
libtool: link: i686-pc-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=i686 -pipe -o .libs/as-new app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-i386.o obj-elf.o atof-ieee.o  ../opcodes/.libs/libopcodes.so ../bfd/.libs/libbfd.so -L/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/libiberty/pic -liberty ../libiberty/libiberty.a -Wl,-rpath -Wl,/usr/lib/binutils/i686-pc-linux-gnu/2.18.50.0.3
libtool: link: creating as-new
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/gas'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/gas'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build/gas'
make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/build'
make: *** [all] Error 2
 *
 * ERROR: sys-devel/binutils-2.18.50.0.3 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2703:  Called toolchain-binutils_src_compile
 *             environment, line 3242:  Called die
 * The specific snippet of code:
 *       emake all || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/temp/environment'.
 *

 * Messages for package sys-devel/binutils-2.18.50.0.3:

 *
 * ERROR: sys-devel/binutils-2.18.50.0.3 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2703:  Called toolchain-binutils_src_compile
 *             environment, line 3242:  Called die
 * The specific snippet of code:
 *       emake all || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/temp/environment'.
 *
-------------
Sydnor edge # emerge --info
Portage 2.1.4 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.24-rc4 i686)
=================================================================
System uname: 2.6.24-rc4 i686 AMD Athlon(tm) 64 Processor 3700+
Timestamp of tree: Mon, 14 Jan 2008 14:46:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.3-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10, 9999
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="** x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X accessibility acl alsa berkdb bitmap-fonts cli cracklib crypt cups curl dbus dri dvd dvdr dvdread encode ffmpeg flac flash fortran gdbm gif glitz gpm gtk hal iconv ipod isdnlog java jpeg kde kdeenablefinal libwww messenger midi mp3 mplayer msn mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 readline real reflection rt61pci samba session spl ssl svg symlink tcpd truetype-fonts type1-fonts unicode usb vcd visualization wifi win32codecs x86 xine xinerama xorg zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 ioplugladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 SpanKY gentoo-dev 2008-01-16 07:23:39 UTC
what version of yacc/bison do you have installed ?  post the file in question as an attachment:
/var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l
Comment 6 Andrew Edgerton 2008-01-16 14:56:44 UTC
(In reply to comment #5)
> what version of yacc/bison do you have installed ?  post the file in question
> as an attachment:
> /var/tmp/portage/sys-devel/binutils-2.18.50.0.3/work/binutils-2.18.50.0.3/binutils/arlex.l
> 

Seems my system doesn't run yacc , and i have sys-devel/bison-2.3
Comment 7 Andrew Edgerton 2008-01-16 14:57:45 UTC
Created attachment 141057 [details]
arlex.l file

arlex.l file used in ebuild
Comment 8 SpanKY gentoo-dev 2008-01-26 10:37:48 UTC
if you do something dumb like:
ACCEPT_KEYWORDS="**"
then you get to pick up the pieces

you have flex-2.5.34 on your system which is not actually keyworded