Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303601 - sys-process/iotop-0.3.2-r1 build errors
Summary: sys-process/iotop-0.3.2-r1 build errors
Status: RESOLVED DUPLICATE of bug 303331
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 17:54 UTC by Adam Randall
Modified: 2010-02-05 18:13 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 Adam Randall 2010-02-05 17:54:35 UTC
I have three servers that have iotop-0.2.1 installed and working. The kernels on these systems are two 2.6.30-gentoo-r6 and one 2.6.26.7. While upgrading to iotop-0.3.2-r1 it failed on all these machines.

Reproducible: Always

Steps to Reproduce:
1. emerge -uDNv world  --OR-- emerge -v sys-process/iotop

Actual Results:  
# emerge -uDNv world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-process/iotop-0.3.2-r1 [0.2.1] 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-process/iotop-0.3.2-r1
 * iotop-0.3.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                              [ ok ]
 * CPV:  sys-process/iotop-0.3.2-r1
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.26.7/build
 * Found sources for kernel version:
 *     2.6.26.7
 * Checking for suitable kernel configuration options...                                                                                                                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking iotop-0.3.2.tar.bz2 to /var/tmp/portage/sys-process/iotop-0.3.2-r1/work
>>> Source unpacked in /var/tmp/portage/sys-process/iotop-0.3.2-r1/work
>>> Preparing source in /var/tmp/portage/sys-process/iotop-0.3.2-r1/work/iotop-0.3.2 ...
/var/tmp/portage/sys-process/iotop-0.3.2-r1/temp/environment: line 3320: epatch: command not found
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-process/iotop-0.3.2-r1/work/iotop-0.3.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-process/iotop-0.3.2-r1/work/iotop-0.3.2 ...
python2.6 setup.py build
setuptools-0.6c9-py2.4.egg/setuptools/command/sdist.py:4: UserWarning: Module pkg_resources was already imported from setuptools-0.6c9-py2.4.egg/pkg_resources.py, but /usr/lib/python2.6/site-packages is being added to sys.path
setuptools-0.6c9-py2.4.egg/setuptools/command/sdist.py:4: UserWarning: Module setuptools was already imported from setuptools-0.6c9-py2.4.egg/setuptools/__init__.py, but /usr/lib/python2.6/site-packages is being added to sys.path
setuptools-0.6c9-py2.4.egg/setuptools/command/sdist.py:4: UserWarning: Module site was already imported from /usr/lib/python2.6/site.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    license='GPL'
  File "/usr/lib/python2.6/distutils/core.py", line 113, in setup
    _setup_distribution = dist = klass(attrs)
  File "setuptools-0.6c9-py2.4.egg/setuptools/dist.py", line 223, in __init__
  File "/usr/lib/python2.6/distutils/dist.py", line 270, in __init__
    self.finalize_options()
  File "setuptools-0.6c9-py2.4.egg/setuptools/dist.py", line 256, in finalize_options
  File "setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 1918, in load
    while parts and parts[-1]=='00000000':
ImportError: <module 'setuptools.dist' from 'setuptools-0.6c9-py2.4.egg/setuptools/dist.py'> has no 'check_packages' attribute
 * ERROR: sys-process/iotop-0.3.2-r1 failed:
 *   Building failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3306:  Called distutils_src_compile
 *   environment, line  941:  Called die
 * The specific snippet of code:
 *           "$(PYTHON -A)" setup.py "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 * 
 * If you need support, post the output of 'emerge --info =sys-process/iotop-0.3.2-r1',
 * the complete build log and the output of 'emerge -pqv =sys-process/iotop-0.3.2-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-process/iotop-0.3.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-process/iotop-0.3.2-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-process/iotop-0.3.2-r1/work/iotop-0.3.2'

>>> Failed to emerge sys-process/iotop-0.3.2-r1, Log file:

>>>  '/var/tmp/portage/sys-process/iotop-0.3.2-r1/temp/build.log'

 * Messages for package sys-process/iotop-0.3.2-r1:

 * ERROR: sys-process/iotop-0.3.2-r1 failed:
 *   Building failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3306:  Called distutils_src_compile
 *   environment, line  941:  Called die
 * The specific snippet of code:
 *           "$(PYTHON -A)" setup.py "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 * 
 * If you need support, post the output of 'emerge --info =sys-process/iotop-0.3.2-r1',
 * the complete build log and the output of 'emerge -pqv =sys-process/iotop-0.3.2-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-process/iotop-0.3.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-process/iotop-0.3.2-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-process/iotop-0.3.2-r1/work/iotop-0.3.2'


Expected Results:  
For iotop-0.3.2-r1 to be installed.

# emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.26.7 i686)
=================================================================
System uname: Linux-2.6.26.7-i686-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 05 Feb 2010 06:00:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j9"
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"
SYNC="rsync://192.168.0.157/gentoo-portage"
USE="acl bash-completion berkdb bzip2 cli cracklib crypt ctype curl cxx dri fortran ftp gcj gdbm glibc-compat20 gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection samba session snmp spl ssl sysfs tcpd threads unicode vim-syntax x86 xml xorg zip 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="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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Adam Randall 2010-02-05 17:57:20 UTC
I also attempted to install iotop-0.3.2-r1 on a 2.6.31-gentoo-r6 (latest stable as of now) which never had iotop on it before and got the same exact error as above.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-05 18:10:01 UTC
*** This bug has been marked as a duplicate of bug 303331 ***
Comment 3 Adam Randall 2010-02-05 18:13:04 UTC
Ha, I did search, but I didn't see that one (probably because it was resolved). My bad, and thanks for pointing out the correct bug.