I was getting the same errors trying to rebuild cups.  cups (see
cups-1.4.7/.pc/reactivate_recommended_driver.patch/scheduler/cups-driverd.cxx,
line 1996) checks, in the *Product line in the ppd, that the product
name ends with a right parenthesis.  The warnings come from ppds where
the product lines don't have those parentheses.

For me the following diff for the hp-ppd package allows cups to build:

diff -r 5cf6416a38b9 -r 2599e570d9aa cups-o-matic/HP_DeskJet_350C.ppd
--- a/cups-o-matic/HP_DeskJet_350C.ppd  Wed Aug 03 15:52:01 2011 -0400
+++ b/cups-o-matic/HP_DeskJet_350C.ppd  Wed Aug 03 15:52:52 2011 -0400
@@ -19,7 +19,7 @@
 *LanguageEncoding: ISOLatin1
 *PCFileName:   "COM.PPD"
 *Manufacturer: "HP"
-*Product:      "DeskJet 350C"
+*Product:      "(DeskJet 350C)"
 *cupsVersion:  1.0
 *cupsManualCopies: True
 *cupsModelNumber:  2
diff -r 5cf6416a38b9 -r 2599e570d9aa 
cups-o-matic/HP_DeskJet_600C_Photo_Series.ppd
--- a/cups-o-matic/HP_DeskJet_600C_Photo_Series.ppd     Wed Aug 03 15:52:01 
2011 -0400
+++ b/cups-o-matic/HP_DeskJet_600C_Photo_Series.ppd     Wed Aug 03 15:52:52 
2011 -0400
@@ -19,7 +19,7 @@
 *LanguageEncoding: ISOLatin1
 *PCFileName:   "COM.PPD"
 *Manufacturer: "HP"
-*Product:      "DeskJet 600C Series Photo"
+*Product:      "(DeskJet 600C Series Photo)"
 *cupsVersion:  1.0
 *cupsManualCopies: True
 *cupsModelNumber:  2
diff -r 5cf6416a38b9 -r 2599e570d9aa cups-o-matic/HP_DeskJet_600C_Series.ppd
--- a/cups-o-matic/HP_DeskJet_600C_Series.ppd   Wed Aug 03 15:52:01 2011 -0400
+++ b/cups-o-matic/HP_DeskJet_600C_Series.ppd   Wed Aug 03 15:52:52 2011 -0400
@@ -19,7 +19,7 @@
 *LanguageEncoding: ISOLatin1
 *PCFileName:   "COM.PPD"
 *Manufacturer: "HP"
-*Product:      "DeskJet 600C Series"
+*Product:      "(DeskJet 600C Series)"
 *cupsVersion:  1.0
 *cupsManualCopies: True
 *cupsModelNumber:  2
diff -r 5cf6416a38b9 -r 2599e570d9aa cups-o-matic/HP_DeskJet_630C.ppd
--- a/cups-o-matic/HP_DeskJet_630C.ppd  Wed Aug 03 15:52:01 2011 -0400
+++ b/cups-o-matic/HP_DeskJet_630C.ppd  Wed Aug 03 15:52:52 2011 -0400
@@ -19,7 +19,7 @@
 *LanguageEncoding: ISOLatin1
 *PCFileName:   "COM.PPD"
 *Manufacturer: "HP"
-*Product:      "DeskJet 630/632C"
+*Product:      "(DeskJet 630/632C)"
 *cupsVersion:  1.0
 *cupsManualCopies: True
 *cupsModelNumber:  2
diff -r 5cf6416a38b9 -r 2599e570d9aa cups-o-matic/HP_DeskJet_800C_Series.ppd
--- a/cups-o-matic/HP_DeskJet_800C_Series.ppd   Wed Aug 03 15:52:01 2011 -0400
+++ b/cups-o-matic/HP_DeskJet_800C_Series.ppd   Wed Aug 03 15:52:52 2011 -0400
@@ -19,7 +19,7 @@
 *LanguageEncoding: ISOLatin1
 *PCFileName:   "COM.PPD"
 *Manufacturer: "HP"
-*Product:      "DeskJet 800C Series"
+*Product:      "(DeskJet 800C Series)"
 *cupsVersion:  1.0
 *cupsManualCopies: True
 *cupsModelNumber:  2
diff -r 5cf6416a38b9 -r 2599e570d9aa cups-o-matic/HP_DeskJet_900C_Series.ppd
--- a/cups-o-matic/HP_DeskJet_900C_Series.ppd   Wed Aug 03 15:52:01 2011 -0400
+++ b/cups-o-matic/HP_DeskJet_900C_Series.ppd   Wed Aug 03 15:52:52 2011 -0400
@@ -19,7 +19,7 @@
 *LanguageEncoding: ISOLatin1
 *PCFileName:   "COM.PPD"
 *Manufacturer: "HP"
-*Product:      "DeskJet 900C Series"
+*Product:      "(DeskJet 900C Series)"
 *cupsVersion:  1.0
 *cupsManualCopies: True
 *cupsModelNumber:  2
diff -r 5cf6416a38b9 -r 2599e570d9aa cups-o-matic/HP_DeskJet_990C.ppd
--- a/cups-o-matic/HP_DeskJet_990C.ppd  Wed Aug 03 15:52:01 2011 -0400
+++ b/cups-o-matic/HP_DeskJet_990C.ppd  Wed Aug 03 15:52:52 2011 -0400
@@ -19,7 +19,7 @@
 *LanguageEncoding: ISOLatin1
 *PCFileName:   "COM.PPD"
 *Manufacturer: "HP"
-*Product:      "DeskJet 990C"
+*Product:      "(DeskJet 990C)"
 *cupsVersion:  1.0
 *cupsManualCopies: True
 *cupsModelNumber:  2



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to