====Before emerging Xaw3d-1.5-r1==== configure: error: Unable to successfully link Athena library (-lXaw3d) with test program !!! ERROR: x11-terms/xterm-191 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed ====After emerging Xaw3d-1.5-r1==== Completed installation of terminfo description. make: *** [install-full] Error 1 !!! ERROR: x11-terms/xterm-191 failed. !!! Function src_install, Line 50, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge xterm Actual Results: !!! ERROR: x11-terms/xterm-191 failed. !!! Function src_install, Line 50, Exitcode 2 !!! (no error message) Expected Results: xterm-191 emerges # emerge info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.7-rc2) ================================================================= System uname: 2.6.7-rc2 i686 AMD Athlon(tm) Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/sha e/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/di tributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl alsa apache2 apm avi berkdb bonobo cdr crypt cups dga directf dri dvd encode fam fbcon firefox flash foomaticdb freetype gd gdbm gif gpm gtk gtk2 imlib ipv6 jabber java jpeg kde libg++ libwww mad mikmod mmx motif mpeg mysql ncurse nls oggvorbis opengl oss pam pcmcia pdflib perl png ppds python qt quicktime radeon readline ruby samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb vim-wi h-x x x86 xft xinerama xml2 xmms xv zlib"
I can confirm that xterm is expecting Xaw3d. I emerged Xaw3d-1.5-r1 and in my case xterm-191 built successfully.
I have Xaw3d-1.5-r1 installed and I get pretty much the same error as the original report. My attempt to emerge xterm ends with: mkdir /var/tmp/portage/xterm-191/image/usr/lib mkdir /var/tmp/portage/xterm-191/image/usr/lib/terminfo TERMINFO=/var/tmp/portage/xterm-191/image//usr/lib/terminfo tic ./terminfo Completed installation of terminfo description. make: *** [install-full] Error 1 !!! ERROR: x11-terms/xterm-191 failed. !!! Function src_install, Line 52, Exitcode 2 !!! (no error message)
Same problem here. I didnt have Xaw3d, emerged Xaw3d, xterm still fails to compile with the same error as the others.
emerge xterm failed for me both without Xaw3d and with it, in function src_install Line 50 if Xaw3d isn't installed and on line 52 if Xaw3d is installed, the Xaw3d use flag seems to not matter at all.
Getting same error here, its not the Xaw3d problem -- different set of error messages (same as Comment #2), no references in error messages to Xaw3d ...
I think this has been fixed already. If you still have the same problem with version 1.2 of the ebuild, please reopen. *** This bug has been marked as a duplicate of 53455 ***
I am also having the same problem, I did emerge sync today (June 10th) at 1:49 AM (Eastern Time) and I did emerge -u xterm, which failed, (I already have xawt3d installed). these are the lines where emerging xterm fails: mkdir /var/tmp/portage/xterm-191/image/usr/lib mkdir /var/tmp/portage/xterm-191/image/usr/lib/terminfo TERMINFO=/var/tmp/portage/xterm-191/image//usr/lib/terminfo tic ./terminfo Completed installation of terminfo description. make: *** [install-full] Error 1 !!! ERROR: x11-terms/xterm-191 failed. !!! Function src_install, Line 52, Exitcode 2 !!! (no error message)
I don't understand why the patch used in ebuild 184 was removed in 191, because this is the very same problem that came up with xterm-184. There is a bug in the Makefile.in of the original xterm distribution. (Line 186: replace && with ||). There is also a problem if you don't have x11-libs/Xaw3d installed. The ebuild fails in the test section while trying to link against the (not installed) Xaw3d.
Created attachment 33015 [details, diff] to patch the Makefile.in you still have to patch the ebuild to apply the patch
<i>TERMINFO=/var/tmp/portage/xterm-191/image//usr/lib/terminfo tic ./terminfo Completed installation of terminfo description. make: *** [install-full] Error 1 !!! ERROR: x11-terms/xterm-191 failed. !!! Function src_install, Line 52, Exitcode 2 !!! (no error message)</i> emerge still fails in portage. In addition this is a replay to comment #8: x11-libs/Xaw3d was installed on my system for one of my emerge tries and emerge still failed. --- I'm keeping this bug open until x11-terms/xterm-191 successfully emerges in portage.
*** This bug has been marked as a duplicate of 53485 ***