Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46654 - emerge x11-terms/eterm (0.9.2-r5) fails
Summary: emerge x11-terms/eterm (0.9.2-r5) fails
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-02 18:15 UTC by Matthew Caron
Modified: 2004-04-04 16:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Caron 2004-04-02 18:15:42 UTC
# emerge x11-terms/eterm

... output removed to ease readability

/bin/sh ../libtool --mode=link gcc  -O3 -march=pentium3 -pipe -fomit-frame-point
er -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -L/usr/X11R6/lib  -o libEterm.la -rpat
h /usr/lib -release 0.9.2 actions.lo buttons.lo command.lo draw.lo e.lo events.l
o font.lo grkelot.lo menus.lo misc.lo netdisp.lo options.lo pixmap.lo screen.lo 
script.lo scrollbar.lo startup.lo system.lo term.lo timer.lo utmp.lo windows.lo 
defaultfont.lo libscream.lo mmx_cmod.lo -last -lImlib2 -lttf -ldl  -lSM -lICE -l
ast -lXmu -lXext -lX11 -lutil -lm  
grep: /var/tmp/portage/imlib2-1.1.0/image//usr/lib/libImlib2.la: No such file or
 directory
sed: can't read /var/tmp/portage/imlib2-1.1.0/image//usr/lib/libImlib2.la: No su
ch file or directory
libtool: link: `/var/tmp/portage/imlib2-1.1.0/image//usr/lib/libImlib2.la' is no
t a valid libtool archive
make[2]: *** [libEterm.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/eterm-0.9.2-r5/work/Eterm-0.9.2/src
'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/eterm-0.9.2-r5/work/Eterm-0.9.2'
make: *** [all-recursive-am] Error 2

Imlib2 is version 1.1.0

I think the path to imlib is wrong.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge x11-terms/eterm
3.

Actual Results:  
emerge failed as detailed above

Expected Results:  
looked in the right place for imlib, and therefore succeeded in installing itself.

]1;]2;Started emerge on: Apr 02, 2004 21:06:28]1;]2; *** emerge 
infoGentoo Base System version 1.4.3.13p1
]1;]2; *** terminating.]1;]2;xtermPortage 2.0.50-r1 (default-x86-2004.0,
gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref:/usr/X11R6/lib/X11/xkb:/usr/kde/3.2/share/config:/usr/share/texmf/tex/generic/config/
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/:/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib aim alsa apm arts avi berkdb cdr crypt cups directfb dvd dvdr
emacs encode esd ethereal evo flac foomaticdb gb gd gdbm gif gnome gphoto2 gpm
gstreamer gtk gtk2 icq imagemagick imap imlib jabber jack java jikes jpeg kde
ladccalcms ldap lesstif libg++ libwww mad mcal mikmod mmx motif mozilla mpeg mpi
msn mysql nas ncurses nls oggvorbis opengl oscar oss pam pcmcia pda pdflib perl
plotutils png pnp ppds python qt quicktime readline ruby samba scanner sdl slang
spell sse ssl svga tcltk tcpd tetex theora tiff truetype trusted unicode usb
videos wmf wxwindows x86 xinerama xml2 xmms xosd xv yahoo zlib"
Comment 1 SpanKY gentoo-dev 2004-04-02 21:33:43 UTC
review your /usr/lib/libImlib2.la file and make sure there is no /var/tmp/portage junk in it
Comment 2 Matthew Caron 2004-04-03 06:18:53 UTC
cat /usr/lib/libImlib2.la
... some output removed to ease readability
... right at the bottom

# Directory that this library needs to be installed in:
libdir='/var/tmp/portage/imlib2-1.1.0/image//usr/lib'

However, changing this to:

# Directory that this library needs to be installed in:
libdir='/usr/lib'

Yielded no difference. Still fails in exactly the same way, as described above.
Comment 3 SpanKY gentoo-dev 2004-04-04 10:55:06 UTC
you have broken .la files on your system somewhere ...

grep /var/tmp/portage /usr/lib/*.la /lib/*.la

and fix the files matched
Comment 4 Matthew Caron 2004-04-04 12:37:43 UTC
(hiro) /home/matt> grep /var/tmp/portage /usr/lib/*.la /lib/*.la

/usr/lib/libast.la:dependency_libs=' -L/usr/lib -L/usr/X11R6/lib /var/tmp/portage/imlib2-1.1.0/image//usr/lib/libImlib2.la -lXext -lXext /usr/lib/libfreetype.la -lz /usr/lib/libttf.la -lX11 -lSM -lICE /usr/lib/libpcre.la -ldl -lm'


removing /var/tmp/portage/imlib2-1.1.0/image/ from that line fixed it

So, both libast.la and libImlib2.la have the wrong paths in them.
Comment 5 SpanKY gentoo-dev 2004-04-04 12:42:08 UTC
if you re-emerge both packages, is the .la file screwed up ?
Comment 6 Matthew Caron 2004-04-04 15:58:21 UTC
No, if I remerge them, they're fine.

Makes very little sense, unless it was included in the 2004.0 GRP and that version is screwed up...
Comment 7 SpanKY gentoo-dev 2004-04-04 16:04:19 UTC
could you check for me ? ive never done GRP :)
Comment 8 Matthew Caron 2004-04-04 16:24:33 UTC
Just checked. Those packages aren't even included. 

So, I don't understand. Douing the emerge eterm must have installed the packages, but remerging them should have duplicated the result.

All I have to do is 'emerge imlib2 libast', right?

If that's it, then I've done it, and I'm stumped.
Comment 9 SpanKY gentoo-dev 2004-04-04 16:30:55 UTC
you said this was a new install so you could have hit a chain of events where imlib2/libast was installed with older, broken libtool and related packages ... but then those packages were updated and now when you re-emerge imlib2/libast, they work the way they should ...

shall we call this a moot point then ?  the latest version of packages in portage, when combined, seem to have fixed this ...
Comment 10 Matthew Caron 2004-04-04 16:34:08 UTC
It's probably one of those: if I had done an emerge world, and then an emerge eterm, it would have worked.

So yeah, it's fixed. This dead horse is almost glue.

I'll let you to decide whether to call it FIXED or WORKSFORME...

Thanks for the help.
Comment 11 SpanKY gentoo-dev 2004-04-04 16:38:29 UTC
if it ever crops up again or you found something to track it down, we can take another look :)