Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151478 - rxvt-unicode doesn't build with --as-needed enabled
Summary: rxvt-unicode doesn't build with --as-needed enabled
Status: RESOLVED DUPLICATE of bug 115603
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-15 10:13 UTC by smrspam88
Modified: 2006-10-15 10:19 UTC (History)
0 users

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


Attachments
my config.log (config.log,185.33 KB, text/plain)
2006-10-15 10:13 UTC, smrspam88
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smrspam88 2006-10-15 10:13:04 UTC
Hi,
Bot the x86 and ~x86 version of rxvt-unicode fail with the following error
checking for pty.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking cwchar usability... yes
checking cwchar presence... yes
checking for cwchar... yes
checking clocale usability... yes
checking clocale presence... yes
checking for clocale... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether termios.h and sys/ioctl.h may both be included... yes
checking for -rpath dynamic library path recording... no
checking for -R dynamic library path recording... no
checking for XPointer... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for short... yes
checking size of short... configure: error: cannot compute sizeof (short), 77
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/rxvt-unicode-5.3/work/rxvt-unicode-5.3/config.log

!!! ERROR: x11-terms/rxvt-unicode-5.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  rxvt-unicode-5.3.ebuild, line 60:   Called econf '--enable-everything' '--enable-rxvt-scroll' '--enable-next-scroll' '--enable-xterm-scroll' '--enable-transparency' '--enable-xpm-background' '--enable-fading' '--enable-utmp' '--enable-wtmp' '--enable-mousewheel' '--enable-slipwheeling' '--enable-smart-resize' '--enable-ttygid' '--enable-256-color' '--enable-xim' '--enable-shared' '--enable-keepscrolling' '--enable-xft' '--disable-xgetdefault' '--disable-text-blink' '--disable-menubar'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

BTW after building rxvt-unicode with --as-needed disabled it builds fine even with --as-needed enabled (probably due to confcache being enabled).

My emerge --info:
Riemann momsen # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17.7-reiser4 i686)
=================================================================
System uname: 2.6.17.7-reiser4 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 15 Oct 2006 15:30:08 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3, 2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-Bdirect"
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux minimal mmx nls pic sse sse2 truetype unicode userland_GNU video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL
Comment 1 smrspam88 2006-10-15 10:13:52 UTC
Created attachment 99738 [details]
my config.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-15 10:19:31 UTC
<snip>
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2356
</snip>

Your binutils is too old for as-needed.


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