Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Odd Ubuntu test failure with 7.1.0 #241
Comments
|
Unfortunately, libtool makes winning this Quixotic fight impossible. Heimdal's test suite unavoidably runs into installed libraries through a twisted maze of .la files. The best solution is to do builds in containers, chroot jails, ... where Heimdal is not installed. I tried to fix this issue, and gave up in disgust... We may look at this again some day, but it is too difficult to fix at this time. |
nacc
commented
Mar 9, 2017
|
@vdukhovni Thank you for the response! I did find a potential issue in libtool itself, which I'm still discussing on their ML. It seems like the LD_LIBRARY_PATH for the generated wrappers does not elide system include paths, but all other path generators do. And no one seems to really know why :) |
nacc
commented
Mar 20, 2017
|
@vdukhovni thanks again for your response. I'll close this issue for now. Unfortunately for Ubuntu builds it is hard to avoid as heimdal is now installed by default (via a dependency chain on the libs). So if you want an easy reproduction testbed, you have one :) |
nacc commentedJan 13, 2017
Hi, I'm an Ubuntu developer and looking for some assistance in debugging an odd failure we're seeing, as noticed here: https://launchpad.net/ubuntu/+source/heimdal/7.1.0+dfsg-9. Sorry for the long issue report, but I'm hopefully providing all the information that is needed.
The builds are currently failing for heimdal in 17.04's -proposed release: https://launchpadlibrarian.net/302116850/buildlog_ubuntu-zesty-amd64.heimdal_7.1.0+dfsg-9_BUILDING.txt.gz, due to a testcase failure
FAIL: test_rfc3961at build-time.The actual output is:
This seems to be due to:
and you can see that the libhcrypto in-use is that from the system, rather than from the current build.
I see that
lib/krb5/test_rfc3961containsLD_LIBRARY_PATH=/build/heimdal-Z6c0Pz/heimdal-7.1.0+dfsg/lib/hx509/.libs:/build/heimdal-Z6c0Pz/heimdal-7.1.0+dfsg/lib/wind/.libs:/usr/lib/x86_64-linux-gnu:/build/heimdal-Z6c0Pz/heimdal-7.1.0+dfsg/lib/hcrypto/.libs:/build/heimdal-Z6c0Pz/heimdal-7.1.0+dfsg/lib/asn1/.libs:/build/heimdal-Z6c0Pz/heimdal-7.1.0+dfsg/lib/base/.libs:/build/heimdal-Z6c0Pz/heimdal-7.1.0+dfsg/lib/roken/.libs:/usr/lib/libeatmydata.I believe this is written as-such because of lib/krb5/.libs/librfc3961.la:
where
libsqlite3.lais listed beforelibhcrypto.la. If I do the following:the .la and test script both contain 'correct' (in terms of this issue) paths.