Opened 2 hours ago

Last modified 2 hours ago

#70919 new defect

osslsigncode 2.2.0 build fails on macOS Sequoia

Reported by: MushyMiddle Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: osslsigncode

Description (last modified by MushyMiddle)

During sudo port migrate, the build for osslsigncode 2.2.0 fails with:

:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.   -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -I/opt/local/libexec/openssl3/include -I/opt/local/libexec/openssl3/include -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch x86_64 -MT msi.o -MD -MP -MF .deps/msi.Tpo -c -o msi.o msi.c
:info:build osslsigncode.c:5184:13: error: use of undeclared identifier 'opt'
:info:build  5184 |         if (strcmp(CA_BUNDLE_PATH, ""))
:info:build       |                    ^
:info:build ./config.h:5:27: note: expanded from macro 'CA_BUNDLE_PATH'
:info:build     5 | #define CA_BUNDLE_PATH ""/opt/local/share/curl/curl-ca-bundle.crt""
:info:build       |                           ^
:info:build osslsigncode.c:5184:13: error: use of undeclared identifier 'local'
:info:build ./config.h:5:31: note: expanded from macro 'CA_BUNDLE_PATH'
:info:build     5 | #define CA_BUNDLE_PATH ""/opt/local/share/curl/curl-ca-bundle.crt""
:info:build       |                               ^
:info:build osslsigncode.c:5184:13: error: use of undeclared identifier 'share'
:info:build ./config.h:5:37: note: expanded from macro 'CA_BUNDLE_PATH'
:info:build     5 | #define CA_BUNDLE_PATH ""/opt/local/share/curl/curl-ca-bundle.crt""
...a bunch more of the same, one for each path node...
:info:build 14 errors generated.
:info:build make[1]: *** [osslsigncode.o] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build mv -f .deps/msi.Tpo .deps/msi.Po
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_osslsigncode/osslsigncode/work/osslsigncode-2.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_osslsigncode/osslsigncode/work/osslsigncode-2.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_osslsigncode/osslsigncode/work/osslsigncode-2.2" && /usr/bin/make -j16 -w all 
:info:build Exit code: 2
:error:build Failed to build osslsigncode: command execution failed
:debug:build Error code: CHILDSTATUS 73052 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_osslsigncode/osslsigncode/main.log for details.

See full log attached. Also fails after a port clean osslsigncode and port install osslsigncode.

CLT:

clang --version
Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: x86_64-apple-darwin24.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

xcodebuild:

xcodebuild -version 
Xcode 16.0
Build version 16A242d

Environment: MacBook Pro 16 (2019) - Intel macOS 15 Sequoia

Tested both on a clean VM, and on the real machine.

Attachments (1)

osslsigncode-main.log (58.2 KB) - added by MushyMiddle 2 hours ago.
Build log for osslsigncode

Download all attachments as: .zip

Change History (2)

Changed 2 hours ago by MushyMiddle

Attachment: osslsigncode-main.log added

Build log for osslsigncode

comment:1 Changed 2 hours ago by MushyMiddle

Description: modified (diff)
Note: See TracTickets for help on using tickets.