Opened 7 weeks ago
Closed 7 weeks ago
#70919 closed defect (fixed)
osslsigncode @2.2: error: use of undeclared identifier 'opt'
Reported by: | MushyMiddle | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
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)
Change History (4)
Changed 7 weeks ago by MushyMiddle
Attachment: | osslsigncode-main.log added |
---|
comment:1 Changed 7 weeks ago by MushyMiddle
Description: | modified (diff) |
---|
comment:2 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Summary: | osslsigncode 2.2.0 build fails on macOS Sequoia → osslsigncode @2.2: error: use of undeclared identifier 'opt' |
---|
osslsigncode's configure.ac defines CA_BUNDLE_PATH as the output of curl-config --ca
surrounded by quotes:
AC_DEFINE_UNQUOTED([CA_BUNDLE_PATH], ["$(curl-config --ca 2>/dev/null)"], [CA bundle install path])
But the output of curl-config --ca
is already surrounded by quotes:
"/opt/local/share/curl/curl-ca-bundle.crt"
This is a possibly unintentional change in curl 8.8.0. I've filed a bug report with the curl developers:
comment:3 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Build log for osslsigncode