Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 205867
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Salewski <mail@ssalewski.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 205867 depends on: 205875 Show dependency tree
Bug 205867 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-14 18:33 0000
emerge --update world
fails due to app-crypt/gpgme-1.1.5:

Problem is related to "-fPIC".

Here is output of emerge --oneshot gpgme

x86_64-pc-linux-gnu-gcc -shared  .libs/conversion.o .libs/get-env.o
.libs/data.o .libs/data-fd.o .libs/data-stream.o .libs/data-mem.o
.libs/data-user.o .libs/data-compat.o .libs/signers.o .libs/sig-notation.o
.libs/wait.o .libs/wait-global.o .libs/wait-private.o .libs/wait-user.o
.libs/op-support.o .libs/encrypt.o .libs/encrypt-sign.o .libs/decrypt.o
.libs/decrypt-verify.o .libs/verify.o .libs/sign.o .libs/passphrase.o
.libs/progress.o .libs/key.o .libs/keylist.o .libs/trust-item.o
.libs/trustlist.o .libs/import.o .libs/export.o .libs/genkey.o .libs/delete.o
.libs/edit.o .libs/engine.o .libs/rungpg.o .libs/engine-gpgsm.o
.libs/posix-util.o .libs/posix-sema.o .libs/posix-io.o .libs/debug.o
.libs/gpgme.o .libs/version.o .libs/error.o .libs/ath-pth.o .libs/funopen.o
-Wl,--whole-archive ../assuan/.libs/libassuan.a /usr/lib64/libpth.a
-Wl,--no-whole-archive  -L/usr/lib64 -ldl -lnsl /usr/lib64/libgpg-error.so 
-march=athlon64 -Wl,--version-script=./libgpgme.vers -Wl,-soname
-Wl,libgpgme-pth.so.11 -o .libs/libgpgme-pth.so.11.6.4
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib64/libpth.a(pth_debug.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(pth_debug.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libgpgme-pth.la] Fehler 1
make[3]: Leaving directory
`/var/tmp/portage/app-crypt/gpgme-1.1.5/work/gpgme-1.1.5/gpgme'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory
`/var/tmp/portage/app-crypt/gpgme-1.1.5/work/gpgme-1.1.5/gpgme'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/app-crypt/gpgme-1.1.5/work/gpgme-1.1.5'
make: *** [all] Fehler 2
 * 
 * ERROR: app-crypt/gpgme-1.1.5 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   gpgme-1.1.5.ebuild, line   38:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake 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-crypt/gpgme-1.1.5/temp/build.log'.
 * 

 * Messages for package app-crypt/gpgme-1.1.5:

 * 
 * ERROR: app-crypt/gpgme-1.1.5 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   gpgme-1.1.5.ebuild, line   38:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake 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-crypt/gpgme-1.1.5/temp/build.log'.


AMD64-X2 stefan # emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/no-multilib, gcc-4.1.2,
glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4400+
Timestamp of tree: Mon, 14 Jan 2008 15:17:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 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.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
LANG="de_DE.UTF-8"
LINGUAS="de en"
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 --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apm arts avahi berkdb bitmap-fonts bzip2 cairo
cdparanoia cdr cli cracklib crypt cups dbus dri dvb dvd dvdr exif fam firefox
fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv ipv6
isdnlog java javascript jpeg jpeg2k kde kdeenablefinal lm_sensors mad midi mime
mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam
pcre pdf perl plotutils png ppds pppd python qt3 qt4 readline reflection
scanner session spell spl sse sse2 ssl svg tcpd tiff truetype-fonts type1-fonts
unicode usb vorbis xorg xvmc 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" 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="de en"
USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

AMD64-X2 stefan # 


Reproducible: Always




I found this page about this sort of bug:

http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3

But I think I should report it.

Best regards

Stefan Salewski

------- Comment #1 From Markus 2008-01-14 18:36:16 0000 -------
*** Bug 205866 has been marked as a duplicate of this bug. ***

------- Comment #2 From Stratos Psomadakis 2008-01-14 19:24:25 0000 -------
i just added the -fPIC flag at the previous ldflags patch and it compiled
without problems...

(In reply to comment #0)
> emerge --update world
> fails due to app-crypt/gpgme-1.1.5:
> 
> Problem is related to "-fPIC".
> 
> Here is output of emerge --oneshot gpgme
> 
> x86_64-pc-linux-gnu-gcc -shared  .libs/conversion.o .libs/get-env.o
> .libs/data.o .libs/data-fd.o .libs/data-stream.o .libs/data-mem.o
> .libs/data-user.o .libs/data-compat.o .libs/signers.o .libs/sig-notation.o
> .libs/wait.o .libs/wait-global.o .libs/wait-private.o .libs/wait-user.o
> .libs/op-support.o .libs/encrypt.o .libs/encrypt-sign.o .libs/decrypt.o
> .libs/decrypt-verify.o .libs/verify.o .libs/sign.o .libs/passphrase.o
> .libs/progress.o .libs/key.o .libs/keylist.o .libs/trust-item.o
> .libs/trustlist.o .libs/import.o .libs/export.o .libs/genkey.o .libs/delete.o
> .libs/edit.o .libs/engine.o .libs/rungpg.o .libs/engine-gpgsm.o
> .libs/posix-util.o .libs/posix-sema.o .libs/posix-io.o .libs/debug.o
> .libs/gpgme.o .libs/version.o .libs/error.o .libs/ath-pth.o .libs/funopen.o
> -Wl,--whole-archive ../assuan/.libs/libassuan.a /usr/lib64/libpth.a
> -Wl,--no-whole-archive  -L/usr/lib64 -ldl -lnsl /usr/lib64/libgpg-error.so 
> -march=athlon64 -Wl,--version-script=./libgpgme.vers -Wl,-soname
> -Wl,libgpgme-pth.so.11 -o .libs/libgpgme-pth.so.11.6.4
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
> /usr/lib64/libpth.a(pth_debug.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(pth_debug.o): could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libgpgme-pth.la] Fehler 1
> make[3]: Leaving directory
> `/var/tmp/portage/app-crypt/gpgme-1.1.5/work/gpgme-1.1.5/gpgme'
> make[2]: *** [all] Fehler 2
> make[2]: Leaving directory
> `/var/tmp/portage/app-crypt/gpgme-1.1.5/work/gpgme-1.1.5/gpgme'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory
> `/var/tmp/portage/app-crypt/gpgme-1.1.5/work/gpgme-1.1.5'
> make: *** [all] Fehler 2
>  * 
>  * ERROR: app-crypt/gpgme-1.1.5 failed.
>  * Call stack:
>  *            ebuild.sh, line 1701:  Called dyn_compile
>  *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
>  *            ebuild.sh, line   44:  Called src_compile
>  *   gpgme-1.1.5.ebuild, line   38:  Called die
>  * The specific snippet of code:
>  *      emake || die "emake failed"
>  *  The die message:
>  *   emake 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-crypt/gpgme-1.1.5/temp/build.log'.
>  * 
> 
>  * Messages for package app-crypt/gpgme-1.1.5:
> 
>  * 
>  * ERROR: app-crypt/gpgme-1.1.5 failed.
>  * Call stack:
>  *            ebuild.sh, line 1701:  Called dyn_compile
>  *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
>  *            ebuild.sh, line   44:  Called src_compile
>  *   gpgme-1.1.5.ebuild, line   38:  Called die
>  * The specific snippet of code:
>  *      emake || die "emake failed"
>  *  The die message:
>  *   emake 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-crypt/gpgme-1.1.5/temp/build.log'.
> 
> 
> AMD64-X2 stefan # emerge --info
> Portage 2.1.3.19 (default-linux/amd64/2007.0/no-multilib, gcc-4.1.2,
> glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
> =================================================================
> System uname: 2.6.22-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
> 4400+
> Timestamp of tree: Mon, 14 Jan 2008 15:17:01 +0000
> app-shells/bash:     3.2_p17-r1
> dev-java/java-config: 1.3.7, 2.0.33-r1
> dev-lang/python:     2.4.4-r6
> dev-python/pycrypto: 2.0.1-r6
> sys-apps/baselayout: 1.12.10-r5
> sys-apps/sandbox:    1.2.18.1-r2
> sys-devel/autoconf:  2.13, 2.61-r1
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 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.24
> virtual/os-headers:  2.6.23-r2
> ACCEPT_KEYWORDS="amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=athlon64 -O2 -pipe"
> 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/X11/xkb /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
> /etc/terminfo /etc/udev/rules.d"
> CXXFLAGS="-march=athlon64 -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
> userfetch"
> GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
> ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
> ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
> ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
> ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
> LANG="de_DE.UTF-8"
> LINGUAS="de en"
> 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 --exclude=/packages
> --filter=H_**/files/digest-*"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="X aac acl acpi alsa amd64 apm arts avahi berkdb bitmap-fonts bzip2 cairo
> cdparanoia cdr cli cracklib crypt cups dbus dri dvb dvd dvdr exif fam firefox
> fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv ipv6
> isdnlog java javascript jpeg jpeg2k kde kdeenablefinal lm_sensors mad midi mime
> mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam
> pcre pdf perl plotutils png ppds pppd python qt3 qt4 readline reflection
> scanner session spell spl sse sse2 ssl svg tcpd tiff truetype-fonts type1-fonts
> unicode usb vorbis xorg xvmc 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" 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="de en"
> USERLAND="GNU" VIDEO_CARDS="nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
> PORTDIR_OVERLAY
> 
> AMD64-X2 stefan # 
> 
> 
> Reproducible: Always
> 
> 
> 
> 
> I found this page about this sort of bug:
> 
> http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
> 
> But I think I should report it.
> 
> Best regards
> 
> Stefan Salewski
> 

------- Comment #3 From Alon Bar-Lev (RETIRED) 2008-01-14 19:40:36 0000 -------
Please resync in a few hours and try again.
If not working please repopen thanks!

------- Comment #4 From Jakub Moc (RETIRED) 2008-01-14 21:30:15 0000 -------
*** Bug 205881 has been marked as a duplicate of this bug. ***

------- Comment #5 From Markus 2008-01-14 21:55:59 0000 -------
Is working now, for me.

------- Comment #6 From Juan Aguado 2008-01-15 18:42:17 0000 -------
Doesn't work here, even after various resyncs since the bug was closed, and
after cleaning ccache and distfiles. I have the same error and nearly the same
portage --info as the reporter.

------- Comment #7 From Alon Bar-Lev (RETIRED) 2008-01-15 18:45:47 0000 -------
Do you have debug USE file by mistake?

------- Comment #8 From Juan Aguado 2008-01-15 19:10:41 0000 -------
(In reply to comment #7)
> Do you have debug USE file by mistake?
> 

Nope

------- Comment #9 From Alon Bar-Lev (RETIRED) 2008-01-15 19:43:40 0000 -------
Please paste the output of:
$ equery files pth

------- Comment #10 From Juan Aguado 2008-01-15 20:38:17 0000 -------
(In reply to comment #9)
> Please paste the output of:
> $ equery files pth
> 

Never mind, there weren't any errors after reemerging pth. Odd thing, since I
tried to compile gpgme with the same version of pth installed. Thanks for
pointing me to the solution.

------- Comment #11 From Jakub Moc (RETIRED) 2008-01-30 00:54:51 0000 -------
*** Bug 208122 has been marked as a duplicate of this bug. ***

------- Comment #12 From OxO pHz.60 2008-01-30 02:37:01 0000 -------
I have re-emerged. I have re-synced and re-emerged.

(I do have the debug use flag though).

Put it still wont compile giving me the same error.

------- Comment #13 From Alon Bar-Lev (RETIRED) 2008-01-30 09:54:08 0000 -------
OxO:
Please remove the debug USE flag from pth you don't need this.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug