[MacPorts] #68438: draco @ 1.5.6: build fails on 10.6–10.12
MacPorts
noreply at macports.org
Thu Oct 12 15:02:29 UTC 2023
#68438: draco @ 1.5.6: build fails on 10.6–10.12
---------------------+----------------------
Reporter: nilason | Owner: nilason
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: draco
---------------------+----------------------
The new port {{{draco}}} fail on build with following error:
{{{
[ 24%] Building CXX object
CMakeFiles/draco_io.dir/src/draco/io/file_writer_utils.cc.o
/opt/local/bin/clang++-mp-16 -DDRACO_CMAKE=1
-DDRACO_FLAGS_SRCDIR=\"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_archivers_draco/draco/work/draco-1.5.6\"
-DDRACO_FLAGS_TMPDIR=\"/tmp\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_archivers_draco/draco/work/draco-1.5.6
-I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_archivers_draco/draco/work/draco-1.5.6/src
-I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_archivers_draco/draco/work/build
-I/opt/local/include/eigen3 -I/opt/local/include/ghc -I/opt/local/include
-pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -arch x86_64
-mmacosx-version-min=10.7 -fPIC -Wno-implicit-const-int-float-conversion
-std=gnu++14 -MD -MT
CMakeFiles/draco_io.dir/src/draco/io/file_writer_utils.cc.o -MF
CMakeFiles/draco_io.dir/src/draco/io/file_writer_utils.cc.o.d -o
CMakeFiles/draco_io.dir/src/draco/io/file_writer_utils.cc.o -c
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_archivers_draco/draco/work/draco-1.5.6/src/draco/io/file_writer_utils.cc
...
In file included from
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_archivers_draco/draco/work/draco-1.5.6/src/draco/io/file_writer_utils.cc:11:
/opt/local/include/ghc/filesystem.hpp:4681:11: error: no member named
'utimensat' in the global namespace
if (::utimensat((int)AT_FDCWD, p.c_str(), times, AT_SYMLINK_NOFOLLOW)
!= 0) {
~~^
/opt/local/include/ghc/filesystem.hpp:4681:26: error: use of undeclared
identifier 'AT_FDCWD'
if (::utimensat((int)AT_FDCWD, p.c_str(), times, AT_SYMLINK_NOFOLLOW)
!= 0) {
^
/opt/local/include/ghc/filesystem.hpp:4681:54: error: use of undeclared
identifier 'AT_SYMLINK_NOFOLLOW'
if (::utimensat((int)AT_FDCWD, p.c_str(), times, AT_SYMLINK_NOFOLLOW)
!= 0) {
^
...
3 errors generated.
make[2]: *** [CMakeFiles/draco_io.dir/src/draco/io/file_writer_utils.cc.o]
Error 1
}}}
Any pointers on how to deal with that would be greatly appreciated.
--
Ticket URL: <https://trac.macports.org/ticket/68438>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list