DFSG NEW Queue

DFSG, Licensing & New Packages Team

xdebug 3.6.0~alpha1-2

Package Information

DescriptionXdebug Module for PHP

The Xdebug extension helps you debugging your script by providing a lot of valuable debug information. The debug information that Xdebug can provide includes the following:

* stack traces and function traces in error messages with: - full parameter display for user defined functions - function name, file name and line indications - support for member functions * memory allocation * protection for infinite recursions

Xdebug also provides:

* profiling information for PHP scripts * script execution analysis * capabilities to debug your scripts interactively with a debug client

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

New Package Report

.changes◂
Sourcexdebug
Version3.6.0~alpha1-2
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 15:58:25 +0100
Changelog◂
xdebug (3.6.0~alpha1-2) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Priorityoptional
Componentmain
Package-Listphp-xdebug deb php optional arch=all
php-xdebug-all-dev deb php optional arch=all
php8.6-xdebug deb php optional arch=any
Sectionphp
debian/copyright◂
This package was debianized by Marcelo Jorge Vieira (metal) <metal@alucinados.com> on
Mon, 24 Dec 2007 15:32:08 -0200.

It was downloaded from <http://www.xdebug.org>

Copyright:

    Copyright (c) 2002-2007, Derick Rethans <derick@xdebug.org>

  For file xdebug_llist.h:

    Copyright (C) 2002, Sterling Hughes <sterling@php.net>
                        Daniel R. Kalowsky <dank@deadmime.org>

  For file xdebug_llist.c and xdebug_hash.c:

    Copyright (C) 2002, Sterling Hughes <sterling@php.net>

  For file xdebug_compat.c:

    Copyright (c) 2002-2008 Derick Rethans <derick@xdebug.org>
              (c) 1997-2004 Jim Winstead <jimw@trainedmonkey.com>
              (c) 1998-2004 Andi Gutmans <andi@zend.com> and
                            Zeev Suraski <zeev@zend.com>


License:

    --------------------------------------------------------------------
                     The Xdebug License, version 1.01
                 (Based on "The PHP License", version 3.0)
       Copyright (c) 2002-2007 Derick Rethans. 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 "Xdebug" must not be used to endorse or promote products
         derived from this software without prior written permission. For
         written permission, please contact derick@xdebug.org.

      4. Products derived from this software may not be called "Xdebug", nor
         may "Xdebug" appear in their name, without prior written permission
         from derick@xdebug.org.

      5. Derick Rethans 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 Derick Rethans. No
         one other than Derick Rethans 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 Xdebug, freely available
         from <http://xdebug.org/>".

    THIS SOFTWARE IS PROVIDED BY DERICK RETHANS ``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 some
    individuals on behalf of Derick Rethans.

    Derick Rethans can be contacted via e-mail at derick@xdebug.org.

    For more information Xdebug, please see <http://xdebug.org>.


