Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823329 - [lmiphay] app-misc/g13-20150528_p1 fails to compile: ld: cannot find -lboost_log_setup-mt
Summary: [lmiphay] app-misc/g13-20150528_p1 fails to compile: ld: cannot find -lboost_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Healy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-12 09:36 UTC by Agostino Sarubbo
Modified: 2021-11-25 10:34 UTC (History)
0 users

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


Attachments
build.log (build.log,40.58 KB, text/plain)
2021-11-12 09:36 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-11-12 09:36:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/g13-20150528_p1 fails to compile.
Discovered on: amd64 (internal ref: lmiphay_tinderbox)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-12 09:36:39 UTC
Created attachment 750624 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-12 09:36:40 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_log_setup-mt
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_system-mt
collect2: error: ld returned 1 exit status
Comment 3 Paul Healy 2021-11-25 10:25:18 UTC
This appears to have boost-1.77.0-r3 installed - which is the current test version (checked against https://packages.gentoo.org/packages/dev-libs/boost)

The difference between the stable and test ebuild includes:

--- boost-1.76.0-r1.ebuild      2021-07-04 15:09:56.000000000 +0100                                                                                                
+++ boost-1.77.0-r3.ebuild      2021-11-20 07:39:48.000000000 +0000                                                                                                
...

-       pushd "${ED}"/usr/$(get_libdir) >/dev/null || die
-
-       local ext=$(get_libname)
-       if use threads; then
-               local f
-               for f in *${ext}; do
-                       dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
-               done
-       fi
...

i.e the threads use has been dropped.
Comment 4 Paul Healy 2021-11-25 10:34:53 UTC
Fixed at 0a064879cb6faa3b2caf565387e2c0c50b91a82f