Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54409 - Emerge of ruby-1.8.1-r7 fails due to incorrect source-dir in work directory
Summary: Emerge of ruby-1.8.1-r7 fails due to incorrect source-dir in work directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-19 04:52 UTC by Fredrik Andersson
Modified: 2004-06-19 05:24 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 Fredrik Andersson 2004-06-19 04:52:01 UTC
The step

cp -p /var/tmp/portage/ruby-1.8.1-r7/work/ruby-1.8.1/regex.c /var/tmp/portage/ruby-1.8.1-r7/work/ruby-1.8.1/regex.c.ruby_orig

in emerge ruby fails since the source-code is unpacked in 
/var/tmp/portage/ruby-1.8.1-r7/work/ruby-1.8.1-2004.05.02

A quick workaround is to change

#S=${WORKDIR}/${P%_pre*}
S=${WORKDIR}/ruby-1.8.1-2004.05.02

in the ebuild

Reproducible: Always
Steps to Reproduce:
1. emerge ruby-1.8-1-r7
2.
3.

Actual Results:  
emerge failing

Expected Results:  
emerge succeding :)

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.4-ck2)
=================================================================
System uname: 2.6.4-ck2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/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="-march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse -O3 -funroll-loops
-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo ftp://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.uninett.no/pub/linux/Gentoo http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo http://ds.thn.htu.se/linux/gentoo
http://trumpetti.atm.tut.fi/gentoo/
ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acpi alsa apm arts avi berkdb cdr cjk crypt cups curl
directfb dvd emacs encode encoder esd f77 fbcon flac foomaticdb gd gdbm ggi gif
gimpprint gmp gpm gtk gtk2 guile imagemagick imlib java jikes joystick jpeg leim
libg++ libwww mad mikmod mmx mng motif mpeg ncurses nls oggvorbis opengl oss pam
pdflib perl png ppds python qt quicktime readline ruby sdl slang speex spell sse
ssl svga tcltk tcpd tetex theora tiff truetype unicode usb wxwindows x86 xml2
xmms xv zlib"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-06-19 05:24:42 UTC
Sorry I intended to commit ruby-1.6.8-r10 and then modify
ruby-1.8.1-r7 after that, but I committed ruby-1.8.1-r7 too ;-(
Fixed in CVS. Thanks for the bug report.