GNU bug report logs - #29235
Builtin bsdtar decompression for .tar.xz not used

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Devon Sean McCullough <Emacs-Hacker2017@HIDDEN>; dated Thu, 9 Nov 2017 21:43:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to 'Builtin bsdtar decompression for .tar.xz not used' from '26.0.50; tar.xz broken' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Nov 2017 21:42:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 09 16:42:40 2017
Received: from localhost ([127.0.0.1]:60948 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eCuat-0005Ax-NI
	for submit <at> debbugs.gnu.org; Thu, 09 Nov 2017 16:42:40 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37626)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <emacs-hacker2017@HIDDEN>) id 1eCuaq-0005Aj-Vf
 for submit <at> debbugs.gnu.org; Thu, 09 Nov 2017 16:42:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <emacs-hacker2017@HIDDEN>) id 1eCuai-000779-Ih
 for submit <at> debbugs.gnu.org; Thu, 09 Nov 2017 16:42:31 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:37252)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <emacs-hacker2017@HIDDEN>)
 id 1eCuai-00076o-79
 for submit <at> debbugs.gnu.org; Thu, 09 Nov 2017 16:42:28 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56030)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <emacs-hacker2017@HIDDEN>) id 1eCuaQ-00055A-DD
 for bug-gnu-emacs@HIDDEN; Thu, 09 Nov 2017 16:42:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <emacs-hacker2017@HIDDEN>) id 1eCua9-00068N-7g
 for bug-gnu-emacs@HIDDEN; Thu, 09 Nov 2017 16:42:10 -0500
Received: from gateway30.websitewelcome.com ([192.185.151.58]:31926)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <emacs-hacker2017@HIDDEN>)
 id 1eCua8-0005ee-El
 for bug-gnu-emacs@HIDDEN; Thu, 09 Nov 2017 16:41:53 -0500
Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20])
 by gateway30.websitewelcome.com (Postfix) with ESMTP id 8AA7FBFBF
 for <bug-gnu-emacs@HIDDEN>; Thu,  9 Nov 2017 15:41:35 -0600 (CST)
Received: from leaf.websitewelcome.com ([192.185.82.99]) by cmsmtp with SMTP
 id CuZreLRS6c72gCuZreIOPy; Thu, 09 Nov 2017 15:41:35 -0600
Received: from pool-74-96-160-131.washdc.fios.verizon.net
 ([74.96.160.131]:52291 helo=devons-air.fios-router.home)
 by leaf.websitewelcome.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256)
 (Exim 4.87) (envelope-from <Emacs-Hacker2017@HIDDEN>)
 id 1eCuZr-0036VD-35
 for bug-gnu-emacs@HIDDEN; Thu, 09 Nov 2017 15:41:35 -0600
From: Devon Sean McCullough <Emacs-Hacker2017@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: 26.0.50; tar.xz broken
Message-Id: <FDA1FF64-50AC-48A0-98F2-FB840D140F7E@HIDDEN>
Date: Thu, 9 Nov 2017 16:41:34 -0500
To: bug-gnu-emacs@HIDDEN
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - leaf.websitewelcome.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jovi.net
X-BWhitelist: no
X-Source-IP: 74.96.160.131
X-Source-L: No
X-Exim-ID: 1eCuZr-0036VD-35
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: pool-74-96-160-131.washdc.fios.verizon.net
 (devons-air.fios-router.home) [74.96.160.131]:52291
X-Source-Auth: devon2011@HIDDEN
X-Email-Count: 1
X-Source-Cap: am92aW5ldDtkZXZvbjtsZWFmLndlYnNpdGV3ZWxjb21lLmNvbQ==
X-Local-Domain: yes
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Emacs fails to open tar.xz files

	Error while executing "xz -c -q -d < /tmp/bar.tar.xz"
	/bin/sh: xz: command not found

Note that MacOSX lacks xz but has tar
which automagically decompresses xz.

		Peace
			--Devon

P.S. Transcript follows:

$ type xz
bash: type: xz: not found
$ type tar
tar is /usr/bin/tar
$ tar -h
tar(bsdtar): manipulate archive files
First option must be a mode specifier:
  -c Create  -r Add/Replace  -t List  -u Update  -x Extract
Common Options:
  -b #  Use # 512-byte records per I/O block
  -f <filename>  Location of archive
  -v    Verbose
  -w    Interactive
Create: tar -c [options] [<file> | <dir> | @<archive> | -C <dir> ]
  <file>, <dir>  add these items to archive
  -z, -j, -J, --lzma  Compress archive with gzip/bzip2/xz/lzma
  --format {ustar|pax|cpio|shar}  Select archive format
  --exclude <pattern>  Skip files that match pattern
  -C <dir>  Change to <dir> before processing remaining files
  @<archive>  Add entries from <archive> to output
List: tar -t [options] [<patterns>]
  <patterns>  If specified, list only entries that match
