Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274651 - dev-python/nose-0.11.0 fails to build with USE="doc"
Summary: dev-python/nose-0.11.0 fails to build with USE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 284978
  Show dependency tree
 
Reported: 2009-06-18 21:34 UTC by Kamil Kisiel
Modified: 2009-11-07 21:22 UTC (History)
1 user (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 Kamil Kisiel 2009-06-18 21:34:23 UTC
The ebuild fails while trying to build documentation with sphinx.

Reproducible: Always

Steps to Reproduce:
1. emerge nose-0.11.0 with the doc use flag enabled.

Actual Results:  
The build output:

>>> Unpacking source...
>>> Unpacking nose-0.11.0.tar.gz to /var/tmp/portage/dev-python/nose-0.11.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/nose-0.11.0/work
 * Applying nose-0.10.0-tests-nonetwork.patch ...                                                                                                                                                                                 [ ok ]
 * Applying nose-0.11.0-disable_intersphinx.patch ...                                                                                                                                                                             [ ok ]
>>> Configuring source in /var/tmp/portage/dev-python/nose-0.11.0/work/nose-0.11.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/nose-0.11.0/work/nose-0.11.0 ...
running build
running build_py
creating build
creating build/lib
creating build/lib/nose
copying nose/core.py -> build/lib/nose
copying nose/commands.py -> build/lib/nose
copying nose/config.py -> build/lib/nose
copying nose/failure.py -> build/lib/nose
copying nose/inspector.py -> build/lib/nose
copying nose/selector.py -> build/lib/nose
copying nose/loader.py -> build/lib/nose
copying nose/exc.py -> build/lib/nose
copying nose/importer.py -> build/lib/nose
copying nose/twistedtools.py -> build/lib/nose
copying nose/util.py -> build/lib/nose
copying nose/tools.py -> build/lib/nose
copying nose/result.py -> build/lib/nose
copying nose/proxy.py -> build/lib/nose
copying nose/case.py -> build/lib/nose
copying nose/__init__.py -> build/lib/nose
copying nose/suite.py -> build/lib/nose
creating build/lib/nose/ext
copying nose/ext/dtcompat.py -> build/lib/nose/ext
copying nose/ext/__init__.py -> build/lib/nose/ext
creating build/lib/nose/sphinx
copying nose/sphinx/pluginopts.py -> build/lib/nose/sphinx
copying nose/sphinx/__init__.py -> build/lib/nose/sphinx
creating build/lib/nose/plugins
copying nose/plugins/collect.py -> build/lib/nose/plugins
copying nose/plugins/errorclass.py -> build/lib/nose/plugins
copying nose/plugins/multiprocess.py -> build/lib/nose/plugins
copying nose/plugins/doctests.py -> build/lib/nose/plugins
copying nose/plugins/manager.py -> build/lib/nose/plugins
copying nose/plugins/attrib.py -> build/lib/nose/plugins
copying nose/plugins/skip.py -> build/lib/nose/plugins
copying nose/plugins/plugintest.py -> build/lib/nose/plugins
copying nose/plugins/deprecated.py -> build/lib/nose/plugins
copying nose/plugins/allmodules.py -> build/lib/nose/plugins
copying nose/plugins/debug.py -> build/lib/nose/plugins
copying nose/plugins/cover.py -> build/lib/nose/plugins
copying nose/plugins/logcapture.py -> build/lib/nose/plugins
copying nose/plugins/isolate.py -> build/lib/nose/plugins
copying nose/plugins/builtin.py -> build/lib/nose/plugins
copying nose/plugins/base.py -> build/lib/nose/plugins
copying nose/plugins/__init__.py -> build/lib/nose/plugins
copying nose/plugins/failuredetail.py -> build/lib/nose/plugins
copying nose/plugins/testid.py -> build/lib/nose/plugins
copying nose/plugins/capture.py -> build/lib/nose/plugins
copying nose/plugins/prof.py -> build/lib/nose/plugins
copying nose/plugins/xunit.py -> build/lib/nose/plugins
copying nose/usage.txt -> build/lib/nose
Making output directory...
Extension error:
Could not import extension manbuilder (exception: No module named builders.text)
 * 
 * ERROR: dev-python/nose-0.11.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2592:  Called die
 * The specific snippet of code:
 *           sphinx-build . html || die "building docs failed";
 *  The die message:
 *   building docs failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/nose-0.11.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/nose-0.11.0/temp/environment'.


emerge --info output:

Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.1, glibc-2.6.1-r0, 2.6.24-gentoo-r2beige x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r2beige-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_8218-with-glibc2.2.5
Timestamp of tree: Thu, 18 Jun 2009 13:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r6, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -pipe -fomit-frame-pointer -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zymeworks-overlay"
SYNC="rsync://portage.lan.zymeworks.com/gentoo-portage"
USE="X acl amd64 bash-completion berkdb bzip2 cli cracklib crypt doc dri fortran gdbm gpm gtk iconv isdnlog jpeg kerberos ldap midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session smp spl sse sse2 ssl svg sysfs tcpd tiff unicode vim-syntax xorg zlib" 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" 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm dummy fbdev i128 i810 nv sis vesa vga via vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

The version of sphinx installed is 0.5.1
Comment 1 Patrick Lauer gentoo-dev 2009-06-21 10:36:56 UTC
I cannot reproduce the bug. nose uses sphinx to build the docs, sphinx is a dep.

If you can provide more info or a reproducable testcase please reopen.
Comment 2 Kamil Kisiel 2009-06-22 18:38:21 UTC
After updating Sphinx to 0.6.2 the package built fine. Perhaps the dep should be updated to specify version 0.6.0 or higher?
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2009-09-16 10:53:46 UTC
This is now relevant in stable, as no sphinx >=0.6.0 is stable.
Comment 4 Felix Finch 2009-09-27 18:26:43 UTC
I have sphink-0.6.3 and plenty of sphinx[23]-* commands, but no sphinx-build, and no sphinx*-build either.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-07 21:22:10 UTC
I have updated dependency on dev-python/sphinx.