Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 533214

Summary: app-misc/mc should report errors when entering .iso files without helprs available (was: should RDEPEND on dev-libs/libisoburn? - /usr/libexec/mc/extfs.d/iso9660 uses xorriso if available)
Product: Gentoo Linux Reporter: Łukasz Stelmach <stlman>
Component: Current packagesAssignee: Sergei Trofimovich (RETIRED) <slyfox>
Status: RESOLVED FIXED    
Severity: normal CC: desktop-misc, polynomial-c, slyfox
Priority: Normal    
Version: 10.1   
Hardware: All   
OS: Linux   
URL: http://midnight-commander.org/ticket/3993
Whiteboard:
Package list:
Runtime testing required: ---

Description Łukasz Stelmach 2014-12-21 19:54:32 UTC
app-misc/mc-4.8.11 uses xorriso to access files inside iso images (/usr/libexec/mc/extfs.d/iso9660). Apparently xorriso isn't available in Gentoo default portage tree.

http://www.gnu.org/software/xorriso/

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-22 09:03:34 UTC
It fails nicely when xorriso is not available, I should think.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-22 09:05:24 UTC
app-cdr/xorriso was removed three years ago:

"Remove app-cdr/xorriso as it is just bundled dev-libs/libisoburn package."
Comment 3 Łukasz Stelmach 2014-12-22 17:47:21 UTC
(In reply to Jeroen Roovers from comment #1)
> It fails nicely when xorriso is not available, I should think.

Well it does not explode, indeed, but neither it reports any problems when copying files from images without any content.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2019-06-16 09:57:51 UTC
Filed upstream bug report to get better error handling as http://midnight-commander.org/ticket/3993.

On gentoo side we can also improve pkg_postinstall() install message that a lot of extra tools can be installed to get handling of external container formats.
Comment 5 Larry the Git Cow gentoo-dev 2019-07-20 17:12:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c1d710556ac8e59d1c4fd68ba0d2d23b2757ca

commit 11c1d710556ac8e59d1c4fd68ba0d2d23b2757ca
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-07-20 17:12:41 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-07-20 17:12:51 +0000

    app-misc/mc: improve iso9660 error detection, bug #533214
    
    Reported-by: Łukasz Stelmach
    Bug: https://bugs.gentoo.org/533214
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-misc/mc/files/mc-4.8.23-3933-iso9660-1.patch |  85 +++++++++++++++++
 app-misc/mc/files/mc-4.8.23-3933-iso9660-2.patch |  29 ++++++
 app-misc/mc/mc-4.8.23-r1.ebuild                  | 111 +++++++++++++++++++++++
 3 files changed, 225 insertions(+)