Extract: tar -x [options] [<patterns>]
  <patterns>  If specified, extract only entries that match
  -k    Keep (don't overwrite) existing files
  -m    Don't restore modification times
  -O    Write entries to stdout, don't restore to disk
  -p    Restore permissions (including ACLs, owner, file flags)
bsdtar 2.8.3 - libarchive 2.8.3

$ cd /tmp
$ echo foo > bar
$ tar -cJ bar > bar.tar.xz
$ tar -tv < bar.tar.xz
-rw-r--r--  0 devon  wheel       4 Nov  9 14:43 bar
$ tar -xO bar < bar.tar.xz
foo

$ cat > test.el <<.
(print emacs-version)
(dolist (b (buffer-list))
  (with-current-buffer b
    (print b)
    (print (buffer-string))))
.
$ Emacs --batch -Q -q --eval '(setq debug-on-error t)' /tmp/bar.tar.xz =
--load test.el
Warning: arch-dependent data dir =
'/Users/build/workspace/Emacs-Multi-Build/label/mavericks/emacs-source/nex=
tstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
XZ uncompressing bar.tar.xz...
Parsing tar file...
Parsing tar file...done

"26.0.50"

#<buffer *scratch*>

""

#<buffer  *Minibuf-0*>

""

#<buffer *Messages*>

"Warning: arch-dependent data dir =
\342\200\231/Users/build/workspace/Emacs-Multi-Build/label/mavericks/emacs=
-source/nextstep/Emacs.app/Contents/MacOS/libexec/\342\200\231: No such =
file or directory

XZ uncompressing bar.tar.xz...
Parsing tar file...done
"

#<buffer  *code-conversion-work*>

"/private/tmp/test.el"

#<buffer bar.tar.xz>

"
"

#<buffer  *jka-compr-error*>

"Error while executing \"xz -c -q -d < /tmp/bar.tar.xz\"

/bin/sh: xz: command not found
"

#<buffer  *tar-data bar.tar.xz*>

""

#<buffer  *load*>

"(print emacs-version)
(dolist (b (buffer-list))
  (with-current-buffer b
    (print b)
    (print (buffer-string))))
"

In GNU Emacs 26.0.50 (build 1, x86_64-apple-darwin13.4.0, NS =
appkit-1265.21 Version 10.9.5 (Build 13F1911))
 of 2017-06-07 built on builder10-9.local
Windowing system distributor 'Apple', version 10.3.1404
Recent messages:
Checking 57 files in =
/Applications/Emacs-2017f07w.app/Contents/Resources/lisp/eshell...
Checking 70 files in =
/Applications/Emacs-2017f07w.app/Contents/Resources/lisp/erc...
Checking 34 files in =
/Applications/Emacs-2017f07w.app/Contents/Resources/lisp/emulation...
Checking 174 files in =
/Applications/Emacs-2017f07w.app/Contents/Resources/lisp/emacs-lisp...
Checking 24 files in =
/Applications/Emacs-2017f07w.app/Contents/Resources/lisp/cedet...
Checking 57 files in =
/Applications/Emacs-2017f07w.app/Contents/Resources/lisp/calendar...
Checking 87 files in =
/Applications/Emacs-2017f07w.app/Contents/Resources/lisp/calc...
Checking 103 files in =
/Applications/Emacs-2017f07w.app/Contents/Resources/lisp/obsolete...
Checking for load-path shadows...done
Undo! [2 times]
user-error: No further undo information
Configured using:
 'configure --with-ns '--enable-locallisppath=3D/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec epa epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils pulse eieio-opt
speedbar sb-image ezimage dframe find-func erc-list erc-menu erc-join
erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button
wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend
erc-compat pcmpl-unix pcmpl-gnu tar-mode jka-compr view dired-aux
tramp-cache ange-ftp tramp-ftp tramp tramp-compat tramp-loaddefs
trampver shell pcomplete parse-time format-spec dired dired-loaddefs
cl-indent network-stream puny nsm subr-x auth-source password-cache
starttls tls gnutls debug ibuf-ext ibuffer ibuffer-loaddefs seq lpr
mule-diag misearch multi-isearch cl-print help-fns radix-tree
slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu
slime-references slime-compiler-notes-tree slime-scratch
slime-presentations advice bridge slime-macrostep macrostep
slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-repl elp slime-parse slime derived cl-extra help-mode edmacro
kmacro lisp-mnt gud apropos compile etags xref cl-seq project eieio
byte-opt bytecomp byte-compile cconv eieio-core eieio-loaddefs arc-mode
archive-mode noutline outline easy-mmode easymenu pp comint ansi-color
ring hyperspec thingatpt browse-url slime-autoloads cl-macs cl gv
cl-loaddefs cl-lib time-date tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 385031 15149)
 (symbols 48 32323 0)
 (miscs 40 177 721)
 (strings 32 58176 9683)
 (string-bytes 1 1721858)
 (vectors 16 47494)
 (vector-slots 8 840851 12047)
 (floats 8 99 452)
 (intervals 56 4661 418)
 (buffers 976 31))





Acknowledgement sent to Devon Sean McCullough <Emacs-Hacker2017@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#29235; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 10 Nov 2017 02:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.