Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589654 - app-arch/libarchive-3.2.1-r3 : ./.../ undefined reference to `lzma_stream_encoder_mt' when app-arch/xz-utils[-threads]
Summary: app-arch/libarchive-3.2.1-r3 : ./.../ undefined reference to `l...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Samuli Suominen (RETIRED)
Depends on:
Blocks: gcc-5
  Show dependency tree
Reported: 2016-07-25 07:42 UTC by Toralf Förster
Modified: 2016-07-26 17:57 UTC (History)
1 user (show)

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

app-arch:libarchive-3.2.1-r3:20160724-221414.log (app-arch:libarchive-3.2.1-r3:20160724-221414.log,128.55 KB, text/plain)
2016-07-25 07:42 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,18.55 KB, text/plain)
2016-07-25 07:42 UTC, Toralf Förster
environment (environment,123.66 KB, text/plain)
2016-07-25 07:42 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-07-25 07:42:03 UTC
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -Wall -Wformat -Wformat-security  -Wl,-O1 -Wl,--as-needed -o bsdtar tar/bsdtar-bsdtar.o tar/bsdtar-cmdline.o tar/bsdtar-creation_set.o tar/bsdtar-read.o tar/bsdtar-subst.o tar/bsdtar-util.o tar/bsdtar-write.o  -lcrypto -lacl -llzma -lbz2 -lz  -lxml2
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wformat -Wformat-security -Wl,-O1 -o .libs/bsdtar tar/bsdtar-bsdtar.o tar/bsdtar-cmdline.o tar/bsdtar-creation_set.o tar/bsdtar-read.o tar/bsdtar-subst.o tar/bsdtar-util.o tar/bsdtar-write.o  -Wl,--as-needed ./.libs/ ./.libs/libarchive_fe.a -lcrypto -lacl -llzma -lbz2 -lz -lxml2
./.libs/ undefined reference to `lzma_stream_encoder_mt'

$ cat emerge-info.txt

  This is an unstable amd64 chroot image (named amd64-desktop-unstable_20160724-180957) at a hardened host acting as a tinderbox.


USE="pax_kernel xtpax -cdinstall -oci8 -bindist -apache avcodec compat corefonts csc curl dec_av2 -drmkms dvb exif -extraengine freetds gd git glamor graphtft imlib ithreads jadetex lapack libinput libvirtd -midi mpeg mpeg3 mysql nls nscd nss obj ogg opencv opengl png pulseaudio python scrypt sdl smartcard snmp sql ssh ssl svg system-harfbuzz -system-icu system-llvm theora -threads tls usb vaapi vala wxwidgets -xmlreader xslt xvfb"

  package specific USE flags:
mail-mta/ssmtp    ssl
net-misc/wget     ssl
app-editors/emacs -dbus -svg -ssl -gtk -gtk3
net-misc/iputils -caps -filecaps
net-print/cups threads
dev-lang/python threads
media-libs/mesa -vaapi


Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r2, 4.6.4-hardened-r2 x86_64)
System uname: Linux-4.6.4-hardened-r2-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16155840 total,   4052624 free
KiB Swap:   16777212 total,  16692840 free
Timestamp of repository gentoo: Sun, 24 Jul 2016 19:03:08 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p46::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: 1

    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac acl acpi alsa amd64 avcodec berkdb bluetooth branding bzip2 cairo cdda cdr cli compat consolekit corefonts cracklib crypt csc cups curl cxx dbus dec_av2 dri dts dvb dvd dvdr emboss encode exif fam firefox flac fortran freetds gd gdbm gif git glamor gpm graphtft gtk iconv imlib ipv6 ithreads jadetex jpeg lapack lcms ldap libinput libnotify libvirtd mad mmx mmxext mng modules mp3 mp4 mpeg mpeg3 multilib mysql ncurses nls nptl nscd nss obj ogg opencv opengl openmp pam pango pax_kernel pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline scrypt sdl seccomp session smartcard snmp spell sql sse sse2 ssh ssl startup-notification svg system-harfbuzz system-llvm tcpd theora tiff tls truetype udev udisks unicode upower usb vaapi vala vorbis wxwidgets x264 xattr xcb xml xslt xtpax xv xvfb xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="he lv nl st tn" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Toralf Förster gentoo-dev 2016-07-25 07:42:10 UTC
Created attachment 441488 [details]
Comment 2 Toralf Förster gentoo-dev 2016-07-25 07:42:13 UTC
Created attachment 441490 [details]
Comment 3 Toralf Förster gentoo-dev 2016-07-25 07:42:15 UTC
Created attachment 441492 [details]
Comment 4 Adam Feldman gentoo-dev 2016-07-26 02:34:56 UTC
Toralf, are you able to confirm if this issue is present if xz-utils is built with USE=threads?
Comment 5 Toralf Förster gentoo-dev 2016-07-26 07:36:56 UTC
(In reply to NP-Hardass from comment #4)
I rather tend to close this bug as invalid b/c this issue happens on a image which is suspected to be broken
Comment 6 Adam Feldman gentoo-dev 2016-07-26 08:31:27 UTC
Just confirmed it on my machine.  xz-utils[-threads] causes their detection of threads to break.  Looks like an upstream bug, but I'm investigating now.
Comment 7 Toralf Förster gentoo-dev 2016-07-26 08:35:36 UTC
(In reply to NP-Hardass from comment #6)
funny side fact : this issue was detected at my tinderbox only at one image here now - and that's was an image where gcc upgrade was made unsuccessful (due to other package failure) - therefore I sorted this image out

Comment 8 Adam Feldman gentoo-dev 2016-07-26 08:48:09 UTC
(In reply to Toralf Förster from comment #7)
> (In reply to NP-Hardass from comment #6)
> funny side fact : this issue was detected at my tinderbox only at one image
> here now - and that's was an image where gcc upgrade was made unsuccessful
> (due to other package failure) - therefore I sorted this image out
> ;-)

Hehe, well, glad you spotted it, nonetheless.
Comment 9 Adam Feldman gentoo-dev 2016-07-26 17:57:32 UTC
Fixed in 3.2.1-r4 with backported upstream patch in e7190087b79b1685765ab683bf3ad23edb229950.

Thanks, as always, Toralf.