Skip to content

Commit

Permalink
Fix build error with libxml2 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Nov 18, 2023
1 parent a847e23 commit cbed9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion port/cpl_xml_validate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ static void CPLLibXMLWarningErrorCallback(void *ctx, const char *msg, ...)

if (strstr(pszStr, "since this namespace was already imported") == nullptr)
{
xmlErrorPtr pErrorPtr = xmlGetLastError();
const xmlError *pErrorPtr = xmlGetLastError();
const char *pszFilename = static_cast<char *>(ctx);
char *pszStrDup = CPLStrdup(pszStr);
int nLen = static_cast<int>(strlen(pszStrDup));
Expand Down

10 comments on commit cbed9fc

@kloczek
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it would be good to release new version because libxml 2.12.x fixes.
Doable? 🤔

@rouault
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GDAL 3.8.1 with the fix is currently under the approval vote by the GDAL project steering committee. It should be released tomorrow if everything goes well

@kloczek
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested current master and looks like it yet another issue with libxml 2.12.x

/home/tkloczko/rpmbuild/BUILD/gdal-3.8.0/gcore/gdaljp2metadatagenerator.cpp:508:24: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xml
StructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
  508 |     pXPathCtx->error = GDALGMLJP2XPathErrorHandler;
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        |
      |                        void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)}
