/usr/sbin/ebuild.sh: /var/db/pkg/gnome-base/gconf-1.0.9/gconf-1 33: syntax error near unexpected token `sys-devel/gettext' /usr/sbin/ebuild.sh: /var/db/pkg/gnome-base/gconf-1.0.9/gconf-1 33: ` nls? ( sys-devel/gettext )"' !!! ERROR: gnome-base/gconf-1.0.9 failed. !!! Function , Line 1299, Exitcode 1 !!! error sourcing ebuild !!! FAILED prerm: 1 .. I don't understand why, but I want to get rid of it :-) Reproducible: Always Steps to Reproduce: 1. emerge -C gconf Actual Results: unmerging fails Expected Results: should be unmerged emerge info: Portage 2.0.50-r10 (2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" 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/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-tbird -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distcc sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://10.0.0.1/gentoo-portage" USE="3dnow X acpi alsa apache2 arts artswrappersuid avi berkdb crypt cups divx4linux dvd encode esd fbcon flac foomaticdb gdbm gif gtk2 guile icq imlib jabber java jpeg kde libg++ libwww linguas_de mad maildir mbox mikmod mmx motif mpeg mysql ncurses nls nptl offensive oggvorbis opengl oscar pam pda pdflib perl pic png ppds python qt quicktime readline samba sdl slang spell ssl svg tcpd tetex tiff truetype usb videos x86 xine xml2 xmms xv xvid zlib"
attach the file.. probably fs corruption or something, i doubt this is gentoo related.
well, solved it. Somehow the ebuild in: /var/db/pkg/.. differed from the one in my portage tree: /usr/portage/.. any idea how this can happen and how to prevent it?? sorry for the inconvenience ..
well, they can differ if they're a different version.. otherwise it shouldn't happen -> thats why i mentioned 'corruption'
I'm having the same problem, also with differences. Effect: # emerge -u dvdrip Calculating dependencies ...done! >>> Auto-cleaning packages ... gnome-base/gconf selected: 1.0.8-r5 protected: 1.0.9 2.6.2 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging gnome-base/gconf-1.0.8-r5... No package files given... Grabbing a set. /usr/sbin/ebuild.sh: /var/db/pkg/gnome-base/gconf-1.0.8-r5/gconf-1.0.8-r5.ebuild: line 27: syntax error near unexpected token `sys-devel/gettext' /usr/sbin/ebuild.sh: /var/db/pkg/gnome-base/gconf-1.0.8-r5/gconf-1.0.8-r5.ebuild: line 27: ` nls? ( sys-devel/gettext )"' !!! ERROR: gnome-base/gconf-1.0.8-r5 failed. !!! Function , Line 1299, Exitcode 1 !!! error sourcing ebuild !!! FAILED prerm: 1 Cause: diff /var/db/pkg/gnome-base/gconf-1.0.8-r5/gconf-1.0.8-r5.ebuild /usr/portage/gnome-base/gconf/gconf-1.0.8-r5.ebuild 1c1 < # Copyright 1999-2003 Gentoo Technologies, Inc. --- > # Copyright 1999-2004 Gentoo Foundation 3c3 < # $Header: /home/cvsroot/gentoo-x86/gnome-base/gconf/gconf-1.0.8-r5.ebuild,v 1.8 2004/01/10 03:06:28 agriffis Exp $ --- > # $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/gconf-1.0.8-r5.ebuild,v 1.13 2004/08/21 16:29:51 foser Exp $ 5c5 < inherit libtool --- > inherit libtool eutils 16c16 < KEYWORDS="x86 ~ppc ~sparc alpha hppa amd64 ia64" --- > KEYWORDS="x86 ppc ~sparc alpha hppa amd64 ia64" 24c24 < gnome-base/orbit --- > =gnome-base/orbit-0*" Resolution?
Please reopen, following this one...
My solution was to delete the ebuild in /var/db/pkg/... (it had an older version than the one in the portage tree) .. after that everything went fine. I don't know why there is a permanent copy of an ebuild which can run 'out of sync' .. can anybody enlighten me? What is /var/db/pkg/ for anyway?)
Same solution worked here. Could someone please verify the relation between /usr/portage and /var/db/pkg? Fixing is needed.
*** Bug 64316 has been marked as a duplicate of this bug. ***
maybe the portage folk could have a look, this is the third report..
probably a dupe of bug 46096
Boy - I wish these things wouldn't close before the original poster gets 8 hours to look at it. ;-) Very strange - the /var/db/pkg thing didn't work for me as there wasn't an ebuild there. then I resync'ed and rebuilt gconf. At this point the delete stage didn't happen and everything was fine. I uess oyu guys did something in portage to fix this? I'm confused, but things seem fine right now. Thanks for fixing it. Mystery...
*** Bug 65214 has been marked as a duplicate of this bug. ***