When compiling app-crypt/gpgme-1.1.6 with USE=pth this error occurs : /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libpth.a(pth_sync.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libpth.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [libgpgme-pth.la] Error 1 make[3]: Leaving directory `/var/tmp/paludis/app-crypt/gpgme-1.1.6/work/gpgme-1.1.6/gpgme' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/paludis/app-crypt/gpgme-1.1.6/work/gpgme-1.1.6/gpgme' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/app-crypt/gpgme-1.1.6/work/gpgme-1.1.6' make: *** [all] Error 2 !!! ERROR in app-crypt/gpgme-1.1.6: !!! In src_compile at line 3790 !!! (no message provided) When compiling it without the USE flag pth all works fine. Reproducible: Always
Created attachment 148864 [details] emerge --info
Need the lines just before where you pasted.
Created attachment 149032 [details] build log
Please attach config.log, should be at: /var/tmp/portage/app-crypt/gpgme-1.1.6/work/gpgme-1.1.6
Created attachment 149044 [details] config.log
Please attach: /usr/lib/libpth.la
Created attachment 149074 [details] libpth.a
No... /usr/lib/libpth.la
Created attachment 149111 [details] libpth.la
Notice that: # Names of this library. library_names='' Is empty!!! Please try to: emerge --oneshot pth And see if it changes. If it does not, please attach config.log and build output of pth.
Created attachment 149116 [details] pth build log No improvement when recompiling pth
PLEASE remove the debug (--enable-debug) USE flag from make.conf.