Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778461 - dev-cpp/libmcpp-2.7.2-r3 - /.../ld: cannot find -lmcpp
Summary: dev-cpp/libmcpp-2.7.2-r3 - /.../ld: cannot find -lmcpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-26 15:18 UTC by Toralf Förster
Modified: 2021-03-27 02:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.87 KB, text/plain)
2021-03-26 15:18 UTC, Toralf Förster
Details
dev-cpp:libmcpp-2.7.2-r3:20210326-141534.log (dev-cpp:libmcpp-2.7.2-r3:20210326-141534.log,22.32 KB, text/plain)
2021-03-26 15:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,289.78 KB, text/plain)
2021-03-26 15:18 UTC, Toralf Förster
Details
environment (environment,62.40 KB, text/plain)
2021-03-26 15:18 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,41.05 KB, application/x-bzip)
2021-03-26 15:18 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.17 KB, application/x-bzip)
2021-03-26 15:18 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.64 KB, application/x-bzip)
2021-03-26 15:18 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-26 15:18:49 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-03-26 15:18:51 UTC
Created attachment 694359 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-26 15:18:52 UTC
Created attachment 694362 [details]
dev-cpp:libmcpp-2.7.2-r3:20210326-141534.log
Comment 3 Toralf Förster gentoo-dev 2021-03-26 15:18:53 UTC
Created attachment 694365 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-03-26 15:18:55 UTC
Created attachment 694368 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-03-26 15:18:56 UTC
Created attachment 694371 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-26 15:18:57 UTC
Created attachment 694374 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-03-26 15:18:58 UTC
Created attachment 694377 [details]
temp.tar.bz2
Comment 8 orbea 2021-03-26 19:25:35 UTC
This one is easy, just add this to src_prepare():

  sed -i 's/-lmcpp/libmcpp.la/' "${S}"/src/Makefile.am || die
Comment 9 Larry the Git Cow gentoo-dev 2021-03-27 02:57:57 UTC
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(+)