Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674038 - sys-fs/rar2fs-1.27.0/1 does not work with libunrar 5.6.*
Summary: sys-fs/rar2fs-1.27.0/1 does not work with libunrar 5.6.*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 21:28 UTC by Kyle Sanderson
Modified: 2019-05-10 20:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Sanderson 2018-12-29 21:28:05 UTC
https://github.com/hasse69/rar2fs/issues/100

The author believed it was the lack of static useflag that was causing this (can we add this Tim?); two complete rebuilds later show the problem still to be present with an up to date libunrar-5.6.6 (5.6.8 also has the defect).

The archives display valid information no problem (file size and all). When the file is opened no data appears to be copied.
Comment 1 Tim Harder gentoo-dev 2018-12-29 23:37:01 UTC
Does the problem go away for you if you rebuild rar2fs?

I can reproduce the issue if I install an older version of unrar, build rar2fs, and then update unrar to a later version without rebuilding rar2fs.

We'll probably need to add a ${PV} subslot to unrar which will force rar2fs to be rebuilt every time app-arch/unrar gets bumped since upstream unrar doesn't appear to care about ABI compat at all.
Comment 2 Tim Harder gentoo-dev 2018-12-29 23:38:51 UTC
Otherwise we'll need to link in the static library like upstream recommends.
Comment 3 Kyle Sanderson 2018-12-30 00:10:03 UTC
The issue does not go away for me when I re-emerge rar2fs after updating unrar unfortunately (also tried various unmerges and ilk).
Comment 4 Tim Harder gentoo-dev 2018-12-30 00:33:42 UTC
Do you have a link to a shareable rar archive or steps to create one so I can try to reproduce this? Everything appears to work fine for me, other than the unrar upgrading issue I mentioned previously.
Comment 5 Tim Harder gentoo-dev 2018-12-30 00:34:49 UTC
Also it would probably help to post your emerge --info.
Comment 6 Kyle Sanderson 2018-12-30 05:38:43 UTC
https://paste.fedoraproject.org/paste/DJw~UfJwP6yMqUAfA7w~sA/raw

Sorry for the external link; best I could do on this joke of a platform (iOS).

I can give links for archives but they need to be offline.
Comment 7 Kyle Sanderson 2019-01-22 07:04:43 UTC
Any update on this Tim? The problem is confirmed (with solution) in another issue https://github.com/hasse69/rar2fs/issues/103
Comment 8 Kyle Sanderson 2019-03-04 22:50:46 UTC
Okay, so...

Works:
``./configure --with-unrar=/usr/include/libunrar5 && make && sudo install rar2fs /usr/local/bin/rar2fs``

Doesn't work:
emerge -vq rar2fs

Think we can fix this ebuild?
Comment 9 Larry the Git Cow gentoo-dev 2019-05-10 20:33:20 UTC
The bug has been closed via the following commit(s):

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

commit f2fbb5da7aeb3f520081db1a0d1299aa53636dfc
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2019-05-10 20:29:00 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2019-05-10 20:31:04 +0000

    sys-fs/rar2fs: version bump to 1.27.2
    
    Closes: https://bugs.gentoo.org/674038
    
    Signed-off-by: Tim Harder <radhermit@gentoo.org>

 sys-fs/rar2fs/Manifest             |  1 +
 sys-fs/rar2fs/rar2fs-1.27.2.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)