[MacPorts] #65991: gnupg2 2.2.39 fails configure ("You need libgpg-error to build this program.", even though libgpg is installed, and latest)
MacPorts
noreply at macports.org
Fri Oct 14 05:59:04 UTC 2022
#65991: gnupg2 2.2.39 fails configure ("You need libgpg-error to build this
program.", even though libgpg is installed, and latest)
------------------------------------+--------------------
Reporter: jf | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: configure libgpg-error | Port: gnupg2
------------------------------------+--------------------
{{{
$ sudo port install gnupg2
---> Computing dependencies for gnupg2
---> Fetching archive for gnupg2
---> Attempting to fetch gnupg2-2.2.39_0+pinentry.darwin_21.arm64.tbz2
from https://packages.macports.org/gnupg2
---> Attempting to fetch gnupg2-2.2.39_0+pinentry.darwin_21.arm64.tbz2
from http://jog.id.packages.macports.org/macports/packages/gnupg2
---> Attempting to fetch gnupg2-2.2.39_0+pinentry.darwin_21.arm64.tbz2
from https://kmq.jp.packages.macports.org/gnupg2
---> Fetching distfiles for gnupg2
---> Verifying checksums for gnupg2
---> Extracting gnupg2
---> Configuring gnupg2
Error: Failed to configure gnupg2: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_gnupg2/gnupg2/work/gnupg-2.2.39/config.log
Error: Failed to configure gnupg2: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_gnupg2/gnupg2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port gnupg2 failed
}}}
It might be possible that this is a libgpg-error issue (not sure, but in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_gnupg2/gnupg2/work/gnupg-2.2.39/config.log`
I see the lines below):
{{{
configure:8288: checking for libraries
configure:8334: checking for gpg-error-config
configure:8365: result: no
}}}
Looking at another system on which I successfully installed gnupg2 before
(2.2.34), with `libgpg-error @1.44_0`, I see that `gpg-error-config` is
available at the command line?
Whatever the cause, it is clear that `configure` fails to detect libgpg-
error:
{{{
configure:16372:
***
*** You need libgpg-error to build this program.
** This library is for example available at
*** https://gnupg.org/ftp/gcrypt/libgpg-error
*** (at least version 1.27 is required.)
***
configure:16505: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
}}}
I am attaching
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_gnupg2/gnupg2/work/gnupg-2.2.39/config.log`
and
`/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_gnupg2/gnupg2/main.log`
--
Ticket URL: <https://trac.macports.org/ticket/65991>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list