Opened 13 months ago
Closed 13 months ago
#68479 closed defect (worksforme)
cmake-bootstrap @3.9.6: clang linking error for macOS Sonoma 14.1
Reported by: | leuliett (Eric Leuliette) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | sonoma | Cc: | |
Port: | cmake-bootstrap |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Build failure with the error:
Error: Failed to build cmake-bootstrap: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/main.log for details.
The final lines in main.log:
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source && /Library/Developer/CommandLineTools/usr/bin/clang++ -DCMAKE_BUILD_WITH_CMAKE -DCURL_STATICLIB -DLIBARCHIVE_STATIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Utilities -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/LexerParser -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Utilities/cmcompress -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/CTest -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/CPack -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/CursesDialog/form -I/opt/include -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -mmacosx-version-min=14.0 -std=gnu++14 -o CMakeFiles/CTestLib.dir/CTest/cmCTestMemCheckCommand.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-bootstrap/cmake-bootstrap/work/cmake-3.9.6/Source/CTest/cmCTestMemCheckCommand.cxx :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
Attachments (1)
Change History (6)
comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | sonoma added |
Summary: | cmake-bootstrap 3.9.6: clang linking error for macOS Sonoma 14.1 → cmake-bootstrap @3.9.6: clang linking error for macOS Sonoma 14.1 |
Changed 13 months ago by leuliett (Eric Leuliette)
Attachment: | main.log.zip added |
---|
comment:2 Changed 13 months ago by kencu (Ken)
what a strange warning:
ld: warning: ignoring file '/opt/lib/ncurses/libncurses.5.dylib': found architecture 'x86_64', required architecture 'arm64'
- what do you have installed in /opt/lib ?
- why would macports even look in that location for libraries?
Is this a new install of Sonoma, or did you upgrade from something older? DId you restore from a Time Machine backup? Make some unusual symlinks?
Your log shows a number of build attempts. For a start, you might sort out what you have in /opt/lib and perhaps get rid of that, then clean once and send up a fresh log if it fails again:
sudo port clean cmake-bootstrap sudo port -v install cmake-bootstrap
comment:3 Changed 13 months ago by leuliett (Eric Leuliette)
Thanks for the assistance. Removing an old installation of go from /opt/lib resolved the compiling issue.
comment:5 Changed 13 months ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
You didn't show the relevant lines from the main.log file. Please attach the main.log file.