Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304415 - dev-python/docutils fails to install (tries to install python3.1 version)
Summary: dev-python/docutils fails to install (tries to install python3.1 version)
Status: RESOLVED DUPLICATE of bug 304641
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 22:06 UTC by Jan Essert
Modified: 2010-02-13 17:35 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 Jan Essert 2010-02-10 22:06:19 UTC
emerging dev-python/docutils tries to build a python2.6 version as well as a python3.1 version which fails with the following message:

copying docutils/writers/s5_html/themes/medium-black/pretty.css -> build/lib/docutils/writers/s5_html/themes/medium-black
copying docutils/writers/s5_html/themes/medium-black/__base__ -> build/lib/docutils/writers/s5_html/themes/medium-black
  File "./buildhtml.py", line 188
    print "no os.walk"
                     ^
SyntaxError: invalid syntax
 * ERROR: dev-python/docutils-0.6 failed:
 *   buildhtml.py failed
 *
 * Call stack:
 *     ebuild.sh, line  48:  Called src_compile
 *   environment, line 3963:  Called die
 * The specific snippet of code:
 *       PYTHONPATH=.. "$(PYTHON -f)" ./buildhtml.py --stylesheet-path=../html4css1.css --traceback .. || die "buildhtml.py failed";
 *
 * If you need support, post the output of 'emerge --info =dev-python/docutils-0.6',
 * the complete build log and the output of 'emerge -pqv =dev-python/docutils-0.6'.
 * The complete build log is located at '/var/tmp/portage/dev-python/docutils-0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/docutils-0.6/temp/environment'.
 * S: '/var/tmp/portage/dev-python/docutils-0.6/work/docutils-0.6'

I am pretty sure that docutils is not yet ready for python3.1. My standard python interpreter is python2.6.
I am using python-2.6.4-r99 from the sage-on-gentoo overlay, but I hope this is not related to the problem.

Reproducible: Always

Steps to Reproduce:




Portage 2.2_rc62 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 10 Feb 2010 18:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r99, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe -ggdb"
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/X11/xkb /usr/share/config"
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=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
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="/var/lib/layman/sage-on-gentoo /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dirac djvu dri dts dvb dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif hal handbook hbci iconv imap ipod jpeg jpeg2k kde kdehiddenvisibility kipi latex libnotify lzma mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntpl ntplonly ogg openexr opengl openmp pam pch pcre pdf perl png pop ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection schroedinger sdl semantic-desktop session smtp speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb v4l v4l2 vcd vim-syntax vorbis x264 xattr xcb xcomposite xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ice1712" 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 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="directory ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-02-13 17:35:09 UTC

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