Opened 3 months ago

Last modified 8 weeks ago

#61601 assigned defect

p5-crypt-gcrypt @1.26: Can't link/include C library 'gcrypt', aborting.

Reported by: ryandesign (Ryan Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: p5-crypt-gcrypt

Description

https://build.macports.org/builders/ports-11_arm64-builder/builds/842/steps/install-port/logs/stdio

Executing:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/Crypt-GCrypt-1.26" && /opt/local/bin/perl5.26 Makefile.PL GCRYPTLIBPATH=/opt/local/lib GCRYPTINCPATH=/opt/local/include INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/Crypt-GCrypt-1.26" && /opt/local/bin/perl5.26 Makefile.PL GCRYPTLIBPATH=/opt/local/lib GCRYPTINCPATH=/opt/local/include INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" 
Can't link/include C library 'gcrypt', aborting.
DEBUG: Executing proc-post-org.macports.configure-configure-0
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Sun Nov 22 06:42:36 UTC 2020
--->  Building p5.26-crypt-gcrypt
DEBUG: Executing org.macports.build (p5.26-crypt-gcrypt)
DEBUG: Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
DEVELOPER_DIR='/Library/Developer/CommandLineTools'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='11.0'
SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
Executing:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/Crypt-GCrypt-1.26" && /usr/bin/make -j8 -w all 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/Crypt-GCrypt-1.26" && /usr/bin/make -j8 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/Crypt-GCrypt-1.26'
make: *** No rule to make target `all'.  Stop.
make: Leaving directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/Crypt-GCrypt-1.26'
Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/Crypt-GCrypt-1.26" && /usr/bin/make -j8 -w all 
Exit code: 2

Change History (3)

comment:1 Changed 3 months ago by nerdling (Jeremy Lavergne)

I'm unable to provide MacOS 11.0-specific support (and on 10.15 there are no errors with p5.26-crypt-gcrypt).

From the linked log, during configure phase:

DEBUG: system:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_perl_p5-crypt-gcrypt/p5.26-crypt-gcrypt/work/Crypt-GCrypt-1.26" && /opt/local/bin/perl5.26 Makefile.PL GCRYPTLIBPATH=/opt/local/lib GCRYPTINCPATH=/opt/local/include INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" 
Can't link/include C library 'gcrypt', aborting.

Do we know for certain that gcrypt is installed?

When I glance at the base code for _portnameactive, it seems to only check registry::entry installed rather than registry::entry active.

Last edited 3 months ago by nerdling (Jeremy Lavergne) (previous) (diff)

comment:2 Changed 3 months ago by nerdling (Jeremy Lavergne)

Okay, I apparently went down the wrong debugging path about the registry::entry stuff.

comment:3 Changed 8 weeks ago by Schamschula (Marius Schamschula)

I can reproduce this error while building p5.30-crypt-gcrypt under macOS 11.1 and Xcode 12.3. And yes, I do have libgcrypt installed, I'm the maintainer...

Note: See TracTickets for help on using tickets.