View previous topic :: View next topic |
Author |
Message |
fjer n00b
Joined: 29 Nov 2011 Posts: 1
|
Posted: Tue Nov 29, 2011 10:29 pm Post subject: binutils-2.21-r1 fails with USE=zlib |
|
|
When doing my --update --deep --newuse world today, emerge wanted to remerge binutils as seen below, apparently due to the USE flag "zlib" being added:
Code: | [ebuild R ] sys-devel/binutils-2.21.1-r1 USE="nls zlib%* -multislot -multitarget -static-libs -test -vanilla" |
However, the build fails. Here is my build.log: http://pastebin.com/wEPwgu3M
Code: | $ emerge --info =sys-devel/binutils-2.21.1-r1
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.1.1-pf x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.1.1-pf-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 29 Nov 2011 21:30:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r3, 3.1.4-r3
dev-util/cmake: 2.8.4-r1
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc: 2.12.2
Repositories: gentoo lcd-filtering mrpouet-s-overlay dustin x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="da_DK.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="da"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /var/lib/layman/mrpouet /var/lib/layman/dustin /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="256-color X a52 aac acl acpi all_sfx alsa amd64 amr animation-rtl apng bash-completion berkdb branding bzip2 cairo cdda cli consolekit cracklib crypt cue cups curl cxx dbus dri dts dvd exif fam ffmpeg firefox flac fontconfig fortran ftp gd gdbm gdu gif gtk hddtemp iconv icu idn imlib inotify ipv6 jpeg jpeg2k lame lzma lzo mad matroska mikmod mmap mmx modules mp3 mpeg mtp mudflap multilib musepack ncurses nls nptl nptlonly ntfs nvidia offensive ogg opengl openmp pam pcre pgo png policykit pppd python raw readline samba session sndfile sqlite sse sse2 sse3 sse4 sse4_1 sse4a ssl ssse3 startup-notification suhosin svg sysfs taglib tcpd theora threads tiff tint2conf truetype udev unicode unzip vorbis wavpack wmf x264 xcb xml xorg xvid zip 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
=================================================================
Package Settings
=================================================================
sys-devel/binutils-2.21.1-r1 was built with the following:
USE="(multilib) nls -multislot -multitarget -static-libs -test -vanilla"
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe" |
The following seems to be the main error:
Code: | x86_64-pc-linux-gnu-gcc: yes: No such file or directory |
Has anyone experienced anything similar?
Thanks in advance.
EDIT: Seems like I'm not the only one with this problem...
Last edited by fjer on Tue Nov 29, 2011 11:08 pm; edited 1 time in total |
|
Back to top |
|
|
agent_jdh Veteran
Joined: 08 Aug 2002 Posts: 1783 Location: Scotland
|
Posted: Tue Nov 29, 2011 11:08 pm Post subject: |
|
|
Yes, it's happening here on two systems (amd64 and ~amd64). A bug has been filed. _________________ Jingle Jangle Jewellery |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Wed Nov 30, 2011 12:28 am Post subject: |
|
|
Can you please link to this report ? |
|
Back to top |
|
|
golagoda Tux's lil' helper
Joined: 18 Jun 2011 Posts: 105 Location: Australia
|
Posted: Wed Nov 30, 2011 12:59 am Post subject: |
|
|
Just installed it and it has worked fine for me, maybe the ebuild has been updated since then. |
|
Back to top |
|
|
pking n00b
Joined: 11 Sep 2009 Posts: 61
|
Posted: Wed Nov 30, 2011 1:16 am Post subject: |
|
|
Fails here too, under AMD Phenom II chip. Claims that libbfd.so has undefined references, and then everything slowly goes to pieces, until the emerge aborts. Can't emerge anything else, either, since emerge always tries to pull in binutils. Tried jumping to a later version (putting sys-devel/binutils in /etc/portage/package.keywords) but the same problem. Not a good situation. Hope someone can find a solution quickly. |
|
Back to top |
|
|
NTICompass Apprentice
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Wed Nov 30, 2011 1:18 am Post subject: |
|
|
I was just about to post about this issue, what broke here? =( |
|
Back to top |
|
|
NTICompass Apprentice
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
|
Back to top |
|
|
pking n00b
Joined: 11 Sep 2009 Posts: 61
|
Posted: Wed Nov 30, 2011 4:13 am Post subject: |
|
|
I see that we are supposed to change $(usex zlib) to $(usex zlib -lz no) in line 230. But of what file, and where I find it (somewhere lost in /var/tmp/portage/sys-devel/binutils-2.21.1-r1/), I cannot tell. Nor does a straightforward "grep usex *" turn up anything in the work/binutils subfolder there...
Could you take pity on a poor user who would like to patch his code and keep going? IANAP (I Am NOT A Programmer), but I can step through the stages of a manual ebuild if needed. And needed or not, I'd like to know how to do it, so I could if necessary in the future. So where do I find this file, and how did you know that?
(For that matter: Where did you find that patch? I searched bugs.gentoo.org too, but found nothing.)
Thanks! |
|
Back to top |
|
|
jackH n00b
Joined: 30 Nov 2011 Posts: 3 Location: 127.0.0.1
|
Posted: Wed Nov 30, 2011 4:58 am Post subject: |
|
|
Quote: | I see that we are supposed to change $(usex zlib) to $(usex zlib -lz no) in line 230. But of what file, and where I find it (somewhere lost in /var/tmp/portage/sys-devel/binutils-2.21.1-r1/), I cannot tell. Nor does a straightforward "grep usex *" turn up anything in the work/binutils subfolder there...
Could you take pity on a poor user who would like to patch his code and keep going? IANAP (I Am NOT A Programmer), but I can step through the stages of a manual ebuild if needed. And needed or not, I'd like to know how to do it, so I could if necessary in the future. So where do I find this file, and how did you know that?
(For that matter: Where did you find that patch? I searched bugs.gentoo.org too, but found nothing.)
Thanks!
|
Hello,
edit /usr/portage/eclass/toolchain-binutils.eclass at line 226, then emerge again
That's it _________________ A+
Jack H.
"'Coffee is your friend..." |
|
Back to top |
|
|
NTICompass Apprentice
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Wed Nov 30, 2011 5:16 am Post subject: |
|
|
jackH wrote: | Quote: | I see that we are supposed to change $(usex zlib) to $(usex zlib -lz no) in line 230. But of what file, and where I find it (somewhere lost in /var/tmp/portage/sys-devel/binutils-2.21.1-r1/), I cannot tell. Nor does a straightforward "grep usex *" turn up anything in the work/binutils subfolder there...
Could you take pity on a poor user who would like to patch his code and keep going? IANAP (I Am NOT A Programmer), but I can step through the stages of a manual ebuild if needed. And needed or not, I'd like to know how to do it, so I could if necessary in the future. So where do I find this file, and how did you know that?
(For that matter: Where did you find that patch? I searched bugs.gentoo.org too, but found nothing.)
Thanks!
|
Hello,
edit /usr/portage/eclass/toolchain-binutils.eclass at line 226, then emerge again
That's it |
Actually, you just need to emerge --sync. |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Wed Nov 30, 2011 10:56 am Post subject: |
|
|
I'll try tonight (no access from work even if impacting my work PC).
I faced 2 issues yesterday and I can see that both of them are already corrected . Coming from Ubuntu where everything took months to have anything solved, it is really a BLAST !
Thanks to all Gentoo freaks ! |
|
Back to top |
|
|
destroyedlolo l33t
Joined: 17 Jun 2011 Posts: 846 Location: Close to Annecy (France)
|
Posted: Wed Nov 30, 2011 6:23 pm Post subject: |
|
|
So I did a sync and binutils is compiling fine now, thanks
But I still can see some unneeded "Yes" during configure phase ... seems only cosmetic. |
|
Back to top |
|
|
pking n00b
Joined: 11 Sep 2009 Posts: 61
|
Posted: Wed Nov 30, 2011 6:23 pm Post subject: |
|
|
Here's the thing...
I did search bugs.gentoo.org to try to find the solution. If you search for binutils,you will find 33 bug reports, and none of them are the one that includes the solution. If you search sys-devel/binutils, you get 24 bugs, again none with the solution.
The solution is in Bug #392471, which is titled "sys-devel/binutils[zlib] fails to build..." and not found by any of the above searches, for reasons that are obscure to me. What should I have searched for? How would I know? The bug is a problem, but not knowing how to find the solution at all is really frustrating.
Incidentally, searching for zlib doesn't find it either. Nor does searching for sys-devel/binutils[zlib]. I can't find it even when I know the title of the bug! What am I doing wrong? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21498
|
Posted: Thu Dec 01, 2011 3:41 am Post subject: |
|
|
Did you use the advanced search and adjust the resolutions searched? Since the bug is currently classified as RESOLVED FIXED, neither the quick search nor the advanced search with text of "binutils" (and all other parameters defaulted) will return it. If you request bugs with a title containing "binutils" and a resolution of FIXED, then the desired result will be shown. |
|
Back to top |
|
|
|