First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 107107
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Radoslaw Stachowiak <radek@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matteo Azzali <mattepiu@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107107 depends on: Show dependency tree
Show dependency graph
Bug 107107 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-24 13:00 0000
I have some old .7z files that p7zip-4.20 opens without any issue.
p7zip-4.27 gives errors as format not recognized/supported.

Reproducible: Always
Steps to Reproduce:
1.try to extract (7z e filename) your old .7z archives with 4.27....
2.
3.

------- Comment #1 From Canal Vorfeed 2005-09-24 16:57:48 0000 -------
Have you fixed it with trivial command before usage ?

printf '#!/bin/sh\nexec /usr/lib/p7zip/7z "$@"\n' > /usr/bin/7z

P.S. Who's idea was to put copy of /usr/lib/p7zip/7z in /usr/bin ? 7z executable
will attempt to find plugins in /usr/bin/Formats and /usr/bin/Codecs (if you'll
call it with full path) or in ./Formats and ./Codecs (if you'll call it without
fill path and executable will be found via PATH). Wrapper-script is in default
installation scheme BY REASON, not since someone does not know about symlinks!

------- Comment #2 From Canal Vorfeed 2005-09-24 17:07:48 0000 -------
Fix for 7za is more or less the same:

printf '#!/bin/sh\nexec /usr/lib/p7zip/7za "$@"\n' > /usr/bin/7za

But it's not really needed: 7za is stand-alone archiver, the only thing it can
use is SFX module and ebuild does not install that module, so...

P.S. Mentioned for completeness: I do not think it's good idea to use SFX
archives in first place but p7zip 4.27 DOES support them if you are willing -
just not if you've used Gentoo ebuild...

------- Comment #3 From Matteo Azzali 2005-09-24 18:13:21 0000 -------
Yes, that fixed

------- Comment #4 From Radoslaw Stachowiak 2005-09-25 02:49:24 0000 -------
fix commited into portage without version bump.
added sfx module, changed /usr/bin files to wrappers.
thank you guys for Your support.

------- Comment #5 From Canal Vorfeed 2005-09-25 04:24:35 0000 -------
Ne marche pas:

$ 7z a "test archive.7z" "test file"

7-Zip 4.27 beta  Copyright (c) 1999-2005 Igor Pavlov  2005-09-21
p7zip Version 4.27 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on)

Scanning


archive.7z:  WARNING: No more files
test:  WARNING: No more files
file:  WARNING: No more files


Updating archive test.7z



WARNINGS for files:

archive.7z : No more files
test : No more files
file : No more files
----------------
WARNING: Cannot find 3 files

$ /usr/lib/p7zip/7z a "test archive.7z" "test file"

7-Zip 4.27 beta  Copyright (c) 1999-2005 Igor Pavlov  2005-09-21
p7zip Version 4.27 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on)
Scanning

Creating archive test archive.7z

Compressing  test file

Everything is Ok


Do not EVER use $@ without quotes!

------- Comment #6 From fctk86@gmail.com 2005-10-12 12:18:46 0000 -------
to Canal Vorfeed:

i have a similar problem to yours, that is i get the "No more files" warnings,
too, but i didn't understand how to fix it. i'm sure i didn't have this kind of
problems before updating to the last version...

------- Comment #7 From Radoslaw Stachowiak 2005-10-13 04:23:20 0000 -------
please do: emerge sync && emerge p7zip
it will solve your problem.

First Last Prev Next    No search results available      Search page      Enter new bug