genotrance / nimarchive

libarchive wrapper for Nim
MIT License
17 stars 3 forks source link

"AssertionDefect: LibArchive v3.4.3 not found" when compiling #16

Open grumble9684 opened 3 years ago

grumble9684 commented 3 years ago

Upon compiling any source file with an import statement for nimarchive, compilation fails and this error message is displayed:

Hint: used config file '/etc/nim/nim.cfg' [Conf] Hint: used config file '/etc/nim/config.nims' [Conf] .............................................. stack trace: (most recent call last) /home/bird/.nimble/pkgs/nimterop-0.6.13/nimterop/build/getheader.nim(469, 24) /home/bird/.nimble/pkgs/nimterop-0.6.13/nimterop/build/getheader.nim(438, 19) archiveGetPath /home/bird/.nimble/pkgs/nimterop-0.6.13/nimterop/build/getheader.nim(193, 14) getJBBPath /home/bird/.nimble/pkgs/nimterop-0.6.13/nimterop/build/jbb.nim(222, 6) downloadJBB /home/bird/.nimble/pkgs/nimterop-0.6.13/nimterop/build/jbb.nim(177, 6) getJBBRepo /home/bird/.nimble/pkgs/nimterop-0.6.13/nimterop/build/jbb.nim(75, 11) parseJBBProject /usr/lib/nim/system/assertions.nim(30, 26) failedAssertImpl /usr/lib/nim/system/assertions.nim(23, 11) raiseAssert /usr/lib/nim/system/fatal.nim(49, 5) sysFatal /home/bird/.nimble/pkgs/nimarchive-0.5.4/nimarchive/archive.nim(21, 10) template/generic instantiation of getHeader from here /usr/lib/nim/system/fatal.nim(49, 5) Error: unhandled exception: /home/bird/.nimble/pkgs/nimterop-0.6.13/nimterop/build/jbb.nim(75, 14) pkg.version in data LibArchive v3.4.3 not found [AssertionDefect]

All nimarchive dependencies seem to be installed and nimarchive showed no errors when installed with nimble

genotrance commented 3 years ago

Unfortunately bintray is gone and binaries aren't available anymore.

Open to PRs to link to other binaries. https://github.com/genotrance/nimarchive/blob/master/nimarchive/archive.nim#L25