[MacPorts] #69628: Gildas 202303a fails to link on 10.8: Undefined symbols for architecture x86_64: "__ZNKSs7compareEPKc" etc.

MacPorts noreply at macports.org
Sat Mar 30 23:39:14 UTC 2024


#69628: Gildas 202303a fails to link on 10.8: Undefined symbols for architecture
x86_64:   "__ZNKSs7compareEPKc" etc.
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  bardeau
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.1
 Keywords:  mountainlion  |       Port:  gildas
--------------------------+----------------------
 {{{
 /usr/bin/clang++  -I/opt/local/include   -c   -Os   -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gildas/gildas/work
 /gildas-src-mar24a/integ/x86_64-macosx-gfortran/include -pipe -fPIC
 -Ddarwin -DDARWIN -DOPENSSL -DPNG -O -Dunderscore -DGAG_USE_GTK
 -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE
 ATMError.cpp -o built/x86_64-macosx-gfortran/ATMError.o
 ar cr
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gildas/gildas/work
 /gildas-src-mar24a/integ/x86_64-macosx-gfortran/lib/libatm2009.a
 built/x86_64-macosx-gfortran/ATMOpacity.o built/x86_64-macosx-
 gfortran/ATMLength.o built/x86_64-macosx-gfortran/ATMInverseLength.o
 built/x86_64-macosx-gfortran/ATMPressure.o built/x86_64-macosx-
 gfortran/ATMTemperature.o built/x86_64-macosx-gfortran/ATMAngle.o
 built/x86_64-macosx-gfortran/ATMFrequency.o built/x86_64-macosx-
 gfortran/ATMHumidity.o built/x86_64-macosx-gfortran/ATMMassDensity.o
 built/x86_64-macosx-gfortran/ATMNumberDensity.o built/x86_64-macosx-
 gfortran/ATMPercent.o built/x86_64-macosx-
 gfortran/ATMWaterVaporRadiometer.o built/x86_64-macosx-
 gfortran/ATMWVRMeasurement.o built/x86_64-macosx-gfortran/ATMType.o
 built/x86_64-macosx-gfortran/ATMProfile.o built/x86_64-macosx-
 gfortran/ATMRefractiveIndex.o built/x86_64-macosx-
 gfortran/ATMRefractiveIndexProfile.o built/x86_64-macosx-
 gfortran/ATMSkyStatus.o built/x86_64-macosx-gfortran/ATMSpectralGrid.o
 built/x86_64-macosx-gfortran/ATMError.o
 (cd ./built/x86_64-macosx-gfortran && /opt/local/bin/gfortran-mp-13
 -dynamiclib -fopenmp   -L/opt/local/lib -Wl,-headerpad_max_install_names
 -shared -o /opt/local/lib/gildas/x86_64-macosx-gfortran/lib/libatm2009.so
 -install_name /opt/local/lib/gildas/x86_64-macosx-
 gfortran/lib/libatm2009.so ATMOpacity.o ATMLength.o ATMInverseLength.o
 ATMPressure.o ATMTemperature.o ATMAngle.o ATMFrequency.o ATMHumidity.o
 ATMMassDensity.o ATMNumberDensity.o ATMPercent.o ATMWaterVaporRadiometer.o
 ATMWVRMeasurement.o ATMType.o ATMProfile.o ATMRefractiveIndex.o
 ATMRefractiveIndexProfile.o ATMSkyStatus.o ATMSpectralGrid.o ATMError.o  \
         -o
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gildas/gildas/work
 /gildas-src-mar24a/integ/x86_64-macosx-gfortran/lib/libatm2009.so
 -L/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gildas/gildas/work
 /gildas-src-mar24a/integ/x86_64-macosx-gfortran/lib -L/opt/local/lib
 -L/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib  -lc++
 -lm -ldl -install_name @loader_path/../lib/libatm2009.so)
 Undefined symbols for architecture x86_64:
   "__ZNKSs7compareEPKc", referenced from:
       __ZN3atm7OpacityC2EdSs in ATMOpacity.o
       __ZN3atm7Opacity4sputEdSs in ATMOpacity.o
       __ZN3atm7Opacity4sgetEdSs in ATMOpacity.o
       __ZNK3atm7Opacity3getESs in ATMOpacity.o
       __ZN3atm6Length4sputEdSs in ATMLength.o
       __ZN3atm6Length4sgetEdSs in ATMLength.o
       __ZN3atm13InverseLength4sputEdSs in ATMInverseLength.o
       ...
   "__ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc", referenced from:
 __ZN3atm22RefractiveIndexProfile28updateRefractiveIndexProfileENS_6LengthENS_8PressureENS_11TemperatureEdNS_8HumidityES1_
 in ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile16chanIndexIsValidEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile21spwidAndIndexAreValidEjj in
 ATMRefractiveIndexProfile.o
       __ZN3atm12SpectralGrid10wrongSpwIdEj in ATMSpectralGrid.o
       __ZN3atm5Error12printMessageESs in ATMError.o
       __ZN3atm5Error6notifyESs in ATMError.o
   "__ZNSo3putEc", referenced from:
 __ZN3atm22RefractiveIndexProfile28updateRefractiveIndexProfileENS_6LengthENS_8PressureENS_11TemperatureEdNS_8HumidityES1_
 in ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile16chanIndexIsValidEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile21spwidAndIndexAreValidEjj in
 ATMRefractiveIndexProfile.o
       __ZN3atm12SpectralGrid10wrongSpwIdEj in ATMSpectralGrid.o
       __ZN3atm5Error12printMessageESs in ATMError.o
       __ZN3atm5Error6notifyESs in ATMError.o
   "__ZNSo5flushEv", referenced from:
 __ZN3atm22RefractiveIndexProfile28updateRefractiveIndexProfileENS_6LengthENS_8PressureENS_11TemperatureEdNS_8HumidityES1_
 in ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile16chanIndexIsValidEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile21spwidAndIndexAreValidEjj in
 ATMRefractiveIndexProfile.o
       __ZN3atm12SpectralGrid10wrongSpwIdEj in ATMSpectralGrid.o
       __ZN3atm5Error12printMessageESs in ATMError.o
       __ZN3atm5Error6notifyESs in ATMError.o
   "__ZNSo9_M_insertImEERSoT_", referenced from:
       __ZN3atm12SpectralGrid10wrongSpwIdEj in ATMSpectralGrid.o
   "__ZNSs4_Rep10_M_destroyERKSaIcE", referenced from:
       __ZN3atm7OpacityC2EdSs in ATMOpacity.o
       __ZNK3atm7Opacity3getESsSs in ATMOpacity.o
       __ZNK3atm7Opacity3getESs in ATMOpacity.o
       __ZN3atm6LengthC2EdSs in ATMLength.o
       __ZNK3atm6Length3getESsSs in ATMLength.o
       __ZNK3atm6Length3getESs in ATMLength.o
       __ZN3atm13InverseLengthC2EdSs in ATMInverseLength.o
       ...
   "__ZNSs4_Rep20_S_empty_rep_storageE", referenced from:
       __ZN3atm7OpacityC2EdSs in ATMOpacity.o
       __ZNK3atm7Opacity3getESsSs in ATMOpacity.o
       __ZNK3atm7Opacity3getESs in ATMOpacity.o
       __ZN3atm6LengthC2EdSs in ATMLength.o
       __ZNK3atm6Length3getESsSs in ATMLength.o
       __ZNK3atm6Length3getESs in ATMLength.o
       __ZN3atm13InverseLengthC2EdSs in ATMInverseLength.o
       ...
   "__ZNSs6appendEPKcm", referenced from:
       __ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_ in
 ATMError.o
   "__ZNSs6appendERKSs", referenced from:
       __ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_ in
 ATMError.o
   "__ZNSs6assignEPKcm", referenced from:
       __ZN3atm12SpectralGridC2ENS_9FrequencyE in ATMSpectralGrid.o
       __ZN3atm12SpectralGrid3addEjjNS_9FrequencyES1_ in ATMSpectralGrid.o
       __ZN3atm12SpectralGridC2EjjNS_9FrequencyES1_ in ATMSpectralGrid.o
 __ZN3atm12SpectralGridC2EjjNS_9FrequencyES1_S1_NS_12SidebandSideENS_12SidebandTypeE
 in ATMSpectralGrid.o
 __ZN3atm12SpectralGrid3addEjjNS_9FrequencyES1_S1_NS_12SidebandSideENS_12SidebandTypeE
 in ATMSpectralGrid.o
       __ZN3atm12SpectralGridC2EjjPdSs in ATMSpectralGrid.o
       __ZN3atm12SpectralGridC2EjdPdSs in ATMSpectralGrid.o
       ...
   "__ZNSs6assignERKSs", referenced from:
       __ZN3atm22RefractiveIndexProfileC2ERKS0_ in
 ATMRefractiveIndexProfile.o
       __ZNSt6vectorISsSaISsEEaSERKS1_ in ATMRefractiveIndexProfile.o
       __ZN3atm9SkyStatusC2ERKS0_ in ATMSkyStatus.o
       __ZNSt6vectorISsSaISsEEaSERKS1_ in ATMSkyStatus.o
       __ZN3atm12SpectralGridC2ERKS0_ in ATMSpectralGrid.o
       __ZNSt6vectorISsSaISsEEaSERKS1_ in ATMSpectralGrid.o
 __ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs
 in ATMSpectralGrid.o
       ...
   "__ZNSs7reserveEm", referenced from:
       __ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_ in
 ATMError.o
   "__ZNSsC1EPKcRKSaIcE", referenced from:
       __ZNK3atm7Opacity3getESsSs in ATMOpacity.o
       __ZNK3atm6Length3getESsSs in ATMLength.o
       __ZNK3atm13InverseLength3getESsSs in ATMInverseLength.o
       __ZNK3atm9Frequency3getESsSs in ATMFrequency.o
       __ZN3atm20WaterVaporRadiometerC2ESt6vectorIjSaIjEE in
 ATMWaterVaporRadiometer.o
       __ZN3atm20WaterVaporRadiometerC2ESt6vectorIjSaIjEES1_IdSaIdEE in
 ATMWaterVaporRadiometer.o
 __ZN3atm20WaterVaporRadiometerC2ESt6vectorIjSaIjEES1_INS_7PercentESaIS4_EE
 in ATMWaterVaporRadiometer.o
       ...
   "__ZNSsC1ERKSs", referenced from:
       __ZN3atm7OpacityC2EdSs in ATMOpacity.o
       __ZNK3atm7Opacity3getESsSs in ATMOpacity.o
       __ZNK3atm7Opacity3getESs in ATMOpacity.o
       __ZN3atm6LengthC2EdSs in ATMLength.o
       __ZNK3atm6Length3getESsSs in ATMLength.o
       __ZNK3atm6Length3getESs in ATMLength.o
       __ZN3atm13InverseLengthC2EdSs in ATMInverseLength.o
       ...
   "__ZNSsD1Ev", referenced from:
       __GLOBAL__I_a in ATMError.o
   "__ZNSt8ios_base4InitC1Ev", referenced from:
       __GLOBAL__I_a in ATMWaterVaporRadiometer.o
       __GLOBAL__I_a in ATMWVRMeasurement.o
       __GLOBAL__I_a in ATMType.o
       __GLOBAL__I_a in ATMProfile.o
       __GLOBAL__I_a in ATMRefractiveIndexProfile.o
       __GLOBAL__I_a in ATMSkyStatus.o
       __GLOBAL__I_a in ATMSpectralGrid.o
       ...
   "__ZNSt8ios_base4InitD1Ev", referenced from:
       __GLOBAL__I_a in ATMWaterVaporRadiometer.o
       __GLOBAL__I_a in ATMWVRMeasurement.o
       __GLOBAL__I_a in ATMType.o
       __GLOBAL__I_a in ATMProfile.o
       __GLOBAL__I_a in ATMRefractiveIndexProfile.o
       __GLOBAL__I_a in ATMSkyStatus.o
       __GLOBAL__I_a in ATMSpectralGrid.o
       ...
 "__ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l",
 referenced from:
 __ZN3atm22RefractiveIndexProfile28updateRefractiveIndexProfileENS_6LengthENS_8PressureENS_11TemperatureEdNS_8HumidityES1_
 in ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile16chanIndexIsValidEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile21spwidAndIndexAreValidEjj in
 ATMRefractiveIndexProfile.o
       __ZN3atm12SpectralGrid10wrongSpwIdEj in ATMSpectralGrid.o
       __ZN3atm5Error12printMessageESs in ATMError.o
       __ZN3atm5Error6notifyESs in ATMError.o
   "__ZSt20__throw_length_errorPKc", referenced from:
 __ZNSt6vectorIN3atm7PercentESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_
 in ATMWaterVaporRadiometer.o
 __ZNSt6vectorIdSaIdEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPdS1_EERKd
 in ATMWaterVaporRadiometer.o
 __ZNSt6vectorIN3atm11TemperatureESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_
 in ATMWVRMeasurement.o
 __ZNSt6vectorIdSaIdEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPdS1_EERKd
 in ATMType.o
 __ZNSt6vectorIN3atm13NumberDensityESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_
 in ATMProfile.o
 __ZNSt6vectorIdSaIdEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPdS1_EERKd
 in ATMProfile.o
       __ZN3atm22RefractiveIndexProfile24mkRefractiveIndexProfileEv in
 ATMRefractiveIndexProfile.o
       ...
   "__ZSt20__throw_out_of_rangePKc", referenced from:
       __ZN3atm22RefractiveIndexProfileC2ERKS0_ in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile13getDryOpacityEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile17getDryContOpacityEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile17getO2LinesOpacityEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile17getCOLinesOpacityEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile18getN2OLinesOpacityEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile17getO3LinesOpacityEj in
 ATMRefractiveIndexProfile.o
       ...
   "__ZSt4cout", referenced from:
 __ZN3atm22RefractiveIndexProfile28updateRefractiveIndexProfileENS_6LengthENS_8PressureENS_11TemperatureEdNS_8HumidityES1_
 in ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile16chanIndexIsValidEj in
 ATMRefractiveIndexProfile.o
       __ZN3atm22RefractiveIndexProfile21spwidAndIndexAreValidEjj in
 ATMRefractiveIndexProfile.o
       __ZN3atm12SpectralGrid10wrongSpwIdEj in ATMSpectralGrid.o
       __ZN3atm5Error12printMessageESs in ATMError.o
       __ZN3atm5Error6notifyESs in ATMError.o
 ld: symbol(s) not found for architecture x86_64
 collect2: error: ld returned 1 exit status
 }}}

 https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/170019/steps
 /install-port/logs/stdio

 Looks like it needs C++17?

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


More information about the macports-tickets mailing list