Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545714 - app-arch/xz-utils-5.2.1: /usr/bin/tar: Lzma library error: Corrupted input data
Summary: app-arch/xz-utils-5.2.1: /usr/bin/tar: Lzma library error: Corrupted input data
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
: 550734 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-06 10:51 UTC by i.Dark_Templar
Modified: 2015-06-03 11:40 UTC (History)
2 users (show)

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


Attachments
build.log.bz2 (build.log.bz2,3.67 KB, application/x-bzip2)
2015-04-06 10:52 UTC, i.Dark_Templar
Details
patch for xz-utils-5.2.1.ebuild (bug545714.patch,615 bytes, patch)
2015-06-02 12:37 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description i.Dark_Templar 2015-04-06 10:51:35 UTC
I'm trying to compile kde4 for Gentoo/FreeBSD.
Emerging kde-base/solid-runtime failed.
I've looked into build and debug logs and found that it fails to extract files from archive.


Reproducible: Always

Steps to Reproduce:
1. cd $(mktemp -d)
1.a. obtain kde-runtime-4.14.3.tar.xz from distfiles if you don't have it.
2. tar -xpvf /usr/portage/distfiles/kde-runtime-4.14.3.tar.xz --xz kde-runtime-4.14.3/solid-device-automounter/ kde-runtime-4.14.3/solid-hardware/ kde-runtime-4.14.3/solid-networkstatus/ kde-runtime-4.14.3/solidautoeject/ kde-runtime-4.14.3/soliduiserver/ || echo tar failed

