=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/materialx", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for materialx-1.39.5 [ 1%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Element.cpp.o [ 1%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Definition.cpp.o [ 2%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Document.cpp.o [ 2%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Geom.cpp.o [ 3%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Interface.cpp.o [ 4%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Look.cpp.o [ 5%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Material.cpp.o [ 5%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Node.cpp.o [ 6%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Property.cpp.o [ 7%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Traversal.cpp.o [ 7%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Types.cpp.o [ 8%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Unit.cpp.o [ 9%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Util.cpp.o [ 10%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Value.cpp.o [ 10%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Variant.cpp.o [ 11%] Building CXX object source/MaterialXCore/CMakeFiles/MaterialXCore.dir/Version.cpp.o [ 12%] Linking CXX shared library ../../lib/libMaterialXCore.so [ 12%] Built target MaterialXCore [ 13%] Building CXX object source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/File.cpp.o [ 14%] Building CXX object source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/Environ.cpp.o [ 14%] Building CXX object source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/Util.cpp.o /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp: In member function 'MaterialX_v1_39_5::FilePathVec MaterialX_v1_39_5::FilePath::getFilesInDirectory(const std::string&) const': /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:207:24: error: 'struct dirent' has no member named 'd_type' 207 | if (entry->d_type != DT_DIR && (extension.empty() || FilePath(entry->d_name).getExtension() == extension)) | ^~~~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:207:34: error: 'DT_DIR' was not declared in this scope 207 | if (entry->d_type != DT_DIR && (extension.empty() || FilePath(entry->d_name).getExtension() == extension)) | ^~~~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp: In member function 'MaterialX_v1_39_5::FilePathVec MaterialX_v1_39_5::FilePath::getSubDirectories() const': /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:258:34: error: 'struct dirent' has no member named 'd_type' 258 | auto d_type = entry->d_type; | ^~~~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:261:27: error: 'DT_UNKNOWN' was not declared in this scope 261 | if (d_type == DT_UNKNOWN) | ^~~~~~~~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:265:30: error: 'DT_DIR' was not declared in this scope 265 | d_type = DT_DIR; | ^~~~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:268:27: error: 'DT_DIR' was not declared in this scope 268 | if (d_type == DT_DIR) | ^~~~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp: In static member function 'static MaterialX_v1_39_5::FilePath MaterialX_v1_39_5::FilePath::getCurrentPath()': /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:323:22: error: 'PATH_MAX' was not declared in this scope 323 | std::array buf; | ^~~~~~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:323:30: error: template argument 2 is invalid 323 | std::array buf; | ^ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:324:20: error: request for member 'data' in 'buf', which is of non-class type 'int' 324 | if (getcwd(buf.data(), PATH_MAX) == NULL) | ^~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:328:25: error: request for member 'data' in 'buf', which is of non-class type 'int' 328 | return FilePath(buf.data()); | ^~~~ /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp: In static member function 'static MaterialX_v1_39_5::FilePath MaterialX_v1_39_5::FilePath::getModulePath()': /tmp/work/graphics/materialx/work/MaterialX-1.39.5/source/MaterialXFormat/File.cpp:367:22: error: 'PATH_MAX' was not declared in this scope 367 | vector buf(PATH_MAX); | ^~~~~~~~ [ 15%] Building CXX object source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/XmlIo.cpp.o --- source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/File.cpp.o --- *** [source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/File.cpp.o] Error code 1 bmake[2]: stopped making "source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/build" in /tmp/work/graphics/materialx/work/MaterialX-1.39.5/cmake-pkgsrc-build bmake[2]: 1 error bmake[2]: stopped making "source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/build" in /tmp/work/graphics/materialx/work/MaterialX-1.39.5/cmake-pkgsrc-build --- source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/all --- *** [source/MaterialXFormat/CMakeFiles/MaterialXFormat.dir/all] Error code 2 bmake[1]: stopped making "all" in /tmp/work/graphics/materialx/work/MaterialX-1.39.5/cmake-pkgsrc-build bmake[1]: 1 error bmake[1]: stopped making "all" in /tmp/work/graphics/materialx/work/MaterialX-1.39.5/cmake-pkgsrc-build *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/graphics/materialx/work/MaterialX-1.39.5/cmake-pkgsrc-build bmake: 1 error bmake: stopped making "all" in /tmp/work/graphics/materialx/work/MaterialX-1.39.5/cmake-pkgsrc-build *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/materialx *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/materialx