Opened 9 years ago
Closed 9 years ago
#6479 closed defect (fixed)
GnuPG 2.1.3 and 4: openpgp tests might fail.
Reported by: | Jeremy Henty | Owned by: | Fernando de Oliveira |
---|---|---|---|
Priority: | normal | Milestone: | 7.8 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
I am building Gnupg 2.1.3 (the same with version 2.1.4) without openldap. All of the opengpg tests fail with "GNUPGHOME not set to the cwd". I have tried to fix this by setting GNUPGHOME to various plausible values but nothing has worked yet. This happens in LFS 6.8 and LFS 7.3. Is this a reason not to install?
Change History (8)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Jeremy,
Apparently, issues building without LDAP are solved in the new version 2.1.4 (#6492).
I will update the bokk later today, leaving the LDAP part unchanged, and not closing these two tickets.
Please, I would much appreciate if you could test it and tell me about needed modifications for the instructions, e.g. moving back openldap to optional, not needing to disable dirmngr, and, of course, how is the test suite behaviour.
comment:3 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
Bruce, I don't know how to close this ticket, without Jeremy's reply.
Was thinking of "overcomebyevents", but it would be good for the book that someone without openldap installed checked if the present instructions in the book are correct.
Notice that the ticket was for 2.1.3, but we are now at GnuPG-2.1.4.
Giving back to the book.
comment:5 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Jeremy, I could perfectly run the tests without openldap. As I did the tests with version 2.1.4 and the ticket was for 2.1.3, I will close the ticket not as invalid, but overcomebyevents.
comment:6 by , 9 years ago
Resolution: | → overcomebyevents |
---|---|
Status: | assigned → closed |
comment:7 by , 9 years ago
Resolution: | overcomebyevents |
---|---|
Status: | closed → reopened |
comment:8 by , 9 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Summary: | GnuPG 2.1.3: all the openpgp tests fail. → GnuPG 2.1.3 and 4: openpgp tests might fail. |
Turns out that there is a problem in the opengpg tests, hit if top directory path where the source is unpacked contains symbolic links.
This is what Jeremy found and posted at:
http://lists.linuxfromscratch.org/pipermail/blfs-support/2015-May/076668.html
Thanks, Jeremy.
Fixed at r16013.
Jeremy, I cannot reproduce it.
I do have openldap installed, had the results with ldap, tried with --disable-dirmngr, and adding also the second switch --disable-ldap.
Here, all openpgp checks pass, if I understand correctly (AFAICS, first/last test is always version.test/finish.test):
GNUPGHOME is defined in three files:
Particularly for the opengpg tests:
In my system it is not originally set:
If GNUPGHOME is set in your environment, I would try unset GNUPGHOME, before trying the tests.
If this solves your problem, I will add that command to the book.
Sorry if I cannot be more helpful.