Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 738190

Summary: app-crypt/heimdal-7.6.0 - ld: ./.libs/libotp.so: undefined reference to `__roken_dbm_store'
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Kerberos Maintainers <kerberos>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
emerge --info
build.log.xz (7.7.0-r1, ppc)

Description ernsteiswuerfel archtester 2020-08-20 13:04:04 UTC
Fails to build with USE='X -berkdb -caps gdbm -hdb-ldap ipv6 -libressl lmdb otp -ssl -static-libs'.

[...]
libtool: link: powerpc64-unknown-linux-gnu-gcc -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -Wshadow -O2 -mcpu=970 -pipe -fno-strict-aliasing -Wl,-O1 -Wl,--hash-style=gnu -o .libs/otptest otptest.o -pthread  -Wl,--as-needed ./.libs/libotp.so /var/tmp/portage/app-crypt/heimdal-7.6.0/work/heimdal-7.6.0-.ppc64/lib/hcrypto/.libs/libhcrypto.so /var/tmp/portage/app-crypt/heimdal-7.6.0/work/heimdal-7.6.0-.ppc64/lib/asn1/.libs/libasn1.so -lcom_err -ldl /var/tmp/portage/app-crypt/heimdal-7.6.0/work/heimdal-7.6.0-.ppc64/lib/base/.libs/libheimbase.so /var/tmp/portage/app-crypt/heimdal-7.6.0/work/heimdal-7.6.0-.ppc64/lib/roken/.libs/libroken.so -lcrypt -lresolv -lpthread -pthread
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: ./.libs/libotp.so: undefined reference to `__roken_dbm_store'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: ./.libs/libotp.so: undefined reference to `__roken_dbm_delete'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: ./.libs/libotp.so: undefined reference to `__roken_dbm_fetch'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: ./.libs/libotp.so: undefined reference to `__roken_dbm_close'
/usr/lib/gcc/powerpc64-unknown-linux-gnu/9.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: ./.libs/libotp.so: undefined reference to `__roken_dbm_open'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:670: otptest] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-crypt/heimdal-7.6.0/work/heimdal-7.6.0-.ppc64/lib/otp'
make[1]: *** [Makefile:564: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-crypt/heimdal-7.6.0/work/heimdal-7.6.0-.ppc64/lib'
make: *** [Makefile:612: all-recursive] Error 1
 * ERROR: app-crypt/heimdal-7.6.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Jonas Stein gentoo-dev 2020-08-20 14:58:46 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 2 ernsteiswuerfel archtester 2020-08-20 15:32:05 UTC
Created attachment 655726 [details]
build.log.xz
Comment 3 ernsteiswuerfel archtester 2020-08-20 15:32:27 UTC
Created attachment 655728 [details]
emerge --info
Comment 4 ernsteiswuerfel archtester 2020-08-20 15:33:33 UTC
(In reply to Jonas Stein from comment #1)
> Thank you for the report. We need to have all information at hand before
> ticket assignment. That is why I ask you to 
> * attach the logs and 
> * paste the emerge info 
Oops, thought I already did that but obviously I forgot... Thanks for pointing out!
Comment 5 ernsteiswuerfel archtester 2021-03-08 23:40:52 UTC
Created attachment 690111 [details]
build.log.xz (7.7.0-r1, ppc)
Comment 6 ernsteiswuerfel archtester 2021-03-08 23:43:11 UTC

*** This bug has been marked as a duplicate of bug 717740 ***