Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366279 - dev-python/docutils-0.8_pre7013 failed Building failed with CPython 3.1 in distutils_building() function and python-updater problem
Summary: dev-python/docutils-0.8_pre7013 failed Building failed with CPython 3.1 in di...
Status: RESOLVED DUPLICATE of bug 366879
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 20:54 UTC by kaszynek
Modified: 2011-05-11 13:31 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 kaszynek 2011-05-06 20:54:56 UTC
While I'm emerging docutils i get error:
ERROR: dev-python/docutils-0.8_pre7013 failed (compile phase):
Building failed with CPython 3.1 in distutils_building()

i cant also make python-updater:
I don't know but it can be somehow connected... (i didn't have this before)
app-office/libreoffice-bin:0 dev-libs/boost:1.42 dev-python/-MERGING-twisted:0
!!! 'dev-python/-MERGING-twisted:0' is not a valid package atom.
!!! Please check ebuild(5) for full details.


Reproducible: Always

Steps to Reproduce:
1.emerge docutils
2.run python-updater
Actual Results:  
Error

Expected Results:  
Emerge completely

python-updater:

 * Starting Python Updater...
 * Main active version of Python:  2.7
 * Active version of Python 2:     2.7
 * Active version of Python 3:     3.1
 *   Adding to list: app-emulation/emul-linux-x86-baselibs:0
 *   Adding to list: app-office/libreoffice-bin:0
 *   Adding to list: dev-libs/boost:1.42
 *     check: manual [Added to list manually, see CHECKS in manpage for more information.]
Traceback (most recent call last):
  File "<string>", line 10, in <module>
  File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 977, in match
    return self.xmatch("match-visible", mydep)
  File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 872, in xmatch
    mydep = dep_expand(origdep, mydb=self, settings=self.settings)
  File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__
    return result(*args, **kwargs)
  File "/usr/lib64/portage/pym/portage/dbapi/dep_expand.py", line 33, in dep_expand
    mydep = Atom(mydep)
  File "/usr/lib64/portage/pym/portage/dep/__init__.py", line 1089, in __init__
    raise InvalidAtom(self)
portage.exception.InvalidAtom: dev-python/-MERGING-twisted:0
 *   Adding to list: dev-python/-MERGING-twisted:0
 * emerge -Dv1 --keep-going app-emulation/emul-linux-x86-baselibs:0 app-office/libreoffice-bin:0 dev-libs/boost:1.42 dev-python/-MERGING-twisted:0
!!! 'dev-python/-MERGING-twisted:0' is not a valid package atom.
!!! Please check ebuild(5) for full details.




emerge --info =dev-python/docutils-0.8_pre7013

Portage 2.1.9.46 (default/linux/amd64/10.0, gcc-4.5.2, libc-0-r0, 2.6.38-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.0.2
Timestamp of tree: Sun, 01 May 2011 11:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p8-r1
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /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/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-O2 -march=athlon64 -pipe"                                                                                
DISTDIR="/usr/portage/distfiles"                                                                                    
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"                   
FFLAGS=""                                                                                                           
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://ftp.vectranet.pl/gentoo/ ftp://gentoo.po.opole.pl "                                        
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                   
LINGUAS="pl"                                                                                                        
MAKEOPTS="-j2"                                                                                                      
PKGDIR="/usr/portage/packages"                                                                                      
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="/usr/local/portage"                                                                                
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                               
USE="64bit X a52 aac acl acpi alsa amd64 animgif audiofile automount avahi bash-completion bazaar berkdb binary-drivers boost branding bzip2 cairo caps cdr chm cleartype cli client colordiff consolekit corefonts cpio cracklib cron crypt csharp css ctype cue cups cupsddk curl curlwrappers cvs cxx dbus declarative device-mapper dhcpcd doc dri dts dv dvb dvd dvdr eclipse edit embedded encode exif expat extra extras fam fat fbcon fbcondecor fbsplash ffmpeg firefox flac flash flv fontconfig fortran ftp fuse gd gdbm gdu gedit gif git glib glibc-compat20 glitz glut gmath gmp gnutls gpm grub gstreamer gtk gzip html icons iconv icu id3 id3tag ieee1394 imap ioctl ipv6 jadetex java java6 javascript jpeg kde kipi kpathsea latex lcdfilter libnotify libsamplerate libssh2 lm_sensors logrotate lua lua-cairo lua-imlib lzma lzo mad matroska matrox mdnsresponder-compat mikmod mmap mmx mng mod_python modules mozilla mp3 mp3rtp mp3tunes mp4 mpeg mplayer mudflap multilib musepack mysql mysqli ncurses nfs nls nptl nptlonly nsplugin ntfs objc objc++ objc-gc ogg openal openexr opengl openmp openssl openvg oss pam pcre pdf perl phonon plasma png policykit ppds pppd pulseaudio python qt3support qt4 rar readline samba sdl semantic-desktop server session slp smbclient sound source sql sqlite sqlite3 sse sse2 ssh ssl subversion svg sysfs tcpd tex theora threads threadsafe tk truetype tv udev unicode upnp usb v4l v4l2 vorbis wav webkit winetools winetriks wma wmf x264 x86emu xcb xcomposite xft xml xmp xorg xpm xv xvid youtube zip 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" 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" LINGUAS="pl" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge error:
copying aux dirs
running build_scripts
creating build-3.1/scripts-3.1
copying and adjusting tools/rst2html.py -> build-3.1/scripts-3.1
copying and adjusting tools/rst2s5.py -> build-3.1/scripts-3.1
copying and adjusting tools/rst2latex.py -> build-3.1/scripts-3.1
Traceback (most recent call last):
  File "setup.py", line 223, in <module>
    do_setup()
  File "setup.py", line 103, in do_setup
    dist = setup(**kwargs)
  File "/usr/lib64/python3.1/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib64/python3.1/distutils/dist.py", line 919, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.1/distutils/dist.py", line 938, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.1/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python3.1/distutils/cmd.py", line 315, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.1/distutils/dist.py", line 938, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.1/distutils/command/build_scripts.py", line 51, in run
    self.copy_scripts()
  File "/usr/lib64/python3.1/distutils/command/build_scripts.py", line 83, in copy_scripts
    first_line = f.readline()
  File "/usr/lib64/python3.1/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 106: ordinal not in range(128)
 * ERROR: dev-python/docutils-0.8_pre7013 failed (compile phase):
 *   Building failed with CPython 3.1 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4866:  Called distutils_src_compile
 *   environment, line 1247:  Called python_execute_function 'distutils_building'
 *   environment, line 3435:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/docutils-0.8_pre7013',
 * the complete build log and the output of 'emerge -pqv =dev-python/docutils-0.8_pre7013'.
 * The complete build log is located at '/var/tmp/portage/dev-python/docutils-0.8_pre7013/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/docutils-0.8_pre7013/temp/environment'.
 * S: '/var/tmp/portage/dev-python/docutils-0.8_pre7013/work/docutils-0.8_pre7013'
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-05-11 08:44:04 UTC
I think this might be a dupe of bug #365271
Comment 2 kaszynek 2011-05-11 12:30:17 UTC
Oh yes, adding Lang helped me.
I think it really is dupe. Sorry
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-11 13:31:58 UTC
The problem with dev-python/-MERGING-twisted:0 is a duplicate of bug #192778.

*** This bug has been marked as a duplicate of bug 366879 ***