Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62602 - gconf 1.0.9 fails to unmerge
Summary: gconf 1.0.9 fails to unmerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Lowest trivial
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 64316 65214 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-02 03:07 UTC by Jan Essert
Modified: 2004-09-24 23:47 UTC (History)
4 users (show)

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 Jan Essert 2004-09-02 03:07:36 UTC
/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"
Comment 1 foser (RETIRED) gentoo-dev 2004-09-03 09:03:22 UTC
attach the file.. probably fs corruption or something, i doubt this is gentoo related.
Comment 2 Jan Essert 2004-09-03 09:39:57 UTC
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 ..
Comment 3 foser (RETIRED) gentoo-dev 2004-09-03 09:41:10 UTC
well, they can differ if they're a different version.. otherwise it shouldn't happen -> thats why i mentioned 'corruption'
Comment 4 Aquila 2004-09-08 09:27:38 UTC
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?
Comment 5 Aquila 2004-09-08 09:28:43 UTC
Please reopen, following this one...
Comment 6 Jan Essert 2004-09-08 09:47:50 UTC
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?)
Comment 7 Aquila 2004-09-10 03:41:39 UTC
Same solution worked here. Could someone please verify the relation between /usr/portage and /var/db/pkg? Fixing is needed.
Comment 8 foser (RETIRED) gentoo-dev 2004-09-16 16:32:12 UTC
*** Bug 64316 has been marked as a duplicate of this bug. ***
Comment 9 foser (RETIRED) gentoo-dev 2004-09-16 16:36:48 UTC
maybe the portage folk could have a look, this is the third report..
Comment 10 Marius Mauch (RETIRED) gentoo-dev 2004-09-16 16:53:01 UTC
probably a dupe of bug 46096
Comment 11 Mark Knecht 2004-09-16 20:33:48 UTC
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...
Comment 12 foser (RETIRED) gentoo-dev 2004-09-24 23:47:50 UTC
*** Bug 65214 has been marked as a duplicate of this bug. ***