[MacPorts] #69719: draco @1.5.7: error: no type named 'invoke_result' in namespace 'std'

MacPorts noreply at macports.org
Fri Apr 12 18:25:06 UTC 2024


#69719: draco @1.5.7: error: no type named 'invoke_result' in namespace 'std'
----------------------+------------------------
  Reporter:  Nicob73  |      Owner:  nilason
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.9.3
Resolution:           |   Keywords:  highsierra
      Port:  draco    |
----------------------+------------------------

Comment (by Nicob73):

 I progress a lot by using the following command : sudo port install draco
 configure.compiler=macports-clang-14

 But the port still failed with the following statements :

 {{{

 :info:build [100%] Linking CXX executable draco_tests
 :info:build /opt/local/bin/cmake -E cmake_link_script
 CMakeFiles/draco_tests.dir/link.txt --verbose=ON
 :info:build /opt/local/bin/clang++-mp-14 -pipe -Os -DNDEBUG
 -I/opt/local/include -stdlib=libc++ -arch x86_64 -mmacosx-version-
 min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 CMakeFiles/draco_tests.dir/src/draco/animation/keyframe_animation_encoding_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/animation/keyframe_animation_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/attributes/point_attribute_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/attributes/point_d_vector_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_transform_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_transform_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/attributes/sequential_integer_attribute_encoding_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/bit_coders/rans_coding_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/decode_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/encode_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/entropy/shannon_entropy_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/entropy/symbol_coding_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/mesh/mesh_edgebreaker_encoding_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/mesh/mesh_encoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/point_cloud/point_cloud_kd_tree_encoding_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/compression/point_cloud/point_cloud_sequential_encoding_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/core/buffer_bit_coding_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/core/math_utils_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/core/quantization_utils_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/core/status_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/core/vector_d_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/file_utils_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/file_writer_utils_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/stdio_file_reader_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/stdio_file_writer_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/obj_decoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/obj_encoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/ply_decoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/ply_reader_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/stl_decoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/stl_encoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/point_cloud_io_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/mesh/corner_table_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/mesh/mesh_are_equivalent_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/mesh/mesh_cleanup_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/mesh/triangle_soup_mesh_builder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/metadata/metadata_encoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/metadata/metadata_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/point_cloud/point_cloud_builder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/point_cloud/point_cloud_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/animation/animation_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/gltf_decoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/gltf_encoder_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/gltf_utils_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/gltf_test_helper.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/scene_io_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/io/texture_io_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/material/material_library_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/material/material_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/metadata/property_attribute_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/metadata/property_table_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/metadata/structural_metadata_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/metadata/structural_metadata_schema_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/scene/instance_array_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/scene/light_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/scene/mesh_group_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/scene/scene_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/scene/scene_are_equivalent_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/scene/scene_utils_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/scene/trs_matrix_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/texture/texture_library_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/texture/texture_map_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/texture/texture_transform_test.cc.o
 CMakeFiles/draco_tests.dir/src/draco/core/draco_test_utils.cc.o
 CMakeFiles/draco_tests.dir/src/draco/core/status.cc.o
 "CMakeFiles/draco_tests.dir/opt/local/src/googletest/src/gtest-all.cc.o"
 CMakeFiles/draco_tests.dir/opt/local/src/googletest/src/gtest_main.cc.o -o
 draco_tests-1.5.7  -Wl,-rpath,/opt/local/lib -Wl,--start-group
 libdraco.9.0.0.dylib libdraco_gtest.a libdraco_gtest_main.a
 libdraco_test_common.a -Wl,--end-group
 :info:build ld: unknown option: --start-group
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [draco_tests-1.5.7] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_draco/draco/work/build'
 :info:build make[1]: *** [CMakeFiles/draco_tests.dir/all] Error 2
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_draco/draco/work/build'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_draco/draco/work/build'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_draco/draco/work/build"
 && /usr/bin/make -j8 -w all VERBOSE=ON
 :info:build Exit code: 2
 :error:build Failed to build draco: command execution failed
 :debug:build Error code: CHILDSTATUS 23892 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_release_tarballs_ports_archivers_draco/draco/main.log
 for details.

 }}}

 Any ideas to solve this issue ?

 Nicolas.

-- 
Ticket URL: <https://trac.macports.org/ticket/69719#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list