Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557056 - =sci-mathematics/cgal-4.6.1[doc] fails to unpack
Summary: =sci-mathematics/cgal-4.6.1[doc] fails to unpack
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 17:15 UTC by Michał Bartoszkiewicz
Modified: 2015-08-09 17:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Bartoszkiewicz 2015-08-08 17:15:33 UTC
emerge cgal with USE=doc fails with:
>>> Unpacking CGAL-4.6.1-doc_html.tar.xz to /tmp/portage/sci-mathematics/cgal-4.6.1/work
xz: /tmp/portage/sci-mathematics/cgal-4.6.1/distdir/CGAL-4.6.1-doc_html.tar.xz: File format not recognized
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: sci-mathematics/cgal-4.6.1::gentoo failed (unpack phase):
 *   unpack: failure unpacking CGAL-4.6.1-doc_html.tar.xz

It appears that the CGAL-4.6.1-doc_html.tar.xz file is really compressed using gzip, not xz.


$ sudo emerge --info
Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.21-r1, 4.2.0-rc5 x86_64)
=================================================================
System uname: Linux-4.2.0-rc5-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:    24601092 total,  14701680 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Sat, 08 Aug 2015 15:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.0::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /var/cache/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://fraktal/gentoo-portage
    priority: -1000

crossdev
    location: /var/cache/repos/crossdev
    masters: gentoo

embe
    location: /var/lib/layman/embe
    sync-type: laymansync
    sync-uri: git://toy.bzium.org/~embe/overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y --quiet-build y"
FCFLAGS="-march=native -O2 -pipe -ggdb"
FEATURES="assume-digests binpkg-logs buildpkg cgroup clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -ggdb"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://ftp.vectranet.pl/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/etc/rmt /lib/firmware/microcode.dat /var/run /etc/xinetd.d /var/lock /var/mail /var/spool/mail /etc/skel"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,now"
MAKEOPTS="-j10"
PKGDIR="/var/cache/packages"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="man-symlinker"
PORTAGE_COMPRESS_FLAGS="xz --"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude /lost+found"
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="/tmp"
USE="R X a52 aac aacplus acl acpi adns alsa amd64 android archive ass avahi avx bazaar bluetooth bzip2 cairo caps cdb cdda cddb cdr cli clutter colord crypt cryptsetup cups curl cvs cxx dbus dconf device-mapper dirac djvu dri dts dvb dvd dvdr dvi eds egl elfutils emboss encode evdev evo exif fam fat ffmpeg fftw firefox flac fontconfig fortran fuse gadu gd gdbm gif gimp git glamor gmp gnome gnome-keyring gnome-online-accounts gnuplot gpg gphoto2 graphviz gsl gstreamer gtk gtk3 gtkstyle guile http2 iconv icu idn imagemagick introspection iproute2 ipv6 java jpeg lame lapack latex lcms libkms libnotify libproxy libsamplerate libsecret live llvm lua lzma lzo mad maildir man matroska mercurial metalink mms mmx mmxext mng modemmanager modules mp3 mp4 mpeg mtp multilib musepack nautilus ncurses netlink networkmanager nls nptl nsplugin obex offensive ogg openal openexr opengl openimageio openmp opus osmesa pam pango pch pcre pdf pgf pkcs11 playlist plotutils png policykit postproc postscript ppds pulseaudio python qt3support qt4 raw rdp readline resolvconf rtmp samba schroedinger sdl seccomp session sftp sip smi smp speex spell spice sqlite sse sse2 sse3 sse4 sse41 sse4_1 ssl ssse3 startup-notification subversion svg syslog system-cairo system-jpeg system-sqlite systemd telepathy theora tiff tls tracker truetype udev udisks unicode upnp upnp-av upower urandom usb uuid v4l vaapi vala vim-syntax vlc vorbis vpx webp wifi wxwidgets x264 xattr xcb xinerama xml xmp xmpp xv xvid zeroconf zlib zsh-completion" ABI_X86="32 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" APACHE2_MPMS="prefork" 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" CURL_SSL="openssl" 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" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport nlpsolver" LINGUAS="en en_US pl pl_PL" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, USE_PYTHON
Comment 1 Jouni Kosonen 2015-08-08 23:07:12 UTC
(In reply to mbartoszkiewicz@gmail.com from comment #0)
> emerge cgal with USE=doc fails with:
> >>> Unpacking CGAL-4.6.1-doc_html.tar.xz to /tmp/portage/sci-mathematics/cgal-4.6.1/work
> xz:
> /tmp/portage/sci-mathematics/cgal-4.6.1/distdir/CGAL-4.6.1-doc_html.tar.xz:
> File format not recognized
> tar: This does not look like a tar archive
> tar: Exiting with failure status due to previous errors
>  * ERROR: sci-mathematics/cgal-4.6.1::gentoo failed (unpack phase):
>  *   unpack: failure unpacking CGAL-4.6.1-doc_html.tar.xz
> 
> It appears that the CGAL-4.6.1-doc_html.tar.xz file is really compressed
> using gzip, not xz.
> 

Yes, it seems there's a wrong ID for that in the ebuild.
13c13
< DPID=34902
---
> DPID=34904
Comment 2 Michael Weber (RETIRED) gentoo-dev 2015-08-09 17:03:15 UTC
Sorry, should have checked USE=doc, I just copied it from bug 555732.

I changed the name of the doc tarball to -1.tar.xz, just be sure theres no manifest problem with files already on the distmirror.

commit 435d55402f9b603ce6a358f42e22cec861239c00
Author: Michael Weber <xmw@gentoo.org>
Date:   Sun Aug 9 19:02:36 2015 +0200

    sci-mathematics/cgal: fix doc tarball (bug 557056 and 556258).