Summary: | net-print/foomatic-db-20050910 broken on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jon Mason <jdmason> |
Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jon Mason
2006-04-23 10:14:25 UTC
(In reply to comment #0) > My system is unable to print with if running net-print/foomatic-db-20050910. I > reverted my system to the previous working version, > net-print/foomatic-db-20050606, and printing works again. However, > net-print/foomatic-db-20050910 seems to break the /usr/share/ppd link, and > requires manual removal to get the previous version to work. > I have the same problem, also reported on it in the forums: <http://forums.gentoo.org/viewtopic-t-455610-highlight-.html>. I also have the link breakage problem you talk about, but I don't know how to solve it. Can you elaborate on "manual removal to get the previous version to work?" The error/warning in question: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-net-print_-_foomatic-db-20050606-11006.log" symlink: /var/tmp/portage/foomatic-db-20050606/image/usr/share/cups/model/foomatic-ppds (symlink to /usr/share/ppd) -------------------------------------------------------------------------------- # emerge --info Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -ftracer -funit-at-a-time -fforce-addr -fpeel-loops -funswitch-loops -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -ftracer -funit-at-a-time -fforce-addr -fpeel-loops -funswitch-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="" LINGUAS="en_US nl" MAKEOPTS="-j2" 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 7zip X aac aalib acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 cdr cli crypt cups curl dhcp dri dvd dvdr dvdread eds emboss encode esd exif fam ffmpeg flac foomaticdb fortran gcj gd gif gmp gpm gs gstreamer gtk2 hal idn ieee1394 imagemagick imap imlib isdnlog java javascript jpeg justify kcal kde kdepim largeterminal lcms ldap libcaca libwww lm_sensors logitech-mouse lzw lzw-tiff mad mime mng mozilla mozsvg mp3 mpeg mplayer mppe-mppc ncurses network nls nodrm nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdf pdflib perl pic plotutils png ppds pppd python qt quicktime readline recode reflection samba sdl sensord session slang spell spl ssl subversion svg symlink tcpd tetex theora tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales visualization vorbis wifi wmf xine xml2 xorg xpm xprint xv xvid xvmc zlib linguas_en_US linguas_nl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS (In reply to comment #0) > My system is unable to print with if running net-print/foomatic-db-20050910. I > reverted my system to the previous working version, > net-print/foomatic-db-20050606, and printing works again. However, > net-print/foomatic-db-20050910 seems to break the /usr/share/ppd link, and > requires manual removal to get the previous version to work. I have this same issue on x86. The problem appears to be the removal of /usr/bin/foomatic-rip, as /usr/lib/cups/filter/foomatic-rip, /usr/lib/ppr/interfaces/foomatic-rip, and /usr/lib/ppr/lib/foomatic-rip are still links to /usr/bin/foomatic-rip. I get errors like this in /var/log/cups/error_log: I [27/Apr/2006:14:28:43 -0400] Job 160 queued on 'hp2300dn' by 'ljacobs'. I [27/Apr/2006:14:28:43 -0400] Started filter /usr/lib/cups/filter/pstops (PID 28257) for job 160. I [27/Apr/2006:14:28:43 -0400] Started filter /usr/lib/cups/filter/foomatic-rip (PID 28258) for job 160. I [27/Apr/2006:14:28:43 -0400] Started backend /usr/lib/cups/backend/socket (PID 28259) for job 160. E [27/Apr/2006:14:28:43 -0400] PID 28258 stopped with status 22! You can see that the attempt to run foomatic-rip (pid 28258) is the thing that causes the problem. (In reply to comment #2) > I have this same issue on x86. The problem appears to be the removal of > /usr/bin/foomatic-rip, as /usr/lib/cups/filter/foomatic-rip, > /usr/lib/ppr/interfaces/foomatic-rip, and /usr/lib/ppr/lib/foomatic-rip are > still links to /usr/bin/foomatic-rip. I get errors like this in > /var/log/cups/error_log: > > I [27/Apr/2006:14:28:43 -0400] Job 160 queued on 'hp2300dn' by 'ljacobs'. > I [27/Apr/2006:14:28:43 -0400] Started filter /usr/lib/cups/filter/pstops (PID > 28257) for job 160. > I [27/Apr/2006:14:28:43 -0400] Started filter /usr/lib/cups/filter/foomatic-rip > (PID 28258) for job 160. > I [27/Apr/2006:14:28:43 -0400] Started backend /usr/lib/cups/backend/socket > (PID 28259) for job 160. > E [27/Apr/2006:14:28:43 -0400] PID 28258 stopped with status 22! > > You can see that the attempt to run foomatic-rip (pid 28258) is the thing that > causes the problem. > I can confirm this for amd64. I'm having problems with working around this problem. I tried to follow the steps the reporter mentions, but his "requires manual removal" is too terse for me. I would really appreciate it if anybody could be more specific on what I should do. TIA Sorry, my "manual removal" was to remove the /usr/share/ppd directory. For those who are scared, you can move the directory to another location. # mv /usr/share/ppd /usr/share/ppd2 (In reply to comment #4) > Sorry, my "manual removal" was to remove the /usr/share/ppd directory. For > those who are scared, you can move the directory to another location. > # mv /usr/share/ppd /usr/share/ppd2 Ok, I did that and emerged net-print/foomatic-db-20050606. Afterwards, printing worked back like it should. So I can confirm the bug and the workaround. |