| Summary: | app-misc/tracker-0.6.3 fails linking | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Tassilo Horn <tsdh> |
| Component: | Current packages | Assignee: | Saleem Abdulrasool (RETIRED) <compnerd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bkohler, vltg0903 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | jetzt | ||
| Package list: | Runtime testing required: | --- | |
| Attachments: | tracker-0.6.3-gthread.patch | ||
|
Description
Tassilo Horn
2007-10-02 07:11:41 UTC
Can you try building without -Wl,--as-needed? i get the same error, with no LDFLAGS set. emerge --info: Portage 2.1.3.12 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r4 x86_64) ================================================================= System uname: 2.6.22-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Sat, 06 Oct 2007 14:00:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc4-r1 sys-apps/sandbox: 1.2.18.1 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 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="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" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 acl acpi alsa amarok amd64 berkdb bitmap-fonts cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kerberos ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support quicktime readline reflection samba sdl session spell spl sse sse2 ssl ssse3 svg tcpd theora tiff transparency truetype truetype-fonts type1-fonts unicode vorbis x264 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY my apologies, it is the same error but occurs at a different place: ..... x86_64-pc-linux-gnu-gcc -Wall -Wchar-subscripts -Wnested-externs -Wpointer-arith -Wsign-compare -O2 -pipe -march=athlon64 -fomit-frame-pointer -msse3 -o tr acker-extract tracker-extract.o tracker-extract-oasis.o tracker-extract-ps.o tracker-extract-pdf.o tracker-extract-abw.o tracker-extract-png.o tracker-extr act-mp3.o tracker-extract-exif.o tracker-extract-msoffice.o tracker-extract-imagemagick.o tracker-extract-mplayer.o tracker-extract-totem.o tracker-extract -html.o tracker-extract-xmp.o /usr/lib64/libpoppler-glib.so /usr/lib64/libpoppler.so /usr/lib64/libjpeg.so -L/usr/lib64 /usr/lib64/libgdk-x11-2.0.so /usr/ lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgl itz-glx.so /usr/lib64/libglitz.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXext. so /usr/lib64/libXi.so -lpthread /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib 64/libXdmcp.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libpng12.so /usr/lib64/libexif.so /usr/lib64/ libxine.so /usr/lib64/libfreetype.so /usr/lib64/libfontconfig.so /usr/lib64/libxml2.so -ldl -lz -lm -lrt -lresolv -lnsl tracker-extract.o: In function `main': tracker-extract.c:(.text+0x297): undefined reference to `g_thread_init' collect2: ld returned 1 exit status make[3]: *** [tracker-extract] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.6.3/work/tracker-0.6.3/src/tracker-extract' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.6.3/work/tracker-0.6.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-misc/tracker-0.6.3/work/tracker-0.6.3' make: *** [all] Error 2 * * ERROR: app-misc/tracker-0.6.3 failed. * Call stack: * ebuild.sh, line 1687: Called dyn_compile * ebuild.sh, line 1025: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * tracker-0.6.3.ebuild, line 131: Called die * The specific snippet of code: * emake || die "build failed" * The die message: * build failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-misc/tracker-0.6.3/temp/build.log'. * I am unable to reproduce this. Something is wrong with your setup. Can you provide the output of `pkg-config --libs glib-2.0`? Created attachment 132864 [details]
tracker-0.6.3-gthread.patch
Whatever is wrong in Tassilo's setup is wrong in mine too... the patch fixes this. Btw, USE=-gtk emerge tracker is still broken, at least on my system (that was the cause of http://bugs.gentoo.org/show_bug.cgi?id=192463 ), but that's probably an upstream thing. the patch seems to fix my issue as well, it builds fine now Fixed in portage. Works for me, too. I'm sorry that I didn't give any answers to your questions, but I didn't get any email notifications about bug activity except the last one (that it's fixed)... |