[MacPorts] #69173: port fails to upgrade to 2.9.0
MacPorts
noreply at macports.org
Thu Jan 25 14:17:58 UTC 2024
#69173: port fails to upgrade to 2.9.0
-------------------------+--------------------
Reporter: mouse07410 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.9.0
Resolution: | Keywords:
Port: |
-------------------------+--------------------
Comment (by mouse07410):
I mean - it fails to deal correctly with the obviously-present and
obviously working SDK (whose version is right for this version of OS).
Sorry, I don't have that {{{config.log}}} anymore - because my next step
was downloading MacPorts-2.9.0 binary installer and install it on top of
the 2.8.1. Which alleviated the problem.
But here's an interesting example:
{{{
$ SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk clang -g
-fsanitize=address,undefined -fno-omit-frame-pointer -I/opt/local/include
-o t1 t1.c -L/opt/local/lib -lcrypto
clang: error: Failed to open property list
'/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/SDKSettings.plist'
t1.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^~~~~~~~~
1 error generated.
$ echo $CFLAGS
-O3 -std=gnu18 -march=native -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
$ clang ${CFLAGS} -g -fsanitize=address,undefined -fno-omit-frame-pointer
-I/opt/local/include -o t1 t1.c -L/opt/local/lib -lcrypto
t1.c:122:13: warning: 'ENGINE_load_private_key' is deprecated
[-Wdeprecated-declarations]
privkey = ENGINE_load_private_key(e, SignPrivKey, NULL, &cb_data);
^
/opt/local/include/openssl/engine.h:637:1: note: 'ENGINE_load_private_key'
has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/local/include/openssl/macros.h:194:49: note: expanded from macro
'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
. . .
^
/opt/local/include/openssl/macros.h:62:52: note: expanded from macro
'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
6 warnings generated.
$ ./t1
t1(89852,0x7ff85c9367c0) malloc: nano zone abandoned due to inability to
reserve vm space.
Using YubiHSM device...
Signature padding is RSA-PSS padding
Enter PKCS#11 token PIN for YubiHSM:
Set RSA signature padding to RSA-PSS padding
Signed (data len=83, sig len=384):
23 c5 ae 7d bd 5c c7 86 0c 22 45 d7 5f 00 66 84
8b 9d 75 ef 2b 3b 61 87 f2 3b ea a1 8d a0 1b 87
. . .
38 76 2d ac d3 2a 86 8d 44 73 40 4c 36 20 99 77
$
$ SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk clang -g
-fsanitize=address,undefined -fno-omit-frame-pointer -I/opt/local/include
-o t1 t1.c -L/opt/local/lib -lcrypto
clang: error: Failed to open property list
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/SDKSettings.plist'
t1.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^~~~~~~~~
1 error generated.
$ ll /Library/Developer/CommandLineTools/SDKs/
total 0
drwxr-xr-x 4 root admin 128 Jan 22 16:26 ./
drwxr-xr-x 4 root admin 128 Jan 28 2023 ../
drwxr-xr-x 3 root admin 96 Jan 28 2023 MacOSX.sdk/
lrwxr-xr-x 1 root admin 10 Jan 22 16:26 MacOSX14.sdk@ -> MacOSX.sdk
$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69173#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list