h3-pg 4.2.3-6
Package Information
| Description | PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system H3 is a geospatial indexing system using a hexagonal grid that can be (approximately) subdivided into finer and finer hexagonal grids, combining the benefits of a hexagonal grid with S2's hierarchical subdivisions. This package contains the PostgreSQL 19 extension. |
|---|---|
| Maintainer | Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> |
| Changed By | Christoph Berg <myon@debian.org> |
| Sponsor | myon@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/postgresql/h3-pg.git (browse) |
| Popcon Installs | 9 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/h3-pg |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Version | 4.2.3-6 |
|---|---|
| Changed-By | Christoph Berg <myon@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Wed, 25 Nov 2026 10:36:23 +0100 |
| Source | h3-pg |
Changelog
h3-pg (4.2.3-6) unstable; urgency=medium . * Upload for PostgreSQL 19. * Copyright overhaul.
.dsc
| Package-List | postgresql-19-h3 deb database optional arch=any |
|---|---|
| Section | database |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: h3-pg
Source: https://github.com/postgis/h3-pg
Files: *
Copyright: 2022-2025 Zacharias Knudsen <zacharias@h3geo.org>
License: Apache-2.0
Files: debian/*
Copyright: 2023-2026 Christoph Berg <myon@debian.org>
License: Apache-2.0
License: Apache-2.0
This file is part of h3-pg, a PostgreSQL extension providing bindings to
the H3 geospatial indexing library.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache License Version 2.0 is
located in /usr/share/common-licenses/Apache-2.0.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 2 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for h3-pg version 4.2.3-6
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The whole tree is Apache-2.0 by Zacharias Knudsen (2022-2025); debian/ is by Christoph Berg. debian/copyright is DEP-5 and its two stanzas cover every file, the licence short name matches the headers and LICENSE, the requested /usr/share/common-licenses/Apache-2.0 text is the right one, and the separate author scan found every holder it could see already named. No non-free terms, no unreproducible binaries or minified files, and upstream's FetchContent download of the H3 core is removed by debian/patches/use-system-libh3 in favour of Debian's libh3-dev, so no third-party code is embedded.
Packaging
Standard PostgreSQL-team pgxs packaging: debhelper-compat 13, dh $@ --with pgxs with one pg_buildext run configure per supported server, tests deferred to autopkgtest, correct Build-Depends (all resolvable in the archive), Standards-Version 4.7.4 against Policy 4.7.4.1, sane changelog and Vcs fields. Two minor gaps: the autopkgtest's Depends omit libh3-dev although the test compiles the extension, and none of the four patches carries DEP-3 metadata (one of them permanently disables an upstream test).
Issues
minor packaging 1. autopkgtest does not install libh3-dev, which installcheck needs to compile the extension ◂
- Files:
debian/tests/control:1-6,debian/tests/control.in:1-6,debian/tests/installcheck:17-18 - Basis: checked, in the package or with a reference tool
- Evidence: tests/installcheck:
cmake -B /tmp/test-$v -DPostgreSQL_CONFIG=/usr/lib/postgresql/$v/bin/pg_configthenmake -C /tmp/test-$v test; tests/control Depends:build-essential, cmake (>= 3.20), postgresql-19-postgis-3, postgresql-server-dev-19, @,; h3_postgis/src/wkb.h:21 and the h3/src sources#include <h3/h3api.h>and link-lh3. - Problem: The test builds the extensions from the source tree, which needs
/usr/include/h3/h3api.hand the unversionedlibh3.sosymlink;apt-cache show libh3-devshows those are in libh3-dev, a separate package from the runtime libh3-1 that the binary package pulls in.@only expands to the binary package(s) of this source (autopkgtest spec: "@builddeps@will be replaced by the package'sBuild-Depends:...@stands for the package(s) generated by the source package"), so libh3-dev is absent from the testbed and the cmake/make step cannot succeed. Sinceoverride_dh_pgxs_testdefers all testing to autopkgtest, this leaves the package with no working test coverage. - Fix: Add
libh3-dev,todebian/tests/control.inand regeneratedebian/tests/control(or depend on@builddeps@in addition to@).
minor packaging 2. patches have no DEP-3 headers, and epsilon disables the antimeridian test on every architecture ◂
- Files:
debian/patches/series:1-4,debian/patches/use-system-libh3,debian/patches/include-dir,debian/patches/fabs,debian/patches/epsilon - Basis: checked, in the package or with a reference tool
- Evidence:
debian/patches/serieslistsuse-system-libh3,fabs,epsilon,include-dir; each file begins directly with--- a/...and has noDescription:,Origin:orForwarded:field.epsilonwraps the whole antimeridian block in/* ... */in bothh3_postgis/test/sql/postgis.sqlandh3_postgis/test/expected/postgis.out. - Problem: A reader of the patch series cannot tell why each change exists, where it came from, or whether upstream has seen it;
epsilonin particular drops a regression check not just on the affected architecture but everywhere, so the failure it worked around is no longer visible on any arch and upstream gets no report of it (the only explanation is the changelog line "Disable antimeridian test failing on ppc64el"). - Fix: Add DEP-3 headers (
Description,Origin,Forwarded/Bugas applicable) to all four patches and, forepsilon, either make the check architecture-conditional (!ppc64el) or forward the failure upstream and record the bug reference.
Verified ◂
- Read all of debian/: control, control.in, rules, changelog, copyright, source/format, clean, pgversions, gitlab-ci.yml, tests/control, tests/control.in, tests/installcheck, patches/series and all four patches, and the .dsc.
- debian/copyright is DEP-5 1.0:
Files: *(Apache-2.0, Zacharias Knudsen 2022-2025) and laterFiles: debian/*(Apache-2.0, Christoph Berg 2023-2026); its Apache-2.0 paragraph is the upstream notice plus a pointer to /usr/share/common-licenses/Apache-2.0, which is the correct file name. - Inventoried the ~190-file upstream tree and grepped it (gitignore off) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, GPL/LGPL/MIT/BSD/MPL/CC, public domain, All rights reserved, non-commercial/no-modification wording: every notice found is an Apache-2.0 header naming Zacharias Knudsen, years 2022-2025; no other licence, holder or restriction appears. The pre-review author check likewise reported "every holder found is named".
- Files with no per-file notice (include/error.c, include/constants.h, SQL files, test .out files, docs/.md, .github/, .vscode/settings.json, scripts/* and scripts/sql2doc/*) are covered by the
Files: *stanza and carry nothing contradicting Apache-2.0. - h3/src/upstream_macros.h is the project's own Apache-2.0 file (Copyright 2025 Zacharias Knudsen); its comment says macros are "copied from upsteam" with
/* SOURCE coordijk.h *///* SOURCE h3Index.h */markers. The copied part is one small enum and two macros from H3 itself, which is Apache-2.0 too, and the file keeps the cross-reference; no separate holder notice exists in it to reproduce. - LICENSE is the verbatim Apache License 2.0; the tree contains no NOTICE or AUTHORS file that would need copying.
- No binaries, images, fonts, audio, PDFs, archives or minified code are in the tree; the SQL install files and config.h are generated at build time from the shipped sources, and docs/api.md is generated by scripts/sql2doc/generate.py, which is shipped.
- Upstream's cmake/h3/CMakeLists.txt FetchContent download of H3 is disabled by debian/patches/use-system-libh3; the build uses Debian's libh3-dev (4.5.0-1 in the archive, BD requires >= 4.4.1-2~), so nothing third-party is bundled and the build needs no network.
- Build-Depends resolve in the archive: debhelper-compat 13 (debhelper 14.5 installed), cmake, libh3-dev 4.5.0-1, postgresql-all 297, postgresql-server-dev-all 297; architecture-is-64-bit is provided by architecture-properties 0.2.6+b2; postgresql-19-h3 is this upload's own binary.
- Standards-Version 4.7.4 matches Policy 4.7.4.1 (first two components equal), so it is current; changelog is unstable, urgency medium, version 4.2.3-6, and the latest entry date (2026-11-25) is consistent.
- debhelper compat 13: relationship substvars are named in debian/control as required below compat 14, and
dhskips the emptyoverride_dh_pgxs_test/override_dh_auto_test-class targets under nocheck from compat 13, so the deferred-test override needs no nocheck check of its own. - h3_postgis is built and installed into the same binary package and needs PostGIS only at CREATE EXTENSION time; no headers from PostGIS are used, so the build does not need postgis packages, and the tests are gated on PostgreSQL_PostGIS_FOUND.
- Vcs-Browser/Vcs-Git/Homepage all name salsa.debian.org/postgresql/h3-pg and github.com/postgis/h3-pg, matching debian/copyright's Source field.
- uscan found upstream releases with
debian/watch; a newer upstream version is available (upstream4.5.0, packaged4.2.3), which is not a fault of the package. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- postgresql-19-postgis-3 (debian/tests/control:4) is not in the reviewing system's package lists nor in the NEW snapshot of 2026-11-25; the lists carry postgis 3.7.0+dfsg-1, which builds postgresql-18-postgis-3 only. If PostGIS has not yet been rebuilt for PostgreSQL 19, the autopkgtest cannot install its dependencies. Not proof that it does not exist.
- pg_buildext is not installed on the reviewing system, so I could not read what
pg_buildext supported-versionsdoes with14+in debian/pgversions and whetherpostgresql-all <!nocheck>is needed outside the tests. If supported-versions derived its list from installed server packages rather than postgresql-common's data, a nocheck build would configure nothing; a nocheck build (DEB_BUILD_OPTIONS=nocheck) would show it. - I could not check the file mode of debian/tests/installcheck (no stat tool), so its executability for autopkgtest is unverified.
- Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused:
read: "help://read/sources" is not a file of the package or of the reviewing system.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 0 hours ago.