Your message dated Thu, 09 Jan 2025 20:10:10 +0000
with message-id <e1tvyr4-00dkt8...@fasolo.debian.org>
and subject line Bug#1081712: fixed in pymupdf 1.25.0+ds1-1
has caused the Debian Bug report #1081712,
regarding pymupdf: FTBFS: error: too few arguments to function ‘handler->open’
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 ow...@bugs.debian.org
immediately.)


-- 
1081712: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081712
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pymupdf
Version: 1.24.2+ds1-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=pymupdf&arch=amd64&ver=1.24.2%2Bds1-3%2Bb2&stamp=1726258415&raw=0

pipcl.py: run():     -Wl,-rpath,'$ORIGIN',-z,origin
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function 
‘JM_set_widget_properties’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:7800:69: warning: suggest parentheses 
around ‘&&’ within ‘||’ [-Wparentheses]
 7800 |         if (PyObject_RichCompareBool(value, Py_True, Py_EQ) || text && 
strcmp(text, "Yes")==0) {
      |                                                                
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function 
‘JM_print_stext_page_as_text’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:8449:12: warning: unused variable ‘n’ 
[-Wunused-variable]
 8449 |     int i, n;
      |            ^
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:8449:9: warning: unused variable ‘i’ 
[-Wunused-variable]
 8449 |     int i, n;
      |         ^
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:8448:10: warning: unused variable 
‘utf’ [-Wunused-variable]
 8448 |     char utf[10];
      |          ^~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function 
‘jm_lineart_clip_stroke_text’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:10692:19: warning: unused variable 
‘out’ [-Wunused-variable]
10692 |         PyObject *out = dev->out;
      |                   ^~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function ‘jm_lineart_clip_text’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:10702:19: warning: unused variable 
‘out’ [-Wunused-variable]
10702 |         PyObject *out = dev->out;
      |                   ^~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function 
‘jm_lineart_clip_image_mask’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:10712:19: warning: unused variable 
‘out’ [-Wunused-variable]
10712 |         PyObject *out = dev->out;
      |                   ^~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function ‘jm_trace_text_span’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:10848:31: warning: suggest 
parentheses around ‘&&’ within ‘||’ [-Wparentheses]
10848 |                 if (mat.d > 0 && (dir.x == 1 || dir.x == -1) ||
      |                     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function ‘new_Document’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:11328:43: error: too few arguments to 
function ‘handler->open’
11328 |                                     doc = handler->open(gctx, 
filename_stream, NULL, NULL);
      |                                           ^~~~~~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function 
‘Page__addAnnot_FromString’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:15028:23: warning: unused variable 
‘txtpy’ [-Wunused-variable]
15028 |             PyObject *txtpy = NULL;
      |                       ^~~~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: In function ‘Annot_set_rect’:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:16662:17: warning: unused variable 
‘type’ [-Wunused-variable]
16662 |             int type = pdf_annot_type(gctx, annot);
      |                 ^~~~
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c: At top level:
/<<PKGBUILDDIR>>/src_classic/fitz_old.i.c:9180:13: warning: ‘show’ defined but 
not used [-Wunused-function]
 9180 | static void show(const char* prefix, PyObject* obj)
      |             ^~~~
Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 373, in <module>
    main()
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 357, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", 
line 271, in build_wheel
    return _build_backend().build_wheel(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/pipcl.py", line 642, in build_wheel
    items = self._call_fn_build(config_settings)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/pipcl.py", line 804, in _call_fn_build
    ret = self.fn_build()
          ^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 563, in build
    path_so_leaf_a, path_so_leaf_b = _build_extensions(
                                     ^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 836, in _build_extensions
    path_so_leaf_a = _build_extension_classic( mupdf_local, mupdf_build_dir, 
build_type)
                     
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/setup.py", line 899, in _build_extension_classic
    path_so_leaf_a = pipcl.build_extension(
                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/pipcl.py", line 1613, in build_extension
    command_was_run = run_if(
                      ^^^^^^^
  File "/<<PKGBUILDDIR>>/pipcl.py", line 2142, in run_if
    run( command)
  File "/<<PKGBUILDDIR>>/pipcl.py", line 1816, in run
    cp = subprocess.run(
         ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'cc\
    -fPIC\
    -shared\
    -O2 -DNDEBUG\
    -I/usr/include/python3.12 -I/usr/include/python3.12\
    -I/usr/include -I/usr/include/mupdf -I/usr/include/freetype2\
    /<<PKGBUILDDIR>>/src_classic/fitz_old.i.c\
    -MD -MF 
/<<PKGBUILDDIR>>/src_classic/_fitz_old.cpython-312-x86_64-linux-gnu.so.d\
    -o /<<PKGBUILDDIR>>/src_classic/_fitz_old.cpython-312-x86_64-linux-gnu.so\
     -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 
-Wno-incompatible-pointer-types -Wno-pointer-sign -Wno-sign-compare\
     -Wl,-z,relro -Wl,-z,now -lmupdf -lmupdf-third -ljbig2dec -lopenjp2 -ljpeg 
-lfreetype -lgumbo -lharfbuzz -lpng16 -lmujs\
    -L/usr/lib/python3.12/config-3.12-x86_64-linux-gnu 
-L/usr/lib/x86_64-linux-gnu  -ldl  -lm\
    -lmupdf\
    -Wl,-rpath,'$ORIGIN',-z,origin' returned non-zero exit status 1.

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12

Cheers
-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Source: pymupdf
Source-Version: 1.25.0+ds1-1
Done: Bastian Germann <b...@debian.org>

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 1081...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <b...@debian.org> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 08 Jan 2025 21:09:39 +0100
Source: pymupdf
Binary: python3-fitz python3-pymupdf python3-pymupdf-dbgsym
Architecture: source all amd64
Version: 1.25.0+ds1-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Description:
 python3-fitz - Python binding for MuPDF (forward compatibility name)
 python3-pymupdf - Python binding for MuPDF
Closes: 1081712
Changes:
 pymupdf (1.25.0+ds1-1) experimental; urgency=medium
 .
   * Team upload
   * Add binary package python3-pymupdf
 .
   [ Daniel Echeverri ]
   * New upstream release (Closes: #1081712)
   * debian/control
     + Update to libmupdf-dev >= 1.25
     + Add python3-mupdf and python3-sphinx in B-D
   * debian/patches
     + Refresh docs patch
     + Remove fitz_old.patch because fitz_old was remove in 1.24.3
   * debian/tests/control
     +  Update test to import fitz instead fitz_old
   * debian/python3-fitz.lintian-overrides
     + remove unused lintian override
   * debian/tests
     + Add pytests file
   * debian/copyright
     + Add myself in debian copyright
   * Update d/clean file
Checksums-Sha1:
 9581e985b41bae40a0ecefdeb1f0287b280ec888 2054 pymupdf_1.25.0+ds1-1.dsc
 65cfee7a2dc94f78954170ea9778abcc3f88dcad 62068408 
pymupdf_1.25.0+ds1.orig.tar.xz
 30fe0bd6bfee00016ac2033ffb1ff90c96a8cf0b 16292 
pymupdf_1.25.0+ds1-1.debian.tar.xz
 982de695376d9f02d5d3471f671299a7ccd658f6 8735 
pymupdf_1.25.0+ds1-1_amd64.buildinfo
 0cda4405ed7e2e7df86d3c0eac34a5431c1b4730 66184 
python3-fitz_1.25.0+ds1-1_all.deb
 cbefeed9b972d4930196e101b8ce07af885e7cea 603172 
python3-pymupdf-dbgsym_1.25.0+ds1-1_amd64.deb
 9b1e717228246ff4092a9b24427de98ebbdb3b23 375924 
python3-pymupdf_1.25.0+ds1-1_amd64.deb
Checksums-Sha256:
 05152c4bbe600bb20023ac4d5eae4394288e09e7e161e40dba18eb50bf694f3d 2054 
pymupdf_1.25.0+ds1-1.dsc
 26821436104549fe7bdfe51897c86e3a25538994287605d132ae018e1bd56ac8 62068408 
pymupdf_1.25.0+ds1.orig.tar.xz
 3ffa997d8c72c847d9b1895fba7e0a0f9d5d69e6ef4f73bd11116fa92f65db26 16292 
pymupdf_1.25.0+ds1-1.debian.tar.xz
 ef6d95879fe520f6a84e507645b8e611ae9feae92ed630489bf783c96f74cca6 8735 
pymupdf_1.25.0+ds1-1_amd64.buildinfo
 bc21cb097c0d0ddb82adce3ce0bd42e4c534d597ff1b0f13b650e4f4c65a77ee 66184 
python3-fitz_1.25.0+ds1-1_all.deb
 121900cd6ef38713fb28afac30ee26585b790511311ee43f5bf0082b3000e446 603172 
python3-pymupdf-dbgsym_1.25.0+ds1-1_amd64.deb
 9c2710c3acb5a21bda4ae9d7e3e39377dad98b080eed09771e80a72272a30162 375924 
python3-pymupdf_1.25.0+ds1-1_amd64.deb
Files:
 21df1d8c3234aa2c8267758c9cc5f0db 2054 python optional pymupdf_1.25.0+ds1-1.dsc
 8afe338183c7386e591fd5dc9de515a9 62068408 python optional 
pymupdf_1.25.0+ds1.orig.tar.xz
 2b27c980ee57bf0043005c2b8ef935c9 16292 python optional 
pymupdf_1.25.0+ds1-1.debian.tar.xz
 7764f6880bc108dfda6f7f1b7f9f5c10 8735 python optional 
pymupdf_1.25.0+ds1-1_amd64.buildinfo
 b00ee34eb5872cb8819b1b093de81b1c 66184 python optional 
python3-fitz_1.25.0+ds1-1_all.deb
 425fbc6b93574a58429a065c8092218e 603172 debug optional 
python3-pymupdf-dbgsym_1.25.0+ds1-1_amd64.deb
 ad979aa333ba03038bef523d1a497b02 375924 python optional 
python3-pymupdf_1.25.0+ds1-1_amd64.deb

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmd+7loQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFCkwC/9XUoNmiWvp9nv5fo0n5RuTaNoTjIkdrr/+
3m9TajwvfRuaNLKjS+PN7KnaI5GIrG1W6l9Ozu7PfTGCAXj43PtvCXotcKN8OrXq
3VmPj4A3U9nYeO0pwpkC7fwwbothsQpnW01umNxmOp46+yn3Y69wnI6iI0C3qgES
5pPYV2KwntsbyQu/mMG+bWcCc4KF3q/rgkZLgMi0xzqgWqWwzcXtyIWvEgOQTU2G
NBWEy/aL4P3BhTnUHxBU679Htl+YwuYxmgwDflaxcJW3AK2P+yZ2voafPJCfRVp4
KCdwLhEYMs0DFNY0qkruQoTklz7wX2kgAGP9YFPaMWBh5+UkLdeEAq2LEFdBAVr7
lkiqiaMWd8XhZL3W3WvviH/zDM/RyGjAjtIj7ku5H9vMBrNGz3D9LzqH00j7T3oF
v6W5BR93spzpTGRVF2fyhkOYySUEfLnv051gJ9jbuTJqe6iNxy4XvwgmIml5cqgq
TiV+nG/xDEfbfW5MKIBtJRvJgzDToa0=
=owHS
-----END PGP SIGNATURE-----

Attachment: pgp61YZEdFRM9.pgp
Description: PGP signature


--- End Message ---

Reply via email to