file-roller not working with .zip/gz archives because p7zip can't find code
7-Zip cannot find the code that works with archives.
Ever after recent compress/p7zip patching in userland-incorporation 6592 (pkg://firstname.lastname@example.org:20160608T162106Z),
fire-roller gives a message "ERROR: 7-Zip cannot find the code that works with archives.".
Patch was provided by alp to fix finding 64-bit 7zip or 32bit 7zip, and it worked when testing from:
and it worked fine while testing it after install,
but it doesn't work after it landed in /hipster.
Updated by Predrag Zečević almost 4 years ago
I have also same version installed in /hipster:
and have this problem:
$ p$ 7z l config.rar 7-Zip  15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31 p7zip Version 15.14.1 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64) Can't load '/usr/lib/7z/7z.dll' (ld.so.1: 7z: fatal: /usr/lib/7z/7z.so: wrong ELF class: ELFCLASS32) Can't load '/usr/lib/7z/Codecs/Rar.so' (ld.so.1: 7z: fatal: /usr/lib/7z/Codecs/Rar.so: wrong ELF class: ELFCLASS32) ERROR: 7-Zip cannot find the code that works with archives.
So, code is not found because ldd problem:
$ file /usr/bin/7z /usr/bin/7z: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped, no debugging information available $ ldd /usr/lib/7z/7z.so libpthread.so.1 => /lib/libpthread.so.1 libstdc++.so.6 => /usr/lib/libstdc++.so.6 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 libc.so.1 => /lib/libc.so.1 libm.so.2 => /lib/libm.so.2
but all above looks fine? Except mentioned file is missing:
$ ls -la /usr/lib/7z/7z.dll /usr/lib/7z/Codecs/Rar.so /usr/lib/7z/7z.so /usr/bin/7z ls: cannot access '/usr/lib/7z/7z.dll': No such file or directory -r-xr-xr-x 154 root bin 13K Jun 9 08:04 /usr/bin/7z -r-xr-xr-x 1 root bin 2.5M Jun 9 08:04 /usr/lib/7z/7z.so -r-xr-xr-x 1 root bin 132K May 27 08:26 /usr/lib/7z/Codecs/Rar.so
Updated by Nikola M. almost 4 years ago
Now from resolving this bug bew bug arises:
With userland-incorporation 6642 (email@example.com:20160621T013939Z) file-roller opens an ZIP archive.
But besides it's contents, it also as part of contents it displays the full path of the archive, e.g. displaying folder, with full path to the and .. the same opened archive in it.
Updated by Alexander Pyhalov almost 4 years ago
- Status changed from In Progress to Resolved
Last issue was fixed in https://github.com/OpenIndiana/oi-userland/pull/2136