[PROJ] failing tests
Even Rouault
even.rouault at spatialys.com
Tue Jan 21 15:08:18 PST 2025
Javier,
the latest builds in master exhibit that too.
Last known good build:
https://github.com/OSGeo/PROJ/actions/runs/12826500139/job/35766533105:
clang -I/tmp/proj_static_install_from_dist/include
-I/Users/runner/micromamba/envs/proj/include
-I/Users/runner/micromamba/envs/proj/include/webp
-I/Users/runner/micromamba/envs/proj/include -Werror
-Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs
-Wl,-rpath,/Users/runner/micromamba/envs/proj/lib
-L/Users/runner/micromamba/envs/proj/lib -o c_app c_app-c_app.o
-L/tmp/proj_static_install_from_dist/lib
-L/Users/runner/micromamba/envs/proj/lib -lproj -lc++ -lm -ldl -lsqlite3
-lz -ltiff -lwebp -lzstd -llzma -lLerc -ljpeg -ldeflate -lz -lwebp
-lsharpyuv -llzma -pthread -lpthread -lLerc -ljpeg -ldeflate -lcurl
-framework CoreFoundation -framework CoreServices -framework Security
-framework CoreFoundation -framework CoreServices -framework
SystemConfiguration -lnghttp2 -lssh2 -lssl -lcrypto -lssl -lcrypto
-lgssapi_krb5 -lresolv -lzstd -lz -lzstd -lssl -lssh2 -lcrypto -lz
-lcrypto -lz -lnghttp2
First KO:
https://github.com/OSGeo/PROJ/actions/runs/12844774258/job/35818143240
So apparently @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_ICU@ is supposed to
expand to -lz. I assume those missing LDFLAGS beyond to sqlite3.
One interesting finding is that sqlite3 is found from a mono.framework
and not from Conda:
2025-01-17T09:47:21.7877050Z -- Found SQLite3: /Library/Frameworks/Mono.framework/Headers (found version "3.26.0")
But that happens in both OK and KO builds... A workaround could perhaps
be to try force using SQLite3 from Conda ?
Comparing the logs show no obvious differences in runner version,
compilers or third party libraries. So this is totally mysterious. I
guess someone with access to a Mac will probably have to look at that
Even
Le 21/01/2025 à 23:28, Javier Jimenez Shaw via PROJ a écrit :
> Hi
>
> I just updated my fork to master, and there are some failing test in
> macOS in CI
> https://github.com/jjimenezshaw/PROJ/actions/runs/12895569637
>
> Should I worry?
>
> Looks like some CMake vars are not properly set:
>
> clang -I/tmp/proj_static_install_from_dist/include
> -I/Users/runner/micromamba/envs/proj/include
> -I/Users/runner/micromamba/envs/proj/include/webp
> -I/Users/runner/micromamba/envs/proj/include -Werror
> -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs
> -Wl,-rpath,/Users/runner/micromamba/envs/proj/lib
> -L/Users/runner/micromamba/envs/proj/lib -o c_app c_app-c_app.o
> -L/tmp/proj_static_install_from_dist/lib
> -L/Users/runner/micromamba/envs/proj/lib -lproj -lc++ -lm -ldl
> -lsqlite3 @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_ICU@ -ltiff -lwebp
> -lzstd -llzma -lLerc -ljpeg -ldeflate -lz -lwebp -lsharpyuv -llzma
> -pthread -lpthread -lLerc -ljpeg -ldeflate -lcurl -framework
> CoreFoundation -framework CoreServices -framework Security -framework
> CoreFoundation -framework CoreServices -framework SystemConfiguration
> -lnghttp2 -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lresolv
> -lzstd -lz -lzstd -lssl -lssh2 -lcrypto -lz -lcrypto -lz -lnghttp2
> clang: error: no such file or directory: '@LDFLAGS_MATH@'
> clang: error: no such file or directory: '@LDFLAGS_ZLIB@'
> clang: error: no such file or directory: '@LDFLAGS_ICU@'
> make: *** [c_app] Error 1
> Error: Process completed with exit code 2.
>
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
--
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20250122/97b1b7fe/attachment.htm>
More information about the PROJ
mailing list