[MacPorts] #68180: Openvpn2 +pkcs11 Variant Fails to Build - use of undeclared identifiers 'CK_RSA_PKCS_PSS_PARAMS' and 'pss_params'
MacPorts
noreply at macports.org
Sun Nov 12 18:23:30 UTC 2023
#68180: Openvpn2 +pkcs11 Variant Fails to Build - use of undeclared identifiers
'CK_RSA_PKCS_PSS_PARAMS' and 'pss_params'
-----------------------+--------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: openvpn2 |
-----------------------+--------------------
Comment (by RobK88):
FYI -- the bug still exists with `openvpn2` version 2.6.7. i.e. the
`+pkcs11` variant is still broken.
{{{
bash-3.2$ sudo port clean openvpn2
---> Cleaning openvpn2
bash-3.2$ sudo port -vs install openvpn2 +pkcs11
---> Computing dependencies for openvpn2.
---> Fetching distfiles for openvpn2
---> Verifying checksums for openvpn2
---> Checksumming openvpn-2.6.7.tar.gz
---> Extracting openvpn2
---> Extracting openvpn-2.6.7.tar.gz
etc
etc
pkcs11_openssl.c:166:5: error: use of undeclared identifier
'CK_RSA_PKCS_PSS_PARAMS'
CK_RSA_PKCS_PSS_PARAMS pss_params = {0};
^
pkcs11_openssl.c:212:32: error: use of undeclared identifier 'pss_params'
mech.pParameter = &pss_params;
^
depbase=`echo options.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
/usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../include
-I../../include -I../../src/compat -I/opt/local/include
-I/opt/local/libexec/openssl3/include
-DPLUGIN_LIBDIR=\"/opt/local/lib/openvpn/plugins\" -Wall -pipe -Os -arch
x86_64 -std=c99 -MT options.o -MD -MP -MF $depbase.Tpo -c -o options.o
options.c &&\
mv -f $depbase.Tpo $depbase.Po
pkcs11_openssl.c:213:42: error: use of undeclared identifier 'pss_params'
mech.ulParameterLen = sizeof(pss_params);
^
3 errors generated.
make[3]: *** [pkcs11_openssl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn2/openvpn2/work/openvpn-2.6.7/src/openvpn'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn2/openvpn2/work/openvpn-2.6.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn2/openvpn2/work/openvpn-2.6.7'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn2/openvpn2/work/openvpn-2.6.7'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn2/openvpn2/work/openvpn-2.6.7"
&& /usr/bin/make -j4 -w all
Exit code: 2
Error: Failed to build openvpn2: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openvpn2/openvpn2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port openvpn2 failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68180#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list