Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63458

Summary: foomatic perl script fails
Product: Gentoo Linux Reporter: ivo welch <ivo.welch>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: 2004.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ivo welch 2004-09-09 11:43:11 UTC
# foomatic-configure -s cups -p Brother-HL-5070N -c file:/dev/lp0 -n Brother -d Postscript
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 3389.
lpadmin: add-printer (set device) failed: client-error-not-possible
Could not set up/change the queue "Brother"!


Apparently, variable $ieee1284 is not set by this foomatic invokation.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ian Tindale 2004-09-13 05:09:14 UTC
Same here - different printer:
# foomatic-configure -s cups -p Samsung-ML-4500 -c file:/dev/lp0 -n Samsung -d gdi
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.8.2/Foomatic/DB.pm line 3389.

Then, if I try again, I get this:
# foomatic-configure -s cups -p Samsung-ML-4500 -c file:/dev/lp0 -n Samsung -d gdi
Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.2/Foomatic/DB.pm line 1879.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-22 06:02:00 UTC

*** This bug has been marked as a duplicate of 51038 ***
Comment 3 ivo welch 2004-09-22 13:46:04 UTC
Before we fully close this, unmerging and merging foomatic and cups did solve the main problem.  HOWEVER, we still have an uninit value in the foomatic-configure script here.  Still, cupsd now works!

root## foomatic-configure -s cups -p Brother-HL-5070N -c file:/dev/usb/lp0 -n Brother -d Postscript
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.8.4/Foomatic/DB.pm line 3427.


Thanks, guys.

Regards,

/iaw