php-pcov 1.0.12-3
Package Information
| Description | Code coverage driver A self contained php-code-coverage compatible driver for PHP7. 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-pcov.git (browse) |
| Popcon Installs | 110 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-pcov |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Changed-By | Ondřej Surý <ondrej@debian.org> |
|---|---|
| Architecture | source all amd64 |
| Distribution | experimental |
| Date | Sat, 21 Nov 2026 10:04:29 +0100 |
| Source | php-pcov |
| Version | 1.0.12-3 |
Changelog
php-pcov (1.0.12-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
| Priority | optional |
|---|---|
| Component | main |
| Package-List | php-pcov deb php optional arch=all php-pcov-all-dev deb php optional arch=all php8.6-pcov deb php optional arch=any |
| Section | php |
debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pcov
Upstream-Contact: Joe Watkins <krakjoe@php.net>, Remi Collet <remi@php.net>
Source: http://pecl.php.net/package/pcov
Files: *
Copyright: The PHP Group
License: PHP-3.01
Files: debian/*
Copyright: 2015 Ondřej Surý <ondrej@debian.org>
License: Expat
License: PHP-3.01
--------------------------------------------------------------------
The PHP License, version 3.01
Copyright (c) 1999 - 2006 The PHP Group. All rights reserved.
--------------------------------------------------------------------
.
Redistribution and use in source and binary forms, with or without
modification, is permitted provided that the following conditions
are met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
2. 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.
.
3. The name "PHP" must not be used to endorse or promote products
derived from this software without prior written permission. For
written permission, please contact group@php.net.
.
4. Products derived from this software may not be called "PHP", nor
may "PHP" appear in their name, without prior written permission
from group@php.net. You may indicate that your software works in
conjunction with PHP by saying "Foo for PHP" instead of calling
it "PHP Foo" or "phpfoo"
.
5. The PHP Group may publish revised and/or new versions of the
license from time to time. Each version will be given a
distinguishing version number.
Once covered code has been published under a particular version
of the license, you may always continue to use it under the terms
of that version. You may also choose to use such covered code
under the terms of any subsequent version of the license
published by the PHP Group. No one other than the PHP Group has
the right to modify the terms applicable to covered code created
under this License.
.
6. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes PHP software, freely available from
<http://www.php.net/software/>".
.
THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
ANY EXPRESSED 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 PHP
DEVELOPMENT TEAM OR ITS 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.
.
--------------------------------------------------------------------
.
This software consists of voluntary contributions made by many
individuals on behalf of the PHP Group.
.
The PHP Group can be contacted via Email at group@php.net.
.
For more information on the PHP Group and the PHP project,
please see <http://www.php.net>.
.
PHP includes the Zend Engine, freely available at
<http://www.zend.com>.
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 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-pcov version 1.0.12-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
Upstream is entirely under the PHP License 3.01 (The PHP Group): pcov.c, php_pcov.h and the twelve vendored Zend CFG files under cfg/701-704 all carry that header, LICENSE ships the full text, and package.xml declares the same licence. Files: * names The PHP Group with PHP-3.01, which matches every notice; the full licence text is included, as it should be because PHP-3.01 is not in /usr/share/common-licenses. The packaging files are Expat, stated with full text, and no non-free wording, missing licence or built/unbuildable file was found.
Packaging
The packaging is conventional for the PHP PECL team: a single dh-php include, generated debian/control with arch:all metapackages plus the versioned php8.6-pcov extension package, correct substvars, DEP-14 branches and an experimental changelog that matches php-all-dev 2:102~. Two minor issues remain: Standards-Version is several Policy releases behind, and all package descriptions still call the driver "for PHP7" although the upload builds the PHP 8.6 extension.
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 - Basis: checked, in the package or with a reference tool
- Evidence:
Standards-Version: 4.5.1(thepolicytool reports Debian Policy 4.7.4.1) - Problem: The field does not track current Policy: the first two components are 4.5, not 4.7. No specific violation of 4.6/4.7 was found in the package (see policy appendix A10), so this is a currency issue rather than a defect.
- Fix: Bump to
Standards-Version: 4.7.4.1after checking the upgrading checklist (policy A10) for changes since 4.5.1.
minor packaging 3. Package descriptions say the driver is "for PHP7" although the upload builds php8.6-pcov ◂
- Files:
debian/control:28,debian/control:45,debian/control:62,debian/control.in - Basis: checked, in the package or with a reference tool
- Evidence:
A self contained php-code-coverage compatible driver for PHP7. - Problem: All three binary packages, including php8.6-pcov (Architecture: any) and the arch:all metapackage that depends on it, describe the extension as a PHP7 driver. The source builds the extension for PHP 8.6 in this upload, so the description shown to users is factually wrong.
- Fix: Change the description to "for PHP" (or name PHP 8.6 in the versioned package's description) in debian/control.in and regenerate debian/control.
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 with
Files: *(The PHP Group, PHP-3.01) andFiles: debian/*(2015 Ondřej Surý, Expat), and stand-alone text for both licences; noFiles-Excludedneeded. - Every upstream file carries its PHP-3.01 notice: pcov.c and php_pcov.h ("Copyright (c) The PHP Group"), cfg/701-704 zend_cfg.c, zend_cfg.h and zend_worklist.h ("Copyright (c) [1998-2018] The PHP Group"), LICENSE (version 3.01), and package.xml (PHP License). README.md has no separate licence and falls under
Files: *. - The scan's possible holder "The PHP Group" is exactly the holder named in
Files: *, so the files it listed (cfg/701, cfg/702, cfg/703, cfg/704 and the rest) are covered and nothing is missing. - tests/001-007.phpt are upstream test files without their own notices, covered by
Files: *; tests/008-013.phpt are created by debian/patches/0001 and are not upstream files (no finding). - PHP-3.01 is absent from /usr/share/common-licenses, so its full text must be included and is: it matches upstream's LICENSE, differing only in the years in the notice line (1999-2006 vs 1999-2018).
- Grep for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, permission notices, GNU/Apache/MPL, public domain and "All rights reserved" found nothing beyond the PHP-3.01 notices and LICENSE; no non-free terms.
- Whole tree inventoried: 32 upstream files (package.xml plus pcov-1.0.12/) and debian/; no generated, minified, binary or archive files; .pc/ ignored.
- Read every debian/ file: control, control.in, rules, changelog, compat, gbp.conf, php-pcov.docs, php-pcov.php, pcov.ini, source.lintian-overrides, source/format, patches/series and all three patches.
- debian/compat is 10; debhelper 14.5 supports it (only v7 is marked deprecated) and nothing in the package needs a higher level.
- Build-Depends are satisfiable: dh-php 5.23 is in unstable and php-all-dev 2:102~ is in experimental, matching the experimental changelog; the PHP API/ABI dependencies come through php-all-dev and dh-php.
- Tests are run with
REPORT_EXIT_STATUS:=0, so a failing .phpt does not fail the build; this is deliberate per changelog 1.0.6-6. - Patches are applied against the pcov-1.0.12/ prefix and each has From/Date/Subject headers: 0001 (Joe Watkins) adds the PCOV_ENABLED override and \pcov\enabled(), 0002 (Remi Collet) adapts the removed INI macros for 8.6, 0003 (Remi Collet) adds <stdbool.h> for PHP < 8.
- uscan found the packaged version as the newest upstream release (upstream
1.0.12, packaged1.0.12).
Not confirmed ◂
- dh-php is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk could not be read; how debian/control.in becomes the versioned packages was taken from dh_php(1) and from the committed debian/control and .dsc.
- php8.6-dev, which php-all-dev 2:102~ pulls in, is not in the reviewing system's package lists, archive snapshot or NEW queue as of 2026-11-21; whether the PHP 8.6 build stack is currently installable could not be confirmed (no build was run).
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/pcov
Matching-Pattern: /get/pcov-([\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.