Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135672 - kde-3.5.3 printing with cups-1.2.1 borked
Summary: kde-3.5.3 printing with cups-1.2.1 borked
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 12:49 UTC by Chris Smith
Modified: 2006-06-05 15:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2006-06-05 12:49:28 UTC
When trying to print from kde-3.5.3 using cups-1.2.1 I get this prompt:
"Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: host not found."

Non-kde apps print fine.
I know that there were some patches to kdelibs-3.5.2 that are supposedly not needed for kde-3.5.3 yet kde printing is broken.

$ emerge --info
Portage 2.1_rc4-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups curl dlloader dri dts dv dvb dvd dvdr dvdread emboss encode exif fam ffmpeg flac fortran gdbm ggvorbis gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imap imlib ipv6 isdnlog jack java jpeg jpeg2k kde kdeenablefinal lcd lcms ldap libg++ libwww mad mikmod mmx motif mozcalendar mozilla mp3 mpeg musicbrainz ncurses nls nodrm nptl nvidia ofx ogg openexr opengl oss pam pcre pda pdf pdflib perl png ppds pppd python qt quicktime readline reflection samba sasl scanner sdl session slp sndfile spell spl sse ssl subversion svg svga tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l v4l2 vcd vorbis win32codecs wmf xcomposite xine xml xmms xorg xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_vmware video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-05 13:01:06 UTC
Did you have cups 1.2 already installed when you rebuilt kdelibs? If not, did you rebuild kdelibs after upgrading cups?
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-05 13:09:03 UTC
I can reproduce this and I wonder what it is caused by, maybe you want to investigate it a bit?

Flameeyes is not seeing this problem, really strange.

yeah of course I have cups-1.2 installed before merging kdelibs
Comment 3 Chris Smith 2006-06-05 13:17:20 UTC
(In reply to comment #1)
> Did you have cups 1.2 already installed when you rebuilt kdelibs? If not, did
> you rebuild kdelibs after upgrading cups?
> 

Yes, cups-1.2 was already installed. I was aware of the problem with kde-3.5.2 and knew that kdelibs had to be rebuilt so that patches for cups-1.2 would get applied.
But everything I read about kde-3.5.3 implies that the patches are not needed. My laptop runs kubuntu-dapper (which uses cups-1.2) and kde-3.5.3 works fine on it.
Comment 4 Chris Smith 2006-06-05 15:39:50 UTC
(In reply to comment #2)
> yeah of course I have cups-1.2 installed before merging kdelibs
> 
Just to note that with the elimination of using a private method to communicate with cups in >=kde-3.5.3 it should no longer be necessary to recompile kdelibs when moving from cups-1.1.x to cups-1.2.x (unfortunately opining this does not fix the problem).
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-05 15:47:06 UTC
we have seen that only one of the necessarry patches has been merged upstream :(

flameeyes has added the other needed patches to kdelibs now. just recompile kdelibs tomorrow after your regular emerge sync

Thanks for the bug :)