Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627312 - emerge samba fails at linker process with undefined reference to MD5 functions
Summary: emerge samba fails at linker process with undefined reference to MD5 functions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-08 12:21 UTC by Tobias Weber
Modified: 2017-08-11 07:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=net-fs/samba-4.5.10::gentoo' (md5-fail.txt,4.97 KB, text/plain)
2017-08-08 12:21 UTC, Tobias Weber
Details
build.log (build.log.xz,85.27 KB, application/x-xz)
2017-08-10 13:43 UTC, Tobias Weber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Weber 2017-08-08 12:21:17 UTC
Created attachment 488282 [details]
emerge --info '=net-fs/samba-4.5.10::gentoo'

net-fs/samba-4.5.10 fails during linker process at:

libcli/smb/libsmb-transport-samba4.so

with 

hmacmd5.c:(.text+0x11c): undefined reference to `MD5Init'
hmacmd5.c:(.text+0x12c): undefined reference to `MD5Update'
hmacmd5.c:(.text+0x156): undefined reference to `MD5Init'
hmacmd5.c:(.text+0x16b): undefined reference to `MD5Update'
hmacmd5.c:(.text+0x176): undefined reference to `MD5Final'
default/lib/crypto/hmacmd5_1.o: In function `hmac_md5_final':
hmacmd5.c:(.text+0x21e): undefined reference to `MD5Final'
hmacmd5.c:(.text+0x226): undefined reference to `MD5Init'
hmacmd5.c:(.text+0x23a): undefined reference to `MD5Update'
hmacmd5.c:(.text+0x24a): undefined reference to `MD5Update'
hmacmd5.c:(.text+0x255): undefined reference to `MD5Final'
default/lib/crypto/hmacmd5_1.o: In function `hmac_md5_update':
hmacmd5.c:(.text+0x1dd): undefined reference to `MD5Update'

To me it looks like it is unable to find these in libcrypt as it is in libcrypto.
Comment 1 Tobias Weber 2017-08-09 09:15:56 UTC
glibc used is sys-libs/glibc-2.23-r4
Comment 2 Tobias Weber 2017-08-10 13:43:17 UTC
Created attachment 488504 [details]
build.log
Comment 3 Tobias Weber 2017-08-11 07:56:09 UTC
fixed by re-emerging libbsd.