Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677932 - sys-cluster/ceph-12.2.11: ld: cannot find -lBoost::coroutine with system-boost and radosgw enabled
Summary: sys-cluster/ceph-12.2.11: ld: cannot find -lBoost::coroutine with system-boos...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 20:16 UTC by Zac Medico
Modified: 2019-02-13 21:46 UTC (History)
2 users (show)

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


Attachments
complete build.log (ceph-12.2.11:20190213-174148.log.xz,55.20 KB, application/x-xz)
2019-02-13 20:16 UTC, Zac Medico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2019-02-13 20:16:31 UTC
Created attachment 565206 [details]
complete build.log

It fails to link radosgw-es like this:

ld: cannot find -lBoost::coroutine
ld: cannot find -lBoost::context

> [ 98%] Linking CXX executable ../../bin/radosgw-es
> cd /var/tmp/portage/sys-cluster/ceph-12.2.11/work/ceph-12.2.11_build/src/rgw && /usr/bin/cmake -E cmake_link_script CMakeFiles/radosgw-es.dir/link.txt --verbose=1
> /usr/bin/x86_64-pc-linux-gnu-g++  -O2 -march=skylake -mindirect-branch=thunk -frecord-gcc-switches -g -pipe -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free  -Wl,-O1 -Wl,--as-needed -pie CMakeFiles/radosgw-es.dir/rgw_es_main.cc.o  -o ../../bin/radosgw-es -Wl,-rpath,/var/tmp/portage/sys-cluster/ceph-12.2.11/work/ceph-12.2.11_build/lib: ../../lib/librgw_a.a ../../lib/librados.so.2.0.0 ../../lib/libcls_rgw_client.a ../../lib/libcls_lock_client.a ../../lib/libcls_refcount_client.a ../../lib/libcls_log_client.a ../../lib/libcls_statelog_client.a ../../lib/libcls_timeindex_client.a ../../lib/libcls_version_client.a ../../lib/libcls_replica_log_client.a ../../lib/libcls_user_client.a ../../lib/libglobal.a -lresolv -lcurl -lexpat -lssl -lcrypto -lblkid ../../lib/libceph-common.so.0 -lrt -lresolv ../../lib/libjson_spirit.a ../../lib/liberasure_code.a -lboost_thread -lboost_system -lboost_regex -lboost_random -lboost_program_options -lboost_date_time -lboost_iostreams -lblkid -lpthread -ldl ../../lib/libcommon_utf8.a -lcryptopp -lBoost::coroutine -lBoost::context 
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lBoost::coroutine
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lBoost::context
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/rgw/CMakeFiles/radosgw-es.dir/build.make:118: bin/radosgw-es] Error 1
> make[2]: Leaving directory '/var/tmp/portage/sys-cluster/ceph-12.2.11/work/ceph-12.2.11_build'
> make[1]: *** [CMakeFiles/Makefile2:6723: src/rgw/CMakeFiles/radosgw-es.dir/all] Error 2
Comment 1 Zac Medico gentoo-dev 2019-02-13 20:19:18 UTC
=================================================================
                        Package Settings
=================================================================

dev-libs/boost-1.66.0::gentoo was built with the following:
USE="context python threads -debug -doc -icu -mpi (-nls) -static-libs -tools" PYTHON_TARGETS="python2_7 python3_4 python3_6 -python3_5"
CFLAGS="-O3 -march=skylake -mindirect-branch=thunk -frecord-gcc-switches -g -pipe"
CXXFLAGS="-O3 -march=skylake -mindirect-branch=thunk -frecord-gcc-switches -g -pipe"