Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18819 - emerge -k prints error message
Summary: emerge -k prints error message
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-05 16:44 UTC by Jukka Salmi
Modified: 2011-10-30 22:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for ebuild.sh (ebuild.sh.patch,389 bytes, patch)
2003-04-06 03:44 UTC, Jukka Salmi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jukka Salmi 2003-04-05 16:44:30 UTC
installing a tbz2 package (using emerge -k) causes emerge to print an error.
afterwards the package seems to get installed correctly. i tried it with
different ebuilds, everytime with the same results.

Reproducible: Always
Steps to Reproduce:
1. build a package, e.g.:
# emerge -b net-misc/x11-ssh-askpass

2. unstall it:
# emerge -C net-misc/x11-ssh-askpass

3. install it again:
# emerge -k net-misc/x11-ssh-askpass
Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/x11-ssh-askpass-1.2.2-r1 to /
>>> extracting info
>>> extracting x11-ssh-askpass-1.2.2-r1
>>> Merging net-misc/x11-ssh-askpass-1.2.2-r1 to /
/usr/sbin/ebuild.sh: line 1041:
//var/db/pkg/net-misc/x11-ssh-askpass-1.2.2-r1/x11-ssh-askpass-1.2.2-r1.ebuild:
No such file or directory

!!! ERROR: net-misc/x11-ssh-askpass-1.2.2-r1 failed.
!!! Function , Line 1041, Exitcode 1
!!! error sourcing ebuild

[...]

(after that, the package is installed correctly as far as i can see)

Expected Results:  
no err msg ;-)

$EBUILD doesn't seem to exist at the time ebuil.sh wants to source it...
Comment 1 Jukka Salmi 2003-04-05 16:47:13 UTC
# emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(TM) XP1700+
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/home/distfiles"
PKGDIR="/home/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi cups encode imlib libg++ libwww mikmod ncurses nls oggvorbis qt sdl spell svga xml2 xmms xv zlib gdbm berkdb slang readline java gpm tcpd perl python gtk motif -3dfx -arts -gnome -ipv6 -kde 3dnow crypt gif jpeg matrox maildir mmx mozilla mpeg opengl pam pdflib png quicktime sse ssl tcltk truetype X"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 2 Jukka Salmi 2003-04-06 03:44:48 UTC
Created attachment 10260 [details, diff]
patch for ebuild.sh

fixes ebuild.sh so it only sources $EBUILD if that file exists
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-02-04 23:26:04 UTC
seems to be fixed for me, reopen if it's still an issue