| View previous topic :: View next topic |
| Author |
Message |
DZoom n00b

Joined: 13 Jun 2010 Posts: 23
|
Posted: Mon Apr 16, 2012 3:35 pm Post subject: can't emerge pycairo during system update |
|
|
hi there,
i started a system update on my pc but it didnt't finish.
after some research i stumbled about the python 2.7 / 3 version issues.
i then checked the list of python interpreters (python 2.7, python 3.3), chose the first interpreter as default via eselect and tried to run python-updater. even that failed with three packages not being emerged:
| Code: |
* The following 3 packages have failed to build or install:
*
* (dev-python/pycairo-1.10.0-r2::gentoo, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/dev-python/pycairo-1.10.0-r2/temp/build.log'
* (app-portage/gentoolkit-0.3.0.5::gentoo, ebuild scheduled for merge)
* (dev-python/pygobject-3.0.2::gentoo, ebuild scheduled for merge)
*
|
for the sake of simplicity i then tried to emerge pycairo only, to get the bottom of this problem.
build failed.
emerge --info =dev-python/pycairo-1.10.0-r2:
| Code: |
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.3
Timestamp of tree: Mon, 16 Apr 2012 06:15:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r3, 3.2.2
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.mirror.web4u.cz/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dedicated dri dts dvd dvdr fftw ftp gdbm gif git gnutls gpm gtk iconv icq ieee1394 java jpeg jpeg2k latex libnotify mmx modules mp3 mp4 mpd mpeg mudflap multilib ncurses nls nptl nptlonly nvidia ogg openal opengl openmp pam pcre pdf png policykit pppd python quicktime readline samba session smp sse sse2 ssl subversion svg symlink sysfs tcpd thunar tiff truetype udev unicode usb vcd videos vorbis x264 xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
build log:
| Code: |
[32;01m * [39;49;00mPackage: dev-python/pycairo-1.10.0-r2
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: python@gentoo.org
[32;01m * [39;49;00mUSE: amd64 elibc_glibc kernel_linux multilib svg userland_GNU
[32;01m * [39;49;00mFEATURES: sandbox
>>> [1m[37mcfg-update-1.8.2-r1[0m[0m: Skipping checksum index updating...
>>> Unpacking source...
>>> Unpacking py2cairo-1.10.0.tar.bz2 to /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work
>>> Unpacking pycairo-1.10.0.tar.bz2 to /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work
>>> Source unpacked in /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work
>>> Preparing source in /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0 ...
[32;01m*[0m Applying pycairo-1.10.0-svg_check.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying py2cairo-1.10.0-svg_check.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
* Preparation of dev-python/pycairo-1.10.0-r2 with CPython 2.7...
* Preparation of dev-python/pycairo-1.10.0-r2 with CPython 3.2...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0 ...
* Configuration of dev-python/pycairo-1.10.0-r2 with CPython 2.7...
CCFLAGS="-march=k8 -O2 -pipe -fno-strict-aliasing" LINKFLAGS="-Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0/waf" --prefix=/usr --libdir=/usr/lib64 --nopyc --nopyo configure
./options()
Setting top to : /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0-2.7
Setting out to : /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0-2.7/build_directory
./configure()
Checking for 'gcc' (c compiler) : ok
Checking for program python : /usr/bin/python
python executable '/usr/bin/python' different from sys.executable '/usr/bin/python2.7'
Checking for python version : (2, 7, 2, 'final', 0)
Checking for library python2.7 in LIBDIR : yes
Checking for program python2.7-config : not found
Checking for program python-config-2.7 : /usr/bin/python-config-2.7
Checking for header Python.h : yes
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'cairo' >= 1.10.0 : yes
Configuration:
PREFIX : /usr
LIBDIR : /usr/lib64
'configure' finished successfully (0.578s)
* Configuration of dev-python/pycairo-1.10.0-r2 with CPython 3.2...
CCFLAGS="-march=k8 -O2 -pipe" LINKFLAGS="-Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0/waf" --prefix=/usr --libdir=/usr/lib64 --nopyc --nopyo configure
./options()
Setting top to : /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0-3.2
Setting out to : /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0-3.2/build_directory
./configure()
Checking for 'gcc' (c compiler) : ok
Checking for program python : /usr/bin/python
python executable '/usr/bin/python' different from sys.executable '/usr/bin/python3.2'
Checking for python version : (3, 2, 2, 'final', 0)
Checking for library python3.2 in LIBDIR : yes
Checking for program python3.2-config : not found
Checking for program python-config-3.2 : /usr/bin/python-config-3.2
Checking for header Python.h : yes
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'cairo' >= 1.10.0 : yes
Configuration:
PREFIX : /usr
LIBDIR : /usr/lib64
'configure' finished successfully (0.778s)
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0 ...
* Building of dev-python/pycairo-1.10.0-r2 with CPython 2.7...
"/var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0/waf" build 3
./options()
No function 3 defined in /var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0-2.7/wscript
[31;01m*[0m ERROR: dev-python/pycairo-1.10.0-r2 failed (compile phase):
[31;01m*[0m build failed
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 85: Called src_compile
[31;01m*[0m environment, line 4587: Called python_execute_function '-s' 'waf-utils_src_compile'
[31;01m*[0m environment, line 2941: Called waf-utils_src_compile
[31;01m*[0m environment, line 5100: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m "${WAF_BINARY}" ${jobs} || die "build failed"
[31;01m*[0m
[31;01m*[0m If you need support, post the output of 'emerge --info =dev-python/pycairo-1.10.0-r2',
[31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-python/pycairo-1.10.0-r2'.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/pycairo-1.10.0-r2/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pycairo-1.10.0-r2/temp/environment'.
[31;01m*[0m S: '/var/tmp/portage/dev-python/pycairo-1.10.0-r2/work/pycairo-1.10.0'
|
emerge -pqv =dev-python/pycairo-1.10.0-r2:
| Code: |
[ebuild U ] dev-python/pycairo-1.10.0-r2 [1.8.10] USE="svg -doc -examples -test"
|
thanks for your help! |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4946
|
|
| Back to top |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 7609
|
|
| Back to top |
|
 |
DZoom n00b

Joined: 13 Jun 2010 Posts: 23
|
Posted: Tue Apr 17, 2012 12:45 pm Post subject: |
|
|
what do you mean by that?
the bug-link doesn't lead to a filed bug...
and what should i try to sync? |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4946
|
|
| Back to top |
|
 |
frt n00b


Joined: 16 Jun 2012 Posts: 1
|
Posted: Sat Jun 16, 2012 11:45 am Post subject: problem with waf-utils_src_compile() from waf-utils.eclass |
|
|
I has a similar problem, and only could update this package with this:
MAKEOPTS="" emerge dev-python/pycairo
My MAKEOPTS in /etc/make.conf is set to "-j --load-average=2.0" and because of this the function waf-utils_src_compile() from waf-utils.eclass was giving me an error.
Maybe this same trick can solve your problem too. |
|
| Back to top |
|
 |
|
|
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
|
|