Unable to compile x11-terms/rxvt-unicode-9.07-r1 Reproducible: Always Reproducible: Always Steps to Reproduce: Steps to Reproduce: 1. Compile rxvt-unicode-9.07-r1 with GCC-4.3.4 2. 3. Actual Results: Compilation fails with message Expected Results: rxvt-unicode compiles just fine i686-pc-linux-gnu-gcc -Wl,-O1 -o rxvtd rxvtd.o background.o command.o rxvtfont.o init.o logging.o main.o misc.o ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o rxvttoolkit.o rxvtutil.o keyboard.o fdpass.o ev_cpp.o rxvtperl.o rxvtdaemon.o -lm -lsupc++ -lXft -lXrender -lfontconfig -lfreetype -lX11 -lX11 -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc rxvtperl.o: In function `xs_init': rxvtperl.C:(.text+0x32): undefined reference to `Perl_Gthr_key_ptr' rxvtperl.C:(.text+0x68): undefined reference to `Perl_Gthr_key_ptr'
Created attachment 235847 [details] build information build information
# emerge --info Portage 2.2_rc67 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 17 Jun 2010 14:30:20 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.5.4-r3, 2.6.4-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" 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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.in.th/ http://ftp.lecl.net/pub/gentoo/ http://gentoo.aditsu.net" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="zh_CN zh" MAKEOPTS="-j2" 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="/usr/local/portage/layman/gentoo-china /usr/local/portage/layman/gentoo-china /usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 bash-completion berkdb bluetooth branding bzip2 bzlib cairo cdr cdrom chardet chroot cjk cli codecs consolekit cracklib crypt cscope css cups custom-optimization cxx dbus directfb divx4linux dri dts dvd dvdr dvdread eds emacs emboss encode esd evo exif fam fbcon ffmpeg firefox flac fortran freetype gdbm gif gimp glibc-omitfp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal iconv imlib immqt-bc inline ipv6 jpeg lcms ldap libnotify live mad md5sum mikmod mmx mng modules motif mozbranding mp3 mp4 mpeg mpeg4 mplayer mudflap ncurses net network new-login nls nptlonly ogg opengl openmp oss pam pango pcre pdf pdfkit perl png pnp policykit posix ppds pppd pulseaudio python qt-static qt3support qt4 readline reflection sdl session sockets socks5 spell spl sqlite sse sse2 ssl startup-notification svg svga symlink sysfs szip tcpd texlive threads tiff truetype udev unicode usb vcd vhosts vim-syntax visualization vnc vorbis win32codecs wma wmf wxwindows x264 x86 xcb xinerama xinetd xml xml2 xmlrpc xorg xprint xslt xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 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" CAMERAS="samsung" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="cui gfw zhang ipset" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Also, i running command "perl-cleaner --reallyall" with app-admin/perl-cleaner-2.0, this package is rebuilded after perl and libperl's rebuild, but with the same error.
I don't think perl-cleaner should be the answer in this case. Please try `revdep-rebuild -i' and report back.
I have run "revdep-rebuild -i" or "revdep-rebuild" or "emerge -av @preserved-rebuild", there is no broken package. And the rxvt-unicode is still has compile error.
Apparently building dev-lang/perl with USE=threads is the cause. *** This bug has been marked as a duplicate of bug 19186 ***
@kpld: this happens if ithreads is only set for exactly one of dev-lang/perl and sys-devel/libperl. the "ithreads" use flag must be set/unset for both dev-lang/perl *and* sys-devel/libperl! So: - reinstall libperl and perl with the same ithreads useflag setting. - perl-cleaner reallyall I think the conclusion in bug 19186 is not correct today.
Wouldn't this be easily solved by using USE deps in the libperl+perl ebuilds or perl.eclass?
@Torsten: You are right. I compiled perl with ithreads USE flag, but libperl is not. According to your suggestion, i remerged this package, this problem doesn't happen again. Thank you and Jeroen.
(In reply to comment #8) > Wouldn't this be easily solved by using USE deps in the libperl+perl ebuilds or > perl.eclass? Yes. First USE deps didn't exist then nobody added it. Problem only exists with older versions. Closing this bug.