Bug#1054795: system-config-printer: FTBFS: dh_install: error: missing files, aborting

2024-04-13 Thread Peter Green

Since there was no apparent maintainer response (the only responses were from
me and from one of the people working on the time64 transition) I went ahead
and uploaded a NMU'd with Ubuntu's fix.

Debdiff is attatched.
diff -Nru system-config-printer-1.5.18/debian/changelog 
system-config-printer-1.5.18/debian/changelog
--- system-config-printer-1.5.18/debian/changelog   2022-12-12 
21:04:11.0 +
+++ system-config-printer-1.5.18/debian/changelog   2024-04-12 
23:24:56.0 +
@@ -1,3 +1,11 @@
+system-config-printer (1.5.18-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix installation of cupshelpers module with Python 3.12. Patch taken from
+Ubuntu 1.5.18-1ubuntu6 upload by Till Kamppeter (Closes: #1054795).
+
+ -- Peter Michael Green   Fri, 12 Apr 2024 23:24:56 +
+
 system-config-printer (1.5.18-1) unstable; urgency=medium
 
   [ Jeremy Bicha ]
diff -Nru 
system-config-printer-1.5.18/debian/patches/makefile-am-fix-setup-py-install.patch
 
system-config-printer-1.5.18/debian/patches/makefile-am-fix-setup-py-install.patch
--- 
system-config-printer-1.5.18/debian/patches/makefile-am-fix-setup-py-install.patch
  1970-01-01 00:00:00.0 +
+++ 
system-config-printer-1.5.18/debian/patches/makefile-am-fix-setup-py-install.patch
  2024-04-12 23:03:53.0 +
@@ -0,0 +1,11 @@
+--- a/Makefile.am
 b/Makefile.am
+@@ -63,7 +63,7 @@
+ 
+ # Use distutils to install the module.
+ install-exec-local: .stamp-distutils-in-builddir
+-  $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
++  $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) 
--install-layout=deb
+ 
+ # Uninstall the module, crossing our fingers that we know enough
+ # about how distutils works to do this.  Unfortunately, distutils
diff -Nru system-config-printer-1.5.18/debian/patches/series 
system-config-printer-1.5.18/debian/patches/series
--- system-config-printer-1.5.18/debian/patches/series  2022-12-12 
21:04:11.0 +
+++ system-config-printer-1.5.18/debian/patches/series  2024-04-12 
23:05:12.0 +
@@ -3,3 +3,4 @@
 Allow-installing-packages-from-OpenPrinting.patch
 Do-not-autostart-the-applet-on-LXDE-or-Unity.patch
 Show-Printer-Settings-in-Unity-Control-Center.patch
+makefile-am-fix-setup-py-install.patch
diff -Nru system-config-printer-1.5.18/debian/python3-cupshelpers.install 
system-config-printer-1.5.18/debian/python3-cupshelpers.install
--- system-config-printer-1.5.18/debian/python3-cupshelpers.install 
2022-12-12 21:04:11.0 +
+++ system-config-printer-1.5.18/debian/python3-cupshelpers.install 
2024-04-12 23:03:53.0 +
@@ -1,5 +1,4 @@
 etc/cupshelpers/
-usr/lib/python3*/*-packages/cupshelpers
-usr/lib/python3*/*-packages/cupshelpers-1.0*.egg-info
+usr/lib/python3*/*-packages/cupshelpers*
 debug.py usr/lib/python3/dist-packages/cupshelpers/
 smburi.py usr/lib/python3/dist-packages/cupshelpers/


Bug#1054795: system-config-printer: FTBFS: dh_install: error: missing files, aborting

2024-04-09 Thread Peter Green

Ubuntu has made a couple of changes that look like they may relate to this 
issue.

Changelog for version 1.5.18-1ubuntu6 says

"Fix installation of cupshelpers module with Python 3.12."

Changelog for version 1.5.18-1ubuntu7 says

"Drop build dependency on python3-distutils."

Diffs are available at

http://launchpadlibrarian.net/720405816/system-config-printer_1.5.18-1ubuntu5_1.5.18-1ubuntu6.diff.gz

http://launchpadlibrarian.net/720655573/system-config-printer_1.5.18-1ubuntu6_1.5.18-1ubuntu7.diff.gz

Can someone review whether these changes are appropriate and fix the issue?
system-config-printer is a blocker for the time_t transition.



Bug#1054795: system-config-printer: FTBFS: dh_install: error: missing files, aborting

2024-03-27 Thread Andrey Rakhmatullin
On Fri, Oct 27, 2023 at 09:38:13PM +0200, Lucas Nussbaum wrote:
> > dh_install: warning: Cannot find (any matches for) 
> > "usr/lib/python3*/*-packages/cupshelpers" (tried in ., debian/tmp)
> > 
> > dh_install: warning: python3-cupshelpers missing files: 
> > usr/lib/python3*/*-packages/cupshelpers
> > dh_install: warning: Cannot find (any matches for) 
> > "usr/lib/python3*/*-packages/cupshelpers-1.0*.egg-info" (tried in ., 
> > debian/tmp)
> > 
> > dh_install: warning: python3-cupshelpers missing files: 
> > usr/lib/python3*/*-packages/cupshelpers-1.0*.egg-info
The underlying problem is make install putting those files into
debian/tmp/usr/local/lib. Passing prefix=/usr to dh_auto_install doesn't
make a difference.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Bug#1054795: system-config-printer: FTBFS: dh_install: error: missing files, aborting

2023-10-27 Thread Lucas Nussbaum
Source: system-config-printer
Version: 1.5.18-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<>/po'
> Makefile:222: warning: ignoring prerequisites on suffix rule definition
> installing ar.gmo as 
> /<>/debian/tmp/usr/share/locale/ar/LC_MESSAGES/system-config-printer.mo
> installing as.gmo as 
> /<>/debian/tmp/usr/share/locale/as/LC_MESSAGES/system-config-printer.mo
> installing ast.gmo as 
> /<>/debian/tmp/usr/share/locale/ast/LC_MESSAGES/system-config-printer.mo
> installing bg.gmo as 
> /<>/debian/tmp/usr/share/locale/bg/LC_MESSAGES/system-config-printer.mo
> installing bn_IN.gmo as 
> /<>/debian/tmp/usr/share/locale/bn_IN/LC_MESSAGES/system-config-printer.mo
> installing bn.gmo as 
> /<>/debian/tmp/usr/share/locale/bn/LC_MESSAGES/system-config-printer.mo
> installing br.gmo as 
> /<>/debian/tmp/usr/share/locale/br/LC_MESSAGES/system-config-printer.mo
> installing bs.gmo as 
> /<>/debian/tmp/usr/share/locale/bs/LC_MESSAGES/system-config-printer.mo
> installing ca.gmo as 
> /<>/debian/tmp/usr/share/locale/ca/LC_MESSAGES/system-config-printer.mo
> installing cs.gmo as 
> /<>/debian/tmp/usr/share/locale/cs/LC_MESSAGES/system-config-printer.mo
> installing cy.gmo as 
> /<>/debian/tmp/usr/share/locale/cy/LC_MESSAGES/system-config-printer.mo
> installing da.gmo as 
> /<>/debian/tmp/usr/share/locale/da/LC_MESSAGES/system-config-printer.mo
> installing de.gmo as 
> /<>/debian/tmp/usr/share/locale/de/LC_MESSAGES/system-config-printer.mo
> installing el.gmo as 
> /<>/debian/tmp/usr/share/locale/el/LC_MESSAGES/system-config-printer.mo
> installing en_GB.gmo as 
> /<>/debian/tmp/usr/share/locale/en_GB/LC_MESSAGES/system-config-printer.mo
> installing es.gmo as 
> /<>/debian/tmp/usr/share/locale/es/LC_MESSAGES/system-config-printer.mo
> installing et.gmo as 
> /<>/debian/tmp/usr/share/locale/et/LC_MESSAGES/system-config-printer.mo
> installing fa.gmo as 
> /<>/debian/tmp/usr/share/locale/fa/LC_MESSAGES/system-config-printer.mo
> installing fi.gmo as 
> /<>/debian/tmp/usr/share/locale/fi/LC_MESSAGES/system-config-printer.mo
> installing fr.gmo as 
> /<>/debian/tmp/usr/share/locale/fr/LC_MESSAGES/system-config-printer.mo
> installing fur.gmo as 
> /<>/debian/tmp/usr/share/locale/fur/LC_MESSAGES/system-config-printer.mo
> installing gu.gmo as 
> /<>/debian/tmp/usr/share/locale/gu/LC_MESSAGES/system-config-printer.mo
> installing he.gmo as 
> /<>/debian/tmp/usr/share/locale/he/LC_MESSAGES/system-config-printer.mo
> installing hi.gmo as 
> /<>/debian/tmp/usr/share/locale/hi/LC_MESSAGES/system-config-printer.mo
> installing hr.gmo as 
> /<>/debian/tmp/usr/share/locale/hr/LC_MESSAGES/system-config-printer.mo
> installing hu.gmo as 
> /<>/debian/tmp/usr/share/locale/hu/LC_MESSAGES/system-config-printer.mo
> installing id.gmo as 
> /<>/debian/tmp/usr/share/locale/id/LC_MESSAGES/system-config-printer.mo
> installing is.gmo as 
> /<>/debian/tmp/usr/share/locale/is/LC_MESSAGES/system-config-printer.mo
> installing it.gmo as 
> /<>/debian/tmp/usr/share/locale/it/LC_MESSAGES/system-config-printer.mo
> installing ja.gmo as 
> /<>/debian/tmp/usr/share/locale/ja/LC_MESSAGES/system-config-printer.mo
> installing ka.gmo as 
> /<>/debian/tmp/usr/share/locale/ka/LC_MESSAGES/system-config-printer.mo
> installing kn.gmo as 
> /<>/debian/tmp/usr/share/locale/kn/LC_MESSAGES/system-config-printer.mo
> installing ko.gmo as 
> /<>/debian/tmp/usr/share/locale/ko/LC_MESSAGES/system-config-printer.mo
> installing lt.gmo as 
> /<>/debian/tmp/usr/share/locale/lt/LC_MESSAGES/system-config-printer.mo
> installing lv.gmo as 
> /<>/debian/tmp/usr/share/locale/lv/LC_MESSAGES/system-config-printer.mo
> installing mai.gmo as 
> /<>/debian/tmp/usr/share/locale/mai/LC_MESSAGES/system-config-printer.mo
> installing ml.gmo as 
> /<>/debian/tmp/usr/share/locale/ml/LC_MESSAGES/system-config-printer.mo
> installing mr.gmo as 
> /<>/debian/tmp/usr/share/locale/mr/LC_MESSAGES/system-config-printer.mo
> installing ms.gmo as 
> /<>/debian/tmp/usr/share/locale/ms/LC_MESSAGES/system-config-printer.mo
> installing nb.gmo as 
> /<>/debian/tmp/usr/share/locale/nb/LC_MESSAGES/system-config-printer.mo
> installing nds.gmo as 
> /<>/debian/tmp/usr/share/locale/nds/LC_MESSAGES/system-config-printer.mo
> installing nl.gmo as 
> /<>/debian/tmp/usr/share/locale/nl/LC_MESSAGES/system-config-printer.mo
> installing nn.gmo as 
> /<>/debian/tmp/usr/share/locale/nn/LC_MESSAGES/system-config-printer.mo
> installing oc.gmo as 
> /<>/debian/tmp/usr/share/locale/oc/LC_MESSAGES/system-config-printer.mo
> installing or.gmo as 
> /<>/debian/tmp/usr/share/locale/or/LC_MESSAGES/system-config-printer.mo
> installing pa.gmo as 
> /<>/debian/tmp/usr/share/locale/pa/LC_MESSAGES/system-config-printer.mo
> installing pl.gmo as 
>