🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel.release
Article #672

Bug#1153698: trixie-pu: package cimg/3.5.2+dfsg-1+deb13u2

#672
From: Aron Xu
Date: Wed, 11 Nov 2026 06:00
90 lines
5953 bytes
Package: release.debian.org
Severity: normal
Tags: trixie
User: release.debian.org@packages.debian.org
Usertags: pu

Please consider cimg 3.5.2+dfsg-1+deb13u2 for trixie proposed-updates.

The current trixie package, 3.5.2+dfsg-1+deb13u1, fails to build against the
openexr security update (DSA-6618-1). Its examples use OpenEXR's inline
Array2D template, whose updated validation code introduces direct
references to Iex exceptions. The examples currently link only OpenEXR and
Imath, so the linker rejects the missing explicit Iex dependency:

undefined reference to symbol '_ZTIN7Iex_3_16ArgExcE'
libIex-3_1.so.30: error adding symbols: DSO missing from command line

The failure occurs while linking curve_editor2d during the package's
build-time tests. The installed examples used by autopkgtest fail for the
same reason. This is a build-compatibility regression associated with the
openexr update, not a separate cimg vulnerability or a demonstrated startup
failure in existing applications.

The proposed fix adds -lIex to OPENEXR_LIBS in examples/Makefile. Iex is
already provided by libopenexr-dev, so no new package dependency is needed.
The debdiff contains only this one-line patch, the public API and the existing
security patches are unchanged.

The equivalent linker behavior is already present in CImg 4.0.4+dfsg-1,
which uses pkg-config to obtain OpenEXR's compiler and linker flags. Its
old Imath.patch is disabled. This stable update uses the smaller explicit
linker addition rather than changing the flag-discovery mechanism.

diff -Nru cimg-3.5.2+dfsg/debian/changelog cimg-3.5.2+dfsg/debian/changelog
--- cimg-3.5.2+dfsg/debian/changelog    2026-05-08 19:47:35.000000000 +0800
+++ cimg-3.5.2+dfsg/debian/changelog    2026-11-10 19:54:15.000000000 +0800
@@ -1,3 +1,12 @@
+cimg (3.5.2+dfsg-1+deb13u2) trixie; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with the OpenEXR 3.2.12 security update by linking Iex
+    explicitly when building the OpenEXR-enabled examples. This also
+    fixes the installed examples used by autopkgtest.
+
+ -- Aron Xu <aron@debian.org>  Tue, 10 Nov 2026 19:54:15 +0800
+
 cimg (3.5.2+dfsg-1+deb13u1) trixie; urgency=medium

   * Non-maintainer upload.
diff -Nru cimg-3.5.2+dfsg/debian/patches/openexr-iex.patch
cimg-3.5.2+dfsg/debian/patches/openexr-iex.patch
--- cimg-3.5.2+dfsg/debian/patches/openexr-iex.patch    1970-01-01
07:30:00.000000000 +0730
+++ cimg-3.5.2+dfsg/debian/patches/openexr-iex.patch    2026-11-10
19:54:15.000000000 +0800
@@ -0,0 +1,22 @@
+Description: Link Iex when building OpenEXR-enabled examples
+ OpenEXR 3.2.12 validates dimensions in the inline Array/Array2D templates.
+ Instantiating these templates can introduce direct Iex::ArgExc references,
+ so the examples must link Iex explicitly rather than relying on OpenEXR
+ to load it as a runtime dependency.
+Author: Aron Xu <aron@debian.org>
+Forwarded: not-needed
+Last-Update: 2026-11-10
+
+Index: cimg-3.5.2+dfsg/examples/Makefile
+===================================================================
+--- cimg-3.5.2+dfsg.orig/examples/Makefile
++++ cimg-3.5.2+dfsg/examples/Makefile
+@@ -249,7 +249,7 @@ HEIF_LIBS = -lheif
+ OPENEXR_DEFINE = -Dcimg_use_openexr
+ OPENEXR_INCDIR = -I/usr/include/OpenEXR -I/usr/include/Imath
+ OPENEXR_CFLAGS = $(OPENEXR_DEFINE) $(OPENEXR_INCDIR)
+-OPENEXR_LIBS = -lOpenEXR -lImath
++OPENEXR_LIBS = -lOpenEXR -lImath -lIex
+
+ # Flags to enable native support for various video files, using the
FFMPEG library.
+ # ( http://www.ffmpeg.org/ )
diff -Nru cimg-3.5.2+dfsg/debian/patches/series
cimg-3.5.2+dfsg/debian/patches/series
--- cimg-3.5.2+dfsg/debian/patches/series       2026-05-08
19:47:35.000000000 +0800
+++ cimg-3.5.2+dfsg/debian/patches/series       2026-11-10
19:47:36.000000000 +0800
@@ -5,3 +5,4 @@
 Imath.patch
 fix-cve-2026-42144.patch
 fix-cve-2026-42146.patch
+openexr-iex.patch
Technical Details
Message-ID: <NY9xf-bap2-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Aron Xu <aron@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel.release
Subject: Bug#1153698: trixie-pu: package cimg/3.5.2+dfsg-1+deb13u2
Date: Wed, 11 Nov 2026 07:00:01 +0100
Message-ID: <NY9xf-bap2-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 11 05:53:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Aron Xu <aron@debian.org>, 1153698@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-release@lists.debian.org
X-Debian-Pr-Message: report 1153698
X-Debian-Pr-Package: release.debian.org
X-Debian-Pr-Keywords: trixie
X-Gm-Message-State: APuU4Z8YDmmIiDkruWQ1ifzLUS6/u+60tVOziLjCWNY+NP+62XogH299
	FbTXMEUJkimlG7CWW8Xw2jRkpElh8iUqwuQpjF5RGk1RCjVwnL+5M6o7UWrCG6KX6KaaTQeLzko
	h9OOfDYZ8iaDNm+E7nvVjiRUzSQ8DieQ=
X-Received: by 2002:a05:690e:4512:20b0:67c:11a9:bbe4 with SMTP id
 956f58d0204a3-67c67effba6mr664047d50.45.1794376294584; Tue, 10 Nov 2026
 21:51:34 -0800 (PST)
MIME-Version: 1.0
X-Gmail-Original-Message-ID: <CAMr=8w4Dnfr0a2iyerTGd-P5u38n5hPxMbjj4oqzRofj5KmdOA@mail.gmail.com>
X-Gm-Features: AclHuK-__tSD5gTCcsJeKaVyDhvmN91jBszZ-WKoM5hPcqwPfyByahVVSMB5wsA
Content-Type: text/plain; charset="UTF-8"
X-Debian-User: aron
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001969
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 90
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 11 Nov 2026 13:51:23 +0800
X-Original-Message-ID: <CAMr=8w4Dnfr0a2iyerTGd-P5u38n5hPxMbjj4oqzRofj5KmdOA@mail.gmail.com>