Actual Results:  
tar: Failed to set default locale
x kde-runtime-4.14.3/solid-device-automounter/
x kde-runtime-4.14.3/solid-device-automounter/CMakeLists.txt
x kde-runtime-4.14.3/solid-device-automounter/COPYING
x kde-runtime-4.14.3/solid-device-automounter/SETTINGS
x kde-runtime-4.14.3/solid-device-automounter/kcm/
x kde-runtime-4.14.3/solid-device-automounter/kcm/CMakeLists.txt
x kde-runtime-4.14.3/solid-device-automounter/kcm/DeviceAutomounterKCM.cpp
x kde-runtime-4.14.3/solid-device-automounter/kcm/DeviceAutomounterKCM.h
x kde-runtime-4.14.3/solid-device-automounter/kcm/DeviceAutomounterKCM.ui
x kde-runtime-4.14.3/solid-device-automounter/kcm/DeviceModel.cpp
x kde-runtime-4.14.3/solid-device-automounter/kcm/DeviceModel.h
x kde-runtime-4.14.3/solid-device-automounter/kcm/LayoutSettings.kcfg
x kde-runtime-4.14.3/solid-device-automounter/kcm/LayoutSettings.kcfgc
x kde-runtime-4.14.3/solid-device-automounter/kcm/Messages.sh
x kde-runtime-4.14.3/solid-device-automounter/kcm/device_automounter_kcm.desktop
x kde-runtime-4.14.3/solid-device-automounter/kded/
x kde-runtime-4.14.3/solid-device-automounter/kded/CMakeLists.txt
x kde-runtime-4.14.3/solid-device-automounter/kded/DeviceAutomounter.cpp
x kde-runtime-4.14.3/solid-device-automounter/kded/DeviceAutomounter.h
x kde-runtime-4.14.3/solid-device-automounter/kded/device_automounter.desktop
x kde-runtime-4.14.3/solid-device-automounter/lib/
x kde-runtime-4.14.3/solid-device-automounter/lib/AutomounterSettings.cpp
x kde-runtime-4.14.3/solid-device-automounter/lib/AutomounterSettings.h
x kde-runtime-4.14.3/solid-device-automounter/lib/AutomounterSettingsBase.kcfg
x kde-runtime-4.14.3/solid-device-automounter/lib/AutomounterSettingsBase.kcfgc
x kde-runtime-4.14.3/solid-hardware/
x kde-runtime-4.14.3/solid-hardware/CMakeLists.txt
x kde-runtime-4.14.3/solid-hardware/Messages.sh
x kde-runtime-4.14.3/solid-hardware/solid-hardware.cpp
x kde-runtime-4.14.3/solid-hardware/solid-hardware.h
x kde-runtime-4.14.3/solid-networkstatus/
x kde-runtime-4.14.3/solid-networkstatus/CMakeLists.txt
x kde-runtime-4.14.3/solid-networkstatus/DESIGN
x kde-runtime-4.14.3/solid-networkstatus/README
x kde-runtime-4.14.3/solid-networkstatus/kded/
x kde-runtime-4.14.3/solid-networkstatus/kded/CMakeLists.txt
x kde-runtime-4.14.3/solid-networkstatus/kded/network.cpp
x kde-runtime-4.14.3/solid-networkstatus/kded/network.h
x kde-runtime-4.14.3/solid-networkstatus/kded/networkmanagerstatus.cpp
x kde-runtime-4.14.3/solid-networkstatus/kded/networkmanagerstatus.h
x kde-runtime-4.14.3/solid-networkstatus/kded/networkstatus.cpp
x kde-runtime-4.14.3/solid-networkstatus/kded/networkstatus.desktop
x kde-runtime-4.14.3/solid-networkstatus/kded/networkstatus.h
x kde-runtime-4.14.3/solid-networkstatus/kded/ntracknetworkstate.cpp
x kde-runtime-4.14.3/solid-networkstatus/kded/ntracknetworkstate.h
x kde-runtime-4.14.3/solid-networkstatus/kded/systemstatusinterface.cpp
x kde-runtime-4.14.3/solid-networkstatus/kded/systemstatusinterface.h
x kde-runtime-4.14.3/solid-networkstatus/kded/wicdcustomtypes.cpp
x kde-runtime-4.14.3/solid-networkstatus/kded/wicdcustomtypes.h
x kde-runtime-4.14.3/solid-networkstatus/kded/wicdstatus.cpp
x kde-runtime-4.14.3/solid-networkstatus/kded/wicdstatus.h
x kde-runtime-4.14.3/solid-networkstatus/org.kde.Solid.Networking.Service.xml
x kde-runtime-4.14.3/solid-networkstatus/tests/
x kde-runtime-4.14.3/solid-networkstatus/tests/CMakeLists.txt
x kde-runtime-4.14.3/solid-networkstatus/tests/networkingservice.cpp
x kde-runtime-4.14.3/solid-networkstatus/tests/networkingservice.h
x kde-runtime-4.14.3/solid-networkstatus/tests/networkingserviceview.ui
x kde-runtime-4.14.3/solidautoeject/
x kde-runtime-4.14.3/solidautoeject/CMakeLists.txt
x kde-runtime-4.14.3/solidautoeject/Messages.sh
x kde-runtime-4.14.3/solidautoeject/solidautoeject.cpp
x kde-runtime-4.14.3/solidautoeject/solidautoeject.desktop
x kde-runtime-4.14.3/solidautoeject/solidautoeject.h
x kde-runtime-4.14.3/soliduiserver/
x kde-runtime-4.14.3/soliduiserver/CMakeLists.txt
x kde-runtime-4.14.3/soliduiserver/Messages.sh
x kde-runtime-4.14.3/soliduiserver/deviceaction.cpp
x kde-runtime-4.14.3/soliduiserver/deviceaction.h
x kde-runtime-4.14.3/soliduiserver/deviceactionsdialog.cpp
x kde-runtime-4.14.3/soliduiserver/deviceactionsdialog.h
x kde-runtime-4.14.3/soliduiserver/deviceactionsdialogview.ui
x kde-runtime-4.14.3/soliduiserver/devicenothingaction.cpp: Lzma library error: Corrupted input data
tar: Error exit delayed from previous errors.
tar failed


Expected Results:  
tar should successfully unpack archive


