To: [email protected]
Cc: [email protected]
Subject: quickroute-gps: NMU diff for 2.5-1.1 (Closes: #1112155, #1110984)
Tags: patch
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/
--
James Montgomery <[email protected]>diff -Nru quickroute-gps-2.5/debian/changelog
quickroute-gps-2.5/debian/changelog
--- quickroute-gps-2.5/debian/changelog 2025-04-09 09:35:30.000000000 -0400
+++ quickroute-gps-2.5/debian/changelog 2026-05-25 09:25:15.000000000 -0400
@@ -1,3 +1,17 @@
+quickroute-gps (2.5-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * 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)
+
+ -- James Montgomery <[email protected]> Mon, 25 May 2026 09:25:15
-0400
+
quickroute-gps (2.5-1) unstable; urgency=medium
[ Debian Janitor ]
diff -Nru quickroute-gps-2.5/debian/control quickroute-gps-2.5/debian/control
--- quickroute-gps-2.5/debian/control 2025-04-09 09:35:30.000000000 -0400
+++ quickroute-gps-2.5/debian/control 2026-05-25 09:25:03.000000000 -0400
@@ -8,7 +8,6 @@
debhelper-compat (= 13),
mono-xbuild,
devscripts,
- cli-common-dev,
mono-mcs,
liblog4net1.2-cil,
xvfb,
@@ -21,7 +20,6 @@
Package: quickroute-gps
Architecture: any
Depends:
- ${cli:Depends},
${misc:Depends},
mono-mcs
Description: GPS analysis software for getting your route on the map
diff -Nru quickroute-gps-2.5/debian/patches/fix-log4net-hintpath.patch
quickroute-gps-2.5/debian/patches/fix-log4net-hintpath.patch
--- quickroute-gps-2.5/debian/patches/fix-log4net-hintpath.patch
1969-12-31 19:00:00.000000000 -0500
+++ quickroute-gps-2.5/debian/patches/fix-log4net-hintpath.patch
2026-05-25 09:25:15.000000000 -0400
@@ -0,0 +1,43 @@
+From: James Montgomery <[email protected]>
+Date: Mon, 25 May 2026 09:00:00 -0400
+Subject: Fix log4net assembly reference using HintPath
+Bug-Debian: https://bugs.debian.org/1112155
+
+The cli-common GAC registration is broken in the current mono stack, so
+<Package>log4net</Package> references can no longer be resolved at build
+time. Replace the <Package> element with an explicit <HintPath> pointing
+to the known install location of the liblog4net1.2-cil package.
+
+--- a/QuickRoute.Common/QuickRoute.Common.csproj 2026-05-25
09:45:54.203645214 -0400
++++ QuickRoute.Common/QuickRoute.Common.csproj 2026-05-25 09:45:54.203645214
-0400
+@@ -58,7 +58,7 @@
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ <Reference Include="log4net, Version=1.2.10.0, Culture=neutral,
PublicKeyToken=a5715cc6d5c3540b">
+- <Package>log4net</Package>
++ <HintPath>/usr/lib/cli/log4net-1.2/log4net.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+--- a/QuickRoute.BusinessEntities/QuickRoute.BusinessEntities.csproj
2026-05-25 09:45:54.203645214 -0400
++++ QuickRoute.BusinessEntities/QuickRoute.BusinessEntities.csproj
2026-05-25 09:45:54.207645240 -0400
+@@ -62,7 +62,7 @@
+ <Reference Include="System.Windows.Forms" />
+ <Reference Include="System.Xml" />
+ <Reference Include="log4net, Version=1.2.10.0, Culture=neutral,
PublicKeyToken=a5715cc6d5c3540b">
+- <Package>log4net</Package>
++ <HintPath>/usr/lib/cli/log4net-1.2/log4net.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+--- a/QuickRoute.UI/QuickRoute.UI.csproj 2026-05-25 09:45:54.207645240
-0400
++++ QuickRoute.UI/QuickRoute.UI.csproj 2026-05-25 09:45:54.207645240 -0400
+@@ -83,7 +83,7 @@
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Configuration" />
+ <Reference Include="log4net, Version=1.2.10.0, Culture=neutral,
PublicKeyToken=a5715cc6d5c3540b">
+- <Package>log4net</Package>
++ <HintPath>/usr/lib/cli/log4net-1.2/log4net.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
diff -Nru quickroute-gps-2.5/debian/patches/series
quickroute-gps-2.5/debian/patches/series
--- quickroute-gps-2.5/debian/patches/series 2025-04-09 09:35:30.000000000
-0400
+++ quickroute-gps-2.5/debian/patches/series 2026-05-25 09:25:15.000000000
-0400
@@ -1 +1,2 @@
change-target-framework.patch
+fix-log4net-hintpath.patch
diff -Nru quickroute-gps-2.5/debian/rules quickroute-gps-2.5/debian/rules
--- quickroute-gps-2.5/debian/rules 2025-04-09 09:35:30.000000000 -0400
+++ quickroute-gps-2.5/debian/rules 2026-05-25 09:25:15.000000000 -0400
@@ -37,7 +37,10 @@
rm -rf .pc
$(MAKE) clean || true
dh clean || true
- dh clean --with=cli || true
%:
- dh $@ --with=cli
+ dh $@
+
+override_dh_fixperms:
+ dh_fixperms
+ find debian/quickroute-gps/usr/lib/quickroute-gps/ -name '*.dll' -exec
chmod 0644 {} +