Opened 4 years ago

Closed 3 years ago

#61601 closed defect (fixed)

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

Reported by: ryandesign (Ryan Carsten 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 (4)

comment:1 Changed 4 years 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, which only checks registry::entry installed rather than registry::entry active.

Version 0, edited 4 years ago by nerdling (Jeremy Lavergne) (next)

comment:2 Changed 4 years ago by nerdling (Jeremy Lavergne)

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

comment:3 Changed 4 years 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...

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 4c82c17c4c5398ee1b952d8a4c01b618721c1aae/macports-ports (master):

p5-crypt-gcrypt: Fix implicit function declaration

Closes: #61601

Note: See TracTickets for help on using tickets.