Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53480 - x11-terms/xterm-191 fails to emerge
Summary: x11-terms/xterm-191 fails to emerge
Status: RESOLVED DUPLICATE of bug 53485
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-06-09 19:40 UTC by Luke Hoersten
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
to patch the Makefile.in (xterm-191-remove-termcap-breakage.patch,400 bytes, patch)
2004-06-10 02:53 UTC, Andreas Sahlbach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Hoersten 2004-06-09 19:40:48 UTC
====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"
Comment 1 Christopher Rude 2004-06-09 20:28:38 UTC
I can confirm that xterm is expecting Xaw3d. I emerged Xaw3d-1.5-r1 and in my case xterm-191 built successfully. 
Comment 2 Jay Belanger 2004-06-09 20:53:56 UTC
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)
Comment 3 Mike Choatie 2004-06-09 21:29:33 UTC
Same problem here. I didnt have Xaw3d, emerged Xaw3d, xterm still fails to compile with the same error as the others.
Comment 4 Eric Jennings 2004-06-09 21:36:27 UTC
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.
Comment 5 cerement 2004-06-09 21:54:58 UTC
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 ...
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-06-09 22:22:18 UTC
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 ***
Comment 7 Zaid A. 2004-06-09 22:56:11 UTC
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)
Comment 8 Andreas Sahlbach 2004-06-10 02:49:56 UTC
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.
Comment 9 Andreas Sahlbach 2004-06-10 02:53:07 UTC
Created attachment 33015 [details, diff]
to patch the Makefile.in

you still have to patch the ebuild to apply the patch
Comment 10 Luke Hoersten 2004-06-10 03:55:37 UTC
<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.
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-10 09:52:37 UTC

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