[Bug 965140] New: star uses wrong p7zip compressor
http://bugzilla.opensuse.org/show_bug.cgi?id=965140 Bug ID: 965140 Summary: star uses wrong p7zip compressor Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: kstreitova@suse.com Reporter: lazy.kent@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- star option "-7z" — run the input or output through a p7zip pipe It doesn't work. % star -c -7z -f files.tar.7z files/ star: No such file or directory. Compress: exec of 'p7zip' failed star: 0 blocks + 0 bytes (total of 0 bytes = 0.00k). star: Compress program returned error[255]. star: Processed all possible files, despite earlier errors. [1] 7522 exit 254 star -c -7z -f files.tar.7z files star should execute '7z' or '7za', not 'p7zip'. I think, the problem is here: star-1.5.3/star/buffer.c:1895: zip_prog = "p7zip"; star-1.5.3/star/buffer.c:2009: zip_prog = "p7zip"; -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=965140 http://bugzilla.opensuse.org/show_bug.cgi?id=965140#c1 Kristyna Streitova <kstreitova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #1 from Kristyna Streitova <kstreitova@suse.com> --- Hi, thank you for your report. I tried to apply a patch that substitutes 'p7zip' for '7z' as you proposed and it solved the compression problem. # star -c -7z -f archive.tar.7z test star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k). ----- However I bumped into a problem when I tried to extract the '.tar.7z' archive: # star -x -f test.tar.7z star: WARNING: Archive is '7z' compressed, trying to use the -7z option. star: Hard EOF on input, first EOF block is missing at -1. star: 0 blocks + 0 bytes (total of 0 bytes = 0.00k). star: Compress program returned error[7]. star: Processed all possible files, despite earlier errors. When '7z' is used explicitly, it works fine: # 7z x -so test.tar.7z | star -x -f - star: 579 blocks + 0 bytes (total of 5928960 bytes = 5790.00k). I will have to take a look at this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=965140 http://bugzilla.opensuse.org/show_bug.cgi?id=965140#c2 Kyrill Detinov <lazy.kent@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joerg.schilling@fokus.fraun | |hofer.de --- Comment #2 from Kyrill Detinov <lazy.kent@opensuse.org> --- Need to ask Jörg. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=965140 http://bugzilla.opensuse.org/show_bug.cgi?id=965140#c3 --- Comment #3 from Jörg Schiling <joerg.schilling@fokus.fraunhofer.de> --- p7zip is a script that wraps around "7z". You need it because 7z is not UNIX compress compatible. This looks like a problem with the distro that forgot to install the script "p7zip". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=965140 http://bugzilla.opensuse.org/show_bug.cgi?id=965140#c4 --- Comment #4 from Kyrill Detinov <lazy.kent@opensuse.org> --- (In reply to Jörg Schiling from comment #3)
p7zip is a script that wraps around "7z". You need it because 7z is not UNIX compress compatible.
This looks like a problem with the distro that forgot to install the script "p7zip".
Can you please explain, what is the script "p7zip"? We have the package "p7zip": % rpm -ql p7zip /usr/bin/7z /usr/bin/7za /usr/lib64/p7zip /usr/lib64/p7zip/7z /usr/lib64/p7zip/7z.so /usr/lib64/p7zip/7zCon.sfx /usr/lib64/p7zip/7za /usr/lib64/p7zip/Codecs /usr/lib64/p7zip/Codecs/Rar.so /usr/share/doc/packages/p7zip ... /usr/share/man/man1/7z.1.gz /usr/share/man/man1/7za.1.gz /usr/share/man/man1/7zr.1.gz @Kristyna Streitova BTW, we don't need /usr/share/man/man1/7zr.1.gz if we don't have a 7zr binary. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=965140 http://bugzilla.opensuse.org/show_bug.cgi?id=965140#c8 Kristyna Streitova <kstreitova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Kristyna Streitova <kstreitova@suse.com> --- I asked p7zip upstream to update the p7zip script that is shipped in their tarball [1]. Till they do so I used the version shipped within the Debian package and added it to our p7zip package (sr#610122). Running the input/output through a p7zip pipe now works correctly. I'm closing this as fixed. [1] https://sourceforge.net/p/p7zip/bugs/210/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=965140 http://bugzilla.opensuse.org/show_bug.cgi?id=965140#c9 --- Comment #9 from Jörg Schiling <joerg.schilling@fokus.fraunhofer.de> --- Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com