Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640844 - dev-libs/leatherman-1.3.0: emake failed: undefined reference to `boost::re_detail_106300::cpp_regex_traits_implementation
Summary: dev-libs/leatherman-1.3.0: emake failed: undefined reference to `boost::re_de...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 639474
  Show dependency tree
 
Reported: 2017-12-12 18:15 UTC by Thomas Deutschmann (RETIRED)
Modified: 2017-12-14 16:13 UTC (History)
0 users

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


Attachments
build.log (build.log,156.51 KB, text/plain)
2017-12-12 20:27 UTC, Thomas Deutschmann (RETIRED)
Details
dev-libs/leatherman-1.3.0-r1 build.log (build.log,164.36 KB, text/plain)
2017-12-14 15:04 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-12 18:15:04 UTC
[100%] Linking CXX executable ../bin/leatherman_test
cd /var/tmp/portage/dev-libs/leatherman-1.3.0/work/leatherman-1.3.0_build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/leatherman_test.dir/link.txt --verbose=1
/usr/bin/i686-pc-linux-gnu-g++  -Wno-maybe-uninitialized -O2 -pipe -march=pentium4m -mtune=pentium4m  -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/leatherman_test.dir/main.cc.o CMakeFiles/leatherman_test.dir/__/util/tests/scoped_env.cc.o CMakeFiles/leatherman_test.dir/__/util/tests/strings_test.cc.o CMakeFiles/leatherman_test.dir/__/util/tests/option_set.cc.o CMakeFiles/leatherman_test.dir/__/util/tests/environment.cc.o CMakeFiles/leatherman_test.dir/__/util/tests/timer.cc.o CMakeFiles/leatherman_test.dir/__/util/tests/uri.cc.o CMakeFiles/leatherman_test.dir/__/util/tests/posix/environment.cc.o CMakeFiles/leatherman_test.dir/__/locale/tests/locale.cc.o CMakeFiles/leatherman_test.dir/__/locale/tests/format.cc.o CMakeFiles/leatherman_test.dir/__/logging/tests/logging.cc.o CMakeFiles/leatherman_test.dir/__/logging/tests/logging_stream.cc.o CMakeFiles/leatherman_test.dir/__/logging/tests/logging_stream_lines.cc.o CMakeFiles/leatherman_test.dir/__/logging/tests/logging_on_message.cc.o CMakeFiles/leatherman_test.dir/__/logging/tests/posix/logging.cc.o CMakeFiles/leatherman_test.dir/__/logging/tests/logging_i18n.cc.o CMakeFiles/leatherman_test.dir/__/json_container/tests/json_container_test.cc.o CMakeFiles/leatherman_test.dir/__/file_util/tests/file_utils_test.cc.o CMakeFiles/leatherman_test.dir/__/file_util/tests/directory_utils_test.cc.o CMakeFiles/leatherman_test.dir/__/file_util/tests/fixtures.cc.o CMakeFiles/leatherman_test.dir/__/curl/tests/client_test.cc.o CMakeFiles/leatherman_test.dir/__/curl/tests/request_test.cc.o CMakeFiles/leatherman_test.dir/__/curl/tests/response_test.cc.o CMakeFiles/leatherman_test.dir/__/dynamic_library/tests/dynamic_library_tests.cc.o CMakeFiles/leatherman_test.dir/__/execution/tests/log_capture.cc.o CMakeFiles/leatherman_test.dir/__/execution/tests/posix/execution.cc.o CMakeFiles/leatherman_test.dir/__/ruby/tests/api-test.cc.o  -o ../bin/leatherman_test -Wl,-rpath,/var/tmp/portage/dev-libs/leatherman-1.3.0/work/leatherman-1.3.0_build/lib ../ruby/leatherman_ruby.a ../execution/leatherman_execution.a ../dynamic_library/leatherman_dynamic_library.a ../curl/leatherman_curl.a ../file_util/leatherman_file_util.a ../json_container/leatherman_json_container.a ../logging/leatherman_logging.a ../locale/leatherman_locale.a ../util/leatherman_util.a -lboost_date_time-mt -lboost_chrono-mt -lboost_system-mt -lboost_locale-mt -lboost_log-mt -lboost_log_setup-mt -lboost_thread-mt -lboost_filesystem-mt -lboost_regex-mt -lboost_atomic-mt -lpthread -lrt -ldl ../lib/libmock_curl.so
CMakeFiles/leatherman_test.dir/__/locale/tests/format.cc.o: In function `__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > boost::re_detail_106300::re_is_set_member<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char> >, unsigned int>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::re_detail_106300::re_set_long<unsigned int> const*, boost::re_detail_106300::regex_data<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, bool)':
format.cc:(.text._ZN5boost16re_detail_10630016re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost16re_detail_10630016re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x15a): undefined reference to `boost::re_detail_106300::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const'
format.cc:(.text._ZN5boost16re_detail_10630016re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost16re_detail_10630016re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x31a): undefined reference to `boost::re_detail_106300::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'
collect2: error: ld returned 1 exit status
make[2]: *** [tests/CMakeFiles/leatherman_test.dir/build.make:794: bin/leatherman_test] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-1.3.0/work/leatherman-1.3.0_build'
make[1]: *** [CMakeFiles/Makefile2:1224: tests/CMakeFiles/leatherman_test.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/leatherman-1.3.0/work/leatherman-1.3.0_build'
make: *** [Makefile:144: all] Error 2
 * ERROR: dev-libs/leatherman-1.3.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2017-12-12 20:20:29 UTC
what version of boost do you have installed?
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-12 20:27:56 UTC
Created attachment 509754 [details]
build.log

=================================================================
                        Package Settings
=================================================================

dev-libs/boost-1.63.0::gentoo was built with the following:
USE="icu nls python threads -context -debug -doc -mpi -static-libs -tools" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -std=c++14"



Portage 2.3.13 (python 3.5.4-final-0, default/linux/x86/13.0, gcc-6.4.0, glibc-2.25-r9, 4.12.14-gentoo i686)
=================================================================
System uname: Linux-4.12.14-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108084 total,   2770964 free
KiB Swap:     488276 total,    488276 free
Timestamp of repository gentoo: Tue, 12 Dec 2017 18:58:05 +0000
Head commit of repository gentoo: ee0837f4589b37aa1ea44f58016f8c97d3f82177

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
FLTK_DOCDIR="/usr/share/doc/fltk-1.3.3-r3/html"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
QT_PLUGIN_PATH="/usr/lib/kde4/plugins"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMAKEPATH="/usr/lib/tmake/linux-g++"
TMUX="/tmp/tmux-0/default,4984,0"
TMUX_PANE="%0"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2017-12-13 19:26:50 UTC
It might be worth trying 1.3.0-r1 to see if it's a static libs issue.

Could you also attach the full leatherman build.log?
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-14 15:04:36 UTC
Created attachment 510032 [details]
dev-libs/leatherman-1.3.0-r1 build.log

Same error with dev-libs/leatherman-1.3.0-r1.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-14 16:13:43 UTC
I rebuilt dev-libs/boost-1.63 and now the error is gone.

Closing as invalid ...