Summary: | Foomatic-configure crashes with error when trying to add printer to system | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris <grooveman> |
Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | minor | CC: | ajc, ivo.welch |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Chris
2004-05-14 05:51:10 UTC
Okay, I unmerged foomatic and cups and remerged them. Now the printers install, but I still get the error output. That is very minor, however, since it seems to be working now... Chris *** Bug 51045 has been marked as a duplicate of this bug. *** do you still get this error message? can you still reproduce that? No. Everything seems kosher now. Thanks! -> close *** Bug 63458 has been marked as a duplicate of this bug. *** I am seeing this bug on an Athlon 700 (march=athlon), LaserJet 4L on a parallel port. At first I thought it was related to not having IEEE1284 transport options in my kernel -- I rebuilt for that, rebooted, and it came back. I also am seeing the behavior of "foomatic-configure crashes, but the printer gets configured". net-print/foomatic-3.0.2 net-print/foomatic-filters-3.0.2 net-print/foomatic-db-engine-3.0.2 net-print/foomatic-db-20040302 dev-lang/perl-5.8.5-r2 sys-devel/libperl-5.8.5 dev-perl/XML-Parser-2.34 net-print/cups-1.1.20-r5 # foomatic-configure -s cups -p HP-LaserJet_4L -c file:/dev/lp0 -n lp -d hpijs Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.5/Foomatic/DB.pm line 1895 I also saw substitution error listed in the original bug, and I can sometimes reproduce it by substituting HP-LaserJet_4 for HP-LaserJet_4L in the command: Use of uninitialized value in substition (s///) at /usr/lib/perl5/vendor_perl/5.8.5/Foomatic/DB.pm line 3427 I've re-emerged foomatic with no change in the "crashes but configures printer" behavior. cupsd is running. System is up to date as of today (29 Dec 04). Reproducible: reliably. Steps to Reproduce: see above. Actual result: error message from foomatic-configure script, printer does get set up. Expected results: no error messages. I'm getting this problem too. I've tried remerging cups, foomatic, foomatic-filters, foomatic-db, and foomatic-db-engine with no luck. Here's the output I get: # foomatic-configure -s cups -p Canon-S300 -c smb://username:password@joachim/CanonS300 -n CanonS300 -d gimp-print-ijs Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 1895. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 1895. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 1895. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 1895. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 1895. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 1895. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 1895. Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 1895. I'm getting this error too on my ~amd64 box: # foomatic-configure -s cups -p HP-DeskJet_870C -c file:/dev/lp0 -n DJ870Cxi -d hpijs Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.8.6/Foomatic/DB.pm line 3427. But the printer is installed. prh@wstn ~ $ emerge --info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 x86_64) ================================================================= System uname: 2.6.11-gentoo-r5 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 5 2005, 14:31:04)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O3 -march=opteron -mtune=opteron" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/xdm/Xservers /etc/fonts /etc/gconf /etc/rc.d /etc/rsync /etc/terminfo /etc/wget /etc/env.d" CXXFLAGS="-O3 -march=opteron -mtune=opteron" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" LDFLAGS="-Wl,-z,now" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa bash-completion berkdb bitmap-fonts cdr crypt cups curl dvd font-server foomaticdb fortran gif gpm gtk imagemagick imlib ipv6 jp2 jpeg lzw lzw-tiff mp3 ncurses nls nptl opengl oss pam perl png ppds python readline ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales xml2 xpm xrandr xv zlib linguas_en_GB" Unset: ASFLAGS, CBUILD, CTARGET |