Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533926 - dev-python/markdown-2.5.2 - src_install(): Traceback (most recent call last): File "setup.py", line 249: raise TypeError("dist must be a Distribution instance"): TypeError: dist must be a Distribution instance
Summary: dev-python/markdown-2.5.2 - src_install(): Traceback (most recent call last):...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 14:45 UTC by Yixun Lan
Modified: 2014-12-30 16:49 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,4.62 KB, application/gzip)
2014-12-29 14:51 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2014-12-29 14:45:10 UTC
/usr/bin/python3.3 setup.py install --root=/var/tmp/portage/dev-python/markdown-2.5.2/image//_python3.3
running install
running build
running build_py
running build_scripts
running build_docs
running install_lib
Traceback (most recent call last):
  File "setup.py", line 249, in <module>
    'Topic :: Text Processing :: Markup :: HTML',
  File "/usr/lib64/python3.3/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.3/distutils/dist.py", line 930, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.3/distutils/dist.py", line 949, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.3/distutils/command/install.py", line 581, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python3.3/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.3/distutils/dist.py", line 947, in run_command
    cmd_obj = self.get_command_obj(command)
  File "/usr/lib64/python3.3/distutils/dist.py", line 822, in get_command_obj
    cmd_obj = self.command_obj[command] = klass(self)
  File "/usr/lib64/python3.3/site-packages/setuptools/__init__.py", line 125, in __init__
    _Command.__init__(self,dist)
  File "/usr/lib64/python3.3/distutils/cmd.py", line 57, in __init__
    raise TypeError("dist must be a Distribution instance")
TypeError: dist must be a Distribution instance
 * ERROR: dev-python/markdown-2.5.2::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 3575:  Called distutils-r1_src_install
 *   environment, line 1141:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_install'
 *   environment, line  272:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_install'


Reproducible: Always




Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.20, 3.13.0-43-generic x86_64)
=================================================================
System uname: Linux-3.13.0-43-generic-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_0_@_2.70GHz-with-gentoo-2.2
KiB Mem:   131988308 total,   7054556 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 18 Dec 2014 00:45:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p30-r1
dev-lang/perl:            5.20.1-r3
dev-lang/python:          2.7.9, 3.3.5-r1, 3.4.2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/home/gentoo/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parall
el-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetc
h userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" ftp://ofire http://mirrors.aliyun.com/gentoo http://mirrors.163.com/gentoo http://mirrors.sohu.com/gentoo http://mirrors.xm
u.edu.cn/gentoo "
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20 -l20"
PKGDIR="/home/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --hum
an-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli consolekit cracklib crypt cxx doc dri fortran gdbm gstreamer iconv ipv6 mmx modules multilib ncurses nls n
ptl openmp pam pcre polkit qt3support readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiix
p-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via
82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm auth
n_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 k
arbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ash
tech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3
 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz63
3 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libre
office" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GN
U" VIDEO_CARDS="fbdev vesa intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condit
ion tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSY
NC_EXTRA_OPTS, USE_PYTHON
Comment 1 Yixun Lan archtester gentoo-dev 2014-12-29 14:51:50 UTC
Created attachment 392642 [details]
build.log.gz

I tried previous version 2.5.1, fail too, but this version was instaled successfully before[1]. also attempted to try following combinations, all failed

PYTHON_TARGETS="python2_7" emerge =dev-python/markdown-2.5.2
PYTHON_TARGETS="python3_3" emerge =dev-python/markdown-2.5.2, 
USE="-doc" emerge =dev-python/markdown-2.5.1, all fail


[1]   $ genlop -t markdown
 Wed Nov 12 18:39:36 2014 >>> dev-python/markdown-2.5.1
       merge time: 19 seconds.
Comment 2 Mike Gilbert gentoo-dev 2014-12-29 16:13:15 UTC
Leaving this open so we don't get duplicates.
Comment 3 Mike Gilbert gentoo-dev 2014-12-30 03:56:44 UTC
Please see if this is fixed with dev-python/setuptools-9.1. We can fast-track it to stable if necessary.
Comment 4 Yixun Lan archtester gentoo-dev 2014-12-30 07:59:55 UTC
yes, with dev-python/setuptools-9.1, I have no problem to install markdown, many thanks
Comment 5 Mike Gilbert gentoo-dev 2014-12-30 16:49:33 UTC
(In reply to Mike Gilbert from comment #3)
> We can fast-track it to stable if necessary.

It looks like setuptools-7.0 is unaffected, so this will be unnecessary.