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

Bug 131678

Summary: dev-python/paramiko-1.5.4 fails to install
Product: Gentoo Linux Reporter: MATSUI Tetsushi <VED03370>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description MATSUI Tetsushi 2006-04-29 07:03:19 UTC
paramiko-1.5.4 failes to install.
I tried to install paramiko-1.5.2, and it does not fail.
The message "Checking .pth file support" (see below) is new to 1.5.4,
and /var/tmp/portage/paramiko-1.5.4/image/usr does not seem to exist.


The error:

>>> Install paramiko-1.5.4 into /var/tmp/portage/paramiko-1.5.4/image/ category dev-python
running install
Checking .pth file support in /var/tmp/portage/paramiko-1.5.4/image/usr/lib/python2.4/site-packages/
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory: '/var/tmp/portage/paramiko-1.5.4/image/usr/lib/python2.4/site-packages/test-easy-install-30696.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /var/tmp/portage/paramiko-1.5.4/image/usr/lib/python2.4/site-packages/

This directory does not currently exist.  Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).


!!! ERROR: dev-python/paramiko-1.5.4 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_install
  ebuild.sh, line 1002:   Called src_install
  paramiko-1.5.4.ebuild, line 21:   Called distutils_src_install
  distutils.eclass, line 40:   Called die

and emerge --info:

Portage 2.1_pre9-r5 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo i586)
=================================================================
System uname: 2.6.16-gentoo i586 AMD-K6(tm) 3D+ Processor
Gentoo Base System version 1.6.15
dev-lang/python:     2.2.3-r6, 2.3.5, 2.4.2-r1
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6-3 -O2 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k6-3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/ http://distfiles.gentoo.org/"
LANG="ja_JP.eucJP"
LINGUAS="ja en it de fr es nl zh ko nb sv ru pl"
MAKEOPTS="-j2 -l2.5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /opt/portagejp"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage/"
USE="x86 3dnow X alsa apm avi berkdb bitmap-fonts bzip2 cjk cli crypt cups doc dri eds emacs emboss encode foomaticdb fortran freewnn gcl gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg leim libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_ja linguas_en linguas_it linguas_de linguas_fr linguas_es linguas_nl linguas_zh linguas_ko linguas_nb linguas_sv linguas_ru linguas_pl userland_GNU video_cards_ati video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2006-04-29 10:00:37 UTC
Just committed 1.5.4-r1 which disables setuptools, which should fix this. Closing, reopen if 1.5.4-r1 does not fix this for you.
Comment 2 MATSUI Tetsushi 2006-04-29 20:20:55 UTC
Thank you.  It works fine.