The files xdebug_hash.h, xdebug_hash.c, xdebug_llist.c, xdebug_llist.h
are licensed under the following conditions:

    Vulcan Logic Public Licence
    (Based upon the Apache Software License)

    Version 1.1
    Copyright (c) 2002 Vulcan Logic. All rights reserved.

    Redistribution and use in source and binary forms, with or without
    modification, are 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 end-user documentation included with the redistribution, if any, must
       include the following acknowledgment:

           "This product includes software developed by Vulcan Logic
           (http://www.vl-srm.net/)."

       Alternately, this acknowledgment may appear in the software itself,
       if and wherever such third-party acknowledgments normally appear.

    4. The names "Vulcan Logic" and "SRM" must not be used to endorse or promote
       products derived from this software without prior written permission.
       For written permission, please contact group@vl-srm.net.

    5. Products derived from this software may not be called "SRM", nor may
       "SRM" appear in their name, without prior written permission of the
       Vulcan Logic Group.

    THIS SOFTWARE IS PROVIDED "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
    APACHE SOFTWARE FOUNDATION 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.


The file xdebug_compat.c is licensed under the following conditions:

    Redistribution and use in source and binary forms, with or without
    modification, are 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 of the author may not be used to endorse or promote
         products derived from this software without specific prior
         written permission.

    THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.

DFSG Assistant LLM REVIEW 4 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 in machine-readable format

Report◂

DFSG NEW review for xdebug version 3.6.0~alpha1-2

Summary

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

Licensing

debian/copyright is free-form, not machine-readable, and describes a source tree that no longer exists: it names xdebug_llist.h/hash.c/compat.c, attributes src/lib/llist.c and src/lib/hash.c to the Vulcan Logic Public Licence although their headers now carry the Xdebug licence, and gives the Xdebug licence as 1.01 when the shipped LICENSE is 1.03. Compiling the extension pulls in src/lib/strrnchr.h, ISC-licensed by Mattias Andrée, which the file does not mention; run-xdebug-tests.php is under the PHP License 3.01 (The PHP Group) with an embedded BSD-3-clause copy of sebastian/diff, and neither licence text is included. The Debian tests patch also adds third-party test fixtures (Rediska, PHP_CodeCoverage, an Elizabeth Smith file with no licence grant at all) that the copyright file does not describe. The Xdebug licence itself is DFSG-free and the package's own licensing is otherwise fine; the defects are the missing and wrong attributions, not the terms.

Packaging

The build system, dependencies, package split, Vcs fields and 3.0 (quilt) source format are coherent: php-all-dev 2:108 exists in experimental, dh-php 5.25 satisfies the versioned build-dependency, and pkg-config (needed by m4/pkg.m4/PKG_CHECK_MODULES) comes in through php*-dev. The tests patch was not updated for 3.6.0alpha1: it still adds the complete 3.5.0 test suite under a new xdebug-3.5.0/ directory (1195 files, 2.2 MB), while the extension sources are in xdebug-3.6.0alpha1/; debian/tests/upstream then cds into xdebug-3.6.0~alpha1, a directory that exists in neither form, so the package's only autopkgtest cannot run. Standards-Version is 4.5.1 against current 4.7.4.1.

Issues

blocker licensing 1. debian/copyright is stale and attributes src/lib/hash.c and llist.c to the Vulcan Logic licence, while their headers carry the Xdebug licence ◂
  • Files: debian/copyright:1-8, debian/copyright:10-20, debian/copyright:91-100, xdebug-3.6.0alpha1/src/lib/hash.c:1-13, xdebug-3.6.0alpha1/src/lib/llist.c:1-13, xdebug-3.6.0alpha1/LICENSE:1-4
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright:91 The files xdebug_hash.h, xdebug_hash.c, xdebug_llist.c, xdebug_llist.h are licensed under the following conditions: followed by Vulcan Logic Public Licence; xdebug-3.6.0alpha1/src/lib/hash.c:7 This source file is subject to version 1.01 of the Xdebug license; debian/copyright:8 Copyright (c) 2002-2007, Derick Rethans; debian/copyright:30 The Xdebug License, version 1.01 against xdebug-3.6.0alpha1/LICENSE:2 The Xdebug License, version 1.03.
  • Problem: The file has no Format: field, so it is not machine-readable, and its content is decades out of date. It names files (xdebug_llist.h, xdebug_hash.c, xdebug_compat.c) that do not exist; the current files are src/lib/llist.[ch], hash.[ch] and compat.c. It states that the hash and list implementations are under the Vulcan Logic Public Licence, while their current headers carry only the Xdebug licence and name only Derick Rethans; the Vulcan Logic copyright holders (Sterling Hughes, Daniel R. Kalowsky) appear nowhere in the tree. It reproduces the Xdebug licence as 1.01 while the bundled LICENSE is 1.03 (clause 5 permits a later version, so the 1.01 headers are valid, but the file must say which text applies to which files). A wrong licence statement for code compiled into the extension is a blocker; the maintainer must also check upstream whether the Vulcan Logic notices were dropped from code that still contains that work, because if so the notices must be restored.
  • Fix: Replace the file with the machine-readable text given in the proposed replacement: one stanza for the Xdebug-licensed files, one for LICENSE (1.03), and a Comment recording the 1.01/1.03 relationship; drop the Vulcan Logic stanza after confirming with upstream that no Vulcan Logic code remains.
blocker licensing 2. src/lib/strrnchr.h is ISC-licensed by Mattias Andrée and is compiled into the extension, but debian/copyright never mentions it ◂
  • Files: xdebug-3.6.0alpha1/src/lib/strrnchr.h:1-18, xdebug-3.6.0alpha1/src/lib/maps/maps_private.c:23, xdebug-3.6.0alpha1/config.m4:114, debian/copyright:1-160
  • Basis: checked, in the package or with a reference tool
  • Evidence: strrnchr.h:2-4 ISC License / © 2017, 2018, 2021, 2022, 2023, 2024 Mattias Andrée <m@maandree.se>; maps_private.c:23 #include "../strrnchr.h"; config.m4:114 lists src/lib/maps/maps_private.c in XDEBUG_LIB_MAPS_SOURCES, compiled by PHP_NEW_EXTENSION.
  • Problem: The ISC licence requires the copyright notice and permission notice to appear in all copies, and the code is compiled into php*-xdebug. Policy 2.3 requires the notice in debian/copyright because the file is shipped compiled; the file names neither the holder nor the licence, and the ISC text is not reproduced anywhere in the package's copyright file.
  • Fix: Add a Files: */src/lib/strrnchr.h stanza with Copyright 2017, 2018, 2021-2024 Mattias Andrée and the ISC licence text (see proposed replacement).
blocker licensing 3. run-xdebug-tests.php is PHP-3.01 with an embedded BSD-3-clause sebastian/diff copy; neither holder nor licence text is in debian/copyright ◂
  • Files: xdebug-3.6.0alpha1/run-xdebug-tests.php:1-23, xdebug-3.6.0alpha1/run-xdebug-tests.php:3963-3973, debian/copyright:1-160
  • Basis: checked, in the package or with a reference tool
  • Evidence: run-xdebug-tests.php:5-9 Copyright (c) The PHP Group / subject to version 3.01 of the PHP license; run-xdebug-tests.php:3964-3971 BSD 3-Clause License / Copyright (c) 2002-2023, Sebastian Bergmann / This file is part of sebastian/diff.
  • Problem: debian/copyright mentions neither the PHP Group nor Sebastian Bergmann, and neither the PHP License 3.01 nor the BSD-3-clause text appears in it; /usr/share/common-licenses has neither, so both texts have to be reproduced. Policy 2.3: the source package is distributed too, and the missing licence texts are not a mere missing-holder case.
  • Fix: Add a stanza for run-xdebug-tests.php with both holders and License: PHP-3.01 and BSD-3-clause, and include both licence texts verbatim (PHP 3.01 from https://www.php.net/license/3_01.txt).
blocker licensing 4. The tests patch brings in third-party test code debian/copyright does not describe, including bug00472.inc with no licence grant and a LICENSE reference that resolves to no file ◂
  • Files: xdebug-3.5.0/tests/coverage/bug00472.inc:1-5, xdebug-3.5.0/tests/coverage/bug01263.inc:1-9, xdebug-3.5.0/tests/coverage/670-ConsistentHashing.inc:1-11, debian/patches/0001-Add-upstream-tests-to-the-package.patch
  • Basis: checked, in the package or with a reference tool
  • Evidence: bug00472.inc:3-4 @author Elizabeth Smith <auroraeosrose@php.net> / @copyright Elizabeth Smith (c) 2009 and nothing else; bug01263.inc:3-8 This file is part of the PHP_CodeCoverage package. / (c) Sebastian Bergmann / please view the LICENSE file that was distributed with this source code (xdebug-3.5.0/ contains no LICENSE file); 670-ConsistentHashing.inc:4-10 @author Kijin Sung / @license http://www.opensource.org/licenses/bsd-license.php.
  • Problem: These files exist only through debian/patches/0001-..., so the debian/* stanza is what covers them, but they are third-party work with their own holders and licences, which debian/copyright states nowhere. bug00472.inc carries a copyright notice and no permission statement at all: Policy 2.3 says that a work with a notice but no statement of what is permitted grants nothing, so it cannot be distributed as it stands. bug01263.inc's licence exists only by reference to a LICENSE file the package does not ship, and 670-ConsistentHashing.inc gives only a URL instead of the BSD notice text.
  • Fix: Either drop these fixtures and the tests that need them, or add stanzas recording Kijin Sung (BSD-3-clause), Sebastian Bergmann (BSD-3-clause) and Elizabeth Smith with her licence once it is clarified in writing; reproduce the BSD-3-clause text and state where PHP_CodeCoverage's licence text is shipped.
important packaging 5. Tests patch still adds the 3.5.0 suite under xdebug-3.5.0/, and debian/tests/upstream cds into a directory that does not exist, so the only autopkgtest cannot run ◂
  • Files: debian/tests/upstream:4, debian/patches/0001-Add-upstream-tests-to-the-package.patch:1-6, debian/patches/0001-Add-upstream-tests-to-the-package.patch:2405-2410, xdebug-3.6.0alpha1/run-xdebug-tests.php:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/tests/upstream:3-4 XDEBUG_VERSION=$(dpkg-parsechangelog -SVersion | sed -e 's/-[^-]*$//' -e 's/^[0-9]*://') / cd "xdebug-$XDEBUG_VERSION" && ... php run-xdebug-tests.php ...; the patch diffstat is xdebug-3.5.0/tests/base/001.phpt | 8 + and every hunk is --- /dev/null, 1195 created files; the source root contains xdebug-3.6.0alpha1/ (which has run-xdebug-tests.php but no tests/) and the patch-created xdebug-3.5.0/.
  • Problem: dpkg-parsechangelog yields 3.6.0~alpha1, so the test does cd xdebug-3.6.0~alpha1, but the upstream directory is xdebug-3.6.0alpha1 (the tilde comes from Debian's version mangling): there is no such directory and the test dies immediately. Even with the right name, run-xdebug-tests.php has no tests/ beside it, because the patch still adds the 3.5.0 suite as a sibling of the 3.6.0alpha1 tree. The result is that the package ships 2.2 MB of a previous release's tests, tests the wrong version if run, and has no working autopkgtest.
  • Fix: Regenerate the patch against 3.6.0alpha1 so the tests (and php_xdebug.stub.php) land in xdebug-3.6.0alpha1/tests, or drop the carried test suite and the autopkgtest with it; fix debian/tests/upstream to cd into the directory that actually exists (and not derive it from the mangled Debian version).
minor licensing 6. m4/pkg.m4 is GPL-2+ with the Autoconf exception by Scott James Remnant and Dan Nicholson and is not described at all ◂
  • Files: xdebug-3.6.0alpha1/m4/pkg.m4:1-24, xdebug-3.6.0alpha1/config.m4:12, xdebug-3.6.0alpha1/config.m4:57
  • Basis: checked, in the package or with a reference tool
  • Evidence: pkg.m4:4-9 Copyright © 2004 Scott James Remnant / Copyright © 2012-2015 Dan Nicholson / under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version; pkg.m4:21-22 the Autoconf special exception; config.m4:12 m4_include([m4/pkg.m4]).
  • Problem: The file is part of the build (config.m4 includes it and uses PKG_CHECK_MODULES), so it is not a missing-holder blocker under Policy 2.3 - it is not installed and it keeps its own notice - but debian/copyright says nothing about it, so a GPL-2+-licensed build file is undocumented. A complete copyright file should record it and point at /usr/share/common-licenses/GPL-2.
  • Fix: Add the stanza and the GPL-2+ with Autoconf exception licence paragraph from the proposed replacement.
minor packaging 7. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:11, debian/control.in:11
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1 (debian/control:11); the policy tool reports Debian Policy 4.7.4.1.
  • Problem: Policy 4.5.1 is two major revisions behind; no packaging change is implied by the bump, but a sponsor will ask for it.
  • Fix: Set Standards-Version to 4.7.4.1 (or the newest Policy at upload time) after checking the upgrading checklist.
minor packaging 8. debian/watch is in the old version 4 format ◂
  • Files: debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: version=4
  • 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 every file under debian/: changelog, control, control.in, rules, copyright, compat (10), gbp.conf, source/format (3.0 quilt), source/lintian-overrides, source.lintian-overrides, tests/control, tests/upstream, php-xdebug.php, xdebug.ini, freexian-dists, patches/series and the head of the 2.2 MB patch.
  • Inventoried the upstream tree: top-level package.xml plus xdebug-3.6.0alpha1/ (config.m4, config.w32, Makefile.frag, LICENSE, README.rst, CREDITS, CONTRIBUTING.rst, php_xdebug.h, php_xdebug_arginfo.h, run-xdebug-tests.php, xdebug.c, xdebug.ini, src/ with base, coverage, debugger, develop, gcstats, lib (incl. lib/maps), profiler, tracing, contrib/, m4/), and the patch-created xdebug-3.5.0/ tree.
  • Grepped both trees for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/Permission is hereby granted/GNU/BSD/ISC/Apache/MPL/public domain/All rights reserved. Apart from the files reported, every source file carries the Xdebug licence; no non-free wording (non-commercial, no-modification, field-of-use) was found anywhere.
  • src/lib/llist.c and src/lib/hash.c carry only the Xdebug licence header naming Derick Rethans; the strings Sterling, Kalowsky and Vulcan occur nowhere in the tree except debian/copyright.
  • The four files the scan lists as unrecognised binary data are fixtures of the carried 3.5.0 test suite created by debian/patches/0001-Add-upstream-tests-to-the-package.patch: xdebug-3.5.0/tests/base/bug01515-001.phpt, xdebug-3.5.0/tests/base/bug02375.phpt, xdebug-3.5.0/tests/debugger/bug00886.phar (a phar archive used as test input) and xdebug-3.5.0/tests/tracing/bug01209.phpt. They are test data, not built or installed.
  • The scan's Derick Rethans, Andi Gutmans, Zeev Suraski and Jim Winstead hits are named in debian/copyright (the latter three in the xdebug_compat.c paragraph, whose old filename is reported separately in issue 1); Kijin Sung and Elizabeth Smith were not flagged by the scan but were found by grepping the patch-created tests and are reported.
  • The patch is purely additive: every hunk starts from /dev/null, creating 1195 files under xdebug-3.5.0/ (diffstat plus the scan's list).
  • php_xdebug_arginfo.h:1 says This is a generated file, edit the .stub.php file instead, and package.xml lists it as role=src; the 3.6.0alpha1 stub is not in the tarball (the only stub in the source is the 3.5.0 one from the patch), so the generator input for the shipped header is not in the package.
  • Build dependencies exist: php-all-dev 2:108~exp2 in experimental, dh-php 5.25, and pkg-config (needed by m4/pkg.m4's PKG_CHECK_MODULES) is a dependency of php*-dev, so no missing build-dependency was found.
  • No maintainer scripts, *.maintscript, .install/.links/.docs files, debian/upstream/metadata or Files-Excluded were present; debian/tests/control has one test using php-cli and php-xdebug.
  • uscan found the packaged version as the newest upstream release (upstream 3.6.0~alpha1, packaged 3.6.0~alpha1).
Not confirmed ◂
  • Could not build the package or run the autopkgtest; the failure of debian/tests/upstream is reasoned from the directory names and the patch contents, not observed.
  • Did not inspect all 2.2 MB of the tests patch line by line; the inventory of its files comes from the patch diffstat, the scan's list of created files and spot checks.
  • xdebug-3.5.0/tests/debugger/bug00886.phar was not opened (binary); it is assumed to be a phar test fixture.
  • The exact licence of xdebug-3.5.0/tests/coverage/670-ConsistentHashing.inc is stated only as a link to the legacy opensource.org BSD page; BSD-3-clause is assumed for the proposal and should be confirmed against the Rediska licence.
  • The PHP License 3.01 and BSD-3-clause texts in the proposed copyright are reproduced from the files' notices and standard wording; the maintainer should paste PHP 3.01 verbatim from https://www.php.net/license/3_01.txt.
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: http://www.xdebug.org/download.php
Matching-Pattern: files/xdebug-@ANY_VERSION@\.tgz
Filenamemangle: s%.*/xdebug-@ANY_VERSION@\.tgz%@PACKAGE@-$1.tar.gz%
Searchmode: plain
Uversionmangle: s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|a|b)\d*)$/$1~$2/
Proposed: debian/copyright in machine-readable format ◂

