Package: hplip
Version: 3.26.4+dfsg0-1
Severity: normal
Control: tags -1 + patch

Dear hplip Maintainer,

Thanks for 3.26.4+dfsg0-1 upload. However seems it is failing autopkgtest,

---
* Driver postscript-hp:5/ppd/hplip/HP/hp-color_laserjet_mfp_e78635-ps.ppd
 - Create test printer: - Interrupted (or finished), delete test printer: done.
autopkgtest [17:08:41]: test printer-driver-postscript-hp: 
-----------------------]
printer-driver-postscript-hp FAIL non-zero exit status 1
---

I have added an Ubuntu patch for hp-color_laserjet_mfp_e78635-ps.ppd,
originally by Till Kampetter, adapted for 3.26.4+dfsg0-1. Even with this
I still get an autopkgtest error,

---
badpkg: Test dependencies are unsatisfiable. A common reason is that your 
testbed is out of date with respe
ct to the archive, and you need to use a current testbed or run apt-get update 
or use -U.
autopkgtest [22:20:36]: @@@@@@@@@@@@@@@@@@@@ summary
printer-driver-hpcups PASS
printer-driver-postscript-hp FAIL badpkg
---

If I make debian/tests/control depend on all packages hplip depends,
autopkgtest succeeds, at least in my cowbuilder box.

I am attaching two patches, one with Till changes and other with
proposed changes in debian/tests/control.

Hope they help,

-- 
Agustin
>From 098a9c702ecc3c89111f9074eabb56b91d6232a6 Mon Sep 17 00:00:00 2001
From: Till Kamppeter <[email protected]>
Date: Sat, 19 Apr 2025 11:16:35 +0200
Subject: [PATCH 1/2] Fix hp color laserjet mfp e78635 ps ppd.

---
 prnt/ps/hp-color_laserjet_mfp_e78635-ps.ppd | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

--- a/prnt/ps/hp-color_laserjet_mfp_e78635-ps.ppd
+++ b/prnt/ps/hp-color_laserjet_mfp_e78635-ps.ppd
@@ -355,7 +355,7 @@
 	} if"
 *End
 *HPInsertOrientation ReverseLandscape: "
-	currentpagedevice /MediaProcessing known { 
+	currentpagedevice /MediaProcessing known {
 		<< /MediaProcessingDetails << /Type 8 /ImageOrientation 3>>
 		>> setpagedevice
 	} if"
@@ -786,10 +786,6 @@
 *HPGuidePageExtraTumble: True
 *HPManualFeedPrintsOnBottom: True
 *HPOneCopyOfGuidePage: True
-@PJL SET HOLDTYPE = PRIVATE"
-*End
-@PJL SET HOLDTYPE = PRIVATE"
-*End
 *HPCustomJobName Title/Job Name: ""
 *HPCustomJobName Range: "1 15"
 *HPCustomJobName Type: "string"
@@ -1126,13 +1122,13 @@
 *AlternativeLetterheadMode True/On: ""
 *AlternativeLetterheadMode False/Off: ""
 *CloseUI: *AlternativeLetterheadMode
-*OpenUI *HPPJLPrintQuality/Print Quality: PickOne
+*JCLOpenUI *HPPJLPrintQuality/Print Quality: PickOne
 *OrderDependency: 5 AnySetup *HPPJLPrintQuality
 *DefaultHPPJLPrintQuality: Normal
 *HPPJLPrintQuality Normal/Normal: "@PJL SET PRINTQUALITY=NORMAL<0A>"
 *HPPJLPrintQuality FineLines/Fine Lines: "@PJL SET PRINTQUALITY=MAX<0A>"
 *HPPJLPrintQuality QuickView/Quick View: "@PJL SET PRINTQUALITY=DRAFT<0A>"
-*CloseUI: *HPPJLPrintQuality
+*JCLCloseUI: *HPPJLPrintQuality
 *CloseGroup: HPPaperQuality
 *OpenGroup: HPColorOptions/Color
 *OpenUI *HPEasyColor/HP EasyColor: Boolean
@@ -1141,13 +1137,13 @@
 *HPEasyColor True/On: ""
 *HPEasyColor False/Off: ""
 *CloseUI: *HPEasyColor
-*OpenUI *HPPJLColorAsGray/Print in Grayscale: PickOne
+*JCLOpenUI *HPPJLColorAsGray/Print in Grayscale: PickOne
 *OrderDependency: 20 AnySetup *HPPJLColorAsGray
 *DefaultHPPJLColorAsGray: None
 *HPPJLColorAsGray None/Off: ""
 *HPPJLColorAsGray BlackInkOnly/Black Only: ""
 *HPPJLColorAsGray HighQuality/High Quality CMYK Grayscale: ""
-*CloseUI: *HPPJLColorAsGray
+*JCLCloseUI: *HPPJLColorAsGray
 *OpenUI *HPCMYKInks/CMYK Color: PickOne
 *OrderDependency: 110 AnySetup *HPCMYKInks
 *DefaultHPCMYKInks: PrinterDefault
>From a5705c93aab3fff871a5b9f9e67cce0b3d5701e0 Mon Sep 17 00:00:00 2001
From: Agustin Martin Domingo <[email protected]>
Date: Wed, 27 May 2026 00:31:16 +0200
Subject: [PATCH] debian/tests/control: Make tests have same dependencies as
 hplip itself.

---
 debian/tests/control | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 343f0a7..03e72b4 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,13 +1,7 @@
 Tests: printer-driver-hpcups
 Restrictions: needs-root
-Depends:
- cups,
- cups-client (>= 1.7.3-5~),
- printer-driver-hpcups,
+Depends: @
 
 Tests: printer-driver-postscript-hp
 Restrictions: needs-root
-Depends:
- cups,
- cups-client (>= 1.7.3-5~),
- printer-driver-postscript-hp,
+Depends: @
-- 
2.53.0

Reply via email to