[MacPorts] #70919: osslsigncode 2.2.0 build fails on macOS Sequoia

MacPorts noreply at macports.org
Wed Sep 25 15:55:16 UTC 2024


#70919: osslsigncode 2.2.0 build fails on macOS Sequoia
-------------------------+--------------------------
 Reporter:  MushyMiddle  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.10.1
 Keywords:               |       Port:  osslsigncode
-------------------------+--------------------------
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70919>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list