DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-ast 1.1.4-3

Package Information

DescriptionAST extension for PHP 7

This extension exposes the abstract syntax tree generated by PHP 7.

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-ast.git (browse)
Popcon Installs40
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-ast
Uploaded11 hours ago
Supersedes1.1.4-2

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 15:57:58 +0100
Sourcephp-ast
Version1.1.4-3
Changed-ByOndřej Surý <ondrej@debian.org>
Changelog◂
php-ast (1.1.4-3) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Priorityoptional
Componentmain
Package-Listphp-ast deb php optional arch=all
php-ast-all-dev deb php optional arch=all
php8.6-ast deb php optional arch=any
Sectionphp
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: php-ast
Source: https://github.com/nikic/php-ast

Files: *
Copyright: 2014 by Nikita Popov.
License: BSD-3-clause

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

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 .
    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
 .
    * Redistributions in binary form must reproduce the above
      copyright notice, this list of conditions and the following
      disclaimer in the documentation and/or other materials provided
      with the distribution.
 .
    * The names of the contributors may not be used to endorse or
      promote products derived from this software without specific
      prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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 10 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-ast version 1.1.4-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

Every upstream file is under the BSD-3-clause licence held by Nikita Popov, as stated in ast-1.1.4/LICENSE and package.xml; debian/copyright matches that holder and licence, includes the full BSD-3-clause text, and its debian/* stanza with the Expat text covers the packaging. No other licences or holders appear anywhere in the tree.

Packaging

The packaging follows the dh-php PECL pattern correctly: generated multi-version control consistent with control.in and the .dsc, a metapackage plus php8.6-ast, docs and config files in the right places. Dependencies exist in the archive/experimental. Remaining points are minor: an old Standards-Version, an old debhelper compat level, and a rules setting that prevents PHP test failures from failing the build.

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:9
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: The policy tool on the reviewing system reports Debian Policy 4.7.4.1; a first two components of 4.5 is behind 4.7, which the review rules treat as a minor issue.
  • Fix: Bump Standards-Version to 4.7.4.1 after checking the 4.6/4.7 upgrading checklist; no packaging change appears necessary for this package.
minor packaging 3. debhelper compat level 10 is obsolete ◂
  • Files: debian/compat:1, debian/control:6
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/compat contains 10; Build-Depends: debhelper (>= 10~)
  • Problem: debhelper 14.5 on the reviewing system recommends compat 14; level 10 predates numerous debhelper fixes and uses the legacy debian/compat file instead of the debhelper-compat control field.
  • Fix: Replace debian/compat with Build-Depends: debhelper-compat (= 13) (or 14) in debian/control/debian/control.in, and build-test at the new level.
minor packaging 4. REPORT_EXIT_STATUS:=0 makes PHP test failures non-fatal ◂
  • Files: debian/rules:2
  • Basis: inferred from what was read, not seen directly
  • Evidence: export REPORT_EXIT_STATUS:=0; changelog 1.0.10-2: "Don't fail on failed tests"
  • Problem: PHP's run-tests.php uses REPORT_EXIT_STATUS to decide whether failed tests make it exit non-zero. Forcing it to 0 means the build reports success even when upstream .phpt tests fail, so regressions are hidden. (dh-php is not installed on the reviewing system, so the exact test invocation in /usr/share/dh-php/pkg-pecl.mk could not be read.)
  • Fix: Drop the export (or set it to 1) and handle any genuinely unsupported .phpt files with --SKIPIF--/known-failure handling instead of suppressing the exit status.
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 ◂
  • debian/copyright is DEP-5; Files: * names Nikita Popov and BSD-3-clause, matching the sole copyright notice in ast-1.1.4/LICENSE; the full BSD-3-clause and Expat texts are present.
  • Whole tree (111 files: package.xml, ast-1.1.4/{LICENSE,README.md,ast.c,ast_data.c,ast_arginfo.h,ast_str_defs.h,ast_stub.php,config.m4,config.w32,php_ast.h,util.php} and 96 tests/*) grepped for Copyright/(C)/©/SPDX/licence wording: only LICENSE carries a copyright notice; package.xml declares BSD-3-Clause; no other holder or licence found.
  • Prescan reported every holder it found as named in debian/copyright; the only holder is Nikita Popov (2014), which Files: * names.
  • ast_arginfo.h is generated (its header says to edit the .stub.php file); its generator input ast_stub.php is shipped in the same directory, so it is not an orphaned build artifact.
  • The C sources include PHP/Zend headers but contain no copied PHP implementation code or licence text; tests/ are upstream test data, not vendored third-party code.
  • No debian/patches exist; source format 3.0 (quilt) is consistent with that and the .dsc.
  • Build-Depends names resolve in the archive: dh-php 5.25 (unstable) satisfies >= 5.23~; php-all-dev 2:108~exp2 is in experimental, satisfying >= 2:108~ for this experimental upload.
  • debian/rules uses the dh-php pkg-pecl.mk sequence; debian/php-ast.docs names ast-*/README.md, which exists as ast-1.1.4/README.md; debian/ast.ini and debian/php-ast.php are packaging inputs for dh-php's config handling.
  • All debian/ files read: control, control.in, rules, changelog, copyright, compat, gbp.conf, ast.ini, php-ast.php, php-ast.docs, source/format.
  • uscan found the packaged version as the newest upstream release (upstream 1.1.4, packaged 1.1.4).
Not confirmed ◂
  • dh-php is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk could not be read; how it runs the upstream tests, and therefore how much effect REPORT_EXIT_STATUS:=0 has, was not directly verified.
  • Whether debian/control is regenerated from debian/control.in during the build (and whether the two are meant to differ in package list/Architecture) could not be checked without dh-php.
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/ast
Matching-Pattern: .*/ast-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
Uversionmangle: s/(\d)RC(\d*)$/$1rc$2/;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/
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