ib/libglitz.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libpangoft2-1.0.so /usr/lib/libxml2.so -lz /usr/lib/libpango-1.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so ../scintilla/libscintilla.a ../scintilla/libscintilla.a(PlatGTK.o): In function `Platform_Initialise()': PlatGTK.cxx:(.text+0x76d): undefined reference to `g_thread_init' collect2: ld returned 1 exit status make[3]: *** [test-scintilla] Error 1 make[3]: Leaving directory `/var/tmp/portage/anjuta-1.2.4-r1/work/anjuta-1.2.4/scintilla' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/anjuta-1.2.4-r1/work/anjuta-1.2.4/scintilla' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/anjuta-1.2.4-r1/work/anjuta-1.2.4' make: *** [all] Error 2 !!! ERROR: dev-util/anjuta-1.2.4-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called gnome2_src_compile gnome2.eclass, line 64: Called die !!! compile failure !!! If you need support, post the topmost build error, and the call stack if relevant. Hal9000 ~ # emerge --info Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CXXFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distclean distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it/" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups dbus directfb dlloader dri dvb dvd dvdread eds emboss encode exif fam fbcon ffmpeg firefox flac fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal imagemagick isdnlog java jikes jpeg jpeg2k lcms ldap libg++ mad mikmod mmx mng mp3 mpeg ncurses nls nptl nptlonly offensive ogg openal opengl oss pam pcre pdflib perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs xine xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_it userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
I forgot... Obiouvsly emerging it without --as-needed gives no problems at all.
Created attachment 119870 [details, diff] patch You have to modify the scintilla/Makefile file: LIBS = `pkg-config gtk+-2.0 gthread-2.0 --libs --cflags`
Some dev please review my patch!
Re-assign wrt Bug 171232
Created attachment 128021 [details, diff] anjuta-1.2.4-r2.ebuild.patch patch against the ebuild to use the following patch
Created attachment 128023 [details, diff] anjuta-1.2.4-as-needed.patch after applying the patch previously provided, I've seen some more --as-needed borkage both at compile time and at runtime. This patch should fix this as far as my testing goes. Please test.
Please migrate to the 2.x series, as 1.x is not really being maintained anymore. 2.2.0 is up for stablization (bug #204494).