Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16553 - libgnome-2.2.0.1 fails to compile when emerging gnome
Summary: libgnome-2.2.0.1 fails to compile when emerging gnome
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-28 08:16 UTC by Steven N. Carlson
Modified: 2003-03-14 10:12 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 Steven N. Carlson 2003-02-28 08:16:26 UTC
Basically, when I try to emerge gnome, it requires libgnome - tries to compile
it and fails.  

Reproducible: Always
Steps to Reproduce:
1.emerge libgnome (I did an emerge gnome, which required this...)
2.
3.

Actual Results:  
Here is the stderr output...I couldn't just cut and past, as I don't have a gui
on that machine...

/usr/sbin/ebuild.sh: line 81:
/var/tmp/portage/libgnome-2.2.0.1/temp/elibtool.log: Permission denied
/usr/sbin/ebuild.sh: line 81:
/var/tmp/portage/libgnome-2.2.0.1/temp/elibtool.log: Permission denied
/usr/sbin/ebuild.sh: line 81:
/var/tmp/portage/libgnome-2.2.0.1/temp/elibtool.log: Permission denied
/usr/sbin/ebuild.sh: line 81:
/var/tmp/portage/libgnome-2.2.0.1/temp/elibtool.log: Permission denied
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
./configure: line 10374: GNOME_COMPILE_WARNINGS: command not found
./configure: line 10376: GNOME_DEBUG_CHECK: command not found
mkdir: cannot create directory `.libs': File exists
grep: /var/tmp/portage/alsa-lib-0.9.0_rc6/image/usr/lib/libasound.la: No such
file or directory
sed: can't read /var/tmp/portage/alsa-lib-0.9.0_rc6/image/usr/lib/libasound.la:
No such file or directory
libtool: link: `/var/tmp/portage/alsa-lib-0.9.0_rc6/image/usr/lib/libasound.la'
is not a valid libtool archive
make[2]: *** [libgnome-2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/libgnome-2.2.0.1 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure

Expected Results:  
A successful install??

I just installed 1.4rc3 w/ a stage1 tarball today.  Here's the emerge info output...

Another note..It would do the same thing without the alsa flag and without all
the features turned on...

Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss 3dnow apm gpm libwww mikmod svga zlib gdbm berkdb slang readline opengl
alsa java X gtk ethereal usb arts avi bonobo canna cjk crypt cups dga directfb
encode esd evo flash freewnn gd gif gnome gphoto2 gps gtk2 gtkhtml guile imap
imlib ipv6 jpeg kde ldap leim libg++ mmx motif mozilla mpeg ncurses nls oav
oggvorbis pam pcmcia lda pdflib perl pic plotutils png postgresql mysql python
qt quicktime samba sasl sdl spell sse ssl tcltk tcpd tiff truetype xml xml2 xmms
xv x86"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache distcc userpriv usersandbox noclean noauto cvs
keeptemp"
Comment 1 Spider (RETIRED) gentoo-dev 2003-02-28 12:14:14 UTC
can you try and rebuild this package without FEATURES="userpriv usersandbox" and see? looks suspiciously like a userpriv bug.
Comment 2 Steven N. Carlson 2003-02-28 18:46:58 UTC
Once I take out the userpriv and usersandbox, I don't get the permissions errors - like at the top of my stderr output...but it still fails to find the alsa lib.  It seems as though it's looking for it in the wrong place.../var/tmp/portage.

Could this be an ALSA bug??
Comment 3 Spider (RETIRED) gentoo-dev 2003-02-28 19:10:24 UTC
libtool/alsa bug, appearantly... :/

difficult to say really, but can you try and update alsa lib to the latest rc7 release?
Comment 4 Steven N. Carlson 2003-02-28 20:07:35 UTC
Well, let's see...I've updated libtool to 1.4.3, and I've tried alsa-lib/driver rc7.  I also put keeptemp in FEATURES for good measure...since it seems to be looking for something in there.  

I get the same result...the strange thing, which leads me to believe that I may be doing something wrong is that even after I upgraded to alsa-rc7, it still have me the same error about rc6...I tried stuff like env-update, ldconfig, etc...No luck

I'm sort of out of ideas...Do people usually build a system w/ the alsa flag from the start (after the install is complete...) or do they put that in later (after their desktop of choice is built?)


Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-02-28 21:06:22 UTC
can you try getting rid of "noclean" and "noauto" in your FEATURES, and then emerge libtool alsa-lib and possibly esound as well?

also have a look at /usr/lib/libesddsp.la and see if the path to libasound.la is correct. 
Comment 6 Steven N. Carlson 2003-03-14 02:47:15 UTC
Well, I've since redone my whole system, and it seems to have worked that bug 
out.  I'm not quite sure what went on, but it's working now...Thanks for the help 
though. 
Comment 7 foser (RETIRED) gentoo-dev 2003-03-14 10:12:01 UTC
not reproducable, closing.