Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 46824
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 46823
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexandre Rostovtsev <tetromino@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 46824 depends on: Show dependency tree
Bug 46824 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: 2004-04-04 23:10 0000
metakit-2.4.9.2-r1 ebuild relies on python-config in src_install(), and on
python -c 'import sys; print sys.version[0:3]' in src_unpack(). This is
problematic, because the two methods are not guaranteed to return the same
python version.

Basically, /usr/bin/python is the latest version of python, while
/usr/bin/python-config is the last version of python that was installed (i.e.
emerge '<python-2.3' will clobber python-config). 

So, if you have emerged a python-2.2 after python-2.3, the metakit ebuild says

/bin/sh ./libtool --mode=install /bin/install -c Mk4py.so
/var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/python2.3/site-packages
/bin/install -c Mk4py.so
/var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/python2.3/site-packages
/bin/install: cannot create regular file
`/var/tmp/portage/metakit-2.4.9.2-r1/image//usr/lib/python2.3/site-packages':
No such file or directory
make: *** [install-python] Error 1

!!! ERROR: dev-db/metakit-2.4.9.2-r1 failed.
!!! Function src_install, Line 49, Exitcode 2
!!! (no error message)

Note that metakit-2.4.9.3-r2 performs some kind of ebuildical magic to avoid
this problem, but unfortunately, it's ~x86 at the moment.

Reproducible: Always
Steps to Reproduce:
1. emerge '<python-2.3'
2. emerge '=metakit-2.4.9.2-r1'


Actual Results:  
ebuild fails

Expected Results:  
ebuild succeeds...

Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-gentoo)
=================================================================
System uname: 2.6.3-gentoo i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dga directfb
dnd doc dumb-allegro dvd dvdr encode esd ethereal evo fbcon flash foomaticdb
gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++
libwww mad mbox mikmod mmx mng motif mozilla mpeg mule mysql nas ncurses nls
oav
odbc oggvorbis opengl oss pam pda pdflib perl pic plotutils png postgres python
qt quicktime readline samba scanner sdl slang slp spell sse ssl svga tcltk tcpd
tetex tiff truetype usb wmf x86 xface xinerama xml2 xmms xv xvid zlib"

------- Comment #1 From Alexandre Rostovtsev 2004-04-04 23:12:46 0000 -------

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

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