Closed KyleSanderson closed 1 year ago
Is this a report of build problems with rar2fs or unrarsrc? Looks like the latter to me. In fact, I cannot seem to build any 6.2.x versions, the last working buildable version for me is 6.1.8. So something have changed in unrarsrc from RARLabs that requires a more recent C++ compiler?
On Gentoo, unrar-6.2.3 and rar2fs-1.29.5 builds fine with gcc-12.2.1
I am on a much older version of gcc/g++ and currently don't have the possibility to upgrade, which means this is going to be difficult for me to investigate right now.
Luckily I could find a host for which I was able to install gcc-12.1.0. For me it works just fine to build unrarsrc-6.2.6 in combination with latest version of rar2fs.
Yeah, it's unrarsrc with the issue it seems like.
I highly recommend buildah
if you can swing it, then you can remove the artifacts out if that's your preference.
Not sure what you mean really. The unrarsrc is a completely separate buildable package but rar2fs requires access to some of its private source files (headers).
Can this issue be closed?
Yes it can.
6.2.5 seems to be the last version that builds.
/usr/bin/ld: /tmp/tmp.V8m5HosjLq/unrar/libunrar.a(extract.o): in function `CmdExtract::ExtractCurrentFile(Archive&, unsigned long, bool&)': extract.cpp:(.text+0x29c6): undefined reference to `RecVolumesRestore(CommandData*, wchar_t const*, bool)' /usr/bin/ld: /tmp/tmp.V8m5HosjLq/unrar/libunrar.a(extract.o): in function `CmdExtract::ExtractArchive()': extract.cpp:(.text+0x3bec): undefined reference to `RecVolumesTest(CommandData*, Archive*, wchar_t const*)' /usr/bin/ld: extract.cpp:(.text+0x3dcb): undefined reference to `RecVolumesTest(CommandData*, Archive*, wchar_t const*)' /usr/bin/ld: /tmp/tmp.V8m5HosjLq/unrar/libunrar.a(volume.o): in function `MergeArchive(Archive&, ComprDataIO*, bool, wchar_t)': volume.cpp:(.text+0x1d1): undefined reference to `RecVolumesRestore(CommandData*, wchar_t const*, bool)' collect2: error: ld returned 1 exit status