Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69778 - kbd-1.12-r2 fails to unmerge after upgrade to kbd-1.12-r3
Summary: kbd-1.12-r2 fails to unmerge after upgrade to kbd-1.12-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 15:31 UTC by John Shaw
Modified: 2004-11-02 01:19 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 John Shaw 2004-11-01 15:31:39 UTC
When kbd-1.12-r2 was upgraded to kbd-1.12-r3 it failed to remove kbd-1.12-r2.

Reproducible: Always
Steps to Reproduce:
1. emerge -u kbd
2. emerge unmerge =kbd-1.12-r2
3.

Actual Results:  
With un-modified e-build:
sys-apps/kbd
    selected: 1.12-r2
   protected: none
     omitted: 1.12-r3

>>> '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 sys-apps/kbd-1.12-r2...
No package files given... Grabbing a set.

QA Notice: ECLASS 'eutils' inherited illegally in sys-apps/kbd-1.12-r2

/var/db/pkg/sys-apps/kbd-1.12-r2/kbd-1.12-r2.ebuild: line 45: unexpected EOF
while looking for matching `"'
/var/db/pkg/sys-apps/kbd-1.12-r2/kbd-1.12-r2.ebuild: line 71: syntax error:
unexpected end of file

!!! ERROR: sys-apps/kbd-1.12-r2 failed.
!!! Function , Line 1560, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1


With inherit eutils removed from the ebuild:
 sys-apps/kbd
    selected: 1.12-r2
   protected: none
     omitted: 1.12-r3

>>> '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 sys-apps/kbd-1.12-r2...
No package files given... Grabbing a set.
/var/db/pkg/sys-apps/kbd-1.12-r2/kbd-1.12-r2.ebuild: line 45: unexpected EOF
while looking for matching `"'
/var/db/pkg/sys-apps/kbd-1.12-r2/kbd-1.12-r2.ebuild: line 71: syntax error:
unexpected end of file

!!! ERROR: sys-apps/kbd-1.12-r2 failed.
!!! Function , Line 1560, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1


Expected Results:  
kbd-1.12-r2 removed, kbd-1.12-r3 left on the system.

Portage 2.0.51-r2 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.8 i686)
=================================================================
System uname: 2.6.8 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.4
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.19,sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -pipe"
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.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
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=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr crd crypt cups dga
dvd encode esd f77 foomaticdb gd gdbm gif gimpprint gnome gtk gtk2 gtkhtml imlib
java jpeg libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls
oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl
slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Comment 1 John Shaw 2004-11-01 15:37:00 UTC
Ok, I copied the current kbd-1.12-r2 ebuild file to my /var/db/pkg/sys-apps/kbd-1.12-r2 directory and did an unemerge and it worked just fine.  In what situations are maintainers allowed to changed the e-build without changing the revision number?
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-11-02 01:19:36 UTC
John you did the right thing. This problem occurs sparadicly in portage. For details on revision bump requirements look in the developer documentation.