[MacPorts] #66208: hdf5 @1.12.2_0+cxx+gcc12+hl: Port hdf5 is still broken (cxx_stdlib mismatch) after rebuilding it more than 3 times.
MacPorts
noreply at macports.org
Mon Feb 6 11:10:40 UTC 2023
#66208: hdf5 @1.12.2_0+cxx+gcc12+hl: Port hdf5 is still broken (cxx_stdlib
mismatch) after rebuilding it more than 3 times.
------------------------+----------------------
Reporter: massonseb | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords:
Port: hdf5 |
------------------------+----------------------
Comment (by massonseb):
ebd22613 has been added in macport 2.8.1 \\
See https://github.com/macports/macports-base/releases/tag/v2.8.1
I installed it and I can indeed see the modifications of ebd22613 in
{{{
/opt/local/libexec/macports/lib/port1.0/portconfigure.tcl
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/src/port1.0/portconfigure.tcl
}}}
which are the same files.
However `sudo port install hdf5 +gcc12` or `sudo port install hdf5 +gcc12
+openmpi` are still not working.
I get exactly the same error in the log file:
{{{
:info:build Undefined symbols for architecture arm64:
:info:build
"__ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc",
referenced from:
:info:build __ZNK2H510AbstractDs12getTypeClassEv in H5AbstractDs.o
:info:build
"__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv",
referenced from:
:info:build
__ZN2H59ExceptionC4ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_
in H5Exception.o
:info:build __ZN2H59ExceptionC4ERKS0_ in H5Exception.o
:info:build __ZN2H59ExceptionC4Ev in H5Exception.o
...
:info:build __ZN2H57DataSetD4Ev in H5DataSet.o
:info:build __ZN2H55GroupD4Ev in H5Group.o
:info:build __ZN2H56H5FileD4Ev in H5File.o
:info:build ...
:info:build ld: symbol(s) not found for architecture arm64
:info:build collect2: error: ld returned 1 exit status
:info:build make[2]: *** [libhdf5_cpp.la] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0/c++/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0/c++'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_hdf5/hdf5/work/hdf5-1.14.0"
&& /usr/bin/make -j10 -w all
:info:build Exit code: 2
:error:build Failed to build hdf5: command execution failed
:debug:build Error code: CHILDSTATUS 90996 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 8)
: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_science_hdf5/hdf5/main.log
for details.
}}}
I attach the full log file.
Which step did I miss? \\
Should I re-install gcc12 or other packages before?
--
Ticket URL: <https://trac.macports.org/ticket/66208#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list