Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529294 - dev-python/whoosh-2.4.1 - python3.4 setup.py build -b build-3.4: ImportError: No module named 'setuptools'
Summary: dev-python/whoosh-2.4.1 - python3.4 setup.py build -b build-3.4: ImportError:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on: 531028
Blocks:
  Show dependency tree
 
Reported: 2014-11-15 07:41 UTC by Róbert Čerňanský
Modified: 2015-03-07 14:50 UTC (History)
3 users (show)

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 Róbert Čerňanský 2014-11-15 07:41:37 UTC
emerge whoosh fails on stable amd64 system with error:

----------------------
...
 * Building of dev-python/whoosh-2.4.1 with CPython 3.4...
python3.4 setup.py build -b build-3.4
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
 * ERROR: dev-python/whoosh-2.4.1::gentoo failed (compile phase):
...
-----------------------

There is not setuptools available for Python 3.4 because default PYTHON_TARGETS is set to "python2_7 python3_3".

$ emerge -pv setuptools whoosh
...
[ebuild   R    ] dev-python/setuptools-2.2  PYTHON_TARGETS="python2_7 python3_3 (-pypy) (-python3_2) -python3_4" 0 kB
[ebuild   R    ] dev-python/whoosh-2.4.1  USE="-doc" 0 kB


$ emerge --info | grep -i python
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
USE="256-color 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi adplug ads aim alsa amd64 amr amrnb amrwb ares aspell audacious bash-completion bdf berkdb binfilter bittorrent blender-game bluetooth branding bzip2 cairo caps cdda cddb cdinstall cdparanoia cdr cli cracklib crypt cryptsetup css cue cups custom-optimization cxx daemon dbus dga divx djvu dri dssi dts dv dvb dvd dvdnav dvdr editor emacs emboss enblend encode exif expat fading-colors fbcon fbcondecor ffmpeg firefox flac flash font-server font-styles fontconfig foomaticdb force-hints fortran freesound ftp fuse gd gdbm gif gimp gimpprint glade glamor gmedia gnutella gnutls gpg gphoto2 gpm gs gssapi gtk gtk3 gtkhtml guile gzip-el hddtemp hdri hou iconv icq id3tag idn ilbc imagemagick imap imlib ipv6 jabber jack javascript jbig jpeg jpeg2k kdrive kerberos kqemu ladcca ladspa lcms ldap leim libcaca libnotify lirc live lm_sensors logrotate lua-cairo lzma mad maildir matroska memlimit mercurial midi mime mjpeg mms mmx mmxext mng modplug modules mono mp2 mp3 mp4 mpeg mplayer msn mtp mule multilib musepack musicbrainz ncurses nemesi network networking new-login nls nocd nowin nptl nscd nsplugin nut nvidia objc ofx ogg openal opencore-amr openexr opengl openmp oscar pam pam_krb5 pam_ssh pango pcre pda pdf pixbuf png portaudio ppds projectm qmax qt3support qt4 quicktime quotes rar raw rdesktop readline real realmedia recode restrict-javascript roe rtc rtmp samba sasl schroedinger scrobbler sdl server session shout sid sift smime sndfile snmp sockets sou sound sox speex spell srt sse sse2 ssh ssl startup-notification subtitles svg syslog tcl tcpd themes theora threads tiff tk tls toolkit-scroll-bars truetype tta tty-helpers udev udisks unicode usb userlocales utempter vcd videos vnc vorbis wav wavpack wireshark wma wmf wmp wxwidgets x264 xcb xcomposite xface xft xiph xml xmp xnest xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib zrtp" 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="*" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en sk cs ru" LIRC_DEVICES="userspace" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau nv fbdev vesa" 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, SYNC, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-15 13:22:57 UTC
Please attach the entire build log to this bug report.
Comment 2 Anthony Basile gentoo-dev 2014-11-15 14:58:17 UTC
Please test whoosh-2.6.0.ebuild.  If it works, I'll stabilize it.
Comment 3 Róbert Čerňanský 2014-11-16 08:02:23 UTC
Version 2.6.0 emerges correctly.
Comment 4 Anthony Basile gentoo-dev 2015-03-07 14:50:36 UTC
(In reply to Robert Cernansky from comment #3)
> Version 2.6.0 emerges correctly.

We're done.

$ eshowkw whoosh
Keywords for dev-python/whoosh:
      |                             | u   |  
      | a a   a           p     s   | n   |  
      | l m   r h i m m   p s   p   | u s | r
      | p d a m p a 6 i p c 3   a x | s l | e
      | h 6 r 6 p 6 8 p p 6 9 s r 8 | e o | p
      | a 4 m 4 a 4 k s c 4 0 h c 6 | d t | o
------+-----------------------------+-----+-------
2.6.0 | o + o o o o o o o o o o o + | o 0 | gentoo