DFSG NEW Queue

DFSG, Licensing & New Packages Team

petsc 3.26.1+dfsg1-1exp1

Package Information

DescriptionVirtual package depending on latest PETSc development package

PETSc is the "Portable Extensible Toolkit for Scientific Computation", a suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations. It employs the MPI standard for all message-passing communication. Several sample scientific applications, as well as various papers and talks, demonstrate the features of the PETSc libraries.

This metapackage installs libpetsc-real-dev, which will always depend on the most recent version of PETSc with real number support. So if you install it then you will get upgrades automatically.

MaintainerDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed ByDrew Parsons <dparsons@debian.org>
Sponsordparsons@debian.org
Distributionexperimental
Architectureany all
VCSgit: https://salsa.debian.org/science-team/petsc.git (browse)
Popcon Installs958
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/petsc
Uploaded4 days ago

New Package Report

.changes◂
Distributionexperimental
DateSun, 15 Nov 2026 14:07:49 +0100
Sourcepetsc
Version3.26.1+dfsg1-1exp1
Changed-ByDrew Parsons <dparsons@debian.org>
Architecturesource all amd64
Changelog◂
petsc (3.26.1+dfsg1-1exp1) experimental; urgency=medium
 .
   * New upstream release
     - new ABI 3.26
     - deprecates debian patch configure_python3.patch
.dsc◂
Package-Listlibpetsc-complex-dev deb libdevel optional arch=all
libpetsc-complex3.26 deb libs optional arch=any
libpetsc-complex3.26-dbg deb debug optional arch=any
libpetsc-complex3.26-dev deb libdevel optional arch=any
libpetsc-real-dev deb libdevel optional arch=all
libpetsc-real3.26 deb libs optional arch=any
libpetsc-real3.26-dbg deb debug optional arch=any
libpetsc-real3.26-dev deb libdevel optional arch=any
libpetsc3.26-dev-common deb libdevel optional arch=all
libpetsc3.26-dev-examples deb libdevel optional arch=all
libpetsc64-complex-dev deb libdevel optional arch=all
libpetsc64-complex3.26 deb libs optional arch=any
libpetsc64-complex3.26-dbg deb debug optional arch=any
libpetsc64-complex3.26-dev deb libdevel optional arch=any
libpetsc64-real-dev deb libdevel optional arch=all
libpetsc64-real3.26 deb libs optional arch=any
libpetsc64-real3.26-dbg deb debug optional arch=any
libpetsc64-real3.26-dev deb libdevel optional arch=any
petsc-dev deb libdevel optional arch=all
petsc3.26-doc deb doc optional arch=all
petsc64-dev deb libdevel optional arch=all
Sectionlibdevel
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: PETSc
Source: http://www.mcs.anl.gov/petsc/
Files-Excluded: src/binding/petsc4py docs/petsc4py
    lib/petsc/bin/win32fe/*
    src/ts/tutorials/power_grid/PDF_eqs_power_grid.pdf

Files: *
Copyright: (c) 1991-2014, UChicago Argonne, LLC and the PETSc Development Team
License: BSD-2-clause
Disclaimer:
 This license DOES NOT apply to any software that may be obtained via the
 --download-package option of the PETSc configuration. Each of those
 packages are covered by their own licenses.

Files:
 src/benchmarks/ssget
Copyright:
 2017-2018 Karlsruhe Institute of Technology
 2017-2018 Universitat Jaume I
 2017-2018 University of Tennessee
License: BSD-3-clause

Files: share/petsc/matlab/laplacian*
Copyright: 2011, Bryan C. Smith and Andrew V. Knyazev
License: BSD-2-clause

Files: src/benchmarks/streams/*
Copyright: 1991-2005 John D. McCalpin, Joe R. Zagar
License: STREAM

Files: src/sys/totalview/*
Copyright: 2010, Rogue Wave Software, Inc.
License: Expat

Files:
 src/mat/tests/cJSON.c
 src/mat/tests/cJSON.h
Copyright:
 2009-2017 Dave Gamble and cJSON contributors
License: Expat

Files: src/sys/perfstubs/*
Copyright:
 2019-2020 University of Oregon
License: BSD-3-clause

Files: src/sys/yaml/*
Copyright:
 2017-2020 Ingy döt Net
 2006-2016 Kirill Simonov
License: Expat

Files: docs/_static/styles/pydata-sphinx-theme.*
Copyright: 2011-2024 The Bootstrap Authors
                2024 Fonticons, Inc.
                2018 pandas
License: Expat and BSD-3-clause

Files:
 docs/_static/scripts/bootstrap.*
 docs/_static/styles/bootstrap.*
Copyright:
  2011-2025 Twitter, Inc <https://twitter.com>
  2011-2025 Bootstrap Authors <https://github.com/twbs/bootstrap/graphs/contributors>
License: Expat

Files: include/petsc/private/khash/khash.h
Copyright: 2008, 2009, 2011 by Attractive Chaos <attractor@live.co.uk>
License: MIT

Files: src/ksp/ksp/tests/ex63.cxx
Copyright: 2011 Sandia Corporation,
 Michael A. Heroux (maherou@sandia.gov)
License: BSD-3-clause
Comment:
 Amesos2: Templated Direct Sparse Solver Package
 .
 Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
 license for use of this work by or on behalf of the U.S. Government.

Files:
 include/petsc/private/valgrind/memcheck.h
 include/petsc/private/valgrind/valgrind.h
Copyright: 2000-2012, Julian Seward
License: BSD-3-clause

Files:
 config/BuildSystem/config/packages/HIP.py
 docs/include/petscsys.h.html
 docs/include/petscsystypes.h.html
 docs/src/mat/impls/aij/mpi/mpihipsparse/mpiaijhipsparse.hip.cxx.html
 docs/src/mat/impls/aij/mpi/mpihipsparse/mpihipsparsematimpl.h.html
 docs/src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cxx.html
 docs/src/mat/impls/aij/seq/seqhipsparse/hipsparsematimpl.h.html
 docs/src/mat/impls/dense/mpi/mpidense.c.html
 docs/src/mat/impls/dense/seq/dense.c.html
 docs/src/mat/impls/dense/seq/dense.h.html
 docs/src/mat/interface/dlregismat.c.html
 docs/src/mat/interface/matregis.c.html
 docs/src/mat/interface/matrix.c.html
 docs/src/snes/tutorials/ex19.c.html
 docs/src/snes/tutorials/ex56.c.html
 docs/src/sys/error/err.c.html
 include/petscsys.h
 include/petscsystypes.h
 src/mat/impls/aij/mpi/mpihipsparse/mpiaijhipsparse.hip.cxx
 src/mat/impls/aij/mpi/mpihipsparse/mpihipsparsematimpl.h
 src/mat/impls/aij/seq/seqhipsparse/aijhipsparse.hip.cxx
 src/mat/impls/aij/seq/seqhipsparse/hipsparsematimpl.h
 src/mat/impls/dense/mpi/mpidense.c
 src/mat/impls/dense/seq/dense.c
 src/mat/impls/dense/seq/dense.h
 src/mat/interface/dlregismat.c
 src/mat/interface/matregis.c
 src/mat/interface/matrix.c
 src/snes/tutorials/ex19.c
 src/snes/tutorials/ex56.c
 src/sys/error/err.c
Copyright: 2022 Advanced Micro Devices, Inc
License: BSD-2-clause

Files:
 share/petsc/datafiles/meshes/nozzle.igs
Copyright:
 2006 Siemens
License: BSD-2-clause

Files:
 share/petsc/saws/js/SAWs.js
Copyright:
 2013 UChicago Argonne, LLC
License: Expat
Comment:
 The file is introduced via the patch downloaded_SAWs.js.patch

Files:
 docs/_static/vendor/fontawesome/*/webfonts/*
Copyright:
  2012-2018, Dave Gandy <drgandy@alum.mit.edu>
License: OFL-1.1
Comment:
 Upstream doesn't specify which version of OFL
 instead simply links to OFL page.
 Hence latest version of OFL is considered.

Files:
 docs/_static/vendor/fontawesome/*/css/*
 docs/_static/vendor/fontawesome/*/js/*
Copyright:
  2012-2018, Dave Gandy <drgandy@alum.mit.edu>
License: Expat

Files:
 src/tao/leastsquares/tutorials/matlab/more_wild_probs/g_dfovec_1d.m
Copyright:
 2009, 2010 Johannes Willkomm, Institute for Scientific Computing,
 RWTH Aachen University, 52056 Aachen, Germany.
 2001- 2008 Andre Vehreschild, Institute for Scientific Computing,
 RWTH Aachen University, 52056 Aachen, Germany.
License: BSD-2-clause

Files:
 docs/src/ksp/ksp/tests/raja/ex1.raja.cxx.html
 docs/src/ksp/ksp/tests/raja/memoryManager.hpp.html
 src/ksp/ksp/tests/raja/ex1.raja.cxx
 src/ksp/ksp/tests/raja/memoryManager.hpp
Copyright:
 2016-21, Lawrence Livermore National Security, LLC
License: BSD-3-clause

Files: debian/*
Copyright: 2000-2026 Adam C. Powell IV, Drew Parsons, Francesco Ballarin
License: BSD-2-clause

License: BSD-2-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.
 .
 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 HOLDER 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: STREAM
 1. You are free to use this program and/or to redistribute
    this program.
 2. You are free to modify this program for your own use,
    including commercial use, subject to the publication
    restrictions in item 3.
 3. You are free to publish results obtained from running this
    program, or from works that you derive from this program,
    with the following limitations:
    3a. In order to be referred to as "STREAM benchmark results",
        published results must be in conformance to the STREAM
        Run Rules, (briefly reviewed below) published at
        http://www.cs.virginia.edu/stream/ref.html
        and incorporated herein by reference.
        As the copyright holder, John McCalpin retains the
        right to determine conformity with the Run Rules.
    3b. Results based on modified source code or on runs not in
        accordance with the STREAM Run Rules must be clearly
        labelled whenever they are published.  Examples of
        proper labelling include:
        "tuned STREAM benchmark results"
        "based on a variant of the STREAM benchmark code"
        Other comparable, clear and reasonable labelling is
        acceptable.
    3c. Submission of results to the STREAM benchmark web site
        is encouraged, but not required.
 4. Use of this program or creation of derived works based on this
    program constitutes acceptance of these licensing restrictions.
 5. Absolutely no warranty is expressed or implied.

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. Neither the name of the Corporation nor the names of the
 contributors may be used to endorse or promote products derived from
 this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "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 SANDIA CORPORATION OR THE
 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: MIT
 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.

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.

License: OFL-1.1
 PREAMBLE
 .
 The goals of the Open Font License (OFL) are
 to stimulate worldwide development of collaborative font projects,
 to support the font creation efforts
 of academic and linguistic communities,
 and to provide a free and open framework
 in which fonts may be shared and improved
 in partnership with others.
 .
 The OFL allows the licensed fonts
 to be used, studied, modified and redistributed freely
 as long as they are not sold by themselves.
 The fonts, including any derivative works,
 can be bundled, embedded, redistributed and/or sold with any software
 provided that any reserved names are not used by derivative works.
 The fonts and derivatives, however, cannot be released
 under any other type of license.
 The requirement for fonts to remain under this license
 does not apply to any document created
 using the fonts or their derivatives.
 .
 DEFINITIONS
 .
 "Font Software" refers to
 the set of files released by the Copyright Holder(s)
 under this license and clearly marked as such.
 This may include source files, build scripts and documentation.
 .
 "Reserved Font Name" refers to
 any names specified as such after the copyright statement(s).
 .
 "Original Version" refers to
 the collection of Font Software components
 as distributed by the Copyright Holder(s).
 .
 "Modified Version" refers to
 any derivative made by adding to, deleting, or substituting --
 in part or in whole --
 any of the components of the Original Version,
 by changing formats
 or by porting the Font Software to a new environment.
 .
 "Author" refers to
 any designer, engineer, programmer, technical writer
 or other person who contributed to the Font Software.
 .
 PERMISSION & CONDITIONS
 .
 Permission is hereby granted, free of charge,
 to any person obtaining a copy of the Font Software,
 to use, study, copy, merge, embed, modify, redistribute,
 and sell modified and unmodified copies of the Font Software,
 subject to the following conditions:
 .
  1) Neither the Font Software nor any of its individual components,
     in Original or Modified Versions,
     may be sold by itself.
  2) Original or Modified Versions of the Font Software
     may be bundled, redistributed and/or sold with any software,
     provided that each copy contains
     the above copyright notice and this license.
     These can be included either as stand-alone text files,
     human-readable headers
     or in the appropriate machine-readable metadata fields
     within text or binary files
     as long as those fields can be easily viewed by the user.
  3) No Modified Version of the Font Software may use
     the Reserved Font Name(s)
     unless explicit written permission is granted
     by the corresponding Copyright Holder.
     This restriction only applies to the primary font name
     as presented to the users.
  4) The name(s) of the Copyright Holder(s)
     or the Author(s) of the Font Software
     shall not be used
     to promote, endorse or advertise any Modified Version,
     except to acknowledge the contribution(s)
     of the Copyright Holder(s) and the Author(s)
     or with their explicit written permission.
  5) The Font Software,
     modified or unmodified, in part or in whole,
     must be distributed entirely under this license,
     and must not be distributed under any other license.
     The requirement for fonts to remain under this license
     does not apply to any document created using the Font Software.
 .
 TERMINATION
 .
 This license becomes null and void
 if any of the above conditions are not met.
 .
 DISCLAIMER
 .
 THE FONT SOFTWARE IS PROVIDED "AS IS",
 WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
 INCLUDING BUT NOT LIMITED TO
 ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
 AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT.
 IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
 FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
 OR CONSEQUENTIAL DAMAGES,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE
 OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

DFSG Assistant LLM REVIEW 3 blocker, 0 important, 5 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 4 days ago.

Report◂

DFSG NEW review for petsc version 3.26.1+dfsg1-1exp1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: No
  • Issues: 3 blocker, 0 important, 5 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 84 found (28 not listed by the scan, so not checked)

Licensing

Nothing in the upstream source is non-free: the terms found are BSD-2-clause, BSD-3-clause, MIT/Expat, OFL-1.1 and the STREAM licence, all mutually compatible, and the third-party components of the source itself (cJSON, yaml, khash, perfstubs, totalview, ssget, STREAM, RAJA, AMD) each have a stanza. debian/copyright is nevertheless inaccurate in three ways: the two bundled Valgrind headers are recorded as BSD-3-clause although they carry a four-clause BSD-style licence whose notice is not reproduced; a group of third-party browser JavaScript/CSS shipped in petsc3.26-doc is declared to be UChicago's and the Debian maintainers' BSD-2 work (clipboard.min.js states MIT (c) Zeno Rocha in its own header), with the KaTeX and sphinx-design assets and the pydata-theme JS not described at all; and src/benchmarks/daemon.py carries a third-party copyright notice with no licence grant, covered only by the blanket BSD-2 claim.

Packaging

The packaging is competent overall: source format 3.0 (quilt), debhelper compat 14 with dh-sequence-python3 and dh-fortran, dh used correctly with per-package overrides, alternatives created and removed idempotently in maintainer scripts, real autopkgtests, Standards-Version 4.7.4 (current) and a changelog targeting experimental for the new 3.26 ABI. It has four concrete defects a sponsor would want fixed: libpetsc64-real3.26-dbg depends on the 32-bit-index libpetsc-real3.26-dev; the 64-bit complex dev and dbg packages depend on libptscotch-64-dev although the build uses and records the -64i variant (libptscotch-64i-dev); a typo in libpetsc64-complex3.26-dev.postinst disables the cleanup it exists for; and none of the ten patches has a DEP-3 header.

Issues

blocker licensing 1. Files: * declares the bundled browser JavaScript/CSS BSD-2/UChicago although clipboard.min.js states MIT (c) Zeno Rocha, and KaTeX/sphinx-design/pydata-theme JS has no stanza at all ◂
  • Files: docs/_static/clipboard.min.js:2-5, docs/_static/katex.min.js, docs/_static/auto-render.min.js, docs/_static/katex-math.css, docs/_static/sphinx-design.min.css, docs/_sphinx_design_static/sphinx-design.min.css, docs/_static/design-tabs.js, docs/_static/scripts/pydata-sphinx-theme.js, debian/docs/_static/katex.min.js:1, debian/docs/_static/katex.min.css:1, debian/docs/_static/auto-render.min.js:1, debian/copyright:6-13, debian/copyright:271-273

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    docs/_static/clipboard.min.js:

     * clipboard.js v2.0.8
     * https://clipboardjs.com/
     * Licensed MIT (c) Zeno Rocha
    

    The only stanzas that match the rest are Files: * (Copyright: (c) 1991-2014, UChicago Argonne, LLC and the PETSc Development Team, License: BSD-2-clause) and, for the Debian-added copies, Files: debian/* (Copyright: 2000-2026 Adam C. Powell IV, Drew Parsons, Francesco Ballarin, License: BSD-2-clause). debian/README.source: js scripts referenced by html docs have been downloaded into debian/js ... https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/...; debian/missing-sources lists debian/docs/_static/auto-render.min.js, debian/docs/_static/katex.min.js, docs/_static/clipboard.min.js.

  • Problem: The whole docs/ tree, including docs/_static, is installed in petsc3.26-doc (debian/petsc3.26-doc.docs: docs), and debian/docs/_static is installed there too, so these files are distributed both in the source package and in a binary. debian/copyright nonetheless attributes them to the PETSc holder under BSD-2, which for clipboard.min.js is contradicted by the file's own header (MIT, Zeno Rocha). The KaTeX files carry no notice at all and are from the CDN download recorded in README.source, and the sphinx-design CSS/JS and scripts/pydata-sphinx-theme.js (only the styles/pydata-sphinx-theme.* half of that theme has a stanza, debian/copyright:81-85) have no stanza at all; debian/docs/_static/* is covered by the Files: debian/* stanza and so credited to the Debian maintainers. A wrong licence or a missing licence/holder makes debian/copyright inaccurate, so this must be fixed before acceptance.

  • Fix: Add stanzas with holders and licence texts for: KaTeX (docs/_static/katex.min.js, auto-render.min.js, katex-math.css; MIT, Khan Academy), clipboard.js (MIT, Zeno Rocha), sphinx-design (sphinx-design.min.css, design-tabs.js, MIT, Executable Book Project) and extend the pydata-sphinx-theme pattern to docs/_static/scripts/pydata-sphinx-theme.js*; give debian/docs/_static/* its own stanza with the KaTeX holder and MIT text instead of leaving it under Files: debian/*. Where the versions allow, prefer Debian's libjs-katex to an embedded copy.

blocker licensing 2. include/petsc/private/valgrind/{valgrind.h,memcheck.h} carry a four-clause BSD-style licence but are declared BSD-3-clause with Sandia's three-clause text ◂
  • Files: include/petsc/private/valgrind/valgrind.h:14-45, include/petsc/private/valgrind/memcheck.h:17-48, debian/copyright:104-109, debian/copyright:181-211
  • Basis: checked, in the package or with a reference tool
  • Evidence: The headers say Copyright (C) 2000-2017 Julian Seward. All rights reserved. and give four numbered conditions, including 2. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. and 3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. debian/copyright's stanza for them says Copyright: 2000-2012, Julian Seward / License: BSD-3-clause, and the stand-alone License: BSD-3-clause paragraph is Sandia's three-clause text (3. Neither the name of the Corporation nor the names of the contributors ...).
  • Problem: The declared short name and the reproduced licence text do not match the licence in the files: clauses 2 and 3 of the Valgrind notice (no misrepresentation of origin, altered versions must be marked) exist in neither the BSD-2-clause nor the BSD-3-clause text, and the notice the licence requires to be kept is absent from debian/copyright. These headers are installed in libpetsc3.26-dev-common (include/petsc/private/valgrind/) and are compiled into applications that use PETSc's Valgrind support, so the licence text of shipped, built-in code is misstated.
  • Fix: Give the two headers their own License: short name (for example BSD-4-clause-style) with the four numbered conditions and disclaimer quoted verbatim, and correct the copyright years to 2000-2017.
blocker licensing 3. src/benchmarks/daemon.py carries Chad J. Schroeder's copyright but grants no licence, and is declared BSD-2 by Files: * ◂
  • Files: src/benchmarks/daemon.py:17-18, debian/copyright:6-13

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    __author__ = "Chad J. Schroeder"
    __copyright__ = "Copyright (C) 2005 Chad J. Schroeder"
    

    No licence statement appears anywhere in the 208-line file. Files: * gives Copyright: (c) 1991-2014, UChicago Argonne, LLC and the PETSc Development Team and License: BSD-2-clause.

  • Problem: A file with its own third-party copyright notice and no permission statement has no licence that debian/copyright can truthfully record; the blanket BSD-2 stanza names a holder who cannot grant rights in it, and the actual holder is not named anywhere in the file. The file is not installed (src/benchmarks/ is not part of the dh_auto_install prefix; only share/petsc/examples and share/petsc/datafiles go into the examples package), but the source package distributes it and the DFSG require every file to be licensed.

  • Fix: Establish the terms of daemon.py from upstream and record the holder and licence in a stanza, or drop it with Files-Excluded. (Upstream's project-wide LICENSE cannot supply the grant because the file names a different copyright holder.)

minor licensing 4. Files: * does not name the Sphinx team, holder of docs/_static/{basic.css,doctools.js,language_data.js,searchtools.js} ◂
  • Files: docs/_static/basic.css:7-8, docs/_static/doctools.js:7-8, docs/_static/language_data.js:8-9, docs/_static/searchtools.js:7-8, debian/copyright:6-13

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
    * :license: BSD, see LICENSE for details.
    Files: * names only UChicago Argonne, LLC and the PETSc Development Team.

  • Problem: The licence is right (BSD-2-clause, the same text the copyright file reproduces) and the holder is missing. Debian Policy 2.3 does not require the holder here, because these files are installed as plain text with their notices intact in petsc3.26-doc and are not built into anything; the DFSG team nevertheless asks for a complete debian/copyright.

  • Fix: Add a Files stanza for these four Sphinx-generated files naming the Sphinx team and BSD-2-clause.

minor packaging 5. libpetsc64-real3.26-dbg depends on libpetsc-real3.26-dev, the 32-bit-index development package ◂
  • Files: debian/control:453-460

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    Package: libpetsc64-real3.26-dbg
    Depends:
     libpetsc-real3.26-dev (= ${binary:Version}),
     libpetsc3.26-dev-common (= ${source:Version}),
    

    The sibling packages use their own -dev: libpetsc-real3.26-dbg -> libpetsc-real3.26-dev, libpetsc-complex3.26-dbg -> libpetsc-complex3.26-dev, libpetsc64-complex3.26-dbg -> libpetsc64-complex3.26-dev.

  • Problem: The 64-bit-index debug library pulls in and installs the 32-bit-index real -dev package instead of libpetsc64-real3.26-dev; the dependency that provides the matching headers and config for the package's own debug library is missing.

  • Fix: Change it to libpetsc64-real3.26-dev (= ${binary:Version}).

minor packaging 6. 64-bit complex dev/dbg packages depend on libptscotch-64-dev, but the build links and records the -64i variant ◂
  • Files: debian/control:640-655, debian/control:664-678, debian/rules:213-214

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    debian/rules: SCOTCH64_CONFIG=--with-ptscotch=1 --with-ptscotch-include=/usr/include/scotch_64i --with-ptscotch-lib="-lptesmumps_64i -lptscotch_64i -lscotch_64i -lptscotcherr"
    debian/control, libpetsc64-complex3.26-dev and libpetsc64-complex3.26-dbg: libptscotch-64-dev,
    libpetsc64-real3.26-dev: libptscotch-64i-dev,

  • Problem: The installed PETSc configuration points at /usr/include/scotch_64i and the *_64i libraries, which libptscotch-64i-dev provides; libptscotch-64-dev is a different package (headers in /usr/include/scotch_64, 32-bit integers, -lptscotch_64). The two binary packages therefore do not install the headers and library their own config names, while the real 64-bit package depends on the right one.

  • Fix: Depend on libptscotch-64i-dev in libpetsc64-complex3.26-dev and libpetsc64-complex3.26-dbg, as libpetsc64-real3.26-dev already does.

minor packaging 7. libpetsc64-complex3.26-dev.postinst tests for libpets64c_complex.so, so its cleanup of the misnamed alternative never runs ◂
  • Files: debian/libpetsc64-complex3.26-dev.postinst:41-44

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    if [ -h /usr/lib/${DEB_HOST_MULTIARCH}/libpets64c_complex.so ]; then
      update-alternatives --remove-all libpetsc64_complex.so
    fi
    
  • Problem: libpets64c is a typo for libpetsc64; the condition can never be true, so the stale alternatives link the block exists to remove survives an upgrade, unlike in the other dev/dbg postinst files.

  • Fix: Correct the path to /usr/lib/${DEB_HOST_MULTIARCH}/libpetsc64_complex.so.

minor packaging 8. None of the ten patches has a DEP-3 header ◂
  • Files: debian/patches/build-no-rpath.patch, debian/patches/clean-no-double-colon.patch, debian/patches/docs.patch, debian/patches/downloaded_SAWs.js.patch, debian/patches/hurd.patch, debian/patches/ignore_git_hidden_folder_in_petscclone_py.patch, debian/patches/label_tests.patch, debian/patches/MPIv5_deprecate_ABI_check.patch, debian/patches/nocleanup.patch, debian/patches/sprng-2.patch
  • Basis: checked, in the package or with a reference tool
  • Evidence: build-no-rpath.patch begins This gets rid of rpath in the build system.; nocleanup.patch Turn off cleanup.; label_tests.patch lacks even that; hurd.patch starts directly with the index line. No patch has Description:, Origin: or Forwarded: fields.
  • Problem: The purpose, provenance and upstream status of the changes are only partly recorded (hurd.patch and label_tests.patch record nothing at all), which makes review and upstream submission harder; DEP-3 headers are the established convention for quilt patches.
  • Fix: Add Description:, Origin: (or Author:) and Forwarded: (with the upstream issue/MR URL, or no) to each patch, e.g. for MPIv5_deprecate_ABI_check.patch upstream work item #1881.
Verified ◂
  • Files-Excluded paths are absent: src/binding/petsc4py, docs/petsc4py, lib/petsc/bin/win32fe and src/ts/tutorials/power_grid/PDF_eqs_power_grid.pdf; src/binding/ is an empty directory and only a 141-byte docs/_sources/petsc4py/index.md.txt stub of the petsc4py docs remains.
  • Searched src/, include/, config/, share/, lib/ and interfaces/ for Copyright, (C), (c), SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU General/Lesser Public, Apache, Mozilla Public, public domain, All rights reserved and non-commercial/no-modification wording. All 41 copyright lines that do not name Argonne or PETSc were read; apart from the files in the issues above they are covered by stanzas: src/benchmarks/ssget (BSD-3, KIT/UJI/Tennessee), src/benchmarks/streams (STREAM, full text included), src/sys/totalview (Expat, Rogue Wave), src/sys/yaml (Expat, Ingy döt Net/Kirill Simonov), src/sys/perfstubs (BSD-3, University of Oregon), src/mat/tests/cJSON (Expat, Dave Gamble), include/petsc/private/khash/khash.h (MIT, Attractive Chaos), the RAJA files (LLNS BSD-3, SPDX-tagged), the AMD HIP files (BSD-2), share/petsc/matlab/laplacian* (BSD-2, laplacianlicense.txt) and tao/.../more_wild_probs/g_dfovec_1d.m (RWTH Aachen BSD-2).
  • No GPL, LGPL, Apache, Mozilla or Creative Commons wording exists in the tree; the only SPDX tags are (BSD-3-Clause) in src/ksp/ksp/tests/raja/{ex1.raja.cxx,memoryManager.hpp}. BSD-2, BSD-3, MIT/Expat, OFL-1.1 and STREAM are mutually compatible.
  • Pre-scan minified code: docs/_static/scripts/bootstrap.js and docs/_static/styles/bootstrap.css are minified Bootstrap 5.3.2 builds whose holders and MIT licence are in the bootstrap stanza, and their .map files carry the sources in sourcesContent; docs/_static/styles/pydata-sphinx-theme.css and its .map are covered by the pydata stanza; docs/_static/vendor/fontawesome/6.5.1/css/all.min.css and docs/_static/vendor/fontawesome/6.5.1/js/all.min.js are Font Awesome 6.5.1 code under MIT (all.min.js.LICENSE.txt records Popper and the Font Awesome authors) and the js/, css/ stanzas cover them, with docs/_static/vendor/fontawesome/6.5.1/webfonts/* covered by OFL-1.1 and the theme's own LICENSE.txt present; docs/searchindex.js is Sphinx's generated search index for the shipped docs sources. The remaining minified files (KaTeX, clipboard, sphinx-design, pydata-theme JS) are the subject of the first issue.
  • Pre-scan generated document: docs/manual/manual.pdf is the Sphinx-built manual whose markdown sources are shipped as docs/_sources/manual/*.md.txt.
  • Pre-scan binary data, matrices: share/petsc/datafiles/matrices/hpd-complex-int32-float32, hpd-complex-int32-float64, hpd-complex-int64-float32, hpd-complex-int64-float64, nh-complex-int32-float32, nh-complex-int32-float64, nh-complex-int64-float32, nh-complex-int64-float64, ns-real-int32-float32, ns-real-int32-float64, ns-real-int64-float32, ns-real-int64-float64, ritz2, ritz5, spd-real-int32-float128, spd-real-int32-float32, spd-real-int32-float64, spd-real-int64-float32, spd-real-int64-float64, tiny_system, tiny_system_with_x0, tiny_system_with_x0.mat, tiny_system_with_x0_complex.mat and tiny_system_x0 (all under share/petsc/datafiles/matrices/) are PETSc binary-format test matrices written by the test suite's own tooling; test data, covered by Files: *, installed only as test data in libpetsc3.26-dev-examples.
  • Pre-scan binary data, meshes: share/petsc/datafiles/meshes/2Dgrd.exo, FourBrickHex-large.exo, FourBrickTet-large.exo, FourSquareH-large.exo, FourSquareQ-large.exo, FourSquareT-large.exo, Rect-tri3.exo, SquareFaceSet.exo, TwoQuads.exo, annulus-20.exo and blockcylinder-50.exo are Exodus mesh files, cube.stl is an STL surface mesh, cube_5tets.cas is a Cubit/Fluent case file (the text .cas files start with a Fluent header), and gmsh-3d-binary-32.msh and gmsh-3d-binary-64.msh are gmsh meshes; all are test inputs covered by Files: *, and the only mesh with a third-party notice is share/petsc/datafiles/meshes/nozzle.igs (Copyright(c) 2006 Siemens PS 1, the Parasolid translator), which has its own stanza.
  • docs/objects.inv is the Sphinx inventory of the shipped documentation, generated together with the HTML; no separate source is needed.
  • The two text files over 4 MiB are CTAGS (9.8 MB) and TAGS (2.9 MB), ctags/etags indexes of the shipped sources; no package installs them.
  • src/dm/tests/output/ex12_1.out's Copyright 1984-2016 The MathWorks, Inc. is the MATLAB banner captured in an expected-output file, not a copyright notice for the file; share/petsc/matlab/UFgetPetscMat.m's Copyright 2009, PETSc Team is the PETSc Development Team named in Files: *, and the file is installed as plain text with its notice intact.
  • Packaging read in full and found sound: debian/control, rules, changelog head, source/format (3.0 quilt), all ten patches and series, tests/ (control and the four scripts), README.Debian, README.source, missing-sources, doc-base, petsc-ext, the .docs/.links files and the postinst/prerm pairs of the dev and dbg packages. compat 14, dh with python3 and fortran_mod, Standards-Version 4.7.4 against the system's Policy 4.7.4.1, Vcs-* and Homepage set, alternatives installed and removed idempotently under set -e.
  • debian/tests/control lists four tests using @ and @builddeps@; the test scripts set PETSC_DIR to the alternatives paths (/usr/lib/petsc, /usr/lib/petsc64, /usr/lib/petscdir/petsc-complex, /usr/lib/petscdir/petsc64-complex) and these are created by the dev packages' postinst scripts.
  • Coverage: the whole upstream tree except docs/ build output and .pc/ was searched by grep and spot-read per directory; debian/ was read file by file apart from the *.dirs and *.fortran-mod stubs.
  • uscan found the packaged version as the newest upstream release (upstream 3.26.1, packaged 3.26.1+dfsg1).
Not confirmed ◂
  • Binary files were counted and located but not opened: the matrices and meshes under share/petsc/datafiles, the Font Awesome .ttf/.woff2 files, the images under docs/_images and the PDF; judged by name, location and the documentation.
  • CTAGS, TAGS and docs/searchindex.js (7.3 MB) were only sampled, since the pre-scan read at most the first 4 MiB.
  • Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused: read: "xd://read/sources" is not a file of the package or of the reviewing system.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader hasn't responded yet, and is welcome to at any time. The 24-hour hold has ended, so the package is now open for review as usual.

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
3.25.0+dfsg1-1~exp3 deca816c… 2026-05-01 09:02 2026-05-01 09:14 mechtilde accepted VIEW
3.25.0+dfsg1-1~exp2 72453aaf… 2026-04-28 17:35 2026-04-28 17:54 mechtilde rejected VIEW

Back to Dashboard | View all reviews for this package