php-rdkafka 6.0.5-3
Package Information
| Description | Kafka 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. |
|---|---|
| Maintainer | Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org> |
| Changed By | Ondřej Surý <ondrej@debian.org> |
| Sponsor | ondrej@debian.org |
| Distribution | experimental |
| Architecture | any all |
| VCS | git: https://salsa.debian.org/php-team/pecl/php-rdkafka.git (browse) |
| Tracker | https://tracker.debian.org/pkg/php-rdkafka |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Date | Sat, 21 Nov 2026 10:04:34 +0100 |
|---|---|
| Source | php-rdkafka |
| Version | 6.0.5-3 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
| Architecture | source all amd64 |
| Distribution | experimental |
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
| Section | php |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | php-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/copyrightis 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 thehttp://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-ContactandSourcein the header, notNameorMaintainer).
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; noForwarded:orBug: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>(orForwarded: not-neededwith 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/copyrightin full: DEP-5,Files: *(2015 Arnaud Le Blanc, Expat) andFiles: debian/*(2015 Ondřej Surý, Expat), with the complete Expat text; noFiles-Excludedand nothing excluded from the tree. - Inventoried the whole upstream tree and all of
debian/: rdkafka-6.0.5/ has 28.c/.hfiles, 15.stub.php, 30 generated arginfo headers,config.m4,config.w32,LICENSE,README.md,CREDITS,package.xml, and 51 files undertests/; 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 inFiles: *; 2016 against the stanza's 2015 is year drift only.CREDITSnames 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, butLICENSEisThe MIT License (MIT),README.mdsaysreleased under the MIT ... license, andpackage.xmlgives<license uri=".../mit-license.php">MIT License</license>;debian/copyright's Expat matches that, so the header is vestigial skeleton text and thelicense-problem-php-licenseoverride indebian/source.lintian-overrides:2is consistent with it, not a DFSG issue. - The
*_arginfo.hfiles sayThis is a generated file, edit the .stub.php file instead.and the corresponding.stub.phpinputs 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/controland noTestsuitefield, so the source has no autopkgtest; the upstream.phptsuite is the only test suite present, anddebian/rulesexportsREPORT_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 nodebian/cargo-checksum.jsonis present. - uscan found the packaged version as the newest upstream release (upstream
6.0.5, packaged6.0.5).
Not confirmed ◂
- dh-php is not installed on the reviewing system, so I could not read
/usr/share/dh-php/pkg-pecl.mkto confirm exactly howdebian/control/control.inand 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.