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

Bug 30288

Summary: foomatic 3.0.0 error
Product: Gentoo Linux Reporter: Tiago Ferreira <taf>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tiago Ferreira 2003-10-03 19:20:25 UTC
After successfully emerged foomatic 3.0.0 i tried installing my printer, but
when generating the PPD file i get this error:

root@fast linux #foomatic-configure -s cups -p HP-DeskJet_959C -c
file:/dev/usb/lp0 -n HP -d hpijs

Undefined subroutine &Foomatic::DB::translate_printer_id

Seems like some function is missing from the perl part...
Since some part comes from CVS i believe the problem comes from there.

Reproducible: Always
Steps to Reproduce:
1.emerge foomatic
2.foomatic-configure -s cups -p HP-DeskJet_959C -c file:/dev/usb/lp0 -n HP -d hpijs


Actual Results:  
Undefined subroutine &Foomatic::DB::translate_printer_id
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-04 02:12:02 UTC
then install a portage perl and see if it works...
Comment 2 Tiago Ferreira 2003-10-04 07:26:07 UTC
Like this...?

*  dev-lang/perl
      Latest version available: 5.8.0-r12
      Latest version installed: 5.8.0-r12
      Size of downloaded files: 10,854 kB
      Homepage:    http://www.perl.org/
      Description: Larry Wall's Practical Extraction and Reporting Language


Always been there... and up to date
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-04 13:16:12 UTC
so what did you mean with "some parts from CVS"?
Comment 4 Tiago Ferreira 2003-10-04 19:29:58 UTC
This: 

*  net-print/foomatic-db
      Latest version available: 20030716
      Latest version installed: 20030716
      Size of downloaded files: 694 kB
      Homepage:    http://www.linuxprinting.org/foomatic
      Description: Foomatic printer database
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-07 08:23:50 UTC
no, it's not cvs, just the version scheme of foomatic-db. try to recompile
perl and then recompile foomatic-db
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-11 12:33:58 UTC
see last comment.