Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340052 - kde-base/system-config-printer-kde-4.5.4 (and earlier) fails to build (pycups not found)
Summary: kde-base/system-config-printer-kde-4.5.4 (and earlier) fails to build (pycups...
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: 2010-10-07 10:33 UTC by Peter Ruskin
Modified: 2011-04-08 19:26 UTC (History)
2 users (show)

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


Attachments
build.log (kde-base:system-config-printer-kde-4.5.2:20101007-035838.log,8.39 KB, text/plain)
2010-10-07 10:35 UTC, Peter Ruskin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2010-10-07 10:33:44 UTC
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * PyCups  <http://cyberelk.net/tim/software/pycups/>
     PyCups was not found.  It is needed by system-config-printer-kde to run.  (Use -DINSTALL_SYSTEM_CONFIG_PRINTER=TRUE to install anyway)
   * system-config-printer  <http://cyberelk.net/tim/software/system-config-printer/>
     system-config-printer was not found.  Some of its modules (cupshelpers.py, config.py, smburi.py and debug.py) are required by system-config-printer-kde.

-----------------------------------------------------------------------------
# eix pycups
[I] dev-python/pycups
     Available versions:  (~)1.9.46 (~)1.9.46[1] 1.9.49 1.9.49[1] (~)1.9.51 (~)1.9.51[1] {doc examples}
     Installed versions:  1.9.51[1](00:48:36 12/09/10)(examples -doc)
     Homepage:            http://cyberelk.net/tim/data/pycups/
     Description:         Python bindings for the CUPS API

[1] "/usr/local/portage" /usr/local/portage
[11:29 root@nero ~]
# eix system-config-printer
[I] app-admin/system-config-printer-common
     Available versions:  (~)1.1.13!t 1.2.2!t (~)1.2.4!t {doc policykit}
     Installed versions:  1.2.4!t(01:38:11 12/09/10)(-doc -policykit)
     Homepage:            http://cyberelk.net/tim/software/system-config-printer/
     Description:         Common modules of Red Hat's printer administration tool

* app-admin/system-config-printer-gnome
     Available versions:  1.2.2!t (~)1.2.4!t {gnome-keyring linguas_ar linguas_as linguas_bg linguas_bn linguas_bn_IN linguas_br linguas_bs linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_el linguas_en_GB linguas_es linguas_et linguas_fa linguas_fi linguas_fr linguas_gu linguas_he linguas_hi linguas_hr linguas_hu linguas_hy linguas_id linguas_is linguas_it linguas_ja linguas_ka linguas_kn linguas_ko linguas_lo linguas_lv linguas_mai linguas_mk linguas_ml linguas_mr linguas_ms linguas_nb linguas_nl linguas_nn linguas_or linguas_pa linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_si linguas_sk linguas_sl linguas_sr linguas_sr@latin linguas_sv linguas_ta linguas_te linguas_th linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW}
     Homepage:            http://cyberelk.net/tim/software/system-config-printer/
     Description:         GNOME frontend for a Red Hat's printer administration tool

[U] kde-base/system-config-printer-kde
     Available versions:
        (4.4)   (~)4.4.5
        (4.5)   (~)4.5.1 (~)4.5.2
        {aqua kdeenablefinal kdeprefix}
     Installed versions:  4.5.1(4.5)(03:40:16 10/09/10)(-aqua -kdeenablefinal -kdeprefix)
     Homepage:            http://www.kde.org/
     Description:         KDE port of Red Hat's Gnome system-config-printer
Comment 1 Peter Ruskin 2010-10-07 10:35:26 UTC
Created attachment 249832 [details]
build.log
Comment 2 Peter Ruskin 2010-10-07 10:36:49 UTC
# emerge --info =kde-base/system-config-printer-kde-4.5.2
Portage 2.2_rc90 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r8 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r8-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 06 Oct 2010 22:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo kde-sunset usr-local-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages news nostrip notitles parallel-fetch preserve-libs protect-owned sfperms unknown-features-warn unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/x86"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3dnow 3ds 64bit X a52 aac acpi alsa amd64 bash-completion berkdb binary-drivers bittorrent branding bzip2 cairo cdda cddb cdparanoia cdr clamav cli consolekit cups cxx dbase dbus dri dts dv dvd dvdnav dvdr emboss encode examples exif fat ffmpeg firefox flac fuse gdbm gif gimp gpm iconv java jpeg lcms ldap libnotify lm_sensors mad maildir mbox mikmod mmx mng modules moznocompose moznoirc mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pango pcre pdf perl png ppds pppd python qt3 qt3support qt4 readline reflection samba scanner sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff tk transcode truetype unicode usb utils vcd vdr videos vim-with-x vorbis wmf x264 xcb xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="konica minolta" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-11-14 14:28:16 UTC
Any luck with 4.5.3?
Comment 4 Peter Ruskin 2010-11-14 15:13:46 UTC
4.5.3 fails the same way too
Comment 5 Matthias M Weber 2010-12-07 06:45:06 UTC
(In reply to comment #4)
4.5.4 also fails:

>>> Source compiled.
>>> Test phase [not enabled]: kde-base/system-config-printer-kde-4.5.4

>>> Install system-config-printer-kde-4.5.4 into /data/portage/kde-base/system-config-printer-kde-4.5.4/image/ category kde-base
>>> Working in BUILD_DIR: "/data/portage/kde-base/system-config-printer-kde-4.5.4/work/system-config-printer-kde-4.5.4_build"
make -j5 DESTDIR=/data/portage/kde-base/system-config-printer-kde-4.5.4/image/ install 
make: *** No rule to make target `install'.  Stop.
emake failed
 * ERROR: kde-base/system-config-printer-kde-4.5.4 failed:
 *   died running make install, base_src_install

Comment 6 Peter Ruskin 2011-01-11 22:30:02 UTC
system-config-printer-kde-4.5.5 is the same
Comment 7 SpanKY gentoo-dev 2011-01-24 20:15:32 UTC
i wonder if this is an issue of people upgrading their system python and not having all the installed python packages be rebuilt (so the new version no longer knows about pycups).  i.e. people arent running python-updater.

i was hitting this error, but that's because my system python just went from python-2.6 to python-2.7 and pycups hadnt been re-emerged.  once i had, the kde package installed fine.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-02-26 18:15:38 UTC
Peter, Matthias, could you please check if first running python-updater helps?
Comment 9 Peter Ruskin 2011-02-26 19:47:07 UTC
system-config-printer-kde-4.6.0 builds OK.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2011-04-08 19:26:06 UTC
(In reply to comment #9)
> system-config-printer-kde-4.6.0 builds OK.

OK, then I'll assume this is fixed by now. Thanks!