DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-rdkafka 6.0.5-3

Package Information

DescriptionKafka client for PHP based on librdkafka

PHP-rdkafka is a stable, production-ready, long term support, and fast Kafka client for PHP based on librdkafka.

The goal of the extension is to be a low-level un-opinionated librdkafka binding focused on production and long term support.

The high level and low level consumers, producer, and metadata APIs are supported.

This is empty package that depends on default PHP version.

MaintainerDebian PHP PECL Maintainers <team+php-pecl@tracker.debian.org>
Changed ByOndřej Surý <ondrej@debian.org>
Sponsorondrej@debian.org
Distributionexperimental
Architectureany all
VCSgit: https://salsa.debian.org/php-team/pecl/php-rdkafka.git (browse)
Trackerhttps://tracker.debian.org/pkg/php-rdkafka
Uploaded3 hours ago

New Package Report

.changes◂
DateSat, 21 Nov 2026 10:04:34 +0100
Sourcephp-rdkafka
Version6.0.5-3
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
Changelog◂
php-rdkafka (6.0.5-3) experimental; urgency=medium
 .
   * Add patch to fix FTBFS with PHP 8.6
   * Build-Depend on php-all-dev (>= 2:102~) for PHP 8.6
   * Bump Build-Depends to dh-php >= 5.23~
.dsc◂
Sectionphp
Priorityoptional
Componentmain
Package-Listphp-rdkafka deb php optional arch=all
php-rdkafka-all-dev deb php optional arch=all
php8.6-rdkafka deb php optional arch=any
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: rdkafka
Upstream-Contact: Arnaud Le Blanc <lbarnaud@php.net>
Source: http://pecl.php.net/package/rdkafka

Files: *
Copyright: 2015 Arnaud Le Blanc
License: Expat

