DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-yaml 2.3.0-3

Package Information

DescriptionYAML-1.1 parser and emitter for PHP

PHP extension adding support for YAML 1.1 (YAML Ain't Markup Language) serialization using the LibYAML library.

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-yaml.git (browse)
Popcon Installs1611
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-yaml
Uploaded3 hours ago

New Package Report

.changes◂
Version2.3.0-3
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
DateSat, 21 Nov 2026 10:04:40 +0100
Sourcephp-yaml
Changelog◂
php-yaml (2.3.0-3) experimental; urgency=medium
 .
   * Add upstream patches 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-yaml deb php optional arch=all
php-yaml-all-dev deb php optional arch=all
php8.6-yaml deb php optional arch=any
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: yaml
Upstream-Contact: Bryan Davis <bd808@php.net>
Source: http://pecl.php.net/package/yaml

Files: *
Copyright: 2007 Ryusuke SEKIYAMA
	   2009 Keynetics Inc
	   2015 Bryan Davis and contributors
License: Expat

Files: debian/*
Copyright: 2016 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, 4 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 2 hours 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-yaml version 2.3.0-3

Summary

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

Licensing

The extension is MIT/Expat throughout: LICENSE, package.xml and the headers of all six compiled sources name Ryusuke SEKIYAMA, Keynetics Inc and Bryan Davis and contributors, and debian/copyright reproduces the Expat text and those holders exactly. No file is under non-free terms, nothing is built from missing sources, and no third-party code is embedded (libyaml comes from libyaml-dev). The only gap is that the debian/* stanza attributes the 2026 patches in debian/patches/ to Ondrej Surý alone, though they are authored by Rasmus Lerdorf and Sunch.

Packaging

Standard Debian PHP PECL packaging: dh-php's pkg-pecl.mk drives the build, control is generated from control.in for the single available PHP (8.6), the build dependencies are satisfiable (php-all-dev 2:102~ in experimental, dh-php 5.23 in unstable), Vcs-* and gbp.conf are sane and the changelog targets experimental as the PHP 8.6 transition requires. Two minor items remain: Standards-Version is 4.5.1 against Policy 4.7.4.1, and the patches carry only partial DEP-3 metadata.

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 licensing 2. debian/* stanza credits only Ondrej Surý although debian/patches are authored by Rasmus Lerdorf and Sunch ◂
  • Files: debian/copyright:14-17, debian/patches/0002-Fix-some-edge-case-memory-leaks-and-outstanding-TODO.patch:1, debian/patches/0003-get-rid-of-the-goto.patch:1, debian/patches/0004-Fix-Windows-CI-and-init-retval.patch:1, debian/patches/0005-Fix-build-on-PHP8.6.0-beta2.patch:1, debian/patches/0006-fix.patch:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: Files: debian/* / Copyright: 2016 Ondřej Surý <ondrej@debian.org> versus From: Rasmus Lerdorf <rasmus@lerdorf.com> and From: Sunch <120295462+Sunch233@users.noreply.github.com>
  • Problem: The stanza claims the copyright of everything under debian/ for Ondrej Surý, but the patch files contain 2026 code changes by two other authors. Policy 2.3 does not require these notices in debian/copyright (patch files are source-only and never enter a binary package), so this is minor, but the file is incomplete as a record of the source package.
  • Fix: Add the patch authors to the debian/* stanza's Copyright field (or add a separate stanza for debian/patches/*) with their years.
minor packaging 3. Standards-Version 4.5.1 is behind 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: The reviewing system's Policy is 4.7.4.1; the first two components of the declared version (4.5) are older than 4.7, so the package does not claim to follow the current Policy.
  • Fix: Bump Standards-Version to 4.7.4.1 (or the current version then) after checking the upgrading checklist, and regenerate debian/control from debian/control.in.
minor packaging 4. Patches carry no Forwarded/Origin fields and 0006-fix.patch has no description ◂
  • Files: debian/patches/0001-Bump-the-minimal-PHP-version-to-PHP-8.0.patch:1-11, debian/patches/0002-Fix-some-edge-case-memory-leaks-and-outstanding-TODO.patch:1-11, debian/patches/0003-get-rid-of-the-goto.patch:1-10, debian/patches/0004-Fix-Windows-CI-and-init-retval.patch:1-10, debian/patches/0005-Fix-build-on-PHP8.6.0-beta2.patch:1-14, debian/patches/0006-fix.patch:1-10
  • Basis: checked, in the package or with a reference tool
  • Evidence: Subject: fix (0006-fix.patch, no Description body); none of the six patches has Forwarded: or Origin:
  • Problem: DEP-3 expects a patch to record whether it was sent upstream and where it came from; 0002-0006 look like upstream commits (authors Rasmus Lerdorf and Sunch) picked after 2.3.0, and 0006's subject and file name say nothing about what it does (relaxing the expected warning text of yaml_parse_file_002.phpt for PHP 8.6). A later maintainer cannot tell whether the patches are still needed or should be dropped.
  • Fix: Add Origin: (commit URL in upstream's repository) or Forwarded: not-needed to each patch, and give 0006 a real Subject and a one-line Description of the expected-output change.
minor packaging 5. 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 with Files: , Files: debian/ and a stand-alone Expat paragraph; the Expat text is complete (no /usr/share/common-licenses reference needed).
  • All six compiled sources (emit.c, parse.c, yaml.c, detect.c, php_yaml.h, php_yaml_int.h) carry the MIT header naming the same three holders as LICENSE, and package.xml declares <license ...>MIT</license>.
  • The ~80 files under yaml-2.3.0/tests/ (mostly .phpt, plus bug_74799.yaml and the yaml_parse_file_00{1,3}.yaml data files) carry no copyright or licence notice of their own and are covered by Files: * (Expat); the yaml.kwiki.org-derived tests are test data only and are not installed.
  • No embedded copy of libyaml: the tree is four .c files plus two headers and links against libyaml-dev (0.2.5-2 in the archive).
  • Prescan: no copyright holders missing from debian/copyright (it scanned 91 files), and it listed no built, minified or PDF files to account for.
  • Build-Depends are satisfiable: php-all-dev 2:102~ in experimental and dh-php 5.23 in unstable according to the archive query of 2026-11-21, libyaml-dev 0.2.5-2 in unstable.
  • Quilt series has six patches, all applied; none creates a new file (no patch-introduced work needing its own stanza).
  • debian/control's three binary packages match the .dsc Package-List, and control.in is the generator input (php-yaml there is Architecture: any, rewritten by dh-php).
  • Changelog: 2.3.0-3 targets experimental, consistent with the php8.6-only binary package and php-all-dev 2:102~ being in experimental.
  • debian/rules exports REPORT_EXIT_STATUS:=0, so .phpt failures do not fail the build; this is a documented team choice (Closes: #964538) and is not counted as a fault.
  • uscan found the packaged version as the newest upstream release (upstream 2.3.0, packaged 2.3.0).
Not confirmed ◂
  • dh-php is not installed on the reviewing system (/usr/share/dh-php/pkg-pecl.mk is absent), so how the extension is installed, whether the .phpt suite is run at build time, and how debian/control is regenerated from control.in could not be read; the dependencies and the generated control are consistent with it working.
  • lintian is not installed here, so the effect of debian/source.lintian-overrides (an override for license-problem-php-license, which no longer applies to this MIT-only source) could not be checked against lintian itself.
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/yaml
Matching-Pattern: /get/yaml-([\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