Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663190 - app-crypt/rhash-1.3.5[ssl]: /usr/bin/ld: cannot find -ldl on amd64-fbsd
Summary: app-crypt/rhash-1.3.5[ssl]: /usr/bin/ld: cannot find -ldl on amd64-fbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on: 663198
Blocks:
  Show dependency tree
 
Reported: 2018-08-08 20:39 UTC by Michał Górny
Modified: 2018-09-13 21:36 UTC (History)
0 users

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


Attachments
app-crypt:rhash-1.3.5:20180808-203204.log (app-crypt:rhash-1.3.5:20180808-203204.log,6.77 KB, text/plain)
2018-08-08 20:39 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-08 20:39:40 UTC
Created attachment 542814 [details]
app-crypt:rhash-1.3.5:20180808-203204.log

Missed it previously because it didn't have USE=ssl which is on by default.

x86_64-gentoo-freebsd11.1-gcc -fpic  -pipe -DIN_RHASH -DNDEBUG -DUSE_GETTEXT -DOPENSSL_RUNTIME -rdynamic -O2 -pipe -march=native -Wall -W -Wstrict-
prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -shared algorithms.c byte_orde
r.c plug_openssl.c rhash.c rhash_timing.c rhash_torrent.c aich.c crc32.c ed2k.c edonr.c hex.c md4.c md5.c sha1.c sha256.c sha512.c sha3.c ripemd-16
0.c gost.c has160.c snefru.c tiger.c tiger_sbox.c tth.c torrent.c whirlpool.c whirlpool_sbox.c -Wl,--version-script,exports.sym,-soname,librhash.so
.0  -ldl -lintl -o librhash.so.0
/usr/bin/ld: cannot find -ldl

There's no -ldl on FreeBSD, the routines are in -lc.

Apparently this is the fault of downstream hack:

  local ADDLDFLAGS=(
    $(use ssl && echo -ldl)
  )

Attaching the build.log.
Comment 1 James Le Cuirot gentoo-dev 2018-08-08 21:54:23 UTC
Let's get 1.3.6 stable then.
Comment 2 James Le Cuirot gentoo-dev 2018-08-08 21:55:34 UTC
Saying that, I guess you just need to keyword 1.3.6 for amd64-fbsd. Still, it's about time it went stable anyway.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-08 22:12:50 UTC
(In reply to James Le Cuirot from comment #2)
> Saying that, I guess you just need to keyword 1.3.6 for amd64-fbsd. Still,
> it's about time it went stable anyway.

Don't forget about bug #651334.
Comment 4 James Le Cuirot gentoo-dev 2018-09-13 21:36:30 UTC
1.3.6 is stable now and 1.3.5 has been dropped.