Files: debian/*
Copyright: 2015 Ondřej Surý <ondrej@debian.org>
License: Expat

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the
 "Software"), to deal in the Software without restriction, including
 without limitation the rights to use, copy, modify, merge, publish,
 distribute, sublicense, and/or sell copies of the Software, and to
 permit persons to whom the Software is furnished to do so, subject to
 the following conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 1 important, 3 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.

Proposes a replacement debian/watch: debian/watch in version 5 format

Proposes a replacement debian/copyright: debian/copyright Format field

Report◂

DFSG NEW review for php-rdkafka version 6.0.5-3

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 1 important, 3 minor
  • debian/watch: old format (version 3)
  • debian/copyright: machine-readable, without the current Format URL
  • Scan before the review: nothing found

Licensing

Yes. The tree is MIT/Expat: LICENSE holds the Expat text, README.md (released under the MIT ... license) and package.xml (<license ...>MIT License</license>) agree, and the only copyright holder in the source, Arnaud Le Blanc, is named in the Files: * stanza; the full licence text is in debian/copyright. The 28 .c/.h files also carry the stock PECL PHP License 3.01 skeleton header, but the LICENSE it points to is MIT and debian/copyright describes the licence the package is actually distributed under, so that header is stale boilerplate rather than a DFSG problem.

Packaging

Yes. This is standard dh-php PECL packaging: debian/rules includes pkg-pecl.mk, the stanzas produce the expected default and -all-dev metapackages plus php8.6-rdkafka, all Build-Depends resolve (librdkafka-dev 2.14.2-1, dh-php 5.23, php-all-dev 2:102~ in experimental, matching the experimental changelog), and source format, Vcs fields and the PHP 8.6 patch are coherent. Only minor nits: Standards-Version is 4.5.1 and the patch does not record whether it was forwarded upstream.

Issues

important licensing 1. debian/copyright does not declare the current copyright-format 1.0 URL ◂
  • Files: debian/copyright:1
  • Basis: found by the review tooling's own checks
  • Evidence: Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
  • Problem: The first field must be exactly Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ (copyright-format 1.0, "Format" field). Anything else, including the http:// form and the URLs of the drafts that preceded 1.0, does not declare the file to be in the current format, and a file written to a draft may also use field names and licence short names that 1.0 changed.
  • Fix: Replace the line as shown under Proposed changes, then check the rest of the file against copyright-format 1.0 (for example Upstream-Name, Upstream-Contact and Source in the header, not Name or Maintainer).
minor packaging 2. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:10, debian/control.in:10
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: Its first two components (4.5) are older than the reviewing system's Policy (4.7.4.1), so the field is stale; per the review scale that is minor, and the package is otherwise following current practice.
  • Fix: Check the Policy A10 upgrading checklist and bump the field to 4.7.4.1 (or the current Policy at upload).
minor packaging 3. PHP 8.6 compatibility patch does not record whether it was forwarded upstream ◂
  • Files: debian/patches/0001-Replace-XtOffsetOf-zval_dtor-and-EMPTY_SWITCH_DEFAUL.patch:1-6, debian/patches/series:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: From: ..., Date: ..., Subject: Replace XtOffsetOf(), zval_dtor() and EMPTY_SWITCH_DEFAULT_CASE() removed in PHP 8.6; no Forwarded: or Bug: field.
  • Problem: The patch adapts 6.0.5 (released 2024) to PHP 8.6 API removals, so it is Debian-specific and should go upstream; DEP-3 expects the forwarding state to be recorded so the fix is not lost or duplicated by the next maintainer.
  • Fix: Submit it upstream and add Forwarded: <upstream PR/issue URL> (or Forwarded: not-needed with the reason), keeping the patch in sync with any upstream version.
minor packaging 4. debian/watch is in the old version 3 format ◂
  • Files: debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: version=3
  • Problem: Version 5 is the current format of debian/watch.
  • Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
Verified ◂
  • Read debian/copyright in full: DEP-5, Files: * (2015 Arnaud Le Blanc, Expat) and Files: debian/* (2015 Ondřej Surý, Expat), with the complete Expat text; no Files-Excluded and nothing excluded from the tree.
  • Inventoried the whole upstream tree and all of debian/: rdkafka-6.0.5/ has 28 .c/.h files, 15 .stub.php, 30 generated arginfo headers, config.m4, config.w32, LICENSE, README.md, CREDITS, package.xml, and 51 files under tests/; no other LICENSE/COPYING/NOTICE files, no vendored third-party code, no images, fonts or other binaries.
  • Prescan: all holder hits (rdkafka-6.0.5/conf.c, conf.h, fun.c, kafka_consumer.c, kafka_consumer.h, kafka_error_exception.c, kafka_error_exception.h, message.c, message.h, metadata.c, metadata.h, metadata_broker.c, metadata_broker.h, metadata_collection.c, metadata_collection.h, metadata_partition.c, metadata_partition.h, metadata_topic.c, metadata_topic.h, php_rdkafka.h, php_rdkafka_priv.h, queue.c, queue.h, rdkafka.c, topic.c, topic.h, topic_partition.c, topic_partition.h) are Copyright (c) 2016 Arnaud Le Blanc, the holder named in Files: *; 2016 against the stanza's 2015 is year drift only. CREDITS names the same author.
  • The same 28 files carry This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, but LICENSE is The MIT License (MIT), README.md says released under the MIT ... license, and package.xml gives <license uri=".../mit-license.php">MIT License</license>; debian/copyright's Expat matches that, so the header is vestigial skeleton text and the license-problem-php-license override in debian/source.lintian-overrides:2 is consistent with it, not a DFSG issue.
  • The *_arginfo.h files say This is a generated file, edit the .stub.php file instead. and the corresponding .stub.php inputs are all present, so no generated code lacks its source.
  • Build-Depends all exist: librdkafka-dev 2.14.2-1, dh-php 5.23 (unstable), php-all-dev 2:102~ (experimental); librdkafka-dev pulls the libssl/libcurl/libzstd/etc. headers the extension needs.
  • The single patch modifies 12 existing files and creates none (--- a/ / +++ b/ only), so no third-party file enters the tree through it.
  • debhelper compat 10 is supported by the installed debhelper 14.5 and is not a deprecated level; a missing ${shlibs:Depends}/${misc:Depends} is not an issue at this compat context because the fields are present anyway.
  • No debian/tests/control and no Testsuite field, so the source has no autopkgtest; the upstream .phpt suite is the only test suite present, and debian/rules exports REPORT_EXIT_STATUS, consistent with it being run during the build.
  • Changelog 6.0.5-3 targets experimental, consistent with php-all-dev (>= 2:102~) (PHP 8.6) existing only in experimental; version scheme, source format 3.0 (quilt), Vcs-* and Homepage are consistent with the .dsc.
  • No files under .pc/ were read, and no debian/cargo-checksum.json is present.
  • uscan found the packaged version as the newest upstream release (upstream 6.0.5, packaged 6.0.5).
Not confirmed ◂
  • dh-php is not installed on the reviewing system, so I could not read /usr/share/dh-php/pkg-pecl.mk to confirm exactly how debian/control/control.in and the test step are wired at build time; the layout matches the team's standard PECL template.
  • Whether the PHP 8.6 patch was actually sent upstream cannot be checked here: the patch has no Forwarded: field and there is no network access.
  • No build or test run was possible in this read-only review.
Proposed: debian/watch in version 5 format ◂

debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.

Version: 5

Source: https://pecl.php.net/package/rdkafka
Matching-Pattern: /get/rdkafka-([\d\.p?]*).tgz
Update-Script: uupdate
Proposed: debian/copyright Format field ◂

Replace line 1 of debian/copyright with:

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Back to Dashboard | View all reviews for this package