Due to that problem emerging kde-base/solid-runtime fails. I've also tested it on Gentoo/Linux and test above works fine.

After that I have tried downgrading some packages, and it worked fine after I downgraded app-arch/xz-utils to 5.0.8 (same version as on my host Gentoo/Linux). Although pure downgrade of xz-utils broke libarchive and I had to extract on another machine liblzma.so.* from previously saved version, temporary put it to /usr/local/lib and run portage with 'LD_LIBRARY_PATH=/usr/local/lib'. There was following error when running tar:
/lib/liblzma.so.5: version XZ_5.0 required by /usr/lib/libarchive.so.13 not defined

emerge --info
setlocale: unsupported locale setting
Portage 2.2.18 (python 2.7.9-final-0, default/bsd/fbsd/x86/9.2, gcc-4.8.4, freebsd-lib-9.2, 9.2-Gentoo i386)
=================================================================
System uname: FreeBSD-9.2-Gentoo-i386-32bit-ELF
KiB Mem:     1027488 total
KiB Swap:          0 total
Timestamp of repository gentoo: Fri, 20 Mar 2015 00:45:01 +0000
sh sh
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:         4.3_p33-r2::gentoo
dev-lang/perl:           5.20.2::gentoo
dev-lang/python:         2.7.9-r2::crossdev
dev-util/cmake:          3.1.0::gentoo
sys-apps/baselayout:     2.2::gentoo
sys-apps/openrc:         0.13.11::gentoo
sys-devel/autoconf:      2.69-r1::gentoo
sys-devel/automake:      1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:      2.25::gentoo
sys-devel/gcc:           4.8.4::gentoo
sys-devel/gcc-config:    1.8::gentoo
sys-devel/libtool:       2.4.6-r1::gentoo
sys-devel/make:          4.1-r1::gentoo
sys-freebsd/freebsd-lib: 9.2::crossdev (virtual/os-headers)
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

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

crossdev
    location: /usr/local/portage_crossdev
    masters: gentoo
    priority: 1

Installed sets: @kde
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-gentoo-freebsd9.2"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-gentoo-freebsd9.2"
CONFIG_PROTECT="/boot/device.hints /etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y --autounmask=n"
FCFLAGS="-march=i486 -O2 -pipe"
FEATURES="binpkg-logs chflags distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync"
FFLAGS="-march=i486 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK=" /etc/systemd /lib*/systemd /lib*/tmpfiles.d /usr/lib*/systemd /usr/lib*/tmpfiles.d /usr/lib*/python*/test "
LANG="ru_RU.utf8"
LDFLAGS=""
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl bidi bzip2 c++0x cleartype consolekit cracklib crypt custom-cflags custom-optimization cxx dbus dga dri fontconfig fontforge freetype fribidi gmp iconv icu ipv6 java5 java6 kde libav lzma mmap modules ncurses nls opengl openmp oss pam pch pcntl pcre pic plasma png policykit posix private-headers python2 qt3support qt4 readline ssl startup-notification system-cairo system-icu system-jpeg system-libvpx system-sqlite tcpd threads truetype unicode usb x86-fbsd xattr xcb xcomposite xft xinerama xscreensaver zlib" ABI_X86="32" 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" ELIBC="FreeBSD" 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" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en ru_RU en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby20" USERLAND="BSD" VIDEO_CARDS="vesa" 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"
Unset:  CPPFLAGS, CTARGET, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 i.Dark_Templar 2015-04-06 10:52:40 UTC
Created attachment 400672 [details]
build.log.bz2

Build log for kde-base/solid-runtime-4.14.3 complaining about missing files.
Comment 2 Yuta SATOH 2015-06-02 12:26:38 UTC
*** Bug 550734 has been marked as a duplicate of this bug. ***
Comment 4 Yuta SATOH 2015-06-03 11:40:08 UTC
now, xz-utils-5.2.1-r1 in tree.