Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212591 - dev-python/paste-1.2.1 build failure: missing dependency on dev-python/ctypes
Summary: dev-python/paste-1.2.1 build failure: missing dependency on dev-python/ctypes
Status: RESOLVED DUPLICATE of bug 168715
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 15:22 UTC by Jack Lloyd
Modified: 2008-03-07 15:28 UTC (History)
0 users

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 Jack Lloyd 2008-03-07 15:22:39 UTC
Building dev-python/paste with USE=doc failed. Here is the traceback:



Reproducible: Always

Steps to Reproduce:
1. On a system without dev-python/ctypes install, 'USE=doc emerge paste'
2. Build will fail, building the docs seems to require ctypes, but it is not listed as a dependency of the ebuild.
Actual Results:  

Traceback (most recent call last):
  File "setup.py", line 144, in ?
    entry_points="""
  File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.4/site-packages/buildutils/command/pudge.py", line 177, in run
    self.execute(generate, (), msg='generating documentation') 
  File "/usr/lib/python2.4/distutils/cmd.py", line 358, in execute
    util.execute(func, args, msg, dry_run=self.dry_run)
  File "/usr/lib/python2.4/distutils/util.py", line 348, in execute
    apply(func, args)
  File "/usr/lib64/python2.4/site-packages/buildutils/command/pudge.py", line 166, in generate
    g.generate()
  File "/usr/lib64/python2.4/site-packages/pudge/generator.py", line 91, in generate
    self.time_func(None, self.generate_index)
  File "/usr/lib64/python2.4/site-packages/pudge/generator.py", line 344, in time_func
    return func(*args, **kw)
  File "/usr/lib64/python2.4/site-packages/pudge/generator.py", line 199, in generate_index
    self.expand_template('package-index.html', 'module-index')
  File "/usr/lib64/python2.4/site-packages/pudge/generator.py", line 147, in expand_template
    encoding='utf-8')
  File "/usr/lib64/python2.4/site-packages/kid/__init__.py", line 274, in write
    raise_template_error(module=self.__module__)
  File "/usr/lib64/python2.4/site-packages/kid/__init__.py", line 272, in write
    return serializer.write(self, file, encoding, fragment, format)
  File "/usr/lib64/python2.4/site-packages/kid/serialization.py", line 123, in write
    for text in self.generate(stream, encoding, fragment, format):
  File "/usr/lib64/python2.4/site-packages/kid/serialization.py", line 629, in generate
    for ev, item in self.apply_filters(stream, format):
  File "/usr/lib64/python2.4/site-packages/kid/serialization.py", line 165, in format_stream
    for ev, item in stream:
  File "/usr/lib64/python2.4/site-packages/kid/parser.py", line 221, in _coalesce
    for ev, item in stream:
  File "/usr/lib64/python2.4/site-packages/kid/serialization.py", line 477, in inject_meta_tags
    for ev, item in stream:
  File "/usr/lib64/python2.4/site-packages/kid/parser.py", line 179, in _track
    for p in stream:
  File "/usr/lib64/python2.4/site-packages/kid/filter.py", line 26, in apply_matches
    for ev, item in stream:
  File "/usr/lib64/python2.4/site-packages/kid/parser.py", line 179, in _track
    for p in stream:
  File "/usr/lib64/python2.4/site-packages/kid/parser.py", line 221, in _coalesce
    for ev, item in stream:
  File "/usr/lib64/python2.4/site-packages/kid/parser.py", line 179, in _track
    for p in stream:
  File "/usr/lib64/python2.4/site-packages/pudge/template/pythonpaste.org/layout.py", line 260, in __layout
  File "/usr/lib64/python2.4/site-packages/kid/parser.py", line 179, in _track
    for p in stream:
  File "/usr/lib64/python2.4/site-packages/pudge/template/base/package-index.py", line 55, in _pull
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 110, in modules
    for m in m.modules(recursive=1, visible_only=0):
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 346, in modules
    real_modules=real_modules):
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 337, in modules
    exclude_names=self.browser.exclude_modules):
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 360, in all
    for m in self.members.values():
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 298, in members
    members = self._load_members()
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 386, in _load_members
    for name, value in self.filtered_members():
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 452, in filtered_members
    self._fill_modules_and_packages(members)
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 441, in _fill_modules_and_packages
    module = safeimport('%s.%s' % (qname, modname))
  File "/usr/lib/python2.4/pydoc.py", line 286, in safeimport
    raise ErrorDuringImport(path, sys.exc_info())
pydoc.ErrorDuringImport: problem in paste.util.killthread - ImportError: You cannot use paste.util.killthread without ctypes installed
Error location in template file '/usr/lib64/python2.4/site-packages/pudge/template/base/package-index.html'


Expected Results:  
Portage would pull in the ctypes ebuild as a dep

$ emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.1 x86_64)
=================================================================
System uname: 2.6.22.1 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Fri, 07 Mar 2008 08:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
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=nocona -O2 -pipe -momit-leaf-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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/toolchain /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 arts bash-completion berkdb branding cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread emacs emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kerberos ldap mad mbox midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly offensive ogg opengl openmp oss pam pcre pdf perl png postgres pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl svg tcpd tetex threads tiff truetype unicode vorbis xml xorg xv xvid 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so status suexec unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 15:25:45 UTC
Can you please note that on the original bug? Thanks.

*** This bug has been marked as a duplicate of bug 168715 ***
Comment 2 Jack Lloyd 2008-03-07 15:28:23 UTC
I don't know if this is actually a duplicate of bug 168715 -- the backtrace is completely different.