On NetBSD 10 aarch64:

1) proj downloaded GTest from github and built it.  It didn't on amd64,
but that's because googletest-1.17.0 was installed.  If a dependency is
required and not present, it should just error out.  It's never ok to
download and run code as part of a build (at least without the user
explicitly setting some -DDOWNLOAD_AND_COMPILE_GTEST=ON).

Are people really compiling proj from source in an environment where
having dependencies install is hard?

pkgsrc has
  -DRUN_NETWORK_DEPENDENT_TESTS=OFF
which is for a different purpose but seems to stop gtest download.  (An
attempt would mostly likely have been flagged as a security issue by the
build servers.)

I see that building tests defaults to on, and that this would be skipped
without tests.  That's fine, but if tests are to be built and prereqs
are missing, then I think the build should just fail, the same as if
sqlite3 were missing etc.

2) All tests passed.  Even the one that fails on NetBSD 10 amd64.

I updated to today's master and the same failure happens on NetBSD 10
amd64.  Does anyone think this might be very sensitive to floating point
arithmetic, failing if 80-bit floats are used instead of exactly IEEE754
doubles?  Probably that isn't it; AIUI amd64 builds typically use vector
instructions that are only IEEE754 sized.

I'll be trying other CPU types.
_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

Reply via email to