[MacPorts] #68194: hdf5 @1.14.2_0 build failure
MacPorts
noreply at macports.org
Wed Sep 20 17:53:44 UTC 2023
#68194: hdf5 @1.14.2_0 build failure
-----------------------+----------------------
Reporter: kwolcott | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: hdf5 |
-----------------------+----------------------
Comment (by Dave-Allured):
@newslor, thank you. This ain't no Xcode version mismatch! Extracting
some version info from your log.main:
{{{
:debug:sysinfo macOS 13.5.2 (darwin/22.6.0) arch arm
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode 15.0, CLT 15.0.0.0.1.1694021235
:debug:sysinfo SDK 13
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
:debug:configure Using compiler 'Xcode Clang'
:debug:configure CC='/usr/bin/clang'
:debug:configure CFLAGS='-pipe -Os -arch arm64
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
:debug:configure MACOSX_DEPLOYMENT_TARGET='13.0'
:info:configure checking build system type... arm-apple-darwin22.6.0
:info:configure checking host system type... aarch64-apple-darwin22.6.0
:info:configure compiler '/usr/bin/clang' is clang-15.0.0
:info:configure compiler '/usr/bin/clang++' is clang-15.0.0
:info:configure checking dynamic linker characteristics... darwin22.6.0
dyld
:info:configure checking for ld used by /usr/bin/clang...
/Library/Developer/CommandLineTools/usr/bin/ld
}}}
From the HDF5 config summary:
{{{
:info:configure LDFLAGS: -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
arm64
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
:info:configure H5_LDFLAGS: -Wl,-commons,use_dylibs
}}}
The error and offending command:
{{{
:info:build libtool: link: /usr/bin/clang -std=c99 -Wall -Warray-bounds
-Wcast-qual -Wconversion -Wdouble-promotion -Wextra -Wformat=2 -Wframe-
larger-than=16384 -Wimplicit-fallthrough -Wnull-dereference -Wunused-
const-variable -Wwrite-strings -Wpedantic -Wvolatile-register-var
-Wno-c++-compat -Wbad-function-cast -Wimplicit-function-declaration
-Wincompatible-pointer-types -Wmissing-declarations -Wpacked -Wshadow
-Wswitch -Wno-error=incompatible-pointer-types-discards-qualifiers
-Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align
-Wformat -Wno-missing-noreturn -O3 -pipe -Os -arch arm64
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
-Wl,-commons -Wl,use_dylibs -Wl,-headerpad_max_install_names -Wl,-rpath
-Wl,/opt/local/lib/libgcc -arch arm64 -Wl,-syslibroot
-Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -o H5detect
H5detect.o -L/opt/local/lib/libaec/lib -L/opt/local/lib -lsz -lz -ldl -lm
:info:build ld: unknown options: -commons
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68194#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list