Your message dated Sun, 15 Nov 2026 10:19:34 +0000
with message-id <[email protected]>
and subject line Bug#1153154: fixed in openimageio 3.2.2.0+dfsg-2
has caused the Debian Bug report #1153154,
regarding libopenimageio-dev: internalized fmt headers go stale when fmtlib 
changes, rdeps then fail to build
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.)


-- 
1153154: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153154
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libopenimageio-dev
Version: 3.1.18.1+dfsg-2
Severity: normal
User: [email protected]
Usertags: origin-ubuntu

Hi,

openimageio builds with OIIO_INTERNALIZE_FMT, which defaults to ON
(src/cmake/externalpackages.cmake, line 252 in v3.1.18.1):

  option (OIIO_INTERNALIZE_FMT "Copy fmt headers into
<install>/include/OpenImageIO/detail/fmt" ON)

src/include/CMakeLists.txt (from line 52) then copies the fmt headers it
finds at build time (core.h format-inl.h format.h ostream.h printf.h std.h
base.h chrono.h, the ones that exist) from the system libfmt-dev into
/usr/include/OpenImageIO/detail/fmt/. debian/rules doesn't override this.

So libopenimageio-dev ships a snapshot of whatever fmtlib was in the build
chroot, with fmt's own include guards (FMT_FORMAT_H_, FMT_CORE_H_, ...).
Nothing ties that snapshot to the installed libfmt-dev: openimageio uses fmt
header-only, its binaries don't depend on libfmt*, so it isn't part of
fmtlib
transitions (the fmtlib 11 tracker in #1147429 used
.depends ~ "libfmt10" | .depends ~ "libfmt11") and doesn't get binNMUed.

When the two get out of sync, a package that includes the system
<fmt/format.h> before an OpenImageIO header gets OpenImageIO's own
ostream.h (not guarded by the system headers it already pulled in) on top
of a different fmt, and fails to build.

We hit this in Ubuntu: openimageio 3.1.18.1+dfsg-2 was built there while
the archive still had fmtlib 10.1.1, so its detail/fmt/core.h has
FMT_VERSION 100100 (and no base.h), while Debian's build of the same
version has FMT_VERSION 110101 and base.h. After fmtlib 11.1.1+ds1-2
reached Ubuntu, blender 5.2.2+dfsg-1 fails in
intern/cycles/util/image_maketx.cpp, which includes <fmt/format.h> and
then <OpenImageIO/Imath.h>:

  In file included from /usr/include/OpenImageIO/detail/fmt.h:73,
                   from /usr/include/OpenImageIO/Imath.h:9,
                   from intern/cycles/util/image_maketx.cpp:17:
  /usr/include/OpenImageIO/detail/fmt/ostream.h:160:31: error:
'type_identity_t' was not declared in this scope; did you mean
'std::type_identity_t'?

A rebuild of openimageio against fmtlib 11 fixes it. Debian only has
matching headers today because openimageio 3.1 was uploaded (#1150216)
after fmtlib 11 was in unstable. With fmtlib 12.2.0 in experimental, the
same mismatch will happen in Debian once fmt 12 reaches unstable, unless
openimageio is rebuilt with it.

Possible ways to avoid it, roughly in order of preference:

1. Build with -DOIIO_INTERNALIZE_FMT=OFF, so the OpenImageIO headers use
   the system fmt and there is no copy to go stale. That changes what the
   installed headers include, so it may need checking with the
   reverse dependencies.
2. Keep the copy, but make libopenimageio-dev depend on the fmt it was
   built with, e.g. libfmt-dev (>= X), libfmt-dev (<< X+1~) with X filled
   in at build time. A new fmtlib then makes the mismatch visible
   (openimageio needs a rebuild) instead of breaking rdeps' builds.
3. At least make sure openimageio is part of future fmtlib transitions
   (e.g. by including libfmt-dev in the tracker for packages that embed it).

Thanks,
Sebastien Bacher

--- End Message ---
--- Begin Message ---
Source: openimageio
Source-Version: 3.2.2.0+dfsg-2
Done: Sébastien Noel <[email protected]>

We believe that the bug you reported is fixed in the latest version of
openimageio, 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.
Sébastien Noel <[email protected]> (supplier of updated openimageio 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, 15 Nov 2026 10:26:26 +0100
Source: openimageio
Architecture: source
Version: 3.2.2.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PhotoTools Maintainers 
<[email protected]>
Changed-By: Sébastien Noel <[email protected]>
Closes: 1153154
Changes:
 openimageio (3.2.2.0+dfsg-2) unstable; urgency=medium
 .
   * Team upload
   * Don't internalize a copy of fmt headers (Closes: #1153154)
Checksums-Sha1:
 ce7d9095a18b126488ae7424aac8d987c3721e3b 2536 openimageio_3.2.2.0+dfsg-2.dsc
 19e76b30c970fd403c155869d567e658266dc50f 20104 
openimageio_3.2.2.0+dfsg-2.debian.tar.xz
 560581a3998c3290ca3b08b6041471350bb15d66 25591 
openimageio_3.2.2.0+dfsg-2_amd64.buildinfo
Checksums-Sha256:
 fc0847f60567bea28d1a8861a64d1eb2741af9be64cd59f9392df5c8d4c3b4e2 2536 
openimageio_3.2.2.0+dfsg-2.dsc
 47c6bc8f487658e35d032a83efa6f29f63f25a48434f6c05681fa043a4990bd4 20104 
openimageio_3.2.2.0+dfsg-2.debian.tar.xz
 21c3a58d5090ccd6aa7066f7ac1681df15848447d1c9ead91760b935cfd51248 25591 
openimageio_3.2.2.0+dfsg-2_amd64.buildinfo
Files:
 62f6ea48c99c160405e4fff8b2b070c1 2536 libs optional 
openimageio_3.2.2.0+dfsg-2.dsc
 138998d3cd1b8324ba76a49160f032f2 20104 libs optional 
openimageio_3.2.2.0+dfsg-2.debian.tar.xz
 9d3f8197a273289fba11d46959251ec2 25591 libs optional 
openimageio_3.2.2.0+dfsg-2_amd64.buildinfo

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

iQFHBAEBCgAxFiEEdlP6my3wO8aMe9FCrKAIuMk0p9QFAmr5g8cTHHR3b2xpZmVA
ZGViaWFuLm9yZwAKCRCsoAi4yTSn1PLVB/9sROMEj0BWrYoQeWPWqMDdhfRS3SdD
+bRuJJrux9uZssGPl0DiLRTJRujh1H1MWhuFqWkyTM9T5iXKKL5fdo/4SO65ODYh
vZrCSQivt9tLJNsEFvNImLIT2JavGSxbPt9bYiMYdZAIuq6gte4a5M7U9FUSZUZe
p52xxjsQcVWvOmLkqV94vjaCj1Eq2aq2VwxUhnvHRCQLw6j6dtByFS+O6tdI3/fv
i40VtwzHdIGoaF/x+ZHZ8Gtxoe89cEBysz+13AdGeloZdnsIgfsk3NYEwdx0bOF9
Fry6dkRyAM6Xp/6tcFI9A+QHZ1T/X+cLMTZPwEv0mLuJDBsrKECD/hv0
=HhLv
-----END PGP SIGNATURE-----

Attachment: pgpHkW7CMBFaB.pgp
Description: PGP signature


--- End Message ---

Reply via email to