Closed lfam closed 7 years ago
libgit2
It looks like they changed some of their error handling, which impacts the tests. It's usually best to stick with whichever version is bundled with Julia.
backtrace, cmdlineargs, replutil
these seem generally consistent with having a buggy libunwind installed, or missing debug info (don't run strip
)
compile
looks like a bug in the test (we assume pwd()
can be used as scratch space, but it should be using tmpdir()
)
these seem generally consistent with having a buggy libunwind installed, or missing debug info (don't run strip)
We are using libunwind-1.1-julia2, with a matching SHA512 sum to the one found in deps/checksums/libunwind-1.1-julia2.tar.gz/sha512
. The libunwind binaries are not stripped.
You can strip libunwind, just don't strip anything related to Julia.
We aren't stripping any of the Julia binaries either.
I was mistaken. Julia's debug symbols are not stripped, but libunwind's are. I know you said it shouldn't matter but I'm going to try not stripping them anyways.
Should I file another bug for the failures in backtrace, cmdlineargs, and replutil? I don't think we came to a resolution regarding those tests.
Can you provide reproduction steps?
I can provide two different methods of reproducing the issues, based on Guix. Either option is more involved for you than I'd like, but I'm not sure of a better way to debug issues that could involve Julia's dependency graph.
If you think that these test failures are just a consequence of stripping debug symbols from parts of the Julia dependency graph, then we'll just fix that on our end. Does Julia need non-stripped dependencies to run correctly? Or just for the test suite?
So, I can offer a 'Guix pack', which is like an app bundle. It would consist of the bit-for-bit identical run-time dependency graph of our Julia build.
Or, I can give instructions on building Julia from the relevant Guix Git revision, plus our patches.
The primary files that must not be stripped are located at usr/lib/julia/sys*.so
. However, it is acceptable to replace the debug info with a .gnu_debuglink
section indicating a separate file with split debug info. It is also preferable to make the dwarf sections available for usr/lib/libjulia*.so
, as this will improve the results of the included backtrace and profile libraries, but it's less essential.
Running the test suite of Julia 0.6.0, we saw several test failures and errors. The full output of the test suite is copied below (including
versioninfo()
).The libgit2 test failures seem to go away when using libgit2 0.25.1 instead of 0.26.0, but I'm not sure yet what the problem is.
Do you think these test failures could indicate real problems, or are they spurious?
Please let me know what other information I can provide.