debian/copyright is not in machine-readable (DEP-5) format. This replacement was written by the reviewing model: its form has been checked, its content has not.

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xdebug
Source: https://xdebug.org/

Files: *
Copyright: 2002-2026, Derick Rethans <derick@xdebug.org>
License: Xdebug-1.01
Comment: The source file headers name version 1.01 of the Xdebug licence.
 The LICENSE file shipped in the 3.6.0alpha1 tarball is version 1.03
 (see below); clause 5 of the licence permits use under any later
 version published by Derick Rethans.

Files: */LICENSE
Copyright: 2003-2022, Derick Rethans <derick@xdebug.org>
License: Xdebug-1.03

Files: */src/lib/compat.c
Copyright: 2002-2026, Derick Rethans <derick@xdebug.org>
 1997-2004, Jim Winstead <jimw@trainedmonkey.com>
 1998-2004, Andi Gutmans <andi@zend.com>
 1998-2004, Zeev Suraski <zeev@zend.com>
License: BSD-3-clause

Files: */src/lib/strrnchr.h
Copyright: 2017, 2018, 2021-2024, Mattias Andrée <m@maandree.se>
License: ISC

Files: */m4/pkg.m4
Copyright: 2004, Scott James Remnant <scott@netsplit.com>
 2012-2015, Dan Nicholson <dbn.lists@gmail.com>
