Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] pycups-1.9.61 failed on fresh install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dmitrio
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2002
Posts: 115
Location: Pago Pago

PostPosted: Sun Jul 29, 2012 1:42 am    Post subject: [SOLVED] pycups-1.9.61 failed on fresh install Reply with quote

I tried to do a fresh install and stuck at pycups.
previous versions failed either.
after couple hours of search and revdep-rebuild, python-updater, reemerging curl and pycurl still looking...

Code:
# emerge -v pycups &> pycups.err                                                                                                                                         
These are the packages that would be merged, in order:                                                                                                                           
                                                                                                                                                                                 
Calculating dependencies  .... done!                                                                                                                                             
[ebuild  N     ] dev-python/pycups-1.9.61  USE="-doc -examples" 0 kB                                                                                                             
                                                                                                                                                                                 
Total: 1 package (1 new), Size of downloads: 0 kB                                                                                                                               
                                                                                                                                                                                 
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/pycups-1.9.61
 * pycups-1.9.61.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...            [ ok ]
>>> Unpacking source...
>>> Unpacking pycups-1.9.61.tar.bz2 to /var/tmp/portage/dev-python/pycups-1.9.61/work
>>> Source unpacked in /var/tmp/portage/dev-python/pycups-1.9.61/work
>>> Preparing source in /var/tmp/portage/dev-python/pycups-1.9.61/work/pycups-1.9.61 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pycups-1.9.61/work/pycups-1.9.61 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pycups-1.9.61/work/pycups-1.9.61 ...
python2.7 setup.py build
running build
running build_ext
building 'cups' extension
creating build
creating build/temp.linux-x86_64-2.7
x86_64-pc-linux-gnu-gcc -pthread -march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -DVERSION="1.9.61" -fPIC -DVERSION="1.9.61" -I/usr/include/python2.7 -c cupsmodule.c -o build/temp.linux-x86_64-2.7/cupsmodule.o
cupsmodule.c: In function 'cups_ppdSetConformance':
cupsmodule.c:413:3: warning: 'ppdSetConformance' is deprecated (declared at /usr/include/cups/ppd.h:414) [-Wdeprecated-declarations]
cupsmodule.c: In function 'initcups':
cupsmodule.c:853:3: error: 'CUPS_SERVER_REMOTE_PRINTERS' undeclared (first use in this function)
cupsmodule.c:853:3: note: each undeclared identifier is reported only once for each function it appears in
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 * ERROR: dev-python/pycups-1.9.61 failed (compile phase):
 *   Building failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 5286:  Called distutils_src_compile
 *   environment, line 1294:  Called die
 * The specific snippet of code:
 *               "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 *
 * If you need support, post the output of `emerge --info '=dev-python/pycups-1.9.61'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pycups-1.9.61'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pycups-1.9.61/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pycups-1.9.61/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pycups-1.9.61/work/pycups-1.9.61'
 * S: '/var/tmp/portage/dev-python/pycups-1.9.61/work/pycups-1.9.61'

>>> Failed to emerge dev-python/pycups-1.9.61, Log file:

>>>  '/var/tmp/portage/dev-python/pycups-1.9.61/temp/build.log'
 * Messages for package dev-python/pycups-1.9.61:
 * ERROR: dev-python/pycups-1.9.61 failed (compile phase):
 *   Building failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 5286:  Called distutils_src_compile
 *   environment, line 1294:  Called die
 * The specific snippet of code:
 *               "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 *
 * If you need support, post the output of `emerge --info '=dev-python/pycups-1.9.61'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pycups-1.9.61'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pycups-1.9.61/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pycups-1.9.61/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pycups-1.9.61/work/pycups-1.9.61'
 * S: '/var/tmp/portage/dev-python/pycups-1.9.61/work/pycups-1.9.61'


emerge --info
Code:
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo.2012-07-28_00-00 x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo.2012-07-28_00-00-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sun, 29 Jul 2012 00:45:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.netnitco.net"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru de"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync15.us.gentoo.org/gentoo-portage"
USE="3dnowext 64bit X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups cxx dbus declarative dhclient dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal handbook iconv ipv6 jpeg kde kipi laptop lcms libnotify lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd python python3 qt3support qt4 readline sdl semantic-desktop session smp spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l2 vim-syntax vorbis wifi wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________

... Leaving ground, destination is unknown,
into the darkness and far away from home,
Will your dream come true and what will you find,
when fate is your guide ...


Last edited by dmitrio on Sun Jul 29, 2012 9:13 pm; edited 2 times in total
Back to top
View user's profile Send private message
dmitrio
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2002
Posts: 115
Location: Pago Pago

PostPosted: Sun Jul 29, 2012 9:12 pm    Post subject: solved by downgrading cups Reply with quote

pycups-1.9.61 successfully merged with cups-1.5.3
_________________

... Leaving ground, destination is unknown,
into the darkness and far away from home,
Will your dream come true and what will you find,
when fate is your guide ...
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Tue Jul 31, 2012 4:23 pm    Post subject: Reply with quote

This is fixed with dev-python/pycups-1.9.61-r1.
Back to top
View user's profile Send private message
dmitrio
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2002
Posts: 115
Location: Pago Pago

PostPosted: Tue Jul 31, 2012 11:41 pm    Post subject: all merged successfuly Reply with quote

confirmed with pycups-1.9.61-r1 and cups-1.6.1
_________________

... Leaving ground, destination is unknown,
into the darkness and far away from home,
Will your dream come true and what will you find,
when fate is your guide ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum