DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: libxlsxwriter 1.2.5-1~exp1

Package Information

DescriptionLibrary for XLSX

Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.

MaintainerMa Aiguo <imaiguo@gmail.com>
Changed ByBoyuan Yang <byang@debian.org>
Sponsorbyang@debian.org
Distributionexperimental
Architectureany
VCSgit: https://salsa.debian.org/debian/libxlsxwriter.git (browse)
Closes#1155543
Popcon Installs206
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/libxlsxwriter
Uploaded3 hours ago

New Package Report

.changes◂
Sourcelibxlsxwriter
Version1.2.5-1~exp1
Changed-ByBoyuan Yang <byang@debian.org>
Architecturesource amd64
Distributionexperimental
DateFri, 27 Nov 2026 11:46:24 -0500
Changelog◂
libxlsxwriter (1.2.5-1~exp1) experimental; urgency=medium
 .
   * New upstream release.
   * debian: Bump SONAME from 11 to 12.
   * debian/libxlsxwriter12.symbols: Updated.
   * debian/control: Bump debhelper compat to v14.
   * debian/control: Bump Standards-Version to 4.7.4.
   * debian/control: Add zlib1g-dev and libminizip-dev to Depends of
     libxlsxwriter-dev, required by xlsxwriter.pc. (Closes: #1155543)
   * debian/tests: Add autopkgtest building a program via pkg-config.
.dsc◂
Componentmain
Package-Listlibxlsxwriter-dev deb libdevel optional arch=any
libxlsxwriter12 deb libs optional arch=any
Sectionlibdevel
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libxlsxwriter
Upstream-Contact: John McNamara <jmcnamara@cpan.org>
Source: https://github.com/jmcnamara/libxlsxwriter

Files:     *
Copyright: 2014-2026 John McNamara <jmcnamara@cpan.org>
           2014-2015 Alex Huszagh
License:   BSD-2-Clause
Comment:
 See also License.txt and https://spdx.org/licenses/BSD-2-Clause-FreeBSD.html

Files:     third_party/md5/*
Copyright: 2001 Alexander Peslyak, better known as Solar Designer <solar at openwall.com>
License:   public-domain
 This software was written by Alexander Peslyak in 2001.  No copyright is
 claimed, and the software is hereby placed in the public domain.
 In case this attempt to disclaim copyright and place the software in the
 public domain is deemed null and void, then the software is
 Copyright (c) 2001 Alexander Peslyak and it is hereby released to the
 general public under the following terms:
 .
 Redistribution and use in source and binary forms, with or without
 modification, are permitted.
 .
 There's ABSOLUTELY NO WARRANTY, express or implied.

Files:     third_party/minizip/*
Copyright: 1998-2010 Gilles Vollant
License:   Zlib

Files:     third_party/tmpfileplus/*
Copyright: 2012-2016 David Ireland, DI Management Services Pty Ltd <http://www.di-mgt.com.au/contact/>
License:   MPL-2.0

Files:     test/unit/ctest.h
Copyright: 2011-2012 Bas van den Berg
License:   Apache-2.0

Files:     include/xlsxwriter/third_party/tree.h
Copyright: 2002 Niels Provos <provos@citi.umich.edu>
License:   BSD-2-Clause

Files:     include/xlsxwriter/third_party/queue.h
Copyright: 1991-1993 The Regents of the University of California.
License:   BSD-3-Clause

Files:     docs/menudata.js
Copyright: 1997-2020 Dimitri van Heesch
License:   Expat

Files:     third_party/dtoa/*
Copyright: Copyright (C) 2015 Doug Currie
           Copyright (C) 2014 Milo Yip
License:   MIT

License: MPL-2.0
 On Debian systems the full text of the MPL-2.0 can be found in
 /usr/share/common-licenses/MPL-2.0.

License:  Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
       http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache license version 2 is
 distributed in the file ’/usr/share/common-licenses/Apache-2.0’.

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:
 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.
 .
 THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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: 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, and the entire permission notice in its entirety,
    including the disclaimer of warranties.
 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 ``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: 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:   Zlib
 This software is provided 'as-is', without any express or implied
 warranty.  In no event will the authors be held liable for any damages
 arising from the use of this software.
 .
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 .
  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

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.

DFSG Assistant LLM REVIEW 1 blocker, 0 important, 1 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.

Report◂

DFSG NEW review for libxlsxwriter version 1.2.5-1~exp1

Summary

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

Licensing

All code in the tree is under free licences (BSD-2-Clause dominates; Zlib, MPL-2.0, Apache-2.0, MIT/Expat, public domain for vendored parts), so nothing is non-free. But debian/copyright is inaccurate: the five vendored headers under include/xlsxwriter/third_party/ (ioapi.h, zip.h, md5.h, tmpfileplus.h, emyg_dtoa.h) are covered only by the Files: * BSD-2-Clause stanza although they are minizip (Zlib), Openwall MD5 (public domain), tmpfileplus (MPL-2.0) and Milo Yip/dtoa (MIT) files with their own holders; all five are installed into libxlsxwriter-dev and three are #included by src/. The third_party/minizip stanza also under-names its holders (Even Rouault, Mathias Svensson, Info-ZIP; zlib's Gailly/Adler in License.txt), which is a completeness gap for source-only files.

Packaging

The packaging is in good shape: debhelper compat 14 with a plain dh/cmake rules file, correct multiarch library/dev split with a symbols file matching SONAME 12, dependency set justified by the generated xlsxwriter.pc Requires.private (zlib, minizip, libcrypto), an autopkgtest that links and runs a program via pkg-config, Standards-Version 4.7.4 against Policy 4.7.4.1, and a sane experimental changelog. python3-pytest <!nocheck> is correct because dh skips dh_auto_test at compat 13 and later, and the build itself only needs the Python interpreter, which python3-dev provides. No packaging fault rises above minor.

Issues

blocker licensing 1. Files: * declares the vendored headers include/xlsxwriter/third_party/{ioapi,zip,md5,tmpfileplus,emyg_dtoa}.h as BSD-2-Clause although they are Zlib, public-domain, MPL-2.0 and MIT files ◂
  • Files: debian/copyright:6-10, include/xlsxwriter/third_party/tmpfileplus.h:1-14, include/xlsxwriter/third_party/md5.h:13-25, include/xlsxwriter/third_party/zip.h:1-30, include/xlsxwriter/third_party/ioapi.h:1-7, include/xlsxwriter/third_party/emyg_dtoa.h:1-5, src/utility.c:22, src/worksheet.c:24, CMakeLists.txt:540-548
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright has Files: * / Copyright: 2014-2026 John McNamara ... 2014-2015 Alex Huszagh / License: BSD-2-Clause, and the next matching stanzas are all anchored at third_party/, test/ or docs/. tmpfileplus.h: This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0 and Copyright (c) 2012-16 David Ireland; zip.h: Condition of use and distribution are the same than zlib plus Copyright (C) 1998-2010 Gilles Vollant and Copyright (C) 2009-2010 Mathias Svensson; md5.h: No copyright is claimed, and the software is hereby placed in the public domain (Alexander Peslyak); emyg_dtoa.h: MIT text, Copyright (C) 2015 Doug Currie / Copyright (C) 2014 Milo Yip. CMakeLists.txt installs every header: install(DIRECTORY include/xlsxwriter DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING PATTERN "*.h").
  • Problem: copyright-format 6.9: patterns are anchored at the top of the tree and the last matching stanza wins, so third_party/tmpfileplus/* and friends do not reach include/xlsxwriter/third_party/; those five files fall back to Files: * and are described as BSD-2-Clause with John McNamara/Alex Huszagh as holders. Their own licences (Zlib, public domain, MPL-2.0, MIT) and holders are stated only for the copies under third_party/. This is not a cosmetic gap: the headers are installed into /usr/include/xlsxwriter/third_party/ by libxlsxwriter-dev, and tmpfileplus.h, md5.h and emyg_dtoa.h are #included by src/utility.c and src/worksheet.c, i.e. they are compiled into libxlsxwriter.so.12. Policy 2.3 therefore requires their copyright notices in the copyright file, and in any case the licence that debian/copyright states for them is wrong, which misinforms every user of the -dev package. (ioapi.h and zip.h also carry libxlsxwriter modifications, so they are not plain copies whose notices travel unaltered.)
  • Fix: Add stanzas covering include/xlsxwriter/third_party/tmpfileplus.h, md5.h, emyg_dtoa.h, ioapi.h and zip.h (e.g. Files: include/xlsxwriter/third_party/*.h followed by narrower ones, or per-file stanzas) with the correct Copyright holders (David Ireland; Alexander Peslyak; Doug Currie and Milo Yip; Gilles Vollant and Mathias Svensson) and the correct License short names (MPL-2.0, public-domain, MIT, Zlib), reusing the stand-alone License paragraphs already present.
minor licensing 2. Files: third_party/minizip/* names only Gilles Vollant and omits Even Rouault, Mathias Svensson and Info-ZIP; License.txt omits Jean-loup Gailly and Mark Adler ◂
  • Files: debian/copyright:26-28, third_party/minizip/unzip.c:1-62, third_party/minizip/miniunz.c:6-12, third_party/minizip/minizip.c:6-12, third_party/minizip/ioapi.c:4-7, third_party/minizip/zip.c:5-8, License.txt:101-130
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright: Files: third_party/minizip/* / Copyright: 1998-2010 Gilles Vollant / License: Zlib. The files themselves add Copyright (C) 2007-2008 Even Rouault, Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ), Copyright (c) 1990-2000 Info-ZIP. All rights reserved. (decryption code in unzip.c) and Copyright (C) 1998 - 2010 Gilles Vollant, Even Rouault, Mathias Svensson; License.txt credits (C) 1995-2013 Jean-loup Gailly and Mark Adler for the zlib parts.
  • Problem: The stanzas are incomplete: four holders of files in the tree are not named for the paths that carry them, and unzip.c contains Info-ZIP-licensed code whose licence is stated nowhere (the Info-ZIP licence is free, so this is completeness, not non-free terms). Policy 2.3 does not require these notices: debian/rules configures with -DUSE_SYSTEM_MINIZIP=ON, and CMakeLists.txt adds third_party/minizip/ioapi.c and zip.c only if(NOT USE_SYSTEM_MINIZIP), so no file of third_party/minizip/ is compiled, and those files ship only as source with their notices intact; License.txt likewise reaches no binary package. The DFSG team nonetheless asks for a complete debian/copyright.
  • Fix: Extend the third_party/minizip/* stanza's Copyright with Even Rouault, Mathias Svensson and Info-ZIP (and Jean-loup Gailly and Mark Adler for License.txt, e.g. in the Files: * stanza), state that unzip.c's decryption code is under the Info-ZIP licence, and add that licence text or a pointer to it.
Verified ◂
  • Read in full: debian/control, rules, changelog, copyright, libxlsxwriter12.install, libxlsxwriter-dev.install, tests/control, tests/build, source/format, upstream/metadata, the head of libxlsxwriter12.symbols.
  • All 757 zip archives are the reference workbooks test/functional/xlsx_files/*.xlsx and test/functional/xlsx_files/button07.xlsm (array_formula01.xlsx ... chart_str01.xlsx, ...): test data generated by the corresponding test/functional/src/test_*.c programs and consumed by test/functional/*.py as expected output; they are copied into the build tree by CMake and are not installed.
  • examples/vbaProject.bin is the VBA-project OLE container read by examples/macro.c; example data, not installed.
  • test/functional/src/images/vbaProject01.bin, vbaProject02.bin, vbaProject03.bin, vbaProject04.bin, vbaProject05.bin and vbaProject05Signature.bin are the VBA-project (and signature) OLE containers read by test_macro01-04.c and test_button07,13,14; test data for the functional tests, covered by Files: *, not installed.
  • The vendored minizip is not compiled: debian/rules passes -DUSE_SYSTEM_MINIZIP=ON and CMakeLists.txt only adds third_party/minizip/ioapi.c/zip.c when USE_SYSTEM_MINIZIP is off.
  • third_party/md5/md5.c and third_party/dtoa/emyg_dtoa.c are not compiled (rules passes -DUSE_OPENSSL_MD5=ON, USE_DTOA_LIBRARY stays OFF); their stanzas (public-domain, MIT) match their notices.
  • third_party/tmpfileplus/tmpfileplus.c is compiled (USE_STANDARD_TMPFILE not set) and its MPL-2.0 stanza and David Ireland holder are correct for that path.
  • docs/menudata.js is Dimitri van Heesch's MIT/Expat-licensed doxygen file, correctly named and licensed; docs/customdoxygen.css, DoxygenLayout.xml and footer.html are doxygen-1.8.7-generated template/output files carrying no third-party licence notice.
  • include/xlsxwriter/third_party/queue.h (Regents, BSD-3-Clause), tree.h (Niels Provos, BSD-2-Clause) and test/unit/ctest.h (Bas van den Berg, Apache-2.0) have stanzas that match their notices; ctest.h's 2011-2023 vs 2011-2012 year drift is not noteworthy.
  • Searched the whole tree for non-free or field-of-use wording (non-commercial, no-modification, -NC/-ND, GPL/LGPL, 'All rights reserved' outside quoted permissive notices): none found; all licences present (BSD-2, BSD-3, Zlib, MPL-2.0, Apache-2.0, MIT/Expat, public domain) are compatible with the BSD-2-Clause library.
  • Packaging: debhelper compat 14, so dh_gencontrol adds the relationship substvars itself (debhelper tool, compat 14 item) - libxlsxwriter12 correctly has no Depends field; Standards-Version 4.7.4 equals the first two components of Policy 4.7.4.1; SONAME 12 in include/xlsxwriter.h matches libxlsxwriter12.symbols and libxlsxwriter12.install; python3-pytest <!nocheck> is sound because dh skips dh_auto_test at compat 13+ while the build only needs the Python interpreter that python3-dev pulls in.
  • Dependencies named in debian/control resolve: libminizip-dev and python3-pytest exist in the reviewing system's package lists; the -dev package's libminizip-dev/libssl-dev/zlib1g-dev dependencies match the Requires.private: zlib minizip libcrypto generated into xlsxwriter.pc.
  • Autopkgtest is coherent: Tests: build names debian/tests/build, which compiles and runs a program using only pkg-config flags and checks the PK zip signature.
  • uscan found the packaged version as the newest upstream release (upstream 1.2.5, packaged 1.2.5).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0, MPL-2.0).
Not confirmed ◂
  • No build was possible, so the exported symbol set of libxlsxwriter.so.12 could not be compared with the 1175-line debian/libxlsxwriter12.symbols, nor the xlsxwriter.pc content with the installed file.
  • File modes could not be read with the available tools, so that debian/tests/build is executable was not confirmed.
  • The xlsx/xlsm reference workbooks, the VBA-project blobs and the image fixtures were not opened, per instructions; their provenance is only what the file names, paths and the tests using them show.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader rejected this upload in response to the review.

Review Information

rejected — allocated to dfsg-uploader 1 hour ago, started 1 hour ago, completed 1 hour ago.

Final Comment

The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.

Back to Dashboard | View all reviews for this package