Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 699444

Summary: sci-geosciences/liblas-1.8.1-r2 with dev-libs/boost-1.71.0 - ld: /usr/lib64/libboost_iostreams-mt.so: undefined reference to `lzma_cputhreads': undefined reference to `lzma_cputhreads'
Product: Gentoo Linux Reporter: Thomas Beutin <tb>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Thomas Beutin 2019-11-06 12:05:56 UTC
after updating to current stable dev-libs/boost-1.71.0 i'm unable to compile current stable sci-geosciences/liblas-1.8.1-r2 anymore:
[...]
[60/86] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_GDAL=1 -DHAVE_LIBGEOTIFF=1 -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/. -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/../include -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/../include/liblas/capi -I/usr/include/gdal  -DNDEBUG -march=corei7-avx -fomit-frame-pointer -O2 -pipe -MD -MT apps/CMakeFiles/bigfile_boost_iostreams_test.dir/bigfile_boost_iostreams_test.cpp.o -MF apps/CMakeFiles/bigfile_boost_iostreams_test.dir/bigfile_boost_iostreams_test.cpp.o.d -o apps/CMakeFiles/bigfile_boost_iostreams_test.dir/bigfile_boost_iostreams_test.cpp.o -c /var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/bigfile_boost_iostreams_test.cpp
In file included from /usr/include/boost/detail/endian.hpp:9,
                 from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/../include/liblas/detail/binary.hpp:28,
                 from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/../include/liblas/detail/private_utility.hpp:47,
                 from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/../include/liblas/variablerecord.hpp:46,
                 from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/../include/liblas/schema.hpp:47,
                 from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/../include/liblas/point.hpp:47,
                 from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r2/work/libLAS-1.8.1/apps/bigfile_boost_iostreams_test.cpp:41:
/usr/include/boost/predef/detail/endian_compat.h:11:161: note: #pragma message: The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead
 #pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead")
                                                                                                                                                                 ^
[61/86] : && /usr/bin/x86_64-pc-linux-gnu-g++  -march=corei7-avx -fomit-frame-pointer -O2 -pipe  -Wl,-O1 -Wl,--as-needed    -rdynamic apps/CMakeFiles/bigfile_boost_iostreams_test.dir/bigfile_boost_iostreams_test.cpp.o  -o bin/Gentoo/bigfile_boost_iostreams_test  bin/Gentoo/liblas.so.2.4.0 -ltiff -lgeotiff -lgdal -lboost_program_options-mt -lboost_thread-mt -lpthread -lboost_system-mt -lboost_iostreams-mt -lboost_filesystem-mt -lboost_chrono-mt -lboost_date_time-mt -lboost_atomic-mt -lboost_regex-mt && :
FAILED: bin/Gentoo/bigfile_boost_iostreams_test 
: && /usr/bin/x86_64-pc-linux-gnu-g++  -march=corei7-avx -fomit-frame-pointer -O2 -pipe  -Wl,-O1 -Wl,--as-needed    -rdynamic apps/CMakeFiles/bigfile_boost_iostreams_test.dir/bigfile_boost_iostreams_test.cpp.o  -o bin/Gentoo/bigfile_boost_iostreams_test  bin/Gentoo/liblas.so.2.4.0 -ltiff -lgeotiff -lgdal -lboost_program_options-mt -lboost_thread-mt -lpthread -lboost_system-mt -lboost_iostreams-mt -lboost_filesystem-mt -lboost_chrono-mt -lboost_date_time-mt -lboost_atomic-mt -lboost_regex-mt && :
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/libboost_iostreams-mt.so: undefined reference to `lzma_cputhreads'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/libboost_iostreams-mt.so: undefined reference to `lzma_stream_encoder_mt'
collect2: error: ld returned 1 exit status



Reproducible: Always




# emerge --info '=sci-geosciences/liblas-1.8.1-r2::gentoo'
Portage 2.3.76 (python 2.7.16-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.29-r2, 4.9.192-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.192-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E31220_@_3.10GHz-with-gentoo-2.6
KiB Mem:    32899900 total,   1962504 free
KiB Swap:   16776116 total,  16776116 free
Timestamp of repository gentoo: Tue, 05 Nov 2019 08:30:01 +0000
Head commit of repository gentoo: b68856aa4f014788855cb80a10c8022ae8b67a94
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r6::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

barzog-overlay
    location: /var/lib/layman/barzog-overlay
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7-avx -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X509 aac aacplus aalib accounting acl adns aim amd64 ansi apache2 audit automount autotrace bacula-console bash-completion bcmath bidi bind-mysql bittorrent blas brotli bzip2 cairo calendar caps ccache cdb cgi chipcard chroot command-args corefonts cpudetection cpulimit cracklib cramfs cron crypt cscope css csv ctype curl curlwrappers customlog cvsgraph cxx cyrus dba dbi dbm dbx device-mapper devmap dhcp djvu dlopen dnsdb ecc emf encode enscript exif expat extra-filters fam fastcgi ffmpeg fftw fits flac flash flatfile fontconfig fpm fpx ftp gd gdal gdbm geoip geos gif gmp gpl graphviz gs gzip hardened hardenedphp hdf5 hdri hpn http http2 i18n iconv icq icu idea idled idn imagemagick imap imlib imlib2 inifile innodb ipalias ipv6 jabber jbig jpeg jpeg2k json lapack lcms ldap less libwww lm_sensors lmtp logrotate logwatch lzma lzo mbox mcal memlimit mgetty mhash milter mime mimencode ming mmap mmx mp3 mpeg mpm-prefork mppe-mppc multilib mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses netboot netcdf netifrc network nfs nls nntp nptl nptlonly oav odbc ogg oggvorbis opencl openexr openmp openrc openssh openssl pam pam_chroot pam_console pam_timestamp pango parse-clocks pcntl pcre pdf pdfkit pdflib perl php pic pie plotutils png posix postfix postgis postgres postscript procmail proj pwdb python qdbm qemu quotas radius raw readline recode reiserfs rmtp rpc rrdtool rss sample sasl screen sendfile sensord server session sftp sftplogging shaper shared sharedext sieve simplexml slang slp smartcard smime smp sms smtp snmp snortsam soap sockets socks5 spamassassin spell spl split-usr sql sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 ssl ssse3 stream subversion svg sysfs syslog sysvipc szip tcpd theora tidy tiff tls tokenizer transparent-proxy truetype truetype-fonts type1-fonts udev unicode userlocales utf8 uuid vhosts vim-syntax virtual-users virus-scan vorbis vpx wddx webp withsamplescripts wmf x264 xattr xfs xinetd xls xml xml2 xmlrpc xpm xsl xslt xvid yaz zlib" ABI_X86="64" APACHE2_MODULES="access auth auth_basic authn_dbm dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile authn_alias authn_anon authz_dbm authz_owner authz_default authz_user auth_digest authz_host alias file_cache echo charset_lite cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usertrack proxy proxy_connect proxy_ftp proxy_http info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir so unique_id" APACHE2_MPMS="prefork" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="cws2fws qt-faststart aviocat ismindex" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" PHP_TARGETS="php5-6 php7-2 php7-3" POSTGRES_TARGETS="postgres9_6 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

sci-geosciences/liblas-1.8.1-r2::gentoo was built with the following:
USE="gdal" ABI_X86="(64)"
Comment 1 Thomas Beutin 2019-11-06 12:06:22 UTC
Created attachment 595120 [details]
build.log
Comment 2 Thomas Beutin 2019-11-13 11:09:53 UTC
After upgrading GCC to 9.2.0-r2 and recompiling the whole system everything works fine. Sorry for the noise!