Summary: | dev-libs/libassuan-2.5.3 - configure:14434: checking for GPG Error - version >= 1.17 // configure:14482: result: no // configure:14484: error: libgpg-error was not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Langenmaier <stefan.langenmaier+gentoo> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nvinson234, sam, sandino, toralf, zlogene |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | In future, revisit and remove all the --with-gpg-error-config from gpg stack, and then drop installation in libgpg-error again. | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
config.log |
Description
Stefan Langenmaier
2019-11-03 07:02:14 UTC
Created attachment 594924 [details]
emerge --info
Created attachment 594926 [details]
config.log
Please post the output of the following command on your affected arm system: qlist -Ce libgpg-error | sort Sorry I haven't reported back here. After an `emerge -e @world`, I can no longer reproduce the problem. This issue can be closed. I have the problem in the following context:
With $ROOT being empty:
ROOT=/mnt/newroot/ emerge -avq -1 libassuan --keep-going --with-bdeps=y --complete-graph
>>> Emerging (1 of 3) virtual/libintl-0-r2::gentoo for /mnt/newroot/
>>> Installing (1 of 3) virtual/libintl-0-r2::gentoo to /mnt/newroot/
>>> Emerging (2 of 3) dev-libs/libgpg-error-1.41::gentoo for /mnt/newroot/
>>> Installing (2 of 3) dev-libs/libgpg-error-1.41::gentoo to /mnt/newroot/
>>> Emerging (3 of 3) dev-libs/libassuan-2.5.4::gentoo for /mnt/newroot/
>>> Failed to emerge dev-libs/libassuan-2.5.4 for /mnt/newroot/, Log file:
(...)
checking for gpg-error-config... /mnt/newroot/usr/bin/x86_64-pc-linux-gnu-gpg-error-config
./configure: line 14365: /mnt/newroot/usr/bin/x86_64-pc-linux-gnu-gpg-error-config: Permission denied
./configure: line 14376: test: : integer expression expected
./configure: line 14379: test: : integer expression expected
./configure: line 14386: test: : integer expression expected
checking for GPG Error - version >= 1.17... no
configure: error: libgpg-error was not found
Note that the file in question is available and executable: # /mnt/newroot/usr/bin/x86_64-pc-linux-gnu-gpg-error-config Usage: gpg-error-config [OPTIONS] Options: [--mt] (must be the first option) [--prefix] [--exec-prefix] [--version] [--libs] [--cflags] CCing gpg maintainers. The issue appears to be that in the dev-libs/libgpg-error-1.46 ebuild the following stanza was removed: MULTILIB_CHOST_TOOLS=( /usr/bin/gpg-error-config ) this results in the binary being called gpg-error-config instead of x86_64-pc-linux-gnu-gpg-error-config. The ultimate result iss that libassuan fails to configure because it cannot find x86_64-pc-linux-gnu-gpg-error-config and does not fallback to looking for 'gpg-error-config'. (In reply to nvinson234 from comment #8) > The issue appears to be that in the dev-libs/libgpg-error-1.46 ebuild the > following stanza was removed: > > MULTILIB_CHOST_TOOLS=( > /usr/bin/gpg-error-config > > ) > > this results in the binary being called gpg-error-config instead of > x86_64-pc-linux-gnu-gpg-error-config. > > The ultimate result iss that libassuan fails to configure because it cannot > find x86_64-pc-linux-gnu-gpg-error-config and does not fallback to looking > for 'gpg-error-config'. or more correctly it fails to find the arch-qualified name. armv7a-hardfloat-linux-gnueabi-gpg-error-config for Langenmaier, x86_64-pc-linux-gnu-gpg-error-config for me. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33877493c1cbbe20732462198c753eb94372ed04 commit 33877493c1cbbe20732462198c753eb94372ed04 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2022-10-09 01:12:55 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2022-10-09 01:14:02 +0000 dev-libs/libgpg-error: Install gpg-error-config again Also give gpgrt-config the multilib treatment Closes: https://bugs.gentoo.org/699206 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-libs/libgpg-error/libgpg-error-1.46-r1.ebuild | 81 +++++++++++++++++++++++ 1 file changed, 81 insertions(+) This bug is far older than libgpg-error deciding to not install it anymore, and ultimately, we should stop installing it at some point, but it's not worth it for now given we've got other fires like Clang 16. I'll just call the gpgme bugs dupes of this. (In reply to Sam James from comment #11) > This bug is far older than libgpg-error deciding to not install it anymore, > and ultimately, we should stop installing it at some point, but it's not > worth it for now given we've got other fires like Clang 16. > > I'll just call the gpgme bugs dupes of this. but fwiw, I don't think the issues that people hit yesterday were the same bug as this one. In future, folks, please file a new one if you suddenly start hitting some problem out of nowhere, and just reference the older one. *** Bug 876388 has been marked as a duplicate of this bug. *** *** Bug 876349 has been marked as a duplicate of this bug. *** *** Bug 876373 has been marked as a duplicate of this bug. *** *** Bug 876343 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9a4a206d078813dbae058425f27180f821373d commit 1a9a4a206d078813dbae058425f27180f821373d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-09 21:11:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-09 21:12:08 +0000 app-crypt/gpgme: depend on libgpg-error which installs gpg-error-config which in turn ensures we provide gpgme-config. See bug for more details. Closes: https://bugs.gentoo.org/699206 Signed-off-by: Sam James <sam@gentoo.org> .../gpgme/{gpgme-1.17.1-r1.ebuild => gpgme-1.17.1-r2.ebuild} | 8 +++++++- .../gpgme/{gpgme-1.18.0-r1.ebuild => gpgme-1.18.0-r2.ebuild} | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88409f46c96ce91536762af9b1401649e00d7e6 commit b88409f46c96ce91536762af9b1401649e00d7e6 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-09 21:09:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-09 21:09:05 +0000 dev-libs/libgpg-error: add commentary wrt gpg-error-config & gpgme-config Bug: https://bugs.gentoo.org/699206 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libgpg-error/libgpg-error-1.46-r1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) *** Bug 876370 has been marked as a duplicate of this bug. *** *** Bug 876385 has been marked as a duplicate of this bug. *** A new libassuan release will make life easier: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libassuan.git;a=commitdiff;h=8ec3e9f1dd88e14f42f31e8692a8664bd894226b (and maybe some followup commits). |