License: GPL-2+ with Autoconf exception

Files: */run-xdebug-tests.php
Copyright: The PHP Group
 2002-2023, Sebastian Bergmann
License: PHP-3.01 and BSD-3-clause
Comment: PHP's test harness (PHP License 3.01, The PHP Group) with a copy
 of the sebastian/diff Differ class (BSD-3-clause, Sebastian Bergmann)
 embedded at the end of the file.

Files: */tests/coverage/670-ConsistentHashing.inc
Copyright: Kijin Sung <kijinbear@gmail.com>
License: BSD-3-clause
Comment: The file states only a link to
 http://www.opensource.org/licenses/bsd-license.php as its licence.

Files: */tests/coverage/bug01263.inc
Copyright: Sebastian Bergmann <sebastian@phpunit.de>
License: BSD-3-clause
Comment: Part of PHP_CodeCoverage; the file refers to a LICENSE file that
 the source package does not contain.

Files: */tests/coverage/bug00472.inc
Copyright: 2009, Elizabeth Smith <auroraeosrose@php.net>
License: none-granted
Comment: The file carries a copyright notice and no licence statement;
 its licensing must be clarified with the copyright holder before it can
 be distributed.

Files: debian/*
Copyright: Marcelo Jorge Vieira <metal@alucinados.com>
 Martin Meredith <mez@debian.org>
 Lior Kaplan <kaplan@debian.org>
 Ondřej Surý <ondrej@debian.org>
 Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org>
License: Xdebug-1.01
Comment: The Debian packaging carries no separate licence statement; it
 is assumed to be under the same terms as the rest of the package.

License: Xdebug-1.01
 The Xdebug License, version 1.01
 (Based on "The PHP License", version 3.0)
 Copyright (c) 2002-2007 Derick Rethans. 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 "Xdebug" must not be used to endorse or promote products
      derived from this software without prior written permission. For
      written permission, please contact derick@xdebug.org.
 .
   4. Products derived from this software may not be called "Xdebug", nor
      may "Xdebug" appear in their name, without prior written permission
      from derick@xdebug.org.
 .
   5. Derick Rethans 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 Derick Rethans. No one other than Derick
      Rethans 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 Xdebug, freely available
      from <http://xdebug.org/>".
 .
 THIS SOFTWARE IS PROVIDED BY DERICK RETHANS ``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 some
 individuals on behalf of Derick Rethans.
 .
 Derick Rethans can be contacted via e-mail at derick@xdebug.org.
 .
 For more information Xdebug, please see <http://xdebug.org>.

License: Xdebug-1.03
 The Xdebug License, version 1.03
 (Based on "The PHP License", version 3.01)
 Copyright (c) 2003-2022 Derick Rethans. 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 "Xdebug" must not be used to endorse or promote products
      derived from this software without prior written permission. For
      written permission, please contact derick@xdebug.org.
 .
   4. Products derived from this software may not be called "Xdebug", nor
      may "Xdebug" appear in their name, without prior written permission
      from derick@xdebug.org.
 .
   5. Derick Rethans 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 Derick Rethans. No one other than Derick
      Rethans 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 Xdebug software, freely
      available from <https://xdebug.org/>".
 .
 THIS SOFTWARE IS PROVIDED BY DERICK RETHANS ``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 some
 individuals on behalf of Derick Rethans.
 .
 Derick Rethans can be contacted via e-mail at derick@xdebug.org.
 .
 For more information on Xdebug, please see <https://xdebug.org>.

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:
 .
   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 of the author may not be used to endorse or promote
      products derived from this software without specific prior written
      permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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: ISC
 ISC License
 .
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 copyright notice and this permission notice appear in all copies.
 .
 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

License: GPL-2+ with Autoconf exception
 This program is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the
 Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.
 .
 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
 Public License for more details.
 .
 On Debian systems, the complete text of the GNU General Public License
 version 2 can be found in /usr/share/common-licenses/GPL-2.
 .
 As a special exception to the GNU General Public License, if you
 distribute this file as part of a program that contains a configuration
 script generated by Autoconf, you may include it under the same
 distribution terms that you use for the rest of that program.

License: PHP-3.01
 The PHP License, version 3.01
 Copyright (c) 1999-2024 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>.
 .
 This product includes the Zend Engine, freely available at
 <http://www.zend.com>.

License: none-granted
 No licence is granted for this file; it carries a copyright notice only.
 Nothing may be copied, modified or distributed without the copyright
 holder's permission.

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