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 --------------------------------------------------------------------------------

