Your message dated Sun, 03 Sep 2023 17:34:43 +0000
with message-id <[email protected]>
and subject line Bug#1040864: fixed in doxygen 1.9.8+ds-1
has caused the Debian Bug report #1040864,
regarding doxygen: upcoming FTBFS with cairo >= 1.17.6
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.)


-- 
1040864: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040864
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: doxygen
Version: 1.9.4-4
Severity: normal

Dear maintainer,

Cairo 1.17.6 (or close to it) introduced a change[1] in how certain
PDF elements are generated which introduces a build failure in the
doxygen docs[2], as well as in other packages that use doxygen (like
fenics-dolfinx).

That version of cairo is durrently in debian experimental. As soon as
that moves to unstable, the FTBFS will start. Ubuntu is seeing it
right now[4]:

Generating XML output for file generation.cpp
Generating XML output for file generation.h
Generating XML output ferror: Failed to extract bounding box from
generated diagram file
/<<PKGBUILDDIR>>/cpp/doc/latex/d2/d97/classdolfinx_1_1io_1_1FidesWriter__inherit__graph.pdf
 (warning treated as error, aborting now)
Segmentation fault (core dumped)
make[1]: *** [debian/rules:168: override_dh_auto_install-indep] Error 139
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:125: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess
returned exit status 2


The upstream bug report[2] had a lot of back and forth until the final
set of fixes made it into the doxygen 1.9.7 release[3]

I collected the commits, and this is the set, where some bits are even
reverted in follow-up commits:

commit 8129939c312e4b5060042fdb93bd071b7b133381
Author: Dimitri van Heesch <[email protected]>
Date:   Thu Jan 5 11:16:24 2023 +0100

    issue #9319: Doc build fails with cairo 1.17.6

    - Improve detection of "flate" encoded streams

commit 7b2a6027775b0158304635a98de0f9b5672f163a
Author: Dimitri van Heesch <[email protected]>
Date:   Wed Jan 4 10:55:36 2023 +0100

    issue #9319: Doc build fails with cairo 1.17.6

commit 293d3beaf03c8798899332b7a948b32c4a3da3e9
Author: albert-github <[email protected]>
Date:   Sun Nov 6 14:07:42 2022 +0100

    issue #9319 Doc build fails with cairo 1.17.6

    Implementing the use of the environment variable so that always
the non compressed version is written.

commit 9df76e22464a0b6302b7c1cda980a35b39185bc4
Author: albert-github <[email protected]>
Date:   Sat May 7 18:07:26 2022 +0200

    issue #9319 Doc build fails with cairo 1.17.6

    Fixed compilation issue with the `ceil` function.

commit c22ae5ed4ca8d7e5568be7d5a930ee388117703e
Author: albert-github <[email protected]>
Date:   Sat May 7 17:55:25 2022 +0200

    issue #9319 Doc build fails with cairo 1.17.6

    The `\MediaBox` field is written as:
    ```
    sscanf(p+bblen,"%d %d %d %d",&x,&y,width,height)
    ```
    bur read with
    ```
    sscanf(p+bblen,"%d %d %d %d",&x,&y,width,height)
    ```
    this has been corrected.

It doesn't apply cleanly, because a big one is this, which introduces
a vendored gunzip library:

commit 966d69c603b5a6ae22e3132b6ecc6a39b86e52ab
Author: Dimitri van Heesch <[email protected]>
Date:   Wed Jan 4 10:38:58 2023 +0100

    Add TinyDeflate as dependency

Maybe others are needed still, this is where I stopped. It seems safer
to update to the new upstream 1.9.7 instead, I suppose.

A short-term workaround would be to call doxygen with
CAIRO_DEBUG_PDF=1. That will tell cairo to not use compression with
those PDF elements, and then the doxygen parsing would work. Problem
is that this would have to be done for all packages that call doxygen
and are affected by this bug, and also it relies on some
cairo-specific behavior which might change.


1. 
https://gitlab.freedesktop.org/cairo/cairo/-/commit/bd514f6b08c1b31a75948fd99c147319e5aa649f
2. https://github.com/doxygen/doxygen/issues/9319
3. https://www.doxygen.nl/manual/changelog.html#log_1_9_7
4. https://bugs.launchpad.net/ubuntu/+source/doxygen/+bug/2026834

