rdlibtool: lconf: found "/var/tmp/portage/dev-cpp/libmcpp-2.7.2-r3/work/mcpp-2.7.2/libtool". rdlibtool: link: x86_64-pc-linux-gnu-gcc mcpp-main_libmcpp.o -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lmcpp -o .libs/mcpp /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmcpp collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1614: (see child process error messages). rdlibtool: < returned to > slbt_exec_link(), line 1934. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-20210320-151517 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Mar 26 13:50:41 UTC 2021 emerge -qpvO dev-cpp/libmcpp [ebuild N ] dev-cpp/libmcpp-2.7.2-r3 USE="-static-libs"
Created attachment 694359 [details] emerge-info.txt
Created attachment 694362 [details] dev-cpp:libmcpp-2.7.2-r3:20210326-141534.log
Created attachment 694365 [details] emerge-history.txt
Created attachment 694368 [details] environment
Created attachment 694371 [details] etc.portage.tar.bz2
Created attachment 694374 [details] logs.tar.bz2
Created attachment 694377 [details] temp.tar.bz2
This one is easy, just add this to src_prepare(): sed -i 's/-lmcpp/libmcpp.la/' "${S}"/src/Makefile.am || die
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea64cfeb89cfad5518b2c3b1a15487f792dd4c6 commit 7ea64cfeb89cfad5518b2c3b1a15487f792dd4c6 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-27 01:19:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-27 02:57:35 +0000 dev-cpp/libmcpp: fix build with slibtool Thanks-to: orbea <orbea@riseup.net> Closes: https://bugs.gentoo.org/778461 Signed-off-by: Sam James <sam@gentoo.org> dev-cpp/libmcpp/libmcpp-2.7.2-r3.ebuild | 4 ++++ 1 file changed, 4 insertions(+)