Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216898 - dev-util/anjuta-2.4.0 : failed during src_install
Summary: dev-util/anjuta-2.4.0 : failed during src_install
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 15:48 UTC by Aurélien Bauchet
Modified: 2008-07-07 13:35 UTC (History)
0 users

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


Attachments
Compile log (build.log.bz2,33.68 KB, application/x-bzip)
2008-04-09 08:43 UTC, Aurélien Bauchet
Details
build log (build.log,1.28 MB, text/plain)
2008-07-07 13:15 UTC, flukebox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien Bauchet 2008-04-08 15:48:37 UTC
During src_install, anjuta failes on relinking libgladeanjuta.la.
The install is made on stable system.
The flag "-anjuta" cannot be found and cause libtool to fail.

My flags for anjuta are :
devhelp doc glade inherit-graph sourceview subversion valgrind -debug

Reproducible: Always

Steps to Reproduce:
1. Compile anjuta-2.4.0
2. 
3.




install error :

libtool: install: warning: relinking `libgladeanjuta.la'
(cd /var/tmp/portage/dev-util/anjuta-2.4.0/work/anjuta-2.4.0/libanjuta; /bin/sh ../libtool  --tag=CC --mode=relink i686-pc-linux-gnu-gcc -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -DDEBUG -O3 -march=prescott -pipe -no-undefined -R/usr/lib/mozilla-firefox -module -avoid-version -o libgladeanjuta.la -rpath /usr/lib/glade3/modules anjuta-glade-catalog.lo ../libanjuta/libanjuta.la -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lutil -inst-prefix-dir /var/tmp/portage/dev-util/anjuta-2.4.0/image/)  
i686-pc-linux-gnu-gcc -shared  .libs/anjuta-glade-catalog.o  -Wl,--rpath -Wl,/usr/lib/mozilla-firefox -L/var/tmp/portage/dev-util/anjuta-2.4.0/image//usr/lib -L/usr/lib -lanjuta -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lutil  -march=prescott -Wl,-soname -Wl,libgladeanjuta.so -o .libs/libgladeanjuta.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lanjuta
collect2: ld returned 1 exit status
libtool: install: error: relink `libgladeanjuta.la' with the above command before installing it
make[4]: *** [install-gladeanjutaLTLIBRARIES] Error 1


emerge --info :

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: 2.6.23-gentoo-r8 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Timestamp of tree: Tue, 08 Apr 2008 10:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/voip /usr/portage/local/layman/gentopia /usr/portage/local/layman/x11 /usr/portage/local/dev"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa applet avahi bash-completion berkdb bonjour bzip2 cairo cdr cli cracklib crypt cups daap dbus divx doc dri dts dvd dvdr ffmpeg fortran gdbm gedit glitz gmedia gnome gnutls gpm gtk gtk2 hal hddtemp iconv ipv6 isdnlog jpeg keyring ldap libnotify lm_sensors mad matroska midi mmx mmxext mpeg mudflap musicbrainz nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline real realmedia reflection session smp spl sse sse2 ssl ssse3 svg tagwriting tcpd theora threads unicode vim-syntax vorbis win32codecs wmp x264 x86 xcomposite xext xorg 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="vesa fbdev radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-04-09 07:15:34 UTC
Could you please attach the full build.log?

Thanks :)
Comment 2 Aurélien Bauchet 2008-04-09 08:43:56 UTC
Created attachment 149183 [details]
Compile log
Comment 3 Aurélien Bauchet 2008-04-09 08:46:17 UTC
To reproduce the bug, uninstall anjuta. It looks like the install process need the install library of anjuta to compile.

When only updating it, it compiles fine.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2008-04-09 11:27:59 UTC
Ok, I've narrowed it down. It's a parallel make issue. On my machine, libanjuta.la gets built right after libgladeanjuta.la... Of course, if anjuta is already installed, it'll gladly use the system libanjuta instead.

I'll try to come up with something.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-04-10 12:06:38 UTC
Tracking this upstream, and for now anjuta-2.4.1 does "gnome2_src_install -j1" as a workaround.
Comment 6 flukebox 2008-07-06 20:08:38 UTC
(In reply to comment #5)
> Tracking this upstream, and for now anjuta-2.4.1 does "gnome2_src_install -j1"
> as a workaround.
> 

Same goes with anjuta-2.4.2 on core 2 duo and switching back to '-j1' in "/etc/make.conf" solves the problem for time being.

--flukebox
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2008-07-06 22:55:44 UTC
(In reply to comment #6)
> Same goes with anjuta-2.4.2 on core 2 duo and switching back to '-j1' in
> "/etc/make.conf" solves the problem for time being.

2.4.2 already has a workaround that puts -j1!

Could you please attach the full build.log here so I can take a look at it?

Thanks
Comment 8 flukebox 2008-07-07 13:15:28 UTC
Created attachment 159794 [details]
build log

dev-util/anjuta-2.4.2 build log
Comment 9 flukebox 2008-07-07 13:17:32 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Same goes with anjuta-2.4.2 on core 2 duo and switching back to '-j1' in
> > "/etc/make.conf" solves the problem for time being.
> 
> 2.4.2 already has a workaround that puts -j1!
> 
> Could you please attach the full build.log here so I can take a look at it?
> 
> Thanks


Build log posted .. for dev-util/anjuta-2.4.2 with "-j2" 

--flukebox
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2008-07-07 13:35:38 UTC
Bleh, the workaround had been dropped between the 2.4.1 and 2.4.2 ebuilds.

Those responsible have been properly whipped and salt has been poured on their wounds. ;)

For the record, only 2.5 and later should be fine.

Thanks for taking the time to hit us with a cluebat.