🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #823

Bug#1151153: retroarch-assets: FTBFS: make[1]: *** [Makefile:52: assets/ozone/png/icons/Nintendo - Game Boy Advance (e-Reader).p...

#823
From: Simon McVittie
Date: Sat, 17 Oct 2026 19:50
56 lines
4686 bytes
Control: reassign -1 src:imagemagick
Control: affects -1 + src:retroarch-assets

On Sat, 17 Oct 2026 at 17:54:23 +0100, Jonathan McDowell wrote:
>On Sat, Oct 17, 2026 at 01:38:28PM +0000, Santiago Vila wrote:
>> During a rebuild of all packages in unstable, this package failed to build.
>
>I can reproduce this, and it appears to be as a result of a change in
>imagemagick; the actual failure is from a command like:
>
>$ magick mogrify -background 'rgb(255,255,255)' -alpha Background \
>	'assets/ozone/png/icons/APF - Imagination Machine.png'
>
>which results in:
>
>mogrify: no encode delegate for this image format `' @ warning/constitute.c/WriteImage/1473.
>mogrify: no encode delegate for this image format `' @ error/constitute.c/WriteImage/1482.

A small reproducer appears to be:

# apt install debconf imagemagick
$ cp /usr/share/pixmaps/debian-logo.png tmp.png
$ mogrify -debug all tmp.png

which worked in trixie (it's a no-op, it loads the image and saves it 
again), but not in sid. This isn't PNG-specific, the same thing for 
debian-logo.bmp also fails.

In the debug output, this looks fine:

2026-10-17T18:42:26+00:00 0:00.001 0.000u 7.1.2 Module mogrify[1658]: module.c/OpenModule/1281/Module
   Searching for module "PNG" using filename "png.la"
2026-10-17T18:42:26+00:00 0:00.001 0.000u 7.1.2 Module mogrify[1658]: module.c/GetMagickModulePath/560/Module
   Searching for coder module file "png.la" ...

but, later, this looks suspicious:

2026-10-17T18:42:26+00:00 0:00.004 0.000u 7.1.2 Coder mogrify[1658]: png.c/ReadPNGImage/4029/Coder
   exit ReadPNGImage()
2026-10-17T18:42:26+00:00 0:00.005 0.000u 7.1.2 Policy mogrify[1658]: policy.c/IsRightsAuthorizedByName/826/Policy
   Domain: Module; name: undefined; rights=Unrecognized; pattern="PNG-43B842CE~"; ...
2026-10-17T18:42:26+00:00 0:00.005 0.000u 7.1.2 Policy mogrify[1658]: policy.c/IsRightsAuthorizedByName/955/Policy
     authorized: true
2026-10-17T18:42:26+00:00 0:00.005 0.000u 7.1.2 Module mogrify[1658]: module.c/OpenModule/1281/Module
   Searching for module "PNG-43B842CE~" using filename "png-43b842ce~.la"
2026-10-17T18:42:26+00:00 0:00.005 0.000u 7.1.2 Module mogrify[1658]: module.c/GetMagickModulePath/560/Module
   Searching for coder module file "png-43b842ce~.la" ...

It looks like mogrify has somehow appended extra junk to the file 
format? A similar thing happens for the .bmp.

For retroarch-assets, it seems that it would probably be possible to 
work around this by using `magick convert ... in.png out.png`, instead 
of editing the same file in-place with mogrify.

     smcv
Technical Details
Message-ID: <NPizL-6c3K-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NPcNI-68V2-25@gated-at.bofh.it> <NPcNI-68V2-25@gated-at.bofh.it> <NPfVf-6azI-7@gated-at.bofh.it> <NPcNI-68V2-25@gated-at.bofh.it> <NPfVf-6azI-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Simon McVittie <smcv@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151153: retroarch-assets: FTBFS: make[1]: *** [Makefile:52: assets/ozone/png/icons/Nintendo - Game Boy Advance (e-Reader).png] Error 1
Date: Sat, 17 Oct 2026 21:50:01 +0200
Message-ID: <NPizL-6c3K-7@gated-at.bofh.it>
References: <NPcNI-68V2-25@gated-at.bofh.it> <NPcNI-68V2-25@gated-at.bofh.it> <NPfVf-6azI-7@gated-at.bofh.it> <NPcNI-68V2-25@gated-at.bofh.it> <NPfVf-6azI-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sat Oct 17 19:43:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Simon McVittie <smcv@debian.org>, 1151153@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-games-devel@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1151153
X-Debian-Pr-Package: src:retroarch-assets
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: retroarch-assets
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
X-Debian-User: smcv
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834833
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 56
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 17 Oct 2026 20:41:47 +0100
X-Original-Message-ID: <atPPe84SJYCdvuxA@definition.pseudorandom.co.uk>
X-Original-References: <E1xI4cG-008JrM-03@paradis.debian.org> <E1xI4cG-008JrM-03@paradis.debian.org> <atOoP38zW2hrjZ3I@earth.li> <E1xI4cG-008JrM-03@paradis.debian.org> <atOoP38zW2hrjZ3I@earth.li>