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

Bug 430130

Summary: =sys-apps/pkgcore-0.8 fails to install: "AttributeError: 'dict' object has no attribute 'itervalues'"
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: Brian Harring (RETIRED) <ferringb>
Status: RESOLVED DUPLICATE    
Severity: normal CC: armin76, arne_bab, floppym, wonko
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292402    
Attachments: install.log

Description Samuli Suominen (RETIRED) gentoo-dev 2012-08-06 04:49:15 UTC
Created attachment 320542 [details]
install.log

[ebuild     U  ] sys-apps/pkgcore-0.8 [0.7.7.8-r2] USE="-build -doc" 0 kB

running install_man
Traceback (most recent call last):
  File "setup.py", line 462, in <module>
    ext_modules=extensions, cmdclass=cmdclass, command_options=command_options,
  File "/usr/lib64/python3.2/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.2/distutils/dist.py", line 917, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.2/distutils/dist.py", line 936, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.2/distutils/command/install.py", line 581, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python3.2/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.2/distutils/dist.py", line 936, in run_command
    cmd_obj.run()
  File "setup.py", line 265, in run
    directories = set(map(os.path.dirname, content.itervalues()))
AttributeError: 'dict' object has no attribute 'itervalues'
 * ERROR: sys-apps/pkgcore-0.8 failed (install phase):

Portage 2.2.0_alpha120 (default/linux/amd64/10.0/developer, gcc-4.7.1, glibc-2.15-r2, 3.4.6 x86_64)
=================================================================
System uname: Linux-3.4.6-x86_64-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.1
Timestamp of tree: Unknown
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.5, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories:
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2012-08-18 16:22:24 UTC
*** Bug 431056 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-08-19 22:22:52 UTC
(In reply to comment #1)
> *** Bug 431056 has been marked as a duplicate of this bug. ***

This duplicated bug has a patch:

https://bugs.gentoo.org/show_bug.cgi?id=431056#c1
Comment 3 Brian Harring (RETIRED) gentoo-dev 2012-10-15 07:30:56 UTC
Reversing the duplication (the other is a fair bit more useful- has a patch, and the details of 'why').

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