--- End Message ---
--- Begin Message ---
Source: doxygen
Source-Version: 1.9.8+ds-1
Done: Paolo Greppi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
doxygen, 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.
Paolo Greppi <[email protected]> (supplier of updated doxygen 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: Sun, 03 Sep 2023 18:27:51 +0200
Source: doxygen
Architecture: source
Version: 1.9.8+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Paolo Greppi <[email protected]>
Changed-By: Paolo Greppi <[email protected]>
Closes: 389492 1040864
Changes:
 doxygen (1.9.8+ds-1) unstable; urgency=medium
 .
   * New upstream version. Closes: #389492, #1040864.
   * Enable sqlite3 and add required build-dep
   * Use system spdlog
   * Add required libfmt-dev build dep
Checksums-Sha1:
 5ad70c3a60599094ed5e808a0a890e631a97af0d 2786 doxygen_1.9.8+ds-1.dsc
 523851b56c5e33883ab0c70256bbfdd4926a7e12 3324544 doxygen_1.9.8+ds.orig.tar.xz
 541f2c59805492790c5630e3b4d25dac5b2edf70 26036 doxygen_1.9.8+ds-1.debian.tar.xz
 b286d6e0809919626a8af9cd0a2f6600258a1738 14153 
doxygen_1.9.8+ds-1_source.buildinfo
Checksums-Sha256:
 a8de0a5898a6fe9b9ab75b395f713ce91584292b2e902e0c79cd39ea105eddce 2786 
doxygen_1.9.8+ds-1.dsc
 877bc48813ab242f7e8a3b697927d588159a6375731499977667a6df2aae8e92 3324544 
doxygen_1.9.8+ds.orig.tar.xz
 52511fa57228acc7387459888b8b283f3b9dcee9a982bc1225abd96e3e643ea6 26036 
doxygen_1.9.8+ds-1.debian.tar.xz
 6f370115e4042848d7746b83090f36bab3ee0f5c0dacf52234adc572041d87fd 14153 
doxygen_1.9.8+ds-1_source.buildinfo
Files:
 795f969bc8395a16a1594b35961bf3ac 2786 devel optional doxygen_1.9.8+ds-1.dsc
 e6172b111a6e8bd568edf06b6a61b7c9 3324544 devel optional 
doxygen_1.9.8+ds.orig.tar.xz
 248fa7c6b1943b8589d8632c937ae5f2 26036 devel optional 
doxygen_1.9.8+ds-1.debian.tar.xz
 93adbcb9631ee4435366ac623a80665c 14153 devel optional 
doxygen_1.9.8+ds-1_source.buildinfo

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

iQJLBAEBCgA1FiEEyTpTRBhTUv5T0mHqIjkMJVxGBPQFAmT0tFwXHHBhb2xvLmdy
ZXBwaUBsaWJwZi5jb20ACgkQIjkMJVxGBPTObA/9Hge5eMAn2tRvur1JWijFSFXZ
SKvJwqXSM6S4TAtFu2nxnLHD2v/CmTE83cTnRRqHlxZvnqpmYEtOVwTuDLZvEUQ5
CaPB8rTy5k/q0HcOPOWxQnNkwTdfkYfvTyuJb6KQVWgVR0+IXnaP8jakKD4tCZTY
qNYu4wvEtQeoG7q6THRYj0jc0odwBxTbAR06/BB0Ycg9luXvw/GCgZz2s3FL2eYo
er/Njr7FTKe6t3SZ7ZiWg5gq3Skh7JW/0x+2wtSLjbVQb7ikGPOSrfQsnhC10DtQ
kr/0RDixaWhq23E25LiSC7sayNppXvlIu/9uQXm0Ya8lfO7/EcX3vr4H0LZbV+ih
d5D46bkIBx8++aEuQucb1GrfXZA0HU0Fg7gyolJMc+XzmMqxcVc6nXRXwdcnpMFp
F0GLSMm6Btqy5RyUx1nSrVpdOrc017N5Cbd32kX76E8bcASlcpkvoDDFcoQG2Nju
S48dj3S/+QKHIXyKpbIuuaOeG/uK7neW6R0377fOeMRQ1S4J+LTGcB3HaalO3eFu
EJ2xppEdo8jLPG48/oAgMqkyJu4DjfcEXmtfJg2c43ULLjthfhLGzKyDOJ1dDR5/
I+v+pT5oZmVSN2VbFRjE00Dn++mpAZVbedDWt9+JVeihMqOcP3ROqGxlDNgMwy2y
MqJ8eZQMlvoNqPDAlow=
=TG6e
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to