gmake[2]: *** [gcore/CMakeFiles/gcore.dir/build.make:527: gcore/CMakeFiles/gcore.dir/gdaljp2metadatagenerator.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gdal-3.8.0/x86_64-redhat-linux-gnu'

@rouault
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested current master

are you sure about that ? Your build log indicates 3.8.0 This has been fixed in master per ec33f6d and backported to the release/3.8 branch

@kloczek
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No this this case I've used 3.8.0 + all patches generated from commits added after release tag.
OK I'll check commits from branch.

@kloczek
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like in dist tar ball there are some missing files.

[tkloczko@pers-jacek SPECS]$ rpmbuild -bp gdal.spec --nodeps
warning: Downloading https://github.com/OSGeo/gdal//releases/download/v3.8.0/gdal-3.8.0.tar.gz to /home/tkloczko/rpmbuild/SOURCES/gdal-3.8.0.tar.gz
warning: Downloading https://download.osgeo.org/gdal/3.8.0/gdalautotest-3.8.0.tar.gz to /home/tkloczko/rpmbuild/SOURCES/gdalautotest-3.8.0.tar.gz
warning: Downloading https://github.com/OSGeo/gdal//commit/aa7b0175.patch#/gdal-ubuntu-full-Dockerfile-update-Arrow-version-ci-skip.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-ubuntu-full-Dockerfile-update-Arrow-version-ci-skip.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/01e93b74.patch#/gdal-swig-python-README.rst-fix-link-ci-skip.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-swig-python-README.rst-fix-link-ci-skip.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/a9900bd1.patch#/gdal-gdalwarp-of-COG-use-target-SRS-from-co-TILING_SCHEME.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gdalwarp-of-COG-use-target-SRS-from-co-TILING_SCHEME.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/7b77ca6b.patch#/gdal-gdal_rasterize-fix-inverse-rasterization-of-polygon-.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gdal_rasterize-fix-inverse-rasterization-of-polygon-.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/a290f5b9.patch#/gdal-S57-stricter-dataset-identification-to-avoid-recogni.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-S57-stricter-dataset-identification-to-avoid-recogni.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/848d492e.patch#/gdal-CMake-add-gdalinfo-bash-completion-file-to-list-of-i.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-CMake-add-gdalinfo-bash-completion-file-to-list-of-i.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/fa943743.patch#/gdal-VRTSourcedRasterBand-serialize-approximate-statistic.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-VRTSourcedRasterBand-serialize-approximate-statistic.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/8d3050bc.patch#/gdal-GPKG-fix-SetFeature-UpdateFeature-DeleteFeature-on-v.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-GPKG-fix-SetFeature-UpdateFeature-DeleteFeature-on-v.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/5b98803b.patch#/gdal-SQLite-fix-SRS-retrieval-of-a-SELECT-layer-from-a-no.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-SQLite-fix-SRS-retrieval-of-a-SELECT-layer-from-a-no.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/860aeba5.patch#/gdal-MSGN-fix-memleak-in-error-code-path.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-MSGN-fix-memleak-in-error-code-path.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/ed5764c7.patch#/gdal-bag.rst-fix-MODE-INTERPOLATED.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-bag.rst-fix-MODE-INTERPOLATED.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/cbf4a2c1.patch#/gdal-gdal_sieve.py-gdalattachpct.py-gdalcompare.py-gdalmo.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gdal_sieve.py-gdalattachpct.py-gdalcompare.py-gdalmo.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/1c799726.patch#/gdal-gdaltest.gdalurlopen-better-detect-timeout.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gdaltest.gdalurlopen-better-detect-timeout.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/43bd1363.patch#/gdal-sqlite_rtree_bulk_load.c-fix-memleak-in-error-code-p.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-sqlite_rtree_bulk_load.c-fix-memleak-in-error-code-p.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/7fca56ed.patch#/gdal-gpkg-Fix-adding-field-comments-after-alternative-nam.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gpkg-Fix-adding-field-comments-after-alternative-nam.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/a32cb3ed.patch#/gdal-PMTiles-avoid-undefined-shift-when-zoom-level-is-too.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-PMTiles-avoid-undefined-shift-when-zoom-level-is-too.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/75c3dcfe.patch#/gdal-GML-SaveClasses-fix-memleak-in-error-code-path.-Fixe.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-GML-SaveClasses-fix-memleak-in-error-code-path.-Fixe.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/fbc09135.patch#/gdal-Fix-build-error-with-libxml2-2.12.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Fix-build-error-with-libxml2-2.12.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/71ef2427.patch#/gdal-Fix-build-error-with-libxml2-2.12-cont-d.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Fix-build-error-with-libxml2-2.12-cont-d.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/dddab686.patch#/gdal-sqlite_rtree_bulk_load.c-define-__STDC_FORMAT_MACROS.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-sqlite_rtree_bulk_load.c-define-__STDC_FORMAT_MACROS.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/79a24308.patch#/gdal-Backport-release-3.8-OAPIF-add-INITIAL_REQUEST_PAGE_.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Backport-release-3.8-OAPIF-add-INITIAL_REQUEST_PAGE_.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/904612e2.patch#/gdal-Inverse-TPS-transformer-speed-improvement-in-gdalwar.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Inverse-TPS-transformer-speed-improvement-in-gdalwar.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/efea24b2.patch#/gdal-Python-bindings-define-entry_points.console_scripts.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Python-bindings-define-entry_points.console_scripts.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/615595c0.patch#/gdal-COG-avoid-warnings-when-converting-from-world-covera.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-COG-avoid-warnings-when-converting-from-world-covera.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/bf165337.patch#/gdal-gdalwarp-add-a-heuristic-to-clamp-northings-when-pro.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gdalwarp-add-a-heuristic-to-clamp-northings-when-pro.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/0d6b2660.patch#/gdal-Add-a-OGRPARSEDATE_OPTION_LAX-option-to-OGRParseDate.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Add-a-OGRPARSEDATE_OPTION_LAX-option-to-OGRParseDate.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/ea840224.patch#/gdal-CSLLoad2-remove-CPLErrorReset.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-CSLLoad2-remove-CPLErrorReset.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/f9c5cd75.patch#/gdal-Shapefile-reader-fix-spurious-warning-when-reading-p.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Shapefile-reader-fix-spurious-warning-when-reading-p.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/704e1978.patch#/gdal-GPKG-fix-GetNextArrowArray-when-there-are-more-than-.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-GPKG-fix-GetNextArrowArray-when-there-are-more-than-.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/93e988f6.patch#/gdal-ogr2ogr-fix-GPKG-to-shapefile-with-the-preserve_fid-.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-ogr2ogr-fix-GPKG-to-shapefile-with-the-preserve_fid-.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/15db0907.patch#/gdal-BSB-fix-opening-datasets-with-errant-0x1A-character-.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-BSB-fix-opening-datasets-with-errant-0x1A-character-.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/11e858bf.patch#/gdal-GetArrowStreamAsNumPy-fix-missing-offset-when-readin.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-GetArrowStreamAsNumPy-fix-missing-offset-when-readin.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/2b3121bc.patch#/gdal-PostFilterArrowArray-various-fixes-to-pass-libarrow-.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-PostFilterArrowArray-various-fixes-to-pass-libarrow-.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/55225005.patch#/gdal-Add-OGRCloneArrowArray.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Add-OGRCloneArrowArray.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/3498d7a4.patch#/gdal-Arrow-Parquet-use-OGRCloneArrowArray-for-safer-filte.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Arrow-Parquet-use-OGRCloneArrowArray-for-safer-filte.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/2a4e025b.patch#/gdal-Parquet-test-file-write-distinct-values-in-struct_fi.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Parquet-test-file-write-distinct-values-in-struct_fi.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/eab1426a.patch#/gdal-WriteArrowArray-fix-wrong-taking-into-account-of-str.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-WriteArrowArray-fix-wrong-taking-into-account-of-str.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/906a8c2a.patch#/gdal-typo-fixes.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-typo-fixes.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/220eeebc.patch#/gdal-GTiff-multithreaded-reader-writer-in-update-scenario.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-GTiff-multithreaded-reader-writer-in-update-scenario.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/733844ae.patch#/gdal-KEA-Create-error-out-if-passing-a-vsi-file.-avoids-c.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-KEA-Create-error-out-if-passing-a-vsi-file.-avoids-c.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/48aceac6.patch#/gdal-RasterIO-fix-subpixel-shift-when-reading-from-overvi.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-RasterIO-fix-subpixel-shift-when-reading-from-overvi.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/91214e53.patch#/gdal-gdal_footprint-fix-ovr-on-RGBA-datasets-fixes-8792.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gdal_footprint-fix-ovr-on-RGBA-datasets-fixes-8792.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/c258a69a.patch#/gdal-Prepare-for-GDAL-3.8.1.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Prepare-for-GDAL-3.8.1.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/b1ab1db4.patch#/gdal-NEWS.md-fix-wording-ci-skip.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-NEWS.md-fix-wording-ci-skip.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/905a0321.patch#/gdal-MRF-Avoid-crashes-when-no-overviews-can-be-generated.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-MRF-Avoid-crashes-when-no-overviews-can-be-generated.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/2bdfd1b2.patch#/gdal-Revert-Python-bindings-define-entry_points.console_s.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Revert-Python-bindings-define-entry_points.console_s.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/a86e68a4.patch#/gdal-Prepare-for-3.8.1.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Prepare-for-3.8.1.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/55841baa.patch#/gdal-CMake-make-GDAL_USE_LIBKML-and-GDAL_USE_OPENJPEG-hon.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-CMake-make-GDAL_USE_LIBKML-and-GDAL_USE_OPENJPEG-hon.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/b4f5eb64.patch#/gdal-CSV-writer-do-not-quote-integer-fields-by-default-on.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-CSV-writer-do-not-quote-integer-fields-by-default-on.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/fb414cc6.patch#/gdal-GDALOverviewDataset-IRasterIO-use-parent-dataset-whe.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-GDALOverviewDataset-IRasterIO-use-parent-dataset-whe.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/dfab0f22.patch#/gdal-CI-Linux-test-install-target.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-CI-Linux-test-install-target.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/341a1d35.patch#/gdal-swig-python-install_python.cmake.in-detect-failure-i.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-swig-python-install_python.cmake.in-detect-failure-i.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/2daa60ce.patch#/gdal-swig-python-CMakeLists.txt-do-not-set-SETUPTOOLS_USE.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-swig-python-CMakeLists.txt-do-not-set-SETUPTOOLS_USE.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/17236618.patch#/gdal-GTiff-SRS-reader-include-VertCRS-name-from-EPSG-in-C.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-GTiff-SRS-reader-include-VertCRS-name-from-EPSG-in-C.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/f2b70ae7.patch#/gdal-GPX-make-detection-of-extensions-element-more-robust.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-GPX-make-detection-of-extensions-element-more-robust.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/1bd00699.patch#/gdal-COG-for-JPEG-compression-convert-single-band-alpha-a.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-COG-for-JPEG-compression-convert-single-band-alpha-a.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/861d286b.patch#/gdal-gdal_footprint-really-fix-datasets-with-alpha-band-b.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gdal_footprint-really-fix-datasets-with-alpha-band-b.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/2a463cc8.patch#/gdal-Python-bindings-add-a-combineBands-option-to-gdal.Fo.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Python-bindings-add-a-combineBands-option-to-gdal.Fo.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/3c516452.patch#/gdal-gdal_footprint-fix-taking-into-account-of-individual.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-gdal_footprint-fix-taking-into-account-of-individual.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/813cca6d.patch#/gdal-Shapefile-recogize-0-as-a-null-date.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Shapefile-recogize-0-as-a-null-date.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/72e2c6d4.patch#/gdal-Shapefile-fix-writing-an-invalid-0000-00-00-date.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Shapefile-fix-writing-an-invalid-0000-00-00-date.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/05f2068d.patch#/gdal-ogr2ogr-fix-GPKG-Shapefile-when-field-names-are-trun.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-ogr2ogr-fix-GPKG-Shapefile-when-field-names-are-trun.patch
warning: Downloading https://github.com/OSGeo/gdal//commit/5dd68b5d.patch#/gdal-Prepare-for-GDAL-3.8.1-RC3.patch to /home/tkloczko/rpmbuild/SOURCES/gdal-Prepare-for-GDAL-3.8.1-RC3.patch
warning: source_date_epoch_from_changelog set but %changelog is missing
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EwGMOr
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf gdal-3.8.0
+ /usr/lib/rpm/rpmuncompress -x /home/tkloczko/rpmbuild/SOURCES/gdal-3.8.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gdal-3.8.0
+ rm -rf /home/tkloczko/rpmbuild/BUILD/gdal-3.8.0/SPECPARTS
+ /usr/bin/mkdir -p /home/tkloczko/rpmbuild/BUILD/gdal-3.8.0/SPECPARTS
+ /usr/lib/rpm/rpmuncompress -x /home/tkloczko/rpmbuild/SOURCES/gdalautotest-3.8.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-ubuntu-full-Dockerfile-update-Arrow-version-ci-skip.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-swig-python-README.rst-fix-link-ci-skip.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-gdalwarp-of-COG-use-target-SRS-from-co-TILING_SCHEME.patch
The text leading up to this was:
--------------------------
|diff --git a/autotest/utilities/test_gdalwarp_lib.py b/autotest/utilities/test_gdalwarp_lib.py
|index 82a0d9702e0e..33e1637353fa 100755
|--- a/autotest/utilities/test_gdalwarp_lib.py
|+++ b/autotest/utilities/test_gdalwarp_lib.py
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Will try with tar ball autogenerated from git tag.

@kloczek
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something is wrong in the 3.8 branch.
It is not possible to apply all commit patches

[tkloczko@pers-jacek SPECS]$ rpmbuild -bp gdal.spec --nodeps
warning: source_date_epoch_from_changelog set but %changelog is missing
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7ph8yQ
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf gdal-3.8.0
+ /usr/lib/rpm/rpmuncompress -x /home/tkloczko/rpmbuild/SOURCES/gdal-3.8.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gdal-3.8.0
+ rm -rf /home/tkloczko/rpmbuild/BUILD/gdal-3.8.0/SPECPARTS
+ /usr/bin/mkdir -p /home/tkloczko/rpmbuild/BUILD/gdal-3.8.0/SPECPARTS
+ /usr/lib/rpm/rpmuncompress -x /home/tkloczko/rpmbuild/SOURCES/gdalautotest-3.8.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git config gc.auto 0
+ /usr/bin/git add --force .
+ /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'gdal-3.8.0 base'
+ /usr/bin/git checkout --track -b rpm-build
branch 'rpm-build' set up to track 'master'.
Switched to a new branch 'rpm-build'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-ubuntu-full-Dockerfile-update-Arrow-version-ci-skip.patch
+ /usr/bin/git apply --index --reject -
Checking patch docker/ubuntu-full/Dockerfile...
Applied patch docker/ubuntu-full/Dockerfile cleanly.
+ /usr/bin/git commit -q -m gdal-ubuntu-full-Dockerfile-update-Arrow-version-ci-skip.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-swig-python-README.rst-fix-link-ci-skip.patch
+ /usr/bin/git apply --index --reject -
Checking patch swig/python/README.rst...
Applied patch swig/python/README.rst cleanly.
+ /usr/bin/git commit -q -m gdal-swig-python-README.rst-fix-link-ci-skip.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-gdalwarp-of-COG-use-target-SRS-from-co-TILING_SCHEME.patch
+ /usr/bin/git apply --index --reject -
Checking patch apps/gdalwarp_lib.cpp...
Checking patch autotest/utilities/test_gdalwarp_lib.py...
Checking patch frmts/gtiff/cogdriver.cpp...
Checking patch frmts/gtiff/cogdriver.h...
Applied patch apps/gdalwarp_lib.cpp cleanly.
Applied patch autotest/utilities/test_gdalwarp_lib.py cleanly.
Applied patch frmts/gtiff/cogdriver.cpp cleanly.
Applied patch frmts/gtiff/cogdriver.h cleanly.
+ /usr/bin/git commit -q -m gdal-gdalwarp-of-COG-use-target-SRS-from-co-TILING_SCHEME.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-gdal_rasterize-fix-inverse-rasterization-of-polygon-.patch
+ /usr/bin/git apply --index --reject -
Checking patch apps/gdal_rasterize_lib.cpp...
Checking patch autotest/utilities/test_gdal_rasterize_lib.py...
Checking patch doc/source/programs/gdal_rasterize.rst...
Applied patch apps/gdal_rasterize_lib.cpp cleanly.
Applied patch autotest/utilities/test_gdal_rasterize_lib.py cleanly.
Applied patch doc/source/programs/gdal_rasterize.rst cleanly.
+ /usr/bin/git commit -q -m gdal-gdal_rasterize-fix-inverse-rasterization-of-polygon-.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-S57-stricter-dataset-identification-to-avoid-recogni.patch
+ /usr/bin/git apply --index --reject -
Checking patch ogr/ogrsf_frmts/s57/ogrs57driver.cpp...
Applied patch ogr/ogrsf_frmts/s57/ogrs57driver.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-S57-stricter-dataset-identification-to-avoid-recogni.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-CMake-add-gdalinfo-bash-completion-file-to-list-of-i.patch
+ /usr/bin/git apply --index --reject -
Checking patch scripts/install_bash_completions.cmake.in...
Applied patch scripts/install_bash_completions.cmake.in cleanly.
+ /usr/bin/git commit -q -m gdal-CMake-add-gdalinfo-bash-completion-file-to-list-of-i.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-VRTSourcedRasterBand-serialize-approximate-statistic.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/gcore/vrt_read.py...
Checking patch frmts/vrt/vrtsourcedrasterband.cpp...
Applied patch autotest/gcore/vrt_read.py cleanly.
Applied patch frmts/vrt/vrtsourcedrasterband.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-VRTSourcedRasterBand-serialize-approximate-statistic.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-GPKG-fix-SetFeature-UpdateFeature-DeleteFeature-on-v.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_gpkg.py...
Checking patch ogr/ogrsf_frmts/gpkg/ogrgeopackagetablelayer.cpp...
Applied patch autotest/ogr/ogr_gpkg.py cleanly.
Applied patch ogr/ogrsf_frmts/gpkg/ogrgeopackagetablelayer.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-GPKG-fix-SetFeature-UpdateFeature-DeleteFeature-on-v.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-SQLite-fix-SRS-retrieval-of-a-SELECT-layer-from-a-no.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_sqlite.py...
Checking patch ogr/ogrsf_frmts/sqlite/ogrsqliteselectlayer.cpp...
Applied patch autotest/ogr/ogr_sqlite.py cleanly.
Applied patch ogr/ogrsf_frmts/sqlite/ogrsqliteselectlayer.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-SQLite-fix-SRS-retrieval-of-a-SELECT-layer-from-a-no.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-MSGN-fix-memleak-in-error-code-path.patch
+ /usr/bin/git apply --index --reject -
Checking patch frmts/msgn/msgndataset.cpp...
Applied patch frmts/msgn/msgndataset.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-MSGN-fix-memleak-in-error-code-path.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-bag.rst-fix-MODE-INTERPOLATED.patch
+ /usr/bin/git apply --index --reject -
Checking patch doc/source/drivers/raster/bag.rst...
Applied patch doc/source/drivers/raster/bag.rst cleanly.
+ /usr/bin/git commit -q -m gdal-bag.rst-fix-MODE-INTERPOLATED.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-gdal_sieve.py-gdalattachpct.py-gdalcompare.py-gdalmo.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/pyscripts/test_gdal2tiles.py...
Checking patch autotest/pyscripts/test_gdal2xyz.py...
Checking patch autotest/pyscripts/test_gdal_calc.py...
Checking patch autotest/pyscripts/test_gdal_edit.py...
Checking patch autotest/pyscripts/test_gdal_fillnodata.py...
Checking patch autotest/pyscripts/test_gdal_merge.py...
Checking patch autotest/pyscripts/test_gdal_pansharpen.py...
Checking patch autotest/pyscripts/test_gdal_polygonize.py...
Checking patch autotest/pyscripts/test_gdal_proximity.py...
Checking patch autotest/pyscripts/test_gdal_retile.py...
Checking patch autotest/pyscripts/test_gdal_sieve.py...
Checking patch autotest/pyscripts/test_gdalcompare.py...
Checking patch autotest/pyscripts/test_gdalmove.py...
Checking patch autotest/pyscripts/test_ogr_layer_algebra.py...
Checking patch autotest/pyscripts/test_ogrmerge.py...
Checking patch autotest/pyscripts/test_pct.py...
Checking patch swig/python/gdal-utils/osgeo_utils/gdal_sieve.py...
Checking patch swig/python/gdal-utils/osgeo_utils/gdalattachpct.py...
Checking patch swig/python/gdal-utils/osgeo_utils/gdalcompare.py...
Checking patch swig/python/gdal-utils/osgeo_utils/gdalmove.py...
Applied patch autotest/pyscripts/test_gdal2tiles.py cleanly.
Applied patch autotest/pyscripts/test_gdal2xyz.py cleanly.
Applied patch autotest/pyscripts/test_gdal_calc.py cleanly.
Applied patch autotest/pyscripts/test_gdal_edit.py cleanly.
Applied patch autotest/pyscripts/test_gdal_fillnodata.py cleanly.
Applied patch autotest/pyscripts/test_gdal_merge.py cleanly.
Applied patch autotest/pyscripts/test_gdal_pansharpen.py cleanly.
Applied patch autotest/pyscripts/test_gdal_polygonize.py cleanly.
Applied patch autotest/pyscripts/test_gdal_proximity.py cleanly.
Applied patch autotest/pyscripts/test_gdal_retile.py cleanly.
Applied patch autotest/pyscripts/test_gdal_sieve.py cleanly.
Applied patch autotest/pyscripts/test_gdalcompare.py cleanly.
Applied patch autotest/pyscripts/test_gdalmove.py cleanly.
Applied patch autotest/pyscripts/test_ogr_layer_algebra.py cleanly.
Applied patch autotest/pyscripts/test_ogrmerge.py cleanly.
Applied patch autotest/pyscripts/test_pct.py cleanly.
Applied patch swig/python/gdal-utils/osgeo_utils/gdal_sieve.py cleanly.
Applied patch swig/python/gdal-utils/osgeo_utils/gdalattachpct.py cleanly.
Applied patch swig/python/gdal-utils/osgeo_utils/gdalcompare.py cleanly.
Applied patch swig/python/gdal-utils/osgeo_utils/gdalmove.py cleanly.
+ /usr/bin/git commit -q -m gdal-gdal_sieve.py-gdalattachpct.py-gdalcompare.py-gdalmo.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-gdaltest.gdalurlopen-better-detect-timeout.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/pymod/gdaltest.py...
Applied patch autotest/pymod/gdaltest.py cleanly.
+ /usr/bin/git commit -q -m gdal-gdaltest.gdalurlopen-better-detect-timeout.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-sqlite_rtree_bulk_load.c-fix-memleak-in-error-code-p.patch
+ /usr/bin/git apply --index --reject -
Checking patch ogr/ogrsf_frmts/sqlite/sqlite_rtree_bulk_load/sqlite_rtree_bulk_load.c...
Applied patch ogr/ogrsf_frmts/sqlite/sqlite_rtree_bulk_load/sqlite_rtree_bulk_load.c cleanly.
+ /usr/bin/git commit -q -m gdal-sqlite_rtree_bulk_load.c-fix-memleak-in-error-code-p.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-gpkg-Fix-adding-field-comments-after-alternative-nam.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_gpkg.py...
Checking patch ogr/ogrsf_frmts/gpkg/ogrgeopackagetablelayer.cpp...
Applied patch autotest/ogr/ogr_gpkg.py cleanly.
Applied patch ogr/ogrsf_frmts/gpkg/ogrgeopackagetablelayer.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-gpkg-Fix-adding-field-comments-after-alternative-nam.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-PMTiles-avoid-undefined-shift-when-zoom-level-is-too.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_pmtiles.py...
Checking patch ogr/ogrsf_frmts/pmtiles/ogrpmtilesdataset.cpp...
Applied patch autotest/ogr/ogr_pmtiles.py cleanly.
Applied patch ogr/ogrsf_frmts/pmtiles/ogrpmtilesdataset.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-PMTiles-avoid-undefined-shift-when-zoom-level-is-too.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-GML-SaveClasses-fix-memleak-in-error-code-path.-Fixe.patch
+ /usr/bin/git apply --index --reject -
Checking patch ogr/ogrsf_frmts/gml/gmlreader.cpp...
Applied patch ogr/ogrsf_frmts/gml/gmlreader.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-GML-SaveClasses-fix-memleak-in-error-code-path.-Fixe.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Fix-build-error-with-libxml2-2.12.patch
+ /usr/bin/git apply --index --reject -
Checking patch port/cpl_xml_validate.cpp...
Applied patch port/cpl_xml_validate.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-Fix-build-error-with-libxml2-2.12.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Fix-build-error-with-libxml2-2.12-cont-d.patch
+ /usr/bin/git apply --index --reject -
Checking patch gcore/gdaljp2metadatagenerator.cpp...
Applied patch gcore/gdaljp2metadatagenerator.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-Fix-build-error-with-libxml2-2.12-cont-d.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-sqlite_rtree_bulk_load.c-define-__STDC_FORMAT_MACROS.patch
+ /usr/bin/git apply --index --reject -
Checking patch ogr/ogrsf_frmts/sqlite/sqlite_rtree_bulk_load/sqlite_rtree_bulk_load.c...
Applied patch ogr/ogrsf_frmts/sqlite/sqlite_rtree_bulk_load/sqlite_rtree_bulk_load.c cleanly.
+ /usr/bin/git commit -q -m gdal-sqlite_rtree_bulk_load.c-define-__STDC_FORMAT_MACROS.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Backport-release-3.8-OAPIF-add-INITIAL_REQUEST_PAGE_.patch
+ /usr/bin/git apply --index --reject -
<stdin>:21: trailing whitespace.
HTTP/1.1 200 OK
<stdin>:22: trailing whitespace.
Date: Tue, 20 Jun 2023 10:37:54 GMT
<stdin>:23: trailing whitespace.
Server: Apache/2.4.52 (Ubuntu)
<stdin>:24: trailing whitespace.
Expires: Wed, 12 Jun 2024 14:15:05 GMT
<stdin>:25: trailing whitespace.
Access-Control-Allow-Origin: *
Checking patch autotest/gdrivers/data/ogcapi/request_collections_NaturalEarth_physical_ne_10m_lakes_europe_items.json_limit_20.http_data...
Checking patch autotest/ogr/ogr_oapif.py...
Checking patch doc/source/drivers/vector/oapif.rst...
Checking patch ogr/ogrsf_frmts/wfs/ogroapifdriver.cpp...
Applied patch autotest/gdrivers/data/ogcapi/request_collections_NaturalEarth_physical_ne_10m_lakes_europe_items.json_limit_20.http_data cleanly.
Applied patch autotest/ogr/ogr_oapif.py cleanly.
Applied patch doc/source/drivers/vector/oapif.rst cleanly.
Applied patch ogr/ogrsf_frmts/wfs/ogroapifdriver.cpp cleanly.
warning: squelched 9 whitespace errors
warning: 14 lines add whitespace errors.
+ /usr/bin/git commit -q -m gdal-Backport-release-3.8-OAPIF-add-INITIAL_REQUEST_PAGE_.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Inverse-TPS-transformer-speed-improvement-in-gdalwar.patch
+ /usr/bin/git apply --index --reject -
Checking patch alg/gdal_tps.cpp...
Checking patch alg/gdalgenericinverse.cpp...
Checking patch alg/gdalgenericinverse.h...
Checking patch apps/gdalwarp_lib.cpp...
Checking patch autotest/gcore/transformer.py...
Applied patch alg/gdal_tps.cpp cleanly.
Applied patch alg/gdalgenericinverse.cpp cleanly.
Applied patch alg/gdalgenericinverse.h cleanly.
Applied patch apps/gdalwarp_lib.cpp cleanly.
Applied patch autotest/gcore/transformer.py cleanly.
+ /usr/bin/git commit -q -m gdal-Inverse-TPS-transformer-speed-improvement-in-gdalwar.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Python-bindings-define-entry_points.console_scripts.patch
+ /usr/bin/git apply --index --reject -
Checking patch .github/workflows/cmake_builds.yml...
Checking patch swig/python/setup.py.in...
Applied patch .github/workflows/cmake_builds.yml cleanly.
Applied patch swig/python/setup.py.in cleanly.
+ /usr/bin/git commit -q -m gdal-Python-bindings-define-entry_points.console_scripts.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-COG-avoid-warnings-when-converting-from-world-covera.patch
+ /usr/bin/git apply --index --reject -
Checking patch frmts/gtiff/cogdriver.cpp...
Applied patch frmts/gtiff/cogdriver.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-COG-avoid-warnings-when-converting-from-world-covera.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-gdalwarp-add-a-heuristic-to-clamp-northings-when-pro.patch
+ /usr/bin/git apply --index --reject -
Checking patch apps/gdalwarp_lib.cpp...
Hunk #1 succeeded at 3436 (offset 10 lines).
Checking patch autotest/utilities/test_gdalwarp_lib.py...
Applied patch apps/gdalwarp_lib.cpp cleanly.
Applied patch autotest/utilities/test_gdalwarp_lib.py cleanly.
+ /usr/bin/git commit -q -m gdal-gdalwarp-add-a-heuristic-to-clamp-northings-when-pro.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Add-a-OGRPARSEDATE_OPTION_LAX-option-to-OGRParseDate.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/cpp/test_ogr.cpp...
Checking patch ogr/ogr_core.h...
Checking patch ogr/ogrsf_frmts/gpkg/ogrgeopackagelayer.cpp...
Checking patch ogr/ogrutils.cpp...
Applied patch autotest/cpp/test_ogr.cpp cleanly.
Applied patch ogr/ogr_core.h cleanly.
Applied patch ogr/ogrsf_frmts/gpkg/ogrgeopackagelayer.cpp cleanly.
Applied patch ogr/ogrutils.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-Add-a-OGRPARSEDATE_OPTION_LAX-option-to-OGRParseDate.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-CSLLoad2-remove-CPLErrorReset.patch
+ /usr/bin/git apply --index --reject -
Checking patch port/cpl_string.cpp...
Applied patch port/cpl_string.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-CSLLoad2-remove-CPLErrorReset.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Shapefile-reader-fix-spurious-warning-when-reading-p.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/data/shp/cb_2022_us_county_20m_extract.dbf...
Checking patch autotest/ogr/data/shp/cb_2022_us_county_20m_extract.prj...
Checking patch autotest/ogr/data/shp/cb_2022_us_county_20m_extract.shp...
Checking patch autotest/ogr/data/shp/cb_2022_us_county_20m_extract.shx...
Checking patch autotest/ogr/ogr_shape.py...
Checking patch ogr/ogrsf_frmts/shape/shape2ogr.cpp...
Applied patch autotest/ogr/data/shp/cb_2022_us_county_20m_extract.dbf cleanly.
Applied patch autotest/ogr/data/shp/cb_2022_us_county_20m_extract.prj cleanly.
Applied patch autotest/ogr/data/shp/cb_2022_us_county_20m_extract.shp cleanly.
Applied patch autotest/ogr/data/shp/cb_2022_us_county_20m_extract.shx cleanly.
Applied patch autotest/ogr/ogr_shape.py cleanly.
Applied patch ogr/ogrsf_frmts/shape/shape2ogr.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-Shapefile-reader-fix-spurious-warning-when-reading-p.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-GPKG-fix-GetNextArrowArray-when-there-are-more-than-.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_gpkg.py...
Checking patch ogr/ogrsf_frmts/gpkg/ogr_geopackage.h...
Checking patch ogr/ogrsf_frmts/gpkg/ogrgeopackagetablelayer.cpp...
Applied patch autotest/ogr/ogr_gpkg.py cleanly.
Applied patch ogr/ogrsf_frmts/gpkg/ogr_geopackage.h cleanly.
Applied patch ogr/ogrsf_frmts/gpkg/ogrgeopackagetablelayer.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-GPKG-fix-GetNextArrowArray-when-there-are-more-than-.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-ogr2ogr-fix-GPKG-to-shapefile-with-the-preserve_fid-.patch
+ /usr/bin/git apply --index --reject -
Checking patch apps/ogr2ogr_lib.cpp...
Checking patch autotest/ogr/ogr_shape.py...
Hunk #1 succeeded at 5787 (offset 10 lines).
Checking patch autotest/utilities/test_ogr2ogr_lib.py...
Checking patch ogr/ogrsf_frmts/generic/ogrlayerarrow.cpp...
Applied patch apps/ogr2ogr_lib.cpp cleanly.
Applied patch autotest/ogr/ogr_shape.py cleanly.
Applied patch autotest/utilities/test_ogr2ogr_lib.py cleanly.
Applied patch ogr/ogrsf_frmts/generic/ogrlayerarrow.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-ogr2ogr-fix-GPKG-to-shapefile-with-the-preserve_fid-.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-BSB-fix-opening-datasets-with-errant-0x1A-character-.patch
+ /usr/bin/git apply --index --reject -
<stdin>:39: trailing whitespace.
!
<stdin>:40: trailing whitespace.
CRR/NZMariner
<stdin>:41: trailing whitespace.
    This is an official RNC produced by the New Zealand Hydrographic Authority.
<stdin>:42: trailing whitespace.
    Refer to Copyright and Important Notice Information in README file.
<stdin>:43: trailing whitespace.
VER/3.07
Checking patch autotest/gdrivers/bsb.py...
Checking patch autotest/gdrivers/data/bsb/NZ52201_truncated.KAP...
Checking patch frmts/bsb/bsb_read.c...
Checking patch frmts/bsb/bsb_read.h...
Checking patch frmts/bsb/bsbdataset.cpp...
Applied patch autotest/gdrivers/bsb.py cleanly.
Applied patch autotest/gdrivers/data/bsb/NZ52201_truncated.KAP cleanly.
Applied patch frmts/bsb/bsb_read.c cleanly.
Applied patch frmts/bsb/bsb_read.h cleanly.
Applied patch frmts/bsb/bsbdataset.cpp cleanly.
warning: squelched 302 whitespace errors
warning: 307 lines add whitespace errors.
+ /usr/bin/git commit -q -m gdal-BSB-fix-opening-datasets-with-errant-0x1A-character-.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-GetArrowStreamAsNumPy-fix-missing-offset-when-readin.patch
+ /usr/bin/git apply --index --reject -
Checking patch swig/include/gdal_array.i...
Applied patch swig/include/gdal_array.i cleanly.
+ /usr/bin/git commit -q -m gdal-GetArrowStreamAsNumPy-fix-missing-offset-when-readin.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-PostFilterArrowArray-various-fixes-to-pass-libarrow-.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_parquet.py...
Checking patch ogr/ogrsf_frmts/flatgeobuf/ogrflatgeobuflayer.cpp...
Checking patch ogr/ogrsf_frmts/generic/ogrlayerarrow.cpp...
Applied patch autotest/ogr/ogr_parquet.py cleanly.
Applied patch ogr/ogrsf_frmts/flatgeobuf/ogrflatgeobuflayer.cpp cleanly.
Applied patch ogr/ogrsf_frmts/generic/ogrlayerarrow.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-PostFilterArrowArray-various-fixes-to-pass-libarrow-.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Add-OGRCloneArrowArray.patch
+ /usr/bin/git apply --index --reject -
Checking patch ogr/ogrsf_frmts/generic/ogrlayerarrow.cpp...
Checking patch ogr/ogrsf_frmts/generic/ogrlayerarrow.h...
Applied patch ogr/ogrsf_frmts/generic/ogrlayerarrow.cpp cleanly.
Applied patch ogr/ogrsf_frmts/generic/ogrlayerarrow.h cleanly.
+ /usr/bin/git commit -q -m gdal-Add-OGRCloneArrowArray.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Arrow-Parquet-use-OGRCloneArrowArray-for-safer-filte.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_parquet.py...
Checking patch ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp...
Checking patch ogr/ogrsf_frmts/parquet/ogrparquetlayer.cpp...
Applied patch autotest/ogr/ogr_parquet.py cleanly.
Applied patch ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp cleanly.
Applied patch ogr/ogrsf_frmts/parquet/ogrparquetlayer.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-Arrow-Parquet-use-OGRCloneArrowArray-for-safer-filte.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-Parquet-test-file-write-distinct-values-in-struct_fi.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/generate_parquet_test_file.py...
Checking patch autotest/ogr/data/arrow/test.feather...
Checking patch autotest/ogr/data/parquet/test.parquet...
Checking patch autotest/ogr/data/parquet/test_single_group.parquet...
Checking patch autotest/ogr/ogr_parquet.py...
Applied patch autotest/generate_parquet_test_file.py cleanly.
Applied patch autotest/ogr/data/arrow/test.feather cleanly.
Applied patch autotest/ogr/data/parquet/test.parquet cleanly.
Applied patch autotest/ogr/data/parquet/test_single_group.parquet cleanly.
Applied patch autotest/ogr/ogr_parquet.py cleanly.
+ /usr/bin/git commit -q -m gdal-Parquet-test-file-write-distinct-values-in-struct_fi.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-WriteArrowArray-fix-wrong-taking-into-account-of-str.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_parquet.py...
Checking patch ogr/ogrsf_frmts/generic/ogrlayerarrow.cpp...
Applied patch autotest/ogr/ogr_parquet.py cleanly.
Applied patch ogr/ogrsf_frmts/generic/ogrlayerarrow.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-WriteArrowArray-fix-wrong-taking-into-account-of-str.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-typo-fixes.patch
+ /usr/bin/git apply --index --reject -
Checking patch alg/gdalgenericinverse.h...
Checking patch alg/gdaltransformer.cpp...
Checking patch ogr/ogrsf_frmts/gpkg/ogrgeopackagetablelayer.cpp...
Applied patch alg/gdalgenericinverse.h cleanly.
Applied patch alg/gdaltransformer.cpp cleanly.
Applied patch ogr/ogrsf_frmts/gpkg/ogrgeopackagetablelayer.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-typo-fixes.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-GTiff-multithreaded-reader-writer-in-update-scenario.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/gcore/tiff_read.py...
Checking patch frmts/gtiff/gtiffdataset.cpp...
Checking patch frmts/gtiff/gtiffdataset.h...
Checking patch frmts/gtiff/gtiffdataset_read.cpp...
Checking patch frmts/gtiff/gtiffrasterband.cpp...
Applied patch autotest/gcore/tiff_read.py cleanly.
Applied patch frmts/gtiff/gtiffdataset.cpp cleanly.
Applied patch frmts/gtiff/gtiffdataset.h cleanly.
Applied patch frmts/gtiff/gtiffdataset_read.cpp cleanly.
Applied patch frmts/gtiff/gtiffrasterband.cpp cleanly.
+ /usr/bin/git commit -q -m gdal-GTiff-multithreaded-reader-writer-in-update-scenario.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /home/tkloczko/rpmbuild/SOURCES/gdal-PMTiles-avoid-undefined-shift-when-zoom-level-is-too.patch
+ /usr/bin/git apply --index --reject -
Checking patch autotest/ogr/ogr_pmtiles.py...
error: while searching for:
    finally:
        if gdal.VSIStatL(filename):
            gdal.Unlink(filename)

error: patch failed: autotest/ogr/ogr_pmtiles.py:583
Checking patch ogr/ogrsf_frmts/pmtiles/ogrpmtilesdataset.cpp...
error: while searching for:

    m_nMinZoomLevel = m_sHeader.min_zoom;
    m_nMaxZoomLevel = m_sHeader.max_zoom;

    if (bAcceptAnyTileType)
        return true;

error: patch failed: ogr/ogrsf_frmts/pmtiles/ogrpmtilesdataset.cpp:287
Applying patch autotest/ogr/ogr_pmtiles.py with 1 reject...
Rejected hunk #1.
Applying patch ogr/ogrsf_frmts/pmtiles/ogrpmtilesdataset.cpp with 1 reject...
Rejected hunk #1.

@rouault
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of trying to apply patches, just use the GDAL 3.8.1RC3 tarball: http://download.osgeo.org/gdal/3.8.1/gdalautotest-3.8.1rc3.tar.gz

@kloczek
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wold be really goof to star use Gnome versioning convention which is packaging friendly
https://discourse.gnome.org/t/new-gnome-versioning-scheme/4235

@rouault
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops wrong link. I meant: http://download.osgeo.org/gdal/3.8.1/gdal-3.8.1rc3.tar.gz . Anyway please have some extra bit of patience if you don't like the rc versioning and wait for tomorrow official release...

Please sign in to comment.