Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 222205
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: gunix@comhem.se
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 222205 depends on: Show dependency tree
Bug 222205 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-15 05:24 0000
I have installed vpython 3.2.9 and I do
python /usr/share/doc/visual-3.2.9/examples/orbit.py

and I get
Traceback (most recent call last):
  File "/usr/share/doc/visual-3.2.9/examples/orbit.py", line 1, in ?
    from visual import *
ImportError: No module named visual

Here are some lines from the emerge that to me seems to have a problem in them

make[1]: Entering directory
`/var/tmp/portage/dev-python/visual-3.2.9/work/visual-3.2.9'
make[2]: Entering directory
`/var/tmp/portage/dev-python/visual-3.2.9/work/visual-3.2.9'
test -z "/usr/bin" || mkdir -p --
"/var/tmp/portage/dev-python/visual-3.2.9/image//usr/bin"
make[2]: Nothing to be done for `install-data-am'.
 /usr/bin/install -c 'bin/vpython'
'/var/tmp/portage/dev-python/visual-3.2.9/image//usr/bin/vpython'
make[2]: Leaving directory
`/var/tmp/portage/dev-python/visual-3.2.9/work/visual-3.2.9'
make[1]: Leaving directory
`/var/tmp/portage/dev-python/visual-3.2.9/work/visual-3.2.9'
mv: cannot move
`/var/tmp/portage/dev-python/visual-3.2.9/image//usr/lib/python2.4/site-packages/'
to a subdirectory of itself,
`/var/tmp/portage/dev-python/visual-3.2.9/image//usr/lib/python2.4/site-packages/visual/site-packages'
>>> Completed installing visual-3.2.9 into /var/tmp/portage/dev-python/visual-3.2.9/image/


Reproducible: Always




Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24.3
i686)
=================================================================
System uname: 2.6.24.3 i686 AMD Athlon(tm) XP 2600+
Timestamp of tree: Wed, 14 May 2008 19:05:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
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.1
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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -finline-functions -mmmx -m3dnow -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/app-defaults /usr/share/X11/xkb
/usr/share/config"
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="-O3 -march=athlon-xp -pipe -finline-functions -mmmx -m3dnow -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
http://ds.thn.htu.se/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/"
LINGUAS="en sv"
MAKEOPTS="-j2"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d accessibility acl acpi adns alsa apm arts atlas avi berkdb
bindist cdparanoia cdr cli cracklib crypt cscope cups curl dga djvu dri dvd
encode ethereal evo f77 fam fastcgi fb flac foomaticdb fortran gd gdbm ggi gif
ginac gphoto2 gpm iconv icq imagemagick imap imlib innodb ipv6 isdnlog java
jpeg junit kde lcms lesstif libgda libwww mad maildir mbox mcal midi mikmod mmx
motif mozilla mpeg msn mudflap ncurses nls nptl nptlonly odbc oggvorbis opengl
openmp oscar pam pcre pdflib perl plotutils png ppds pppd python qt quicktime
readline real reflection ruby sasl scanner sdl session slang spell spl sse ssl
svg svga tcltk tcpd tetex theora threads tiff truetype unicode v4l v4l2 videos
vmf vorbis x86 xml xml2 xorg xv 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 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 dav dav_fs dav_lock dbd deflate dir disk_cache env expires
ext_filter file_cache filter headers ident imagemap include info log_config
logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv"
USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jeroen Roovers 2008-05-31 17:00:18 0000 -------

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

------- Comment #2 From Jeroen Roovers 2008-05-31 17:00:51 0000 -------
Oops, wrong bug.

------- Comment #3 From Jeroen Roovers 2008-05-31 17:01:07 0000 -------
*** Bug 224315 has been marked as a duplicate of this bug. ***

------- Comment #4 From Juan 2008-05-31 19:19:45 0000 -------
I just wanted to comment on this bug. The ebuild is not installing code (or it
is removing it).
I looked at the ebuild and it seems to install the code but the last two lines,
remove some files. I don't have the knowledge to know why, but just commenting
out the two lines

#       rm -rf "${D}"/usr/bin/
#       rm -rf "${D}"/usr/lib/

solved the problem for me.
I thought that ${D} referred to the directory where the build takes place (?)
/var/tmp/..... in my case.

------- Comment #5 From Jeroen Roovers 2008-06-02 20:13:01 0000 -------
(In reply to comment #4)
> but just commenting out the two lines
> 
> #       rm -rf "${D}"/usr/bin/
> #       rm -rf "${D}"/usr/lib/
> 
> solved the problem for me.
> I thought that ${D} referred to the directory where the build takes place (?)

No, it's where the files are intermittently installed to instead of the "live"
filesystem - it would normally resolve to
/var/tmp/portage/dev-python/visual/image. What these lines do is remove
everything that would normally end up in /usr/bin and /usr/lib.

------- Comment #6 From Jesus Rivero 2008-08-09 19:26:53 0000 -------
Added dev-python/visual-3.2.9-r1 to tree, solves this issue.

Closing bug.

Best regards, 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug