[QGIS-Developer] Trouble compiling QGIS
Andreas Neumann
a.neumann at carto.net
Sat Sep 4 00:18:13 PDT 2021
Hi,
QGIS builds fine again - thanks to your hints and help from ldd /
valgrind.
Turned out to be a self-compile pdal (I know, more self-compiled stuff)
that linked to an old geotiff which linked to an old proj. Replacing the
old geotiff with as self-compile geotiff library fixed the issue.
I also wondered whether pdal could be compiled against the libgeotiff
inside gdal - would that be possible? In that case I wouldn't have to
install the separate libgeotiff.
Anyway - QGIS compiles and runs fine again.
Thanks for your help!
Andreas
On 2021-09-03 16:51, Even Rouault wrote:
> The Valgrind output is actually interesting:
>
> see
>
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
>
> [...]
>
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
>
> So you're linking to 2 PROJ versions. That would have been my first
> bet, but you didn't mention a custom PROJ version :-)
>
> So the custom GDAL links to the custom PROJ. You'll have now to check
> which of QGIS and/or Spatialite links to the system PROJ instead of the
> custom one.
>
> Le 03/09/2021 à 16:30, Andreas Neumann a écrit :
>
> Hi Even,
>
> Thank you for your reply.
>
> I checked with the ldd about gdal/geos/proj - and they all seem to link
> to the self-compiled versions in /usr/local/lib
>
> gdal:
>
> xxx at t480:~/dev/QGIS/build$ ldd /usr/local/lib/libgdal.so.29
> linux-vdso.so.1 (0x00007fffb930d000)
> libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1
> (0x00007f2509600000)
> libjson-c.so.4 => /lib/x86_64-linux-gnu/libjson-c.so.4
> (0x00007f25095ee000)
> libfreexl.so.1 => /lib/x86_64-linux-gnu/libfreexl.so.1
> (0x00007f25095e3000)
> libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1 (0x00007f25095a5000)
> libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1
> (0x00007f2509577000)
> libxerces-c-3.2.so => /lib/x86_64-linux-gnu/libxerces-c-3.2.so
> (0x00007f25091e4000)
> libpq.so.5 => /usr/local/pgsql/lib/libpq.so.5 (0x00007f2509193000)
> libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f25090ea000)
> libproj.so.22 => /usr/local/lib/libproj.so.22 (0x00007f2508d40000)
> libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0
> (0x00007f2508c17000)
> libjpeg.so.8 => /lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f2508b92000)
> libdeflate.so.0 => /lib/x86_64-linux-gnu/libdeflate.so.0
> (0x00007f2508b74000)
> libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2508b56000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f2508b33000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2508b2d000)
> libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f2508aba000)
> libcurl.so.4 => /lib/x86_64-linux-gnu/libcurl.so.4 (0x00007f2508a29000)
> libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f250886f000)
> libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f250868b000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f250853c000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f250834a000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f250afe7000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> (0x00007f250832f000)
> libgeos-3.9.1.so => /usr/local/lib/libgeos-3.9.1.so
> (0x00007f250811b000)
> libcurl-gnutls.so.4 => /lib/x86_64-linux-gnu/libcurl-gnutls.so.4
> (0x00007f250808c000)
> libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66
> (0x00007f2507ea4000)
> libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1
> (0x00007f2507e11000)
> libtiff.so.5 => /lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f2507d90000)
> libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14
> (0x00007f2507d67000)
> libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f2507d46000)
> librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f2507d24000)
> libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x00007f2507cb6000)
> libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f2507ca3000)
> libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2
> (0x00007f2507c56000)
> libldap_r-2.4.so.2 => /lib/x86_64-linux-gnu/libldap_r-2.4.so.2
> (0x00007f2507c00000)
> liblber-2.4.so.2 => /lib/x86_64-linux-gnu/liblber-2.4.so.2
> (0x00007f2507bef000)
> libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1
> (0x00007f2507bdf000)
> liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2507bb6000)
> libnettle.so.7 => /lib/x86_64-linux-gnu/libnettle.so.7
> (0x00007f2507b7c000)
> libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30
> (0x00007f25079a6000)
> libicudata.so.66 => /lib/x86_64-linux-gnu/libicudata.so.66
> (0x00007f2505ee5000)
> libwebp.so.6 => /lib/x86_64-linux-gnu/libwebp.so.6 (0x00007f2505e79000)
> libjbig.so.0 => /lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f2505c6b000)
> libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2
> (0x00007f2505ae9000)
> libhogweed.so.5 => /lib/x86_64-linux-gnu/libhogweed.so.5
> (0x00007f2505ab2000)
> libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f2505a2e000)
> libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f250594f000)
> libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3
> (0x00007f250591e000)
> libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2
> (0x00007f2505917000)
> libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0
> (0x00007f2505908000)
> libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
> (0x00007f25058ec000)
> libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2
> (0x00007f25058cf000)
> libgssapi.so.3 => /lib/x86_64-linux-gnu/libgssapi.so.3
> (0x00007f2505888000)
> libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1
> (0x00007f2505865000)
> libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0
> (0x00007f250572f000)
> libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6
> (0x00007f2505719000)
> libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1
> (0x00007f2505712000)
> libheimntlm.so.0 => /lib/x86_64-linux-gnu/libheimntlm.so.0
> (0x00007f2505704000)
> libkrb5.so.26 => /lib/x86_64-linux-gnu/libkrb5.so.26
> (0x00007f2505671000)
> libasn1.so.8 => /lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f25055ca000)
> libhcrypto.so.4 => /lib/x86_64-linux-gnu/libhcrypto.so.4
> (0x00007f2505592000)
> libroken.so.18 => /lib/x86_64-linux-gnu/libroken.so.18
> (0x00007f2505579000)
> libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f250556d000)
> libwind.so.0 => /lib/x86_64-linux-gnu/libwind.so.0 (0x00007f2505541000)
> libheimbase.so.1 => /lib/x86_64-linux-gnu/libheimbase.so.1
> (0x00007f250552f000)
> libhx509.so.5 => /lib/x86_64-linux-gnu/libhx509.so.5
> (0x00007f25054e1000)
> libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
> (0x00007f25054a6000)
>
> geos:
>
> xxx at t480:~/dev/QGIS/build$ ldd /usr/local/lib/libgeos-3.9.1.so
> linux-vdso.so.1 (0x00007fff313c5000)
> libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007fbbea26f000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbbea120000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbbe9f2e000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> (0x00007fbbe9f13000)
> /lib64/ld-linux-x86-64.so.2 (0x00007fbbea688000)
>
> proj:
>
> xxx at t480:~/dev/QGIS/build$ ldd /usr/local/lib/libproj.so.22
> linux-vdso.so.1 (0x00007ffd8a9e9000)
> libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0
> (0x00007f91d7530000)
> libtiff.so.5 => /lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f91d74af000)
> libcurl.so.4 => /lib/x86_64-linux-gnu/libcurl.so.4 (0x00007f91d741e000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f91d73fb000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f91d73f5000)
> libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f91d7213000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f91d70c2000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f91d6ed0000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> (0x00007f91d6eb5000)
> libwebp.so.6 => /lib/x86_64-linux-gnu/libwebp.so.6 (0x00007f91d6e4b000)
> libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f91d6da2000)
> liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f91d6d79000)
> libjbig.so.0 => /lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f91d6b69000)
> libjpeg.so.8 => /lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f91d6ae4000)
> libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f91d6ac8000)
> libnghttp2.so.14 => /lib/x86_64-linux-gnu/libnghttp2.so.14
> (0x00007f91d6a9f000)
> libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f91d6a7e000)
> librtmp.so.1 => /lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f91d6a5e000)
> libssh.so.4 => /lib/x86_64-linux-gnu/libssh.so.4 (0x00007f91d69ee000)
> libpsl.so.5 => /lib/x86_64-linux-gnu/libpsl.so.5 (0x00007f91d69db000)
> libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1
> (0x00007f91d6948000)
> libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1
> (0x00007f91d6672000)
> libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2
> (0x00007f91d6625000)
> libldap_r-2.4.so.2 => /lib/x86_64-linux-gnu/libldap_r-2.4.so.2
> (0x00007f91d65cf000)
> liblber-2.4.so.2 => /lib/x86_64-linux-gnu/liblber-2.4.so.2
> (0x00007f91d65bc000)
> libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1
> (0x00007f91d65ae000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f91d7a26000)
> libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2
> (0x00007f91d642c000)
> libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30
> (0x00007f91d6256000)
> libhogweed.so.5 => /lib/x86_64-linux-gnu/libhogweed.so.5
> (0x00007f91d621f000)
> libnettle.so.7 => /lib/x86_64-linux-gnu/libnettle.so.7
> (0x00007f91d61e3000)
> libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f91d615f000)
> libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f91d6082000)
> libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3
> (0x00007f91d6051000)
> libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2
> (0x00007f91d604a000)
> libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0
> (0x00007f91d6039000)
> libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2
> (0x00007f91d601d000)
> libsasl2.so.2 => /lib/x86_64-linux-gnu/libsasl2.so.2
> (0x00007f91d6000000)
> libgssapi.so.3 => /lib/x86_64-linux-gnu/libgssapi.so.3
> (0x00007f91d5fbb000)
> libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1
> (0x00007f91d5f98000)
> libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0
> (0x00007f91d5e62000)
> libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6
> (0x00007f91d5e4a000)
> libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1
> (0x00007f91d5e43000)
> libheimntlm.so.0 => /lib/x86_64-linux-gnu/libheimntlm.so.0
> (0x00007f91d5e37000)
> libkrb5.so.26 => /lib/x86_64-linux-gnu/libkrb5.so.26
> (0x00007f91d5da4000)
> libasn1.so.8 => /lib/x86_64-linux-gnu/libasn1.so.8 (0x00007f91d5cfd000)
> libhcrypto.so.4 => /lib/x86_64-linux-gnu/libhcrypto.so.4
> (0x00007f91d5cc3000)
> libroken.so.18 => /lib/x86_64-linux-gnu/libroken.so.18
> (0x00007f91d5caa000)
> libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f91d5c9e000)
> libwind.so.0 => /lib/x86_64-linux-gnu/libwind.so.0 (0x00007f91d5c74000)
> libheimbase.so.1 => /lib/x86_64-linux-gnu/libheimbase.so.1
> (0x00007f91d5c62000)
> libhx509.so.5 => /lib/x86_64-linux-gnu/libhx509.so.5
> (0x00007f91d5c12000)
> libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
> (0x00007f91d5bd7000)
>
> -------------------
>
> Here is the valgrind output from crssync - do you see anything
> suspicious in here? proj is being mentioned - so maybe an issue with
> proj?
>
> xxx at t480:~/dev/QGIS/build$ valgrind output/bin/crssync
> ==49441== Memcheck, a memory error detector
> ==49441== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et
> al.
> ==49441== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright
> info
> ==49441== Command: output/bin/crssync
> ==49441==
> ==49441== Invalid free() / delete / delete[] / realloc()
> ==49441== at 0x483CFBF: operator delete(void*) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x1637ff40 is 0 bytes inside a block of size 17
> free'd
> ==49441== at 0x483CFBF: operator delete(void*) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C3BAAF: _M_construct<char const*>
> (basic_string.tcc:219)
> ==49441== by 0x9C3BAAF: _M_construct_aux<char const*>
> (basic_string.h:247)
> ==49441== by 0x9C3BAAF: _M_construct<char const*>
> (basic_string.h:266)
> ==49441== by 0x9C3BAAF: std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> >::basic_string(char
> const*, std::allocator<char> const&) [clone .isra.0]
> (basic_string.h:527)
> ==49441== by 0x9C3ECF5:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:666)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 4
> ==49441== at 0x150198C4: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x1637f898 is 8 bytes inside a block of size 24
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C5DB98:
> __shared_count<osgeo::proj::crs::GeographicCRS*>
> (shared_ptr_base.h:625)
> ==49441== by 0x9C5DB98:
> __shared_count<osgeo::proj::crs::GeographicCRS*>
> (shared_ptr_base.h:636)
> ==49441== by 0x9C5DB98:
> __shared_ptr<osgeo::proj::crs::GeographicCRS> (shared_ptr_base.h:1125)
> ==49441== by 0x9C5DB98: shared_ptr<osgeo::proj::crs::GeographicCRS>
> (shared_ptr.h:139)
> ==49441== by 0x9C5DB98:
> nn_make_shared<osgeo::proj::crs::GeographicCRS, const
> std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>&, const
> std::shared_ptr<osgeo::proj::datum::DatumEnsemble>&, const
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::Ellipsoida
> lCS> >&> (crs.hpp:436)
> ==49441== by 0x9C5DB98:
> osgeo::proj::crs::GeographicCRS::create(osgeo::proj::util::PropertyMap
> const&, std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>
> const&, std::shared_ptr<osgeo::proj::datum::DatumEnsemble> const&,
> dropbox::oxygen::nn<std::shared_ptr<os
> geo::proj::cs::EllipsoidalCS> > const&) (crs.cpp:2558)
> ==49441== by 0x9C5DDEA:
> osgeo::proj::crs::GeographicCRS::create(osgeo::proj::util::PropertyMap
> const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>
> > const&, dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::EllipsoidalCS> > const
> &) (crs.cpp:2533)
> ==49441== by 0x9C5E3B8:
> osgeo::proj::crs::GeographicCRS::createEPSG_4979() (crs.cpp:2714)
> ==49441== by 0x9C3ECC9:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:657)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 4
> ==49441== at 0x15019A44: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x16368108 is 8 bytes inside a block of size 24
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C5D7E8:
> __shared_count<osgeo::proj::crs::GeodeticCRS*> (shared_ptr_base.h:625)
> ==49441== by 0x9C5D7E8:
> __shared_count<osgeo::proj::crs::GeodeticCRS*> (shared_ptr_base.h:636)
> ==49441== by 0x9C5D7E8: __shared_ptr<osgeo::proj::crs::GeodeticCRS>
> (shared_ptr_base.h:1125)
> ==49441== by 0x9C5D7E8: shared_ptr<osgeo::proj::crs::GeodeticCRS>
> (shared_ptr.h:139)
> ==49441== by 0x9C5D7E8:
> nn_make_shared<osgeo::proj::crs::GeodeticCRS, const
> std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>&, const
> std::shared_ptr<osgeo::proj::datum::DatumEnsemble>&, const
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::CartesianCS>
>> &> (crs.hpp:348)
> ==49441== by 0x9C5D7E8:
> osgeo::proj::crs::GeodeticCRS::create(osgeo::proj::util::PropertyMap
> const&, std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>
> const&, std::shared_ptr<osgeo::proj::datum::DatumEnsemble> const&,
> dropbox::oxygen::nn<std::shared_ptr<osge
> o::proj::cs::CartesianCS> > const&) (crs.cpp:1641)
> ==49441== by 0x9C5D97A:
> osgeo::proj::crs::GeodeticCRS::create(osgeo::proj::util::PropertyMap
> const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>
> > const&, dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::cs::CartesianCS> > const&) (
> crs.cpp:1618)
> ==49441== by 0x9C5DA81:
> osgeo::proj::crs::GeodeticCRS::createEPSG_4978() (crs.cpp:2064)
> ==49441== by 0x9C3EBEB:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:631)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 4
> ==49441== at 0x15019984: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x16364038 is 8 bytes inside a block of size 24
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C85B55:
> __shared_count<osgeo::proj::datum::GeodeticReferenceFrame*>
> (shared_ptr_base.h:625)
> ==49441== by 0x9C85B55:
> __shared_count<osgeo::proj::datum::GeodeticReferenceFrame*>
> (shared_ptr_base.h:636)
> ==49441== by 0x9C85B55:
> __shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>
> (shared_ptr_base.h:1125)
> ==49441== by 0x9C85B55:
> shared_ptr<osgeo::proj::datum::GeodeticReferenceFrame>
> (shared_ptr.h:139)
> ==49441== by 0x9C85B55:
> nn_make_shared<osgeo::proj::datum::GeodeticReferenceFrame, const
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::Ellipsoid> >&,
> const
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::PrimeMeridian>
> >&> (datum.hpp:446)
> ==49441== by 0x9C85B55:
> osgeo::proj::datum::GeodeticReferenceFrame::create(osgeo::proj::util::PropertyMap
> const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::Ellipsoid> >
> const&, osgeo::proj::util::optional<std::__cxx11::basic_string<char,
> std::char_traits
> <char>, std::allocator<char> > > const&,
> dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::datum::PrimeMeridian>
> > const&) (datum.cpp:1184)
> ==49441== by 0x9C85DF2:
> osgeo::proj::datum::GeodeticReferenceFrame::createEPSG_6326()
> (datum.cpp:1211)
> ==49441== by 0x9C3EB9E:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:619)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 4
> ==49441== at 0x15019744: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x1635fe98 is 8 bytes inside a block of size 24
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C8C6E2:
> __shared_count<osgeo::proj::datum::Ellipsoid*> (shared_ptr_base.h:625)
> ==49441== by 0x9C8C6E2:
> __shared_count<osgeo::proj::datum::Ellipsoid*> (shared_ptr_base.h:636)
> ==49441== by 0x9C8C6E2: __shared_ptr<osgeo::proj::datum::Ellipsoid>
> (shared_ptr_base.h:1125)
> ==49441== by 0x9C8C6E2: shared_ptr<osgeo::proj::datum::Ellipsoid>
> (shared_ptr.h:139)
> ==49441== by 0x9C8C6E2:
> nn_make_shared<osgeo::proj::datum::Ellipsoid, const
> osgeo::proj::common::Length&, const osgeo::proj::common::Scale&, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&> (datum.hpp:365)
> ==49441== by 0x9C8C6E2:
> osgeo::proj::datum::Ellipsoid::createFlattenedSphere(osgeo::proj::util::PropertyMap
> const&, osgeo::proj::common::Length const&, osgeo::proj::common::Scale
> const&, std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > c
> onst&) (datum.cpp:744)
> ==49441== by 0x9C8CBCC:
> osgeo::proj::datum::Ellipsoid::createGRS1980() (datum.cpp:791)
> ==49441== by 0x9C3EB2F:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:606)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 4
> ==49441== at 0x15019684: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x1635a4f8 is 8 bytes inside a block of size 24
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C8AEF9:
> __shared_count<osgeo::proj::datum::PrimeMeridian*>
> (shared_ptr_base.h:625)
> ==49441== by 0x9C8AEF9:
> __shared_count<osgeo::proj::datum::PrimeMeridian*>
> (shared_ptr_base.h:636)
> ==49441== by 0x9C8AEF9:
> __shared_ptr<osgeo::proj::datum::PrimeMeridian>
> (shared_ptr_base.h:1125)
> ==49441== by 0x9C8AEF9:
> shared_ptr<osgeo::proj::datum::PrimeMeridian> (shared_ptr.h:139)
> ==49441== by 0x9C8AEF9:
> nn_make_shared<osgeo::proj::datum::PrimeMeridian, const
> osgeo::proj::common::Angle&> (datum.hpp:237)
> ==49441== by 0x9C8AEF9:
> osgeo::proj::datum::PrimeMeridian::create(osgeo::proj::util::PropertyMap
> const&, osgeo::proj::common::Angle const&) (datum.cpp:316)
> ==49441== by 0x9C8B132:
> osgeo::proj::datum::PrimeMeridian::createPARIS() (datum.cpp:339)
> ==49441== by 0x9C3EA98:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:592)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 8
> ==49441== at 0x15023BE5:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x16354590 is 80 bytes inside a block of size 112
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4A69C: operator() (unique_ptr.h:81)
> ==49441== by 0x9C4A69C: ~unique_ptr (unique_ptr.h:292)
> ==49441== by 0x9C4A69C:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4E144:
> make_unique<osgeo::proj::common::UnitOfMeasure::Private, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&, double&,
> osgeo::proj::common::UnitOfMeasure::Type&, const
> std::__cxx11::basic_string<char, std::cha
> r_traits<char>, std::allocator<char> >&, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&> (internal.hpp:100)
> ==49441== by 0x9C4E144:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95)
> ==49441== by 0x9C3D8E1:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:381)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 8
> ==49441== at 0x15023BF9:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x16354570 is 48 bytes inside a block of size 112
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4A69C: operator() (unique_ptr.h:81)
> ==49441== by 0x9C4A69C: ~unique_ptr (unique_ptr.h:292)
> ==49441== by 0x9C4A69C:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4E144:
> make_unique<osgeo::proj::common::UnitOfMeasure::Private, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&, double&,
> osgeo::proj::common::UnitOfMeasure::Type&, const
> std::__cxx11::basic_string<char, std::cha
> r_traits<char>, std::allocator<char> >&, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&> (internal.hpp:100)
> ==49441== by 0x9C4E144:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95)
> ==49441== by 0x9C3D8E1:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:381)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 8
> ==49441== at 0x15023C0D:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x16354540 is 0 bytes inside a block of size 112
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4A69C: operator() (unique_ptr.h:81)
> ==49441== by 0x9C4A69C: ~unique_ptr (unique_ptr.h:292)
> ==49441== by 0x9C4A69C:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4E144:
> make_unique<osgeo::proj::common::UnitOfMeasure::Private, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&, double&,
> osgeo::proj::common::UnitOfMeasure::Type&, const
> std::__cxx11::basic_string<char, std::cha
> r_traits<char>, std::allocator<char> >&, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&> (internal.hpp:100)
> ==49441== by 0x9C4E144:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95)
> ==49441== by 0x9C3D8E1:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:381)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid free() / delete / delete[] / realloc()
> ==49441== at 0x483CFBF: operator delete(void*) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x15023C1F:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x163545f0 is 0 bytes inside a block of size 27
> free'd
> ==49441== at 0x483CFBF: operator delete(void*) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4A68F: deallocate (new_allocator.h:128)
> ==49441== by 0x9C4A68F: deallocate (alloc_traits.h:470)
> ==49441== by 0x9C4A68F: _M_destroy (basic_string.h:237)
> ==49441== by 0x9C4A68F: _M_dispose (basic_string.h:232)
> ==49441== by 0x9C4A68F: ~basic_string (basic_string.h:658)
> ==49441== by 0x9C4A68F: ~Private (common.cpp:72)
> ==49441== by 0x9C4A68F: operator() (unique_ptr.h:81)
> ==49441== by 0x9C4A68F: ~unique_ptr (unique_ptr.h:292)
> ==49441== by 0x9C4A68F:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x586DDCA: void std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char>
> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag) (in /home/bjsvwneu/dev/QGIS/build/output/lib/libqgis_core.so.3.21.0)
> ==49441== by 0x9C4E163: _M_construct_aux<char*> (basic_string.h:247)
> ==49441== by 0x9C4E163: _M_construct<char*> (basic_string.h:266)
> ==49441== by 0x9C4E163: basic_string (basic_string.h:451)
> ==49441== by 0x9C4E163: Private (common.cpp:83)
> ==49441== by 0x9C4E163:
> make_unique<osgeo::proj::common::UnitOfMeasure::Private, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&, double&,
> osgeo::proj::common::UnitOfMeasure::Type&, const
> std::__cxx11::basic_string<char, std::cha
> r_traits<char>, std::allocator<char> >&, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&> (internal.hpp:100)
> ==49441== by 0x9C4E163:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95)
> ==49441== by 0x9C3D8E1:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:381)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid free() / delete / delete[] / realloc()
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x15023C2C:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x16354540 is 0 bytes inside a block of size 112
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4A69C: operator() (unique_ptr.h:81)
> ==49441== by 0x9C4A69C: ~unique_ptr (unique_ptr.h:292)
> ==49441== by 0x9C4A69C:
> osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (common.hpp:60)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C4E144:
> make_unique<osgeo::proj::common::UnitOfMeasure::Private, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&, double&,
> osgeo::proj::common::UnitOfMeasure::Type&, const
> std::__cxx11::basic_string<char, std::cha
> r_traits<char>, std::allocator<char> >&, const
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >&> (internal.hpp:100)
> ==49441== by 0x9C4E144:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95)
> ==49441== by 0x9C3D8E1:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:381)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 8
> ==49441== at 0x15019EEC:
> osgeo::proj::util::BaseObject::~BaseObject() (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x163544f8 is 8 bytes inside a block of size 16
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C40A4F:
> make_unique<osgeo::proj::util::BaseObject::Private> (internal.hpp:100)
> ==49441== by 0x9C40A4F: osgeo::proj::util::BaseObject::BaseObject()
> (util.cpp:70)
> ==49441== by 0x9C4E12B:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95)
> ==49441== by 0x9C3D8E1:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:381)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid free() / delete / delete[] / realloc()
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x163544f0 is 0 bytes inside a block of size 16
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C40A4F:
> make_unique<osgeo::proj::util::BaseObject::Private> (internal.hpp:100)
> ==49441== by 0x9C40A4F: osgeo::proj::util::BaseObject::BaseObject()
> (util.cpp:70)
> ==49441== by 0x9C4E12B:
> osgeo::proj::common::UnitOfMeasure::UnitOfMeasure(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, double,
> osgeo::proj::common::UnitOfMeasure::Type,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) (common.cpp:95)
> ==49441== by 0x9C3D8E1:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:381)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441== Invalid read of size 4
> ==49441== at 0x15019804: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x150193E6: ??? (in
> /usr/lib/x86_64-linux-gnu/libproj.so.15.3.1)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Address 0x1634fdd8 is 8 bytes inside a block of size 24
> free'd
> ==49441== at 0x483D1CF: operator delete(void*, unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x955015D: __cxa_finalize (cxa_finalize.c:83)
> ==49441== by 0x9C3FDC6: ??? (in /usr/local/lib/libproj.so.22.1.0)
> ==49441== by 0x4011F5A: _dl_fini (dl-fini.c:138)
> ==49441== by 0x954FA26: __run_exit_handlers (exit.c:108)
> ==49441== by 0x954FBDF: exit (exit.c:139)
> ==49441== by 0x952D0B9: (below main) (libc-start.c:342)
> ==49441== Block was alloc'd at
> ==49441== at 0x483BE63: operator new(unsigned long) (in
> /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==49441== by 0x9C473C1:
> __shared_count<osgeo::proj::metadata::Extent*> (shared_ptr_base.h:625)
> ==49441== by 0x9C473C1:
> __shared_count<osgeo::proj::metadata::Extent*> (shared_ptr_base.h:636)
> ==49441== by 0x9C473C1: __shared_ptr<osgeo::proj::metadata::Extent>
> (shared_ptr_base.h:1125)
> ==49441== by 0x9C473C1: shared_ptr<osgeo::proj::metadata::Extent>
> (shared_ptr.h:139)
> ==49441== by 0x9C473C1:
> nn_make_shared<osgeo::proj::metadata::Extent> (metadata.hpp:347)
> ==49441== by 0x9C473C1:
> osgeo::proj::metadata::Extent::create(osgeo::proj::util::optional<std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > const&,
> std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::GeographicExtent>
>> ,
>> std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::GeographicExtent>
>> > > > const&, std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::VerticalExtent> >, std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadat
> a::VerticalExtent> > > > const&,
> std::vector<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::TemporalExtent>
> >, std::allocator<dropbox::oxygen::nn<std::shared_ptr<osgeo::proj::metadata::TemporalExtent> > > > const&) (metadata.cpp:703)
> ==49441== by 0x9C475F4:
> osgeo::proj::metadata::Extent::createFromBBOX(double, double, double,
> double, osgeo::proj::util::optional<std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > > const&)
> (metadata.cpp:735)
> ==49441== by 0x9C3BE29:
> __static_initialization_and_destruction_0(int, int) [clone
> .constprop.0] (static.cpp:179)
> ==49441== by 0x4011B89: call_init.part.0 (dl-init.c:72)
> ==49441== by 0x4011C90: call_init (dl-init.c:30)
> ==49441== by 0x4011C90: _dl_init (dl-init.c:119)
> ==49441== by 0x4001139: ??? (in
> /usr/lib/x86_64-linux-gnu/ld-2.31.so)
> ==49441==
> ==49441==
> ==49441== HEAP SUMMARY:
> ==49441== in use at exit: 165,141 bytes in 2,467 blocks
> ==49441== total heap usage: 910,752 allocs, 908,320 frees, 75,332,685
> bytes allocated
> ==49441==
> ==49441== LEAK SUMMARY:
> ==49441== definitely lost: 2,583 bytes in 41 blocks
> ==49441== indirectly lost: 39,830 bytes in 735 blocks
> ==49441== possibly lost: 1,352 bytes in 18 blocks
> ==49441== still reachable: 121,376 bytes in 1,673 blocks
> ==49441== of which reachable via heuristic:
> ==49441== newarray : 1,536 bytes in
> 16 blocks
> ==49441== suppressed: 0 bytes in 0 blocks
> ==49441== Rerun with --leak-check=full to see details of leaked memory
> ==49441==
> ==49441== For lists of detected and suppressed errors, rerun with: -s
> ==49441== ERROR SUMMARY: 142 errors from 14 contexts (suppressed: 0
> from 0)
>
> Thanks a lot,
>
> Andreas
>
> On 2021-09-03 15:42, Even Rouault wrote:
>
> Andreas
>
> Several things to check:
>
> - Is your GDAL build a clean one ? That is is it from a fresh build
> directory, or are you rebuilding in a directory where a previous build
> was done. If the later, make sure to "make clean" before rebuilding
>
> - Is your GDAL build using your custom GEOS one ? Otherwise QGIS might
> link directly to the custom one and indirectly to the system one
> through GDAL. Check the output of "ldd output/bin/qgis | grep geos"
>
> - try "valgrind output/bin/crssync". Emitted stack traces can give
> interesting hints
>
> Even
>
> Le 03/09/2021 à 15:30, Andreas Neumann a écrit :
>
> Hi,
>
> I have troubles compiling QGIS on my Linux Ubuntu 20.04 machine.
>
> I use a self-compiled GEOS and GDAL.
>
> The build always hangs at "crssync" - here is the ninja build output I
> get. Do you have any idea what might be wrong or what I could do in
> order to fix this problem?
>
> Thank you for your hints,
>
> Andreas
>
> ------------------------
>
> [0/1] Re-running CMake...
> -- QGIS version: 3.21.0 Master (32100)
> -- Found OpenCL C++ headers: /usr/include
> -- ccache found
> -- Found Proj: /usr/local/lib/libproj.so version 8 (8.1.0)
> -- Found GEOS: /usr/local/lib/libgeos_c.so (3.9.1)
> -- Found GDAL: /usr/local/lib/libgdal.so (3.3.1)
> -- Found Expat: /usr/lib/x86_64-linux-gnu/libexpat.so
> -- Found Spatialindex: /usr/lib/x86_64-linux-gnu/libspatialindex.so
> -- Found Qwt: /usr/lib/libqwt-qt5.so (6.1.4)
> -- Found libzip: /usr/lib/x86_64-linux-gnu/libzip.so
> -- Found Sqlite3: /usr/lib/x86_64-linux-gnu/libsqlite3.so
> -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-pthread
> -- Found zlib: /usr/lib/x86_64-linux-gnu/libz.so
> -- Found exiv2: /usr/lib/x86_64-linux-gnu/libexiv2.so
> -- Found PostgreSQL: /usr/local/pgsql/lib/libpq.so
> -- Found SpatiaLite: /usr/local/lib/libspatialite.so
> -- Qt WebKit support enabled
> -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
> -- Found laz-perf: /usr/local/include
> -- Found PDAL:
> /usr/local/lib/libpdalcpp.so;/usr/local/lib/libpdal_util.so (2.0.1)
> -- Found Qt version: 5.12.8
> -- Found QScintilla2: /usr/lib/libqscintilla2_qt5.so (2.11.2)
> -- Found QtKeychain: /usr/lib/x86_64-linux-gnu/libqt5keychain.so
> -- Found QCA: /usr/lib/x86_64-linux-gnu/libqca-qt5.so (2.2.1)
> -- Found QCA OpenSSL plugin
> -- Pedantic compiler settings enabled
> -- Found GSL: -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm
> -- Found Python executable: /usr/bin/python3.8 (version 3.8.10)
> -- Python library: /usr/lib/x86_64-linux-gnu/libpython3.8.so
> -- Python site-packages: /usr/lib/python3/dist-packages
> -- Found PyQt5 version: 5.14.1
> -- Found SIP version: 4.19.21
> -- Found QScintilla2 PyQt module: 2.11.2
> -- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
> (found version "")
> -- Could NOT find NetCDF (missing: NETCDF_LIBRARY NETCDF_INCLUDE_DIR)
> -- Using PROJ >= 6 srs database.
> -- Ctest Binary Directory set to:
> /home/bjsvwneu/dev/QGIS/build/output/bin
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/bjsvwneu/dev/QGIS/build
> [1/6072] Generating qgsversion.h, qgsversion.inc
> Files "/home/bjsvwneu/dev/QGIS/build/qgsversion.h.temp" to
> "/home/bjsvwneu/dev/QGIS/build/qgsversion.h" are different.
> [3/6072] Generating qgsexpression_texts.cpp
> Files
> "/home/bjsvwneu/dev/QGIS/build/src/core/qgsexpression_texts.cpp.temp"
> to "/home/bjsvwneu/dev/QGIS/build/src/core/qgsexpression_texts.cpp" are
> different.
> [2905/6072] Generating gui/sip_guipart0.cpp, gui/sip_guipart1.cpp,
> gui/sip_guipart2.cpp, gui/sip_guipart3.cpp, gui/sip_guipart4.cpp,
> g...i/sip_guipart10.cpp, gui/sip_guipart11.cpp, gui/sip_guipart12.cpp,
> gui/sip_guipart13.cpp, gui/sip_guipart14.cpp, gui/sip_guipart15.cpp
>
> [4061/6072] Building CXX object
> src/providers/mdal/CMakeFiles/provider_mdal.dir/__/__/__/external/mdal/mdal_utils.cpp.o
> ../external/mdal/mdal_utils.cpp: In function 'int MDAL::toInt(size_t)':
> ../external/mdal/mdal_utils.cpp:143:14: warning: comparison of integer
> expressions of different signedness: 'const size_t' {aka 'const long
> unsigned int'} and 'int' [-Wsign-compare]
> 143 | if ( value > std::numeric_limits<int>::max() )
> | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> [4172/6072] Running crssync
> FAILED: src/crssync/CMakeFiles/synccrsdb
> cd /home/bjsvwneu/dev/QGIS/build/src/crssync &&
> /home/bjsvwneu/dev/QGIS/build/output/bin/crssync
> free(): invalid pointer
> Aborted (core dumped)
> [4173/6072] Building CXX object
> src/plugins/topology/CMakeFiles/topolplugin.dir/topolplugin_autogen/mocs_compilation.cpp.o
> ninja: build stopped: subcommand failed.
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
--
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/qgis-developer/attachments/20210904/35d8c9ea/attachment-0001.htm>
More information about the QGIS-Developer
mailing list