Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package PDAL for openSUSE:Factory checked in at 2026-07-29 19:00:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PDAL (Old) and /work/SRC/openSUSE:Factory/.PDAL.new.2004 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "PDAL" Wed Jul 29 19:00:45 2026 rev:18 rq:1368319 version:2.10.2 Changes: -------- --- /work/SRC/openSUSE:Factory/PDAL/PDAL.changes 2026-05-04 12:53:03.000325965 +0200 +++ /work/SRC/openSUSE:Factory/.PDAL.new.2004/PDAL.changes 2026-07-29 19:02:34.652530937 +0200 @@ -1,0 +2,47 @@ +Wed Jul 29 07:53:41 UTC 2026 - Martin Pluskal <[email protected]> + +- Spec cleanup: + * Document why libopenblas_pthreads-devel is required: gdal pulls + BLAS in transitively and the ctest binaries link + libopenblas.so.0, which only an openblas -devel provides + unflavored; without it all 143 tests fail to start and the + non-fatal %check lets the build pass with an empty test run + * Drop libpsl5, which nothing in the tree references, and its + incorrect "needed to have proj.db for tests" comment + * Raise the cmake requirement from 2.8 to 3.13, upstream's actual + cmake_minimum_required + * Delete *.la as intended: the find expression bound as + "*.la OR (*.a AND -delete)", so only static libs were removed + * Build with ninja via %cmake_build instead of %make_build + * Replace the hand-written ldconfig scriptlets with + %ldconfig_scriptlets + * Collapse the per-architecture %check branches, which had all + converged on the same non-fatal ctest invocation + * Drop the gcc12 and CXX=g++-12 fallbacks for openSUSE older than + 15.5, below the oldest target + * Drop Group tags and convert dependencies to their pkgconfig() + providers, per spec-cleaner + +------------------------------------------------------------------- +Wed Jul 29 06:12:33 UTC 2026 - Martin Pluskal <[email protected]> + +- Ship the upstream checksum as a plain source file rather than a + service-generated one: the sha256sum arrived as + _service:download_files:PDAL-2.10.2-src.tar.bz2.sha256sum without + the _service that produced it, so a generated artifact would have + been submitted to Factory; Source1 now resolves to a committed + file again, as it did for 2.10.1 + +------------------------------------------------------------------- +Fri Jul 24 18:17:20 UTC 2026 - Enno Tensing <[email protected]> + +- Update to PDAL 2.10.2 + * Drop PDAL-remove-gtest.patch - using external gtest works now + * StageExtensions.hpp will now only be included once + * Arbiter will now always use conccurent http requests + * DimRange sorting now no longer relies on undefined behaviour + * Fixes curl ca bundle support with arbiter + * PointGrid will now never compute zero cells for small inputs + * Various other fixes + +------------------------------------------------------------------- Old: ---- PDAL-2.10.1-src.tar.bz2 PDAL-2.10.1-src.tar.bz2.sha256sum PDAL-remove-gtest.patch New: ---- PDAL-2.10.2-src.tar.bz2 PDAL-2.10.2-src.tar.bz2.sha256sum ----------(Old B)---------- Old:- Update to PDAL 2.10.2 * Drop PDAL-remove-gtest.patch - using external gtest works now * StageExtensions.hpp will now only be included once ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PDAL.spec ++++++ --- /var/tmp/diff_new_pack.U3ja1n/_old 2026-07-29 19:02:36.812605381 +0200 +++ /var/tmp/diff_new_pack.U3ja1n/_new 2026-07-29 19:02:36.816605518 +0200 @@ -1,7 +1,7 @@ # # spec file for package PDAL # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2021 Friedmann Bruno, Ioda-Net Sàrl, Charmoille, Switzerland. # # All modifications and additions to the file contributed by third parties @@ -18,10 +18,13 @@ %define soname 20 -%define sovers 20.1.0 +%define sovers 20.2.0 %define lname pdal +%define test_timeout 60 +# Big C++ tree -- ninja parallelises it noticeably better than make +%define __builder ninja Name: PDAL -Version: 2.10.1 +Version: 2.10.2 Release: 0 Summary: Point Data Abstraction Library (GDAL for point cloud data) # The code is licensed BSD except for: @@ -30,7 +33,6 @@ # - plugins/e57/io/{src,include}/* is BSD-3-Clause # - plugins/e57/libE57Format/{src,include}/* is Boost 1-0 License: Apache-2.0 AND BSD-3-Clause AND MIT AND BSL-1.0 -Group: Productivity/Graphics/CAD URL: https://pdal.org/ Source0: https://github.com/PDAL/PDAL/releases/download/%{version}/%{name}-%{version}-src.tar.bz2 Source1: https://github.com/PDAL/PDAL/releases/download/%{version}/%{name}-%{version}-src.tar.bz2.sha256sum @@ -40,44 +42,49 @@ Patch0: PDAL_unbundle.patch # GDAL headers are located in %%{_includedir}/gdal Patch1: PDAL-fix-gdal-includes.patch -# Drop venored gtest -Patch2: PDAL-remove-gtest.patch BuildRequires: bash-completion -BuildRequires: cairo-devel -BuildRequires: cmake >= 2.8 -BuildRequires: cunit-devel +BuildRequires: cmake >= 3.13 BuildRequires: curl-devel -BuildRequires: eigen3-devel BuildRequires: fdupes -BuildRequires: freeglut-devel +BuildRequires: gcc-c++ >= 11 BuildRequires: gdal >= 3.8 -BuildRequires: geotiff-devel -BuildRequires: jsoncpp-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_headers-devel BuildRequires: libboost_program_options-devel BuildRequires: libgdal-devel BuildRequires: libgeos-devel -BuildRequires: libopenssl-devel >= 1.1 -BuildRequires: nlohmann_json-devel -BuildRequires: proj-devel -# Needed to have proj.db for tests -BuildRequires: libpsl5 +# PDAL itself never asks for BLAS, but it is pulled in transitively (via gdal) +# and the test binaries then link libopenblas.so.0. Only an openblas -devel +# provides that unflavored soname link -- without it every one of the 143 +# ctest binaries dies with "cannot open shared object file" and, because +# %%check is non-fatal, the build still goes green with an empty test run. +BuildRequires: libopenblas_pthreads-devel BuildRequires: libspatialindex-devel -BuildRequires: libtiff-devel -BuildRequires: libxml2-devel +BuildRequires: ninja +BuildRequires: nlohmann_json-devel BuildRequires: pkgconfig BuildRequires: proj -# We don't have it yet -# BuildRequires: pointcloud-devel -BuildRequires: libunwind-devel -BuildRequires: libzstd-devel BuildRequires: python3-devel -BuildRequires: sqlite3-devel -BuildRequires: xz-devel -BuildRequires: zlib-devel -BuildRequires: pkgconfig(libpq) BuildRequires: cmake(GTest) +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(cunit) +BuildRequires: pkgconfig(eigen3) +BuildRequires: pkgconfig(glut) +BuildRequires: pkgconfig(jsoncpp) +BuildRequires: pkgconfig(libcrypto) >= 1.1 +BuildRequires: pkgconfig(libgeotiff) +BuildRequires: pkgconfig(liblzma) +BuildRequires: pkgconfig(libpq) +BuildRequires: pkgconfig(libssl) >= 1.1 +BuildRequires: pkgconfig(libtiff-4) +# We don't have it yet +# BuildRequires: pointcloud-devel +BuildRequires: pkgconfig(libunwind) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libzstd) +BuildRequires: pkgconfig(proj) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(zlib) # Needed for documentation but we don't build it (see comment below make_build) # BuildRequires: dblatex # BuildRequires: doxygen @@ -96,11 +103,6 @@ Provides: bundled(PoissonRecon) # https://github.com/jlblancoc/nanoflann bundled in vendor/nanoflann Provides: bundled(nanoflann) -%if 0%{?suse_version} < 1550 -BuildRequires: gcc12-c++ -%else -BuildRequires: gcc-c++ >= 11 -%endif %description PDAL is a C++ BSD library for translating and manipulating point cloud data. @@ -114,7 +116,6 @@ %package -n lib%{name}%{soname} Summary: Point Data Abstraction Library (GDAL for point cloud data) -Group: System/Libraries %description -n lib%{name}%{soname} PDAL is a C++ BSD library for translating and manipulating point cloud data. @@ -141,14 +142,13 @@ %package devel Summary: Development files and tools for PDAL applications -Group: Development/Libraries/C and C++ Requires: cmake Requires: lib%{name}%{soname} = %{version} Requires: libboost_filesystem-devel Requires: libboost_headers-devel Requires: libboost_program_options-devel -Requires: xz-devel -Requires: zlib-devel +Requires: pkgconfig(liblzma) +Requires: pkgconfig(zlib) Provides: lib%{lname}%{soname}-devel = %{version} Provides: lib%{name}%{soname}-devel = %{version} Provides: lib%{name}-devel @@ -160,7 +160,6 @@ %package doc Summary: Documentation, examples and demos for PDAL -Group: Documentation/Other BuildArch: noarch %description doc @@ -184,9 +183,6 @@ # boo#1194109 and upstream https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 %define _lto_cflags %{nil} %endif -%if 0%{?suse_version} < 1550 -export CXX=g++-12 -%endif # Note on -DBUILD_DOCS=OFF: doc building via cmake requires jupyter-book, which # is not packaged @@ -235,7 +231,7 @@ -DBUILD_DOCS=OFF \ .. -%make_build +%cmake_build # Building the docs requires jupyter-book, which is not packaged # make doxygen html man pdf @@ -247,16 +243,15 @@ # No executable cmake-Files find %{buildroot} -type f -name "*.cmake" -executable -exec chmod -x '{}' \; -#No .la lib -find %{buildroot} -type f -name "*.la" -o -name "*.a" -delete -print +# No .la / static libs. The parentheses matter: `-name a -o -name b -delete` +# binds as `a OR (b AND delete)`, which silently left every *.la in place. +find %{buildroot} -type f \( -name "*.la" -o -name "*.a" \) -delete -print -%if 0%{?suse_version} %fdupes %{buildroot}/%{_prefix} %fdupes -s doc -%endif # Strange the @PDAL_CONFIG_LIBRARY_DIRS@ is wrongly expanded /usr//usr/lib64/ in PDALConfig.cmake -sed -i 's,/usr//usr/lib64,%{_libdir},g' %{buildroot}/%{_libdir}/cmake/PDAL/PDALConfig.cmake +sed -i 's,%{_prefix}/%{_prefix}/lib64,%{_libdir},g' %{buildroot}/%{_libdir}/cmake/PDAL/PDALConfig.cmake # WIP pgpointcloud test need a complete running pg server #%%check @@ -268,28 +263,15 @@ #popd %check -# We set a custom test timeout of 60s, since some tests will run until the default timeout, -# which is about 20 minutes -%define test_timeout 60 -## test the compiled code (see doc/project/testing.rst) -# we skip tests for selected architectures which need upstream fixes -%ifarch armv7hl aarch64 ppc64le s390x -%ctest --output-on-failure --timeout %{test_timeout} || true -%else -## we skip the PG test (BUILD_PGPOINTCLOUD_TESTS:BOOL=OFF): -# PGUSER=pdal PGPASSWORD=password PGHOST=localhost PGPORT=5432 ctest -V -%ifarch i686 -# https://github.com/PDAL/PDAL/issues/3501 should work with PROJ 8.2 and gdal 3.2.3. -%ctest --timeout %{test_timeout} || : -%else -# https://github.com/PDAL/PDAL/issues/3501 -%ctest --timeout %{test_timeout} || : -%endif -%endif - -%post -n lib%{name}%{soname} -p /sbin/ldconfig +# Custom 60s timeout: some tests otherwise run to the ~20 minute default. +# Failures are reported but do not fail the build -- upstream issue 3501 +# still has tests failing on several architectures. The result is read from +# the log rather than gated, which is why --output-on-failure is on. +# The PG tests stay off (BUILD_PGPOINTCLOUD_TESTS=OFF): they need a live +# PostgreSQL server, which a build root does not have. +%ctest --output-on-failure --timeout %{test_timeout} || : -%postun -n lib%{name}%{soname} -p /sbin/ldconfig +%ldconfig_scriptlets -n lib%{name}%{soname} %files %license LICENSE.txt ++++++ PDAL-2.10.1-src.tar.bz2 -> PDAL-2.10.2-src.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/PDAL/PDAL-2.10.1-src.tar.bz2 /work/SRC/openSUSE:Factory/.PDAL.new.2004/PDAL-2.10.2-src.tar.bz2 differ: char 11, line 1 ++++++ PDAL-2.10.1-src.tar.bz2.sha256sum -> PDAL-2.10.2-src.tar.bz2.sha256sum ++++++ --- /work/SRC/openSUSE:Factory/PDAL/PDAL-2.10.1-src.tar.bz2.sha256sum 2026-04-08 17:17:06.523320922 +0200 +++ /work/SRC/openSUSE:Factory/.PDAL.new.2004/PDAL-2.10.2-src.tar.bz2.sha256sum 2026-07-29 19:02:34.632530247 +0200 @@ -1 +1 @@ -78765f1d06584c8e9b3b4a5b58c0ebea478d42ad21f1432717b31c20def05522 PDAL-2.10.1-src.tar.bz2 +882b97aa3ae5db682c3b2dc8edef4e29bcc7ecea51c70592e71bc1f34112ad00 PDAL-2.10.2-src.tar.bz2
