Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475576 - dev-python/cssutils with python 3.3 - File "setup.py", line 36, in <module> from setuptools import setup, find_packages ImportError: No module named 'setuptools'
Summary: dev-python/cssutils with python 3.3 - File "setup.py", line 36, in <module> ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Raschbacher
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 04:07 UTC by Taylor Smock
Modified: 2014-09-06 10:14 UTC (History)
1 user (show)

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


Attachments
build.log when building cssutils (build.log,9.23 KB, text/plain)
2013-07-03 14:39 UTC, Taylor Smock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Taylor Smock 2013-07-03 04:07:25 UTC
Versions affected: 0.9.10_beta1 and earlier.

1) Expected result:
Compile succeeding.

2) Actual result:
Compile failed until changing python 3 intepreter to python 3.2

3) Workarounds:
Set python 3 intepreter to python 3.2 instead of 3.3

4) Additional notes:
Running an ~arch system.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-03 13:02:15 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Taylor Smock 2013-07-03 14:38:25 UTC
Portage 2.1.12.11 (hardened/linux/amd64/selinux, gcc-4.7.3, glibc-2.17, 3.9.7-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.9.7-hardened-r1-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3903532 total,    891552 free
KiB Swap:    3913724 total,   3913724 free
Timestamp of tree: Tue, 02 Jul 2013 23:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0::java
dev-lang/python:          2.6.8-r2, 2.7.5, 3.2.5, 3.3.2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x11 steam-overlay systemd kde gnome java
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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/dconf /etc/env.d /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/var/lib/layman/x11 /var/lib/layman/steam /var/lib/layman/systemd /var/lib/layman/kde /var/lib/layman/gnome /var/lib/layman/java"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apng berkdb bindist bluetooth bzip2 cairo cdda cli cracklib crypt cryptsetup cups cxx dbus dconf device-mapper dri ebook eds egl ffmpeg fortran gdbm gflags gles gles1 gnome gnome-keyring gpm gtk gtk3 gudev hardened hbci hwdb iconv icu ipv6 java jpeg justify kdenlive libkms melt minizip mmx modules mp3 mudflap multilib mysql ncurses nls nptl nsplugin ofx ogg open_perms openal opengl openmp opus pam pax_kernel pcre png policykit ppds pulseaudio python qt3support qt4 readline samba sdl selinux semantic-desktop session sip sipim sna sqlite sse sse2 ssl svg systemd tcpd theora udev udisks unicode upcall urandom vaapi vala vorbis wav wayland webkit webm x264 xa xcb xine xml zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt plymouth" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" 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
Comment 3 Taylor Smock 2013-07-03 14:39:09 UTC
Created attachment 352530 [details]
build.log when building cssutils
Comment 4 Taylor Smock 2013-07-03 14:42:00 UTC
Looking at the emerge --info, I noticed that the python_targets are python2_7 and python3_2.

I'll set the python_targets in the make.conf to python2_7 and python3_3 to see if that works (they are not currently set in the make.conf file).

Also:
I emerged setuptools and it did have a warning about being compiled for python3_2 when python3_3 was active.
Comment 5 Taylor Smock 2013-07-03 15:23:42 UTC
Ok, manually setting the python targets to python3_3 did enable cssutils to build (after reinstalling dev-python/setuptools and dev-python/numpy, which was blocking setuptools).

Shouldn't "eselect python set --python3 python3.3" set the python_targets to use python3_3 instead of python3_2?
Comment 6 Mike Gilbert gentoo-dev 2013-07-03 15:30:02 UTC
(In reply to Taylor Smock from comment #5)
> Shouldn't "eselect python set --python3 python3.3" set the python_targets to
> use python3_3 instead of python3_2?

That's more difficult to implement than it sounds.

Anyway, the version mismatch will be fixed whenever we migrate cssutils to the new python-r1/distutils-r1 eclass.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2013-07-04 13:50:50 UTC
*cssutils-0.9.10 (04 Jul 2013)
*cssutils-0.9.10_beta1-r1 (04 Jul 2013)

  04 Jul 2013; Ian Delaney <idella4@gentoo.org> +cssutils-0.9.10.ebuild,
  +cssutils-0.9.10_beta1-r1.ebuild:
  revbump; migrate -> distutils-r1, bump; test phases added accordingly,
  outstanding test failuress filed, cited, latest tarball 'topped up', re-tared,
  re-located to devspace

amounts to fixed
Comment 8 Matthias Langer 2014-09-06 10:14:34 UTC
How can this bug be fixed if the latest stable version is still broken?