Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 459090

Summary: dev-python/jinja-2.6-r1 - /usr/bin/sphinx-build-2.6: ImportError: No module named pkg_resources
Product: Gentoo Linux Reporter: John L. Poole <prestopoole>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: .../temp/environment
build.log

Description John L. Poole 2013-02-25 02:16:53 UTC
maintenance update resulted in failure of dev-python/jinja-2.6-r1.

Reproducible: Always

Steps to Reproduce:
1.emerge dev-python/jinja-2.6-r1

Actual Results:  

 * common: running python_compile_all
make -j5 html
sphinx-build -b html -d _build/doctrees   . _build/html
Traceback (most recent call last):
  File "/usr/bin/sphinx-build-2.6", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
make: *** [html] Error 1
 * ERROR: dev-python/jinja-2.6-r1 failed (compile phase):
 *   emake failed
 *


Expected Results:  
successful build

This error is similar to an error I ran into today documented in Bug 458960
Comment 1 John L. Poole 2013-02-25 02:18:02 UTC
atom acc # emerge --info '=dev-python/jinja-2.6-r1'
Portage 2.1.11.50 (default/linux/x86/13.0, gcc-4.4.5, glibc-2.15-r3, 3.3.8-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-i686-Intel-R-_Atom-TM-_CPU_D525_@_1.80GHz-with-gentoo-2.1
KiB Mem:     3113596 total,    306404 free
KiB Swap:     530140 total,    507408 free
Timestamp of tree: Sat, 23 Feb 2013 11:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.6.6-r2, 2.7.3-r2, 3.1.4-r3, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.5, 4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
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="/usr/local/portage"
SYNC="rsync://192.168.168.15/gentoo-portage"
USE="X aac aalib acl alsa apache2 audiofile bash berkdb branding bzip2 cli cracklib crypt cups curl cxx dbus dbx djvu doc dri emacs fastcgi fbcon ffmpeg flac fortran ftp gd gdbm gif gphoto2 gpm gps graphviz gsm hal iconv imagemagick imap ipv6 java java6 javascript jpeg jpeg2k latex libwww maildir mime modules mp3 mp4 mpeg mudflap mysql mysqli ncurses nls nptl odbc ogg opengl openmp oss pam pcre pdf perl php png postgres radius readline samba sasl session setup smp spell sqlite ssl subversion svg svga tcpd thunar tiff tk truetype unicode usb vhosts vorbis wifi wmf x86 xml xpm xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="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" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XFCE_PLUGINS="brightness menu trash" 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, USE_PYTHON

atom acc #
Comment 2 John L. Poole 2013-02-25 02:19:21 UTC
Created attachment 340040 [details]
.../temp/environment
Comment 3 John L. Poole 2013-02-25 02:19:39 UTC
atom acc # emerge -pqv '=dev-python/jinja-2.6-r1'
[ebuild     U ] dev-python/jinja-2.6-r1 [2.6] USE="doc -examples (-i18n%) (-vim-syntax%)" PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_9) (-pypy2_0) -python2_5% -python2_6% -python3_1% (-python3_3)"

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

atom acc #
Comment 4 John L. Poole 2013-02-25 02:20:01 UTC
Created attachment 340042 [details]
build.log
Comment 5 John L. Poole 2013-02-25 02:35:31 UTC
On the conclusion of my emerge update, I was given this message which may bear on the problem:
atom acc # emerge --update --newuse --deep world --skipfirst

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
!!! One or more packages have been dropped due to
!!! masking or unsatisfied dependencies:

  (dev-python/beautifulsoup-4.1.3-r1::gentoo, ebuild scheduled for merge) requires dev-python/sphinx[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)]
  (dev-python/lxml-3.0.1::gentoo, ebuild scheduled for merge) requires dev-python/beautifulsoup[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)]
  (dev-python/sphinx-1.1.3-r6::gentoo, ebuild scheduled for merge) requires >=dev-python/jinja-2.3[python_targets_python2_7(-),python_targets_python3_2(-),-python_single_target_python2_5(-),-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)]

*** Resuming merge...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
atom acc #
Comment 6 John L. Poole 2013-02-25 02:36:47 UTC
Also, I have logged a bug with a similar error message in Bug  458960.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-26 17:46:16 UTC

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