Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155264 - Portage 2.1.1 - AttributeError: 'module' object has no attribute 'symlink'
Summary: Portage 2.1.1 - AttributeError: 'module' object has no attribute 'symlink'
Status: RESOLVED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 09:38 UTC by David Greenberg
Modified: 2006-11-15 13:37 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 David Greenberg 2006-11-15 09:38:03 UTC
# emerge portage                                         
Calculating dependencies... done!

>>> Emerging (1 of 2) sys-apps/sandbox-1.2.17 to /
 * sandbox-1.2.17.tar.bz2 MD5 ;-) ...                                     [ ok ]
 * sandbox-1.2.17.tar.bz2 RMD160 ;-) ...                                  [ ok ]
 * sandbox-1.2.17.tar.bz2 SHA1 ;-) ...                                    [ ok ]
 * sandbox-1.2.17.tar.bz2 SHA256 ;-) ...                                  [ ok ]
 * sandbox-1.2.17.tar.bz2 size ;-) ...                                    [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking sandbox-1.2.17.tar.bz2 ;-) ...                                [ ok ]
Traceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
    emerge_main()
  File "/usr/bin/emerge", line 4044, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 3584, in action_build
    mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 2048, in merge
    prev_mtimes=ldpath_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 2949, in doebuild
    os.symlink(os.path.join(orig_distdir, file),
AttributeError: 'module' object has no attribute 'symlink'



# emerge --info
Portage 2.1.1 (hardened/x86, gcc-20050130, glibc-2.3.5-r1, 2.4.31-hardened i686)
=================================================================
System uname: 2.4.31-hardened i686 Intel(R) Pentium(R) III CPU family      1266MHz
Gentoo Base System version 1.6.13
Last Sync: Wed, 15 Nov 2006 16:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/gcc-config: 1.3.12-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 bzip2 crypt elibc_glibc hardened innodb input_devices_keyboard input_devices_mouse ipv6 kerberos kernel_linux mailwrapper mysql ncurses pam pic png readline ssl tcpd userland_GNU userlocales zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge nano
Calculating dependencies... done!

>>> Emerging (1 of 1) app-editors/nano-1.3.12-r1 to /
 * nano-1.3.12.tar.gz MD5 ;-) ...                                         [ ok ]
 * nano-1.3.12.tar.gz RMD160 ;-) ...                                      [ ok ]
 * nano-1.3.12.tar.gz SHA1 ;-) ...                                        [ ok ]
 * nano-1.3.12.tar.gz SHA256 ;-) ...                                      [ ok ]
 * nano-1.3.12.tar.gz size ;-) ...                                        [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking nano-1.3.12.tar.gz ;-) ...                                    [ ok ]
Traceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
    emerge_main()
  File "/usr/bin/emerge", line 4044, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 3584, in action_build
    mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 2048, in merge
    prev_mtimes=ldpath_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 2949, in doebuild
    os.symlink(os.path.join(orig_distdir, file),
AttributeError: 'module' object has no attribute 'symlink'
Comment 1 Zac Medico gentoo-dev 2006-11-15 13:37:25 UTC
os.symlink is always supposed to exist.  Your python is broken.