Your message dated Wed, 02 Sep 2026 05:04:43 +0000
with message-id <[email protected]>
and subject line Bug#1146009: fixed in pymupdf 1.28.2+ds1-1
has caused the Debian Bug report #1146009,
regarding pymupdf: FTBFS: /<<PKGBUILDDIR>>/src/build/extra.i.cpp:3529:25: 
error: 'PyString_FromString' was not declared in this scope; did you mean 
'PyLong_FromString'?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1146009: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146009
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pymupdf
Version: 1.26.7+ds1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pymupdf, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
/<<PKGBUILDDIR>>/src/build/extra.i.cpp: In function ‘void messagev(const 
char*, __va_list_tag*)’:
/<<PKGBUILDDIR>>/src/build/extra.i.cpp:3529:25: error: 
‘PyString_FromString’ was not declared in this scope; did you mean 
‘PyLong_FromString’?
 3529 |     PyObject* text_py = PyString_FromString(text);
      |                         ^~~~~~~~~~~~~~~~~~~
      |                         PyLong_FromString
/<<PKGBUILDDIR>>/src/build/extra.i.cpp: In function ‘void 
jm_lineart_stroke_path(fz_context*, fz_device*, const fz_path*, const 
fz_stroke_state*, fz_matrix, fz_colorspace*, const float*, float, 
fz_color_params)’:
/<<PKGBUILDDIR>>/src/build/extra.i.cpp:6049:88: warning: arithmetic between 
floating-point type ‘float’ and enumeration type ‘const fz_linejoin’ is 
deprecated [-Wdeprecated-enum-float-conversion]
 6049 |     DICT_SETITEMSTR_DROP(dev->pathdict, "lineJoin", Py_BuildValue("f", 
dev->pathfactor * stroke->linejoin));
      |                                                                        
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/build/extra.i.cpp: At global scope:
/<<PKGBUILDDIR>>/src/build/extra.i.cpp:3420:20: warning: ‘std::string 
repr(PyObject*)’ defined but not used [-Wunused-function]
 3420 | static std::string repr(PyObject* x)
      |                    ^~~~
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 389, in <module>
    main()
    ~~~~^^
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 280, in build_wheel
    return _build_backend().build_wheel(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        wheel_directory, config_settings, metadata_directory
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/pipcl.py", line 722, in build_wheel
    items = self._call_fn_build(config_settings)
  File "/<<PKGBUILDDIR>>/pipcl.py", line 1008, in _call_fn_build
    ret = self.fn_build()
  File "/<<PKGBUILDDIR>>/setup.py", line 637, in build
    path_so_leaf = _build_extension(
            mupdf_local,
    ...<2 lines>...
            g_py_limited_api,
            )
  File "/<<PKGBUILDDIR>>/setup.py", line 1117, in _build_extension
    path_so_leaf = pipcl.build_extension(
            name = 'extra',
    ...<14 lines>...
            swig = PYMUPDF_SETUP_SWIG,
            )
  File "/<<PKGBUILDDIR>>/pipcl.py", line 1858, in build_extension
    run_if(
    ~~~~~~^
            compiler_command2,
            ^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
            [path_source] + _get_prerequisites(prerequisites_path),
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            )
            ^
  File "/<<PKGBUILDDIR>>/pipcl.py", line 2921, in run_if
    run( command, caller=caller+1)
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/pipcl.py", line 2380, in run
    cp = subprocess.run(
            command2,
    ...<7 lines>...
            timeout=timeout,
            )
  File "/usr/lib/python3.14/subprocess.py", line 578, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'c++ \
    -fPIC \
    -O2 -DNDEBUG \
    -I/usr/include/python3.14 -I/usr/include/python3.14 \
    -MD -MF /<<PKGBUILDDIR>>/src/build/extra.i.cpp.o.d \
    -c /<<PKGBUILDDIR>>/src/build/extra.i.cpp \
    -o /<<PKGBUILDDIR>>/src/build/extra.i.cpp.o \
     -Wall -Wno-deprecated-declarations -Wno-unused-const-variable -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection' 
returned non-zero exit status 1.

TIP pass --env-dir and --sdist-extract-dir to keep the build environment and 
sources, then see 
https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build
 for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: 
python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  
dh_auto_build: error: pybuild --build -i python{version} -p 3.14 --parallel=2 
returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: pymupdf
Source-Version: 1.28.2+ds1-1
Done: Daniel Echeverri <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pymupdf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Echeverri <[email protected]> (supplier of updated pymupdf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 01 Sep 2026 17:43:42 -0500
Source: pymupdf
Architecture: source
Version: 1.28.2+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Daniel Echeverri <[email protected]>
Closes: 1146009
Changes:
 pymupdf (1.28.2+ds1-1) unstable; urgency=medium
 .
   * New upstream version 1.28.2+ds1
   * debian/patches
     + Refresh all patches
     + Add 03_fix_build_with_swig_4.5.diff patch
       + Fix build with swig >= 4.5 (Closes: #1146009)
   * debian/rules
     + Skips some tests because they need ICC support
   * debian/control
     + Add python3-pipcl and mypy in B-D
     + Bump to 1.28.2 mupdf version
     + Remove redundant Priority field
     + Set std-ver to 4.7.4
     + Set python3-mupdf to >= 1.28.2
   * debian/tests
     + Skip some tests that were already excluded at build time
     + Add mypy as Depends
   * debian/salsa-ci.yml
     + Ignore a blhc false positive caused by pipcl's build output
Checksums-Sha1:
 d40ee43ff50423dbd04778226ad4ba1b84a096b8 2388 pymupdf_1.28.2+ds1-1.dsc
 e4bd933968bbcb8a3480959abbc2e0d462686f90 90112552 
pymupdf_1.28.2+ds1.orig.tar.xz
 0fac73ee227345b19aec77999a28a9f5fc329369 17764 
pymupdf_1.28.2+ds1-1.debian.tar.xz
 7ecbe219ae055c22519b43022eaa07f6604f6bfa 9310 
pymupdf_1.28.2+ds1-1_amd64.buildinfo
Checksums-Sha256:
 bcddecfc04f6eafca9c79266bce9282081cbb9d94384822a3ccf184d2312874d 2388 
pymupdf_1.28.2+ds1-1.dsc
 52456cc5ca70590514d3f944e53826772af77710a7f60d45c63f2b70e3d46b71 90112552 
pymupdf_1.28.2+ds1.orig.tar.xz
 8f6265925478615e078219c42bc3956a1979f8330260d12cab59f0e38dfce193 17764 
pymupdf_1.28.2+ds1-1.debian.tar.xz
 0cb9d679bf8220976c0e2a0518e0130994908e1dd7728cf23ffa3d6fa66d64a9 9310 
pymupdf_1.28.2+ds1-1_amd64.buildinfo
Files:
 6b475ee2616fbe458c5e8442a0cfd0fb 2388 python optional pymupdf_1.28.2+ds1-1.dsc
 239b45661d91b7e187090a719bfb8bd1 90112552 python optional 
pymupdf_1.28.2+ds1.orig.tar.xz
 36a9647b78e385b931ede0008413b285 17764 python optional 
pymupdf_1.28.2+ds1-1.debian.tar.xz
 a6a2450ff69666c37958ef3aacb0bdee 9310 python optional 
pymupdf_1.28.2+ds1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE0NCFsWnDv9lASFj6IfwpUEtSMNsFAmqXqMMTHGVwc2lsb25A
ZGViaWFuLm9yZwAKCRAh/ClQS1Iw267TEAC3JO/QXMnc4xW94PYgXFwxFOSBKdxO
QAr/aS0tz+yoWSs90L2qdhoCvKs6xCxDGEHrqtD2Oshy0MFULGNWE1jZ+Lty0Va2
Zg0MlGjEaOYblLEbztfzalrVW8HnQGJ1ZpXqJewCDyh16IObzb82uZzjOzJNj1Go
J8Ctrk4rt6b4fCSWzJVo4yXPdoNyDE4Q4yXfSAxiJKx1wMykHMDd+zIvTAmrJTPE
oq61ds07CUrs0HMznMv1P6NGP6Qb8Iae9+Kg0Z9DBzIZ4j5r5SFcshklNokQaEpM
0zp+Xwgfcnt7bHeIx9O9557usdQsKL0/A48bsQ4++4cObEJOGzu/xDRqFJno9lik
HYVjsOoHh96/ls/p8zhosP51SGvQeerOKlrjo5az1Hrw2zWwRXdS3TnlSqC72nIb
T+HkfOVxMGQ+2R9eEDQPfe5D4FvDbP6fVFAQ+vJfa03xG3+yQQ36pfvQDQAphgsz
CJuHTPRNtPjaM33lI8UXknmkXOvEopvj6N3qRN1j/GhrjsQa6DV6pC+hyh3vGKhE
IDfnfI4m5K3dQvfBhnw/Hx9cYoafkUMixU33Aepq7CUVkO30wX53EkH0LT1pxZSd
6aaOLhbgVnKmhrubryxLiVJI7y9Ye5DaJ85bcYEzqsuHacoiwaBBhR5zsdkquyYS
riIwMZhZ/19FSA==
=9+rM
-----END PGP SIGNATURE-----

Attachment: pgpMU_qYJGDG_.pgp
Description: PGP signature


--- End Message ---

Reply via email to