Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458960 - dev-python/sphinx - /usr/bin/sphinx-build-2.6: ImportError: No module named pkg_resources
Summary: dev-python/sphinx - /usr/bin/sphinx-build-2.6: ImportError: No module named p...
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:
: 459090 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-24 10:38 UTC by John L. Poole
Modified: 2016-10-11 08:07 UTC (History)
0 users

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


Attachments
build.log (build.log,7.49 KB, text/plain)
2013-02-24 10:47 UTC, John L. Poole
Details
environment (environment,86.42 KB, text/plain)
2013-02-24 10:50 UTC, John L. Poole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2013-02-24 10:38:05 UTC
During a maintenance update:

[ebuild     U  ] dev-db/pgadmin3-1.16.1-r1 [1.14.3] USE="databasedesigner%*"

...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-db/pgadmin3-1.16.1-r1/work/pgadmin3-1.16.1 ...
make -j5
cd ./docs/en_US && make -f Makefile.sphinx SPHINXBUILD=/usr/bin/sphinx-build htmlhelp
make[1]: Entering directory `/var/tmp/portage/dev-db/pgadmin3-1.16.1-r1/work/pgadmin3-1.16.1/docs/en_US'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
/usr/bin/sphinx-build -b htmlhelp -d _build/doctrees   . _build/htmlhelp
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[1]: *** [htmlhelp] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/pgadmin3-1.16.1-r1/work/pgadmin3-1.16.1/docs/en_US'
make: *** [doc] Error 2
 * ERROR: dev-db/pgadmin3-1.16.1-r1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-db/pgadmin3-1.16.1-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/pgadmin3-1.16.1-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/pgadmin3-1.16.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/pgadmin3-1.16.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/pgadmin3-1.16.1-r1/work/pgadmin3-1.16.1'
 * S: '/var/tmp/portage/dev-db/pgadmin3-1.16.1-r1/work/pgadmin3-1.16.1'

I'll attached the specified logs in the next 5 minutes.
Comment 1 John L. Poole 2013-02-24 10:45:08 UTC
atom acc # emerge -pqv '=dev-db/pgadmin3-1.16.1-r1'
[ebuild     U ] dev-db/pgadmin3-1.16.1-r1 [1.14.3] USE="databasedesigner%* -debug"

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

atom acc #
Comment 2 John L. Poole 2013-02-24 10:45:28 UTC
atom acc # emerge --info '=dev-db/pgadmin3-1.16.1-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,   1027224 free
KiB Swap:     530140 total,    509980 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 3 John L. Poole 2013-02-24 10:47:34 UTC
Created attachment 339930 [details]
build.log
Comment 4 John L. Poole 2013-02-24 10:50:11 UTC
Created attachment 339932 [details]
environment

Although the error message does not ask for this:

If you need support, post the output of `emerge --info '=dev-db/pgadmin3-1.16.1-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/pgadmin3-1.16.1-r1'`.


I'm including it as this file is referenced further on in the error message:
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/pgadmin3-1.16.1-r1/temp/environment'.
Comment 5 John L. Poole 2013-02-25 02:34:06 UTC
After doing several "skipfirst" (e.g. to bypass the not-up-todate Oracle Java"), I was given this message which may bear on this matter:

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 Aaron W. Swenson gentoo-dev 2013-02-26 02:02:27 UTC
You'll need to see if you can emerge dev-python/sphinx. You may have updated Python and are using a different version than what sphinx was built against.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-26 17:46:16 UTC
*** Bug 459090 has been marked as a duplicate of this bug. ***
Comment 8 Patrice Clement gentoo-dev 2016-10-11 08:07:15 UTC
I can't reproduce this bug. pgadmin3 compiles fine here with no error when generating the documentation. Feel free to reopen if it is still of concern.