Source: pymupdf Version: 1.20.1+ds1-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
pymupdf fails to cross build from source, because it misses libpython3-all-dev from Build-Depends. As a consequence, the host architecture python development files are missing and the cross build fails. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru pymupdf-1.20.1+ds1/debian/changelog pymupdf-1.20.1+ds1/debian/changelog --- pymupdf-1.20.1+ds1/debian/changelog 2022-07-01 00:28:49.000000000 +0200 +++ pymupdf-1.20.1+ds1/debian/changelog 2022-09-30 19:44:24.000000000 +0200 @@ -1,3 +1,10 @@ +pymupdf (1.20.1+ds1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Missig Build-Depends: libpython3-all-dev. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 30 Sep 2022 19:44:24 +0200 + pymupdf (1.20.1+ds1-1) unstable; urgency=medium * Allow crossbuilding by fixing build deps diff --minimal -Nru pymupdf-1.20.1+ds1/debian/control pymupdf-1.20.1+ds1/debian/control --- pymupdf-1.20.1+ds1/debian/control 2022-07-01 00:28:49.000000000 +0200 +++ pymupdf-1.20.1+ds1/debian/control 2022-09-30 19:44:23.000000000 +0200 @@ -8,7 +8,7 @@ Vcs-Git: https://salsa.debian.org/python-team/packages/pymupdf.git Standards-Version: 4.5.1 Build-Depends: debhelper-compat (= 13), dh-python, python3-setuptools, - python3-all-dev:any, libmupdf-dev (>= 1.20), libmujs-dev, + python3-all-dev:any, libpython3-all-dev, libmupdf-dev (>= 1.20), libmujs-dev, libjbig2dec-dev, libjpeg-dev, libfreetype6-dev, libpng-dev, libopenjp2-7-dev, libharfbuzz-dev, swig, libgumbo-dev Rules-Requires-Root: no