I got a message that pkgsrc CI showed that proj 9.7.0 failed on NetBSD 9 i386. I was expecting an i386 issue (vs x86_64), but it was a warning that is not known by gcc7.
g++: error: unrecognized command line option '-Wdeprecated-copy-dtor'; did you mean '-Wduplicated-cond'? https://releng.netbsd.org/pkgreports/shadow/HEAD/NetBSD-9.0-i386/20250922.1125/proj-9.7.0/build.log I can't figure out which version of gcc has this. But proj builds on NetBSD 10, which has gcc 10. This patch works around it in pkgsrc, obviously not suitable for proj itself. --- CMakeLists.txt.orig 2025-09-23 22:12:59.828352847 +0000 +++ CMakeLists.txt @@ -72,7 +72,6 @@ if("${CMAKE_C_COMPILER_ID}" STREQUAL "GN # -Wold-style-cast -Woverloaded-virtual -Wzero-as-null-pointer-constant - -Wdeprecated-copy-dtor ) elseif("${CMAKE_C_COMPILER_ID}" MATCHES "Clang") set(PROJ_common_WARN_FLAGS ${PROJ_common_WARN_FLAGS} With that, tests passed except for "builtins" which says Reading file '/tmp/work/geography/proj/work/proj-9.7.0/test/gie/builtins.gie' ----- FAILURE in builtins.gie(5005): expected: 9742698.935838246718 4443057.188599349000 got: 9742704.587892338634 4443057.289049109444 deviation: 5652.946631 mm, expected: 1.000000 mm ----- FAILURE in builtins.gie(5021): expected: 10363494.047136424109 -4443057.188599349000 got: 10363499.699190337211 -4443057.088148688897 deviation: 5652.946468 mm, expected: 1.000000 mm and I realize that's not super helpful and I'll see about other gcc/cpu/etc. Yes, I just barely realize I should update to 9.7.1, which came out during our quarterly freeze. _______________________________________________ PROJ mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/proj
