php-ast 1.1.4-3
Package Information
| Description | AST 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. |
|---|---|
| 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-ast.git (browse) |
| Popcon Installs | 40 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-ast |
| Uploaded | 11 hours ago |
| Supersedes | 1.1.4-2 |
New Package Report
.changes
| Architecture | source all amd64 |
|---|---|
| Distribution | experimental |
| Date | Fri, 27 Nov 2026 15:57:58 +0100 |
| Source | php-ast |
| Version | 1.1.4-3 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
Changelog
php-ast (1.1.4-3) experimental; urgency=medium . * Depend on php-all-dev from experimental
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | php-ast deb php optional arch=all php-ast-all-dev deb php optional arch=all php8.6-ast deb php optional arch=any |
| Section | php |
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/copyrightis 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 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:9 - Basis: checked, in the package or with a reference tool
- Evidence:
Standards-Version: 4.5.1 - Problem: The
policytool 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/compatcontains10;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/compatfile instead of thedebhelper-compatcontrol field. - Fix: Replace
debian/compatwithBuild-Depends: debhelper-compat (= 13)(or 14) indebian/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
.phpttests fail, so regressions are hidden. (dh-phpis not installed on the reviewing system, so the exact test invocation in/usr/share/dh-php/pkg-pecl.mkcould not be read.) - Fix: Drop the export (or set it to 1) and handle any genuinely unsupported
.phptfiles 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/copyrightis DEP-5;Files: *names Nikita Popov and BSD-3-clause, matching the sole copyright notice inast-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 96tests/*) grepped for Copyright/(C)/©/SPDX/licence wording: onlyLICENSEcarries a copyright notice;package.xmldeclaresBSD-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), whichFiles: *names. ast_arginfo.his generated (its header says to edit the.stub.phpfile); its generator inputast_stub.phpis 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/patchesexist; source format3.0 (quilt)is consistent with that and the.dsc. Build-Dependsnames resolve in the archive:dh-php5.25 (unstable) satisfies>= 5.23~;php-all-dev2:108~exp2 is in experimental, satisfying>= 2:108~for this experimental upload.debian/rulesuses the dh-phppkg-pecl.mksequence;debian/php-ast.docsnamesast-*/README.md, which exists asast-1.1.4/README.md;debian/ast.inianddebian/php-ast.phpare 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, packaged1.1.4).
Not confirmed ◂
dh-phpis not installed on the reviewing system, so/usr/share/dh-php/pkg-pecl.mkcould not be read; how it runs the upstream tests, and therefore how much effectREPORT_EXIT_STATUS:=0has, was not directly verified.- Whether
debian/controlis regenerated fromdebian/control.induring 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.