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.
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.
Otherwise we'll need to link in the static library like upstream recommends.
The issue does not go away for me when I re-emerge rar2fs after updating unrar unfortunately (also tried various unmerges and ilk).
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.
Also it would probably help to post your emerge --info.
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.
Any update on this Tim? The problem is confirmed (with solution) in another issue https://github.com/hasse69/rar2fs/issues/103
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?
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(+)