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.
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!
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...
Yes, that fixed
fix commited into portage without version bump. added sfx module, changed /usr/bin files to wrappers. thank you guys for Your support.
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!
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...
please do: emerge sync && emerge p7zip it will solve your problem.