#1110984 quickroute-gps: FTBFS in sid: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 #1110984
- Package:
- src:quickroute-gps
- Source:
- src:quickroute-gps
- Submitter:
- Andreas Beckmann
- Date:
- 2026-06-05 23:07:02 UTC
- Severity:
- normal
- Tags:
Hi, quickroute-gps FTBFS in sid (but still builds fine in trixie): https://salsa.debian.org/debian/quickroute-gps/-/jobs/7975518 I tried to extract the first error from the log: Project "/builds/debian/quickroute-gps/debian/output/source_dir/QuickRoute.Resources/QuickRoute.Resources.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Created directory "bin/Release/" Created directory "obj/Release/" Target GenerateResources: Tool /usr/lib/mono/4.5/resgen.exe execution started with arguments: /useSourcePath /compile "Images.resx,obj/Release/QuickRoute.Resources.Images.resources" Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x000d4] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr) at System.Drawing.Image.Dispose (System.Boolean disposing) [0x00000] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 at System.Drawing.Image.Finalize () [0x00000] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x000d4] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr) at System.Drawing.Image.Dispose (System.Boolean disposing) [0x00000] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 at System.Drawing.Image.Finalize () [0x00000] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Tool exited with code: 255. Output: Error: Exception has been thrown by the target of an invocation. Inner exception: The type initializer for 'System.Drawing.GDIPlus' threw an exception. Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x000d4] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr) at System.Drawing.Image.Dispose (System.Boolean disposing) [0x00000] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 at System.Drawing.Image.Finalize () [0x00000] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x000d4] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr) at System.Drawing.Image.Dispose (System.Boolean disposing) [0x00000] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 at System.Drawing.Image.Finalize () [0x00000] in <b6dd12ae04f64f10b1f621a3e7bd9a74>:0 Tool /usr/lib/mono/4.5/resgen.exe execution started with arguments: /useSourcePath /compile "Strings.resx,obj/Release/QuickRoute.Resources.Strings.resources" Task "GenerateResource" execution -- FAILED Done building target "GenerateResources" in project "/builds/debian/quickroute-gps/debian/output/source_dir/QuickRoute.Resources/QuickRoute.Resources.csproj".-- FAILED Done building project "/builds/debian/quickroute-gps/debian/output/source_dir/QuickRoute.Resources/QuickRoute.Resources.csproj".-- FAILED
Control: tags 1112155 + patch
A debdiff against 2.5-1 is attached (NMU 2.5-1.1).
The changes address both open serious bugs:
* debian/control: drop cli-common-dev from Build-Depends (Closes: #1112155)
* debian/rules: remove --with=cli from the dh invocations; add an
override_dh_fixperms to restore 0644 permissions on installed
.dll files (previously done by dh_clifixperms)
* debian/control: drop ${cli:Depends} from binary Depends; the
existing explicit mono-mcs dependency is sufficient at runtime
* debian/patches/fix-log4net-hintpath.patch: replace
<Package>log4net</Package> with an explicit <HintPath> in the
three .csproj files that reference log4net; the cli-common GAC
registration is broken in the current mono stack so pkg-config
and GAC resolution both fail at build time (Closes: #1110984)
The package builds cleanly in an unstable sbuild chroot with
libgdiplus 6.1+dfsg-2 installed (which also resolves the
libgdiplus.so.0 runtime issue that #1110984 originally reported).
Lintian and piuparts pass.
The NMU is staged on mentors.debian.net [1]. I intend to proceed
with an upload to DELAYED/7 if there is no response from the
maintainer within 7 days.
[1] https://mentors.debian.net/package/quickroute-gps/
Hi James,Thank you for your patches, merged those into [1].Subsquently quickroute-gps 2.5-2 was prepared in [1]. Could someone please sponsor an upload?Thank you,Kristóf1: https://salsa.debian.org/debian/quickroute-gps
We believe that the bug you reported is fixed in the latest version of
quickroute-gps, 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 1110984@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kristóf Ralovich <tade60@freemail.hu> (supplier of updated quickroute-gps 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 30 May 2026 13:42:45 +0200
Source: quickroute-gps
Architecture: source
Version: 2.5-2
Distribution: unstable
Urgency: medium
Maintainer: Kristóf Ralovich <tade60@freemail.hu>
Changed-By: Kristóf Ralovich <tade60@freemail.hu>
Closes: 1110984 1112155
Changes:
quickroute-gps (2.5-2) unstable; urgency=medium
.
[ Alexandre Detiste ]
* remove extraneous build-dep on devscripts
.
[ Andreas Beckmann ]
* CI: disable reprotest, embedded timestamps in PE binaries
.
[ James Montgomery ]
* Drop build-dependency on orphaned cli-common-dev, remove --with=cli
from dh calls in debian/rules, and drop ${cli:Depends} from binary
Depends; explicit mono runtime dependencies already satisfy the runtime
requirement.
Closes: #1112155
* Fix FTBFS: replace <Package>log4net</Package> with an explicit
<HintPath> in the three .csproj files that reference log4net; the
cli-common GAC registration is broken in the current mono stack so
pkg-config and GAC resolution both fail.
Closes: #1110984
.
[ Kristof Ralovich ]
* ci: disable debrebuild
* debian/control: Update to Standards-Version 4.7.4
Checksums-Sha1:
9ec0b22cf978bdde812c05d259c0ba52d967639f 1807 quickroute-gps_2.5-2.dsc
d789611cf416e9b470fb2d7f237c8bf0524b25e3 10568 quickroute-gps_2.5-2.debian.tar.xz
eb07dc1e7943a8c0465fb130091665488855c6e8 8481 quickroute-gps_2.5-2_source.buildinfo
Checksums-Sha256:
4891ad8668dce0a6e06032d2dbb07779413547130b0ba926eddf4942dd54a66e 1807 quickroute-gps_2.5-2.dsc
10687ac2ba5618419b78aa697a626418ee4898963adcbdb5baa63f0fa1702340 10568 quickroute-gps_2.5-2.debian.tar.xz
14070de3c1b63ed31f35807a052456bc48d2676f9c066a37a1fd07c51017f0cf 8481 quickroute-gps_2.5-2_source.buildinfo
Files:
05107ea4d82bcbe7447bb545959ad642 1807 misc optional quickroute-gps_2.5-2.dsc
7874f8a335ec50456d5fc9d8f8aaf1b9 10568 misc optional quickroute-gps_2.5-2.debian.tar.xz
3fea740e54189a790b9f560a59ab60f8 8481 misc optional quickroute-gps_2.5-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmojUksQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFKUiDADvK1r5At9kWAWFurpluHTSNEzZtKJWokhb
UQJcxIcN9DBtn9g8tLSt+XeTwWWANR6ndOR1PwYrMWVHpatRjDxdMHkAXrFFLA30
8ITR/2OeEELS6Wwiy7AEXwM+y2Dx311I+yoPadZljAN1w7TD5/g5kqXqUae70BnC
az+70J6tbPZx1JD3e5eWmB9HLZV4cEP3qEZ8NZiAUbfjqnkcDKV0rkW72brNY/eP
ZNJ3qH8R7yOzZpKDQvN5Cz5SiZyF6ion2FIyuMelCMUpIEG4qTtjXDgVeg0opCWe
p80HQPxbSHqHeDPcR/anTDKw8f8LCJanWxHiPkHN8szfuEfeBEqY6i4cfThStthe
SldtFDAd0MN2rdID8L57Yvb91hlpnh3eA7Oka7KqSx8EnI5fe8tp6XgATP31t2Nw
5KoIRk7wArZGbQq92fnpZJRZpFUTmUJPRWXLBiVl+3KKNOB3OdZt32ztZoXtfhim
x5FLa+L+eNn6S0LoWP7RKipH9pQjlOE=
=R/KK
-----END PGP SIGNATURE-----