| Summary: | Ark does not show some folders in RPM | ||
|---|---|---|---|
| Product: | [Applications] ark | Reporter: | Fabian Vogt <fabian> |
| Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | rthomsen6 |
| Priority: | NOR | ||
| Version First Reported In: | 16.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| See Also: | https://github.com/libarchive/libarchive/issues/899 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Example RPM | ||
Seems to work fine here, I can also see the /etc folder and all the other /usr subfolders. What's your version of libarchive? (In reply to Elvis Angelaccio from comment #1) > Seems to work fine here, I can also see the /etc folder and all the other > /usr subfolders. What's your version of libarchive? /usr/lib64/libarchive.so.13.2.2 Can you attache the debug output when you open that archive? (QT_LOGGING_RULES="ark.*.debug=true" ark) If you can provide the information requested in comment #3, please add it. (In reply to Elvis Angelaccio from comment #3) > Can you attache the debug output when you open that archive? > (QT_LOGGING_RULES="ark.*.debug=true" ark) Does not look too interesting: ark.main: Trying to open QUrl("file:///home_priv/fabian/Downloads/shared-mime-info-1.8-1.1.x86_64.rpm") ark.part: Attempting to open archive "/home_priv/fabian/Downloads/shared-mime-info-1.8-1.1.x86_64.rpm" ark.kerfuffle: Going to create archive "/home_priv/fabian/Downloads/shared-mime-info-1.8-1.1.x86_64.rpm" ark.kerfuffle: Checking plugin "kerfuffle_libarchive_readonly" ark.kerfuffle: Created read-only interface for "/home_priv/fabian/Downloads/shared-mime-info-1.8-1.1.x86_64.rpm" ark.kerfuffle: Created read-write interface for "/home_priv/fabian/Downloads/shared-mime-info-1.8-1.1.x86_64.rpm" ark.libarchive: Initializing libarchive plugin ark.libarchive: Loaded libarchive read-only plugin ark.kerfuffle: Successfully loaded plugin "kerfuffle_libarchive_readonly" ark.kerfuffle: Created archive instance ark.kerfuffle: LoadJob created ark.libarchive: Listing archive contents ark.libarchive: Detected compression filter: lzma ark.libarchive: Detected format for first entry: ASCII cpio (SVR4 with no CRC) ark.main: Entering application loop ark.part: Showing columns: (0, 1, 10) ark.part: Trailing slash appended to entry: QVariant(QString, "usr/share/doc/packages/shared-mime-info/") ark.kerfuffle: Job finished, result: true , time: 64 ms (In reply to Christoph Feck from comment #4) > If you can provide the information requested in comment #3, please add it. Hm, somehow I did not get a mail for the reply... What if you open the archive with file-roller? (In reply to Elvis Angelaccio from comment #6) > What if you open the archive with file-roller? What is that? The gnome app? I do not have that installed here and I don't want to. Yes it's the gnome archiver. I asked you to try because they also use libarchive for rpm files and that would tell us whether the bug is in ark or in libarchive. (fwiw, if I open it with file-roller it shows all the folders, as does ark). (In reply to Elvis Angelaccio from comment #8) > Yes it's the gnome archiver. I asked you to try because they also use > libarchive for rpm files and that would tell us whether the bug is in ark or > in libarchive. (fwiw, if I open it with file-roller it shows all the > folders, as does ark). Ok, tried it: Same issue. So it's in libarchive and there's nothing ark can do, right? (In reply to Fabian Vogt from comment #9) > (In reply to Elvis Angelaccio from comment #8) > > Yes it's the gnome archiver. I asked you to try because they also use > > libarchive for rpm files and that would tell us whether the bug is in ark or > > in libarchive. (fwiw, if I open it with file-roller it shows all the > > folders, as does ark). > > Ok, tried it: Same issue. So it's in libarchive and there's nothing ark can > do, right? Unfortunately yes. Try to report it upstream at https://github.com/libarchive/libarchive (and maybe link this report there) (In reply to Elvis Angelaccio from comment #10) > (In reply to Fabian Vogt from comment #9) > > (In reply to Elvis Angelaccio from comment #8) > > > Yes it's the gnome archiver. I asked you to try because they also use > > > libarchive for rpm files and that would tell us whether the bug is in ark or > > > in libarchive. (fwiw, if I open it with file-roller it shows all the > > > folders, as does ark). > > > > Ok, tried it: Same issue. So it's in libarchive and there's nothing ark can > > do, right? > > Unfortunately yes. Try to report it upstream at > https://github.com/libarchive/libarchive (and maybe link this report there) Ok: https://github.com/libarchive/libarchive/issues/899 (In reply to Fabian Vogt from comment #11) > Ok: https://github.com/libarchive/libarchive/issues/899 Oh wait, I don't see `/usr/share/mime/multipart/` either. So even though I get more folders than you, still they are just a subset of the total list of files... |
Created attachment 104585 [details] Example RPM The attached RPM shows only the packages/ subfolder under /usr/share/mime, but "rpm -qlp" shows many many more. Might also be a bug in karchive, but I don't know how to verify that...