Created attachment 680560 [details] build.log [...] x86_64-gentoo-linux-musl-g++ -o cryptest.exe -Os -march=x86-64 -msse3 -mtune=athlon64-sse3 -pipe -fPIC -pthread -pipe adhoc.o test.o bench1.o bench2.o bench3.o datatest.o dlltest.o fipsalgt.o validat0.o validat1.o validat2.o validat3.o validat4.o validat5.o validat6.o validat7.o validat8.o validat9.o validat10.o regtest1.o regtest2.o regtest3.o regtest4.o ./libcryptopp.a -Wl,-O1 -Wl,--as-needed make: Nothing to be done for 'shared'. >>> Source compiled. >>> Test phase [not enabled]: dev-libs/crypto++-8.2.0-r2 >>> Install dev-libs/crypto++-8.2.0-r2 into /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image make -j1 DESTDIR=/var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image install Using testing flags: -Os -march=x86-64 -msse3 -mtune=athlon64-sse3 -pipe cp *.h /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image/usr/include/cryptopp chmod 0644 /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image/usr/include/cryptopp/*.h cp libcryptopp.a /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image/usr/lib chmod 0644 /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image/usr/lib/libcryptopp.a cp libcryptopp.so.8.2.0 /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image/usr/lib chmod 0755 /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image/usr/lib/libcryptopp.so.8.2.0 ln -sf libcryptopp.so.8.2.0 /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image/usr/lib/libcryptopp.so /sbin/ldconfig -n /var/tmp/portage/dev-libs/crypto++-8.2.0-r2/image/usr/lib Unimplemented option: -n make: *** [GNUmakefile:1249: install-lib] Error 1 * ERROR: dev-libs/crypto++-8.2.0-r2::gentoo failed (install phase): * emake failed
Created attachment 680563 [details] emerge --info
Same for crypto++-8.4.0.
Created attachment 686034 [details, diff] musl-soname-links.patch Patch was taken from https://github.com/void-ppc/void-packages/blob/master/srcpkgs/crypto++/patches/musl-soname-links.patch Fixes 8.2.0-r2 and 8.4.0 build.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1542c922ef3e2f1588a1bf3ab6cb8716dbacef0 commit d1542c922ef3e2f1588a1bf3ab6cb8716dbacef0 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-02-08 13:50:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-08 14:53:58 +0000 dev-libs/crypto++: fix musl build Closes: https://bugs.gentoo.org/762997 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/crypto++/crypto++-8.2.0-r2.ebuild | 3 ++- dev-libs/crypto++/crypto++-8.4.0.ebuild | 4 ++++ .../files/crypto++-8.2.0-musl-ldconfig.patch | 24 ++++++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-)