Project

General

Profile

Bug #7105

file-roller not working with .zip/gz archives because p7zip can't find code

Added by Nikola M. over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-06-10
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

7-Zip cannot find the code that works with archives.

Ever after recent compress/p7zip patching in userland-incorporation 6592 (pkg::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:
mailto:pkg:,5.11-2016.0.0.1:20160608T102859Z
and it worked fine while testing it after install,
but it doesn't work after it landed in /hipster.

Installed p7zip:
pkg::20160608T140435Z


Files

Screenshot-3575_10.zip.png (36.2 KB) Screenshot-3575_10.zip.png Nikola M., 2016-06-21 05:24 AM

History

#1

Updated by Predrag Zečević over 3 years ago

I have also same version installed in /hipster:

pkg://openindiana.org/compress/p7zip@15.14.1-2016.0.0.2:20160608T140435Z

and have this problem:
$ p$ 7z l config.rar

7-Zip [64] 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

Regards.

#2

Updated by Nikola M. over 3 years ago

Now from resolving this bug bew bug arises:

With userland-incorporation 6642 (: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 export folder, with full path to the and .. the same opened archive in it.

#3

Updated by Alexander Pyhalov over 3 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF