[Bug 785305] New: zip after version 2.32 does not support -r and -j options together to create archive
https://bugzilla.novell.com/show_bug.cgi?id=785305 https://bugzilla.novell.com/show_bug.cgi?id=785305#c0 Summary: zip after version 2.32 does not support -r and -j options together to create archive Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: aburgemeister@gmail.com QAContact: qa-bugs@suse.de Found By: Customer Services Priority: 400 Blocker: --- OpenSUSE 12.2 SLES 11 SP2 zip 3.0 http://forums.suse.com/showthread.php?t=1908 As the forum thread above describes, a customer found that their previous use of the 'zip' command with both -r and -j no longer works with SLES 11 SP2; I verified the same on OpenSUSE 12.2 and it appears something with zip after package version 2.32 changed to prevent this function. When trying it the customer sees the following output:
zip -Trjq ./testarch-20121015.zip ./* -i\@onefile.txt warning [./ziIfGIOV]: zipfile is empty test of ./testarch-20121015.zip FAILED
zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified) Without the -T option (to test/verify the created zip was valid) only the first line is returned about the 'zipfile' being empty. I confirmed that this worked on SLES 11 SP1 which uses zip 2.32. Reproducible: Always Expected Results: Work with the two options as before, or document why that is not possible. Actual Results: Previously-working functionality no longer works with nothing obviously stating why. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c1
--- Comment #1 from Aaron Burgemeister
From the forum thread:
If you have a zip command in the following format, the command will fail after upgrading to SLES 11 SP2. This format of the command works prior to SLES 11 SP2. zip -mTrjq archive_name archive_dir -i@include_list If you move "-i@include_list" immediately after the command name the command works on SLES 11 SP2. zip -i@include_list -mTrjq archive_name archive_dir Per the manpage the former is the right way and the latter is now allowed, so it seems odd that the latter would work while the former fails. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Jiaying ren
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Ihno Krumreich
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c2
Thorsten Behrens
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c3
--- Comment #3 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c4
Thorsten Behrens
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c6
--- Comment #6 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c8
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c9
--- Comment #9 from SMASH SMASH
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c11
--- Comment #11 from Thorsten Behrens
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c12
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c14
Thorsten Behrens
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c15
--- Comment #15 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c16
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c19
--- Comment #19 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=785305
https://bugzilla.novell.com/show_bug.cgi?id=785305#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com