1 | | Replying to [ticket:71026 RobK88]: |
2 | | > I am unable to upgrade / build `shapelib` on High Sierra -- `fatal error: 'filesystem' file not found` |
3 | | > |
4 | | > |
5 | | > {{{ |
6 | | > |
7 | | > ... |
8 | | > |
9 | | > Building CXX object tests/CMakeFiles/dbf_test.dir/dbf_test.cc.o |
10 | | > cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/build/tests && /usr/bin/clang++ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/shapelib-1.6.1 -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/build/_deps/googletest-src/googletest/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/build/_deps/googletest-src/googletest -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -std=c++17 -arch x86_64 -mmacosx-version-min=10.13 -MD -MT tests/CMakeFiles/dbf_test.dir/dbf_test.cc.o -MF CMakeFiles/dbf_test.dir/dbf_test.cc.o.d -o CMakeFiles/dbf_test.dir/dbf_test.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/shapelib-1.6.1/tests/dbf_test.cc |
11 | | > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/shapelib-1.6.1/tests/sbn_test.cc:3:10: fatal error: 'filesystem' file not found |
12 | | > #include <filesystem> |
13 | | > ^~~~~~~~~~~~ |
14 | | > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/shapelib-1.6.1/tests/dbf_test.cc:4:10: fatal error: 'filesystem' file not found |
15 | | > #include <filesystem> |
16 | | > ^~~~~~~~~~~~ |
17 | | > 1 error generated. |
18 | | > make[2]: *** [tests/CMakeFiles/sbn_test.dir/sbn_test.cc.o] Error 1 |
19 | | > make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/build' |
20 | | > make[1]: *** [tests/CMakeFiles/sbn_test.dir/all] Error 2 |
21 | | > make[1]: *** Waiting for unfinished jobs.... |
22 | | > 1 error generated. |
23 | | > make[2]: *** [tests/CMakeFiles/dbf_test.dir/dbf_test.cc.o] Error 1 |
24 | | > make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/build' |
25 | | > make[1]: *** [tests/CMakeFiles/dbf_test.dir/all] Error 2 |
26 | | > make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/build' |
27 | | > make: *** [all] Error 2 |
28 | | > make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/build' |
29 | | > Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/work/build" && /usr/bin/make -j2 -w all VERBOSE=ON |
30 | | > Exit code: 2 |
31 | | > Error: Failed to build shapelib: command execution failed |
32 | | > Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_shapelib/shapelib/main.log for details. |
33 | | > Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. |
34 | | > }}} |