Bug 11386 - busybox xz description is printed when busybox tar pipes into it
Summary: busybox xz description is printed when busybox tar pipes into it
Status: RESOLVED INVALID
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-10 14:02 UTC by e5ten.arch
Modified: 2018-10-31 11:28 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
My .config (27.43 KB, application/octet-stream)
2018-10-10 14:02 UTC, e5ten.arch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description e5ten.arch 2018-10-10 14:02:10 UTC
Created attachment 7806 [details]
My .config

Expect no output if operation is successful, like GNU tar and bsdtar
Actual output:
>e5ten@localhost:~/tartest$ busybox tar cfJ bb.tar.xz bb
>BusyBox v1.30.0.git () multi-call binary.
>
>Usage: xz -d [-cfk] [FILE]...
>
>Decompress FILE (or stdin)
>
>    -d  Decompress
>    -c  Write to stdout
>    -f  Force
>    -k  Keep input files
Comment 1 Denys Vlasenko 2018-10-31 11:28:50 UTC
This is not a bug.

Creation of .tar.xz files requires xz _compressor_.

Busybox's "xz" is not a full tool - it contains only decompression code (and thus requires -d option to be always specified).

Install fully-functional xz.