Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100815 - ummerge fails for dev-perl/Log-Log4perl-0.46
Summary: ummerge fails for dev-perl/Log-Log4perl-0.46
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-30 07:53 UTC by Kevin Inscoe
Modified: 2005-07-31 12:51 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 Kevin Inscoe 2005-07-30 07:53:59 UTC
Attempt to upgrade dev-perl/Log-Log4perl to version .5.

# ACCEPT_KEYWORDS="~x86" emerge -v dev-perl/Log-Log4perl

Build completes file however unmerging of older version fails:
...
--- !empty dir /usr/lib/perl5
--- !empty dir /usr/lib
--- !empty dir /usr
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> dev-perl/Log-Log4perl-0.50 merged.

 dev-perl/Log-Log4perl
    selected: 0.46
   protected: 0.50
     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 dev-perl/Log-Log4perl-0.46...
No package files given... Grabbing a set.

QA Notice: ECLASS 'perl-module' inherited illegally in dev-perl/Log-Log4perl-0.46

/var/db/pkg/dev-perl/Log-Log4perl-0.46/Log-Log4perl-0.46.ebuild: line 17:
unexpected EOF while looking for matching `"'
/var/db/pkg/dev-perl/Log-Log4perl-0.46/Log-Log4perl-0.46.ebuild: line 19: syntax
error: unexpected end of file

!!! ERROR: dev-perl/Log-Log4perl-0.46 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1

Additional info:

# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.7
i686)
=================================================================
System uname: 2.6.7 i686 Pentium III (Coppermine)
Gentoo Base System version 
dev-lang/python:     2.3.3-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr composite crypt
cups curl dga directfb docs emboss encode esd fam fbcon flac foomaticdb fortran
gd gdbm ggi gif gphoto2 gpm gtk2 imagemagick imlib ipv6 jack java jpeg kde lcms
libg++ libwww mad maildir mbox mikmod motif mozilla mp3 mpeg mysql ncurses nls
ogg oggvorbis opengl openmotif oss pam pcmcia pcre pdflib perl php pic png pnp
pthreads python qt quicktime readline samba sasl scanner sdl sharelib slang snmp
spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb
vhosts videos vorbis wmf x86 xine xml xml2 xmms xpm xv xvid zlib
video_cards_mach64 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Kevin Inscoe 2005-07-30 07:55:44 UTC
# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.7
i686)
=================================================================
System uname: 2.6.7 i686 Pentium III (Coppermine)
Gentoo Base System version 
dev-lang/python:     2.3.3-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr composite crypt
cups curl dga directfb docs emboss encode esd fam fbcon flac foomaticdb fortran
gd gdbm ggi gif gphoto2 gpm gtk2 imagemagick imlib ipv6 jack java jpeg kde lcms
libg++ libwww mad maildir mbox mikmod motif mozilla mp3 mpeg mysql ncurses nls
ogg oggvorbis opengl openmotif oss pam pcmcia pcre pdflib perl php pic png pnp
pthreads python qt quicktime readline samba sasl scanner sdl sharelib slang snmp
spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb
vhosts videos vorbis wmf x86 xine xml xml2 xmms xpm xv xvid zlib
video_cards_mach64 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-30 14:36:43 UTC
For some reason the ebuild stored in
/var/db/pkg/dev-perl/Log-Log4perl-0.46/Log-Log4perl-0.46.ebuild is broken. The
most simple to fix this is to correct it by hand.
Comment 3 Kevin Inscoe 2005-07-30 14:55:00 UTC
How would I do that please?
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-31 06:17:05 UTC
As the output says: Most likely a missing " in line 17.
Comment 5 Kevin Inscoe 2005-07-31 09:25:47 UTC
Now I am having more problems with auto-cleans. Ideas? Is my portage broken somehow?

>>> Auto-cleaning packages ...

 sci-libs/libgeotiff
    selected: 1.2.1
   protected: 1.2.1-r1
     omitted: none

 dev-perl/Log-Log4perl
    selected: 0.46
   protected: 0.50
     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 sci-libs/libgeotiff-1.2.1...
No package files given... Grabbing a set.

QA Notice: ECLASS 'base' inherited illegally in sci-libs/libgeotiff-1.2.1


QA Notice: ECLASS 'eutils' inherited illegally in sci-libs/libgeotiff-1.2.1


QA Notice: ECLASS 'multilib' inherited illegally in sci-libs/libgeotiff-1.2.1

/var/db/pkg/sci-libs/libgeotiff-1.2.1/libgeotiff-1.2.1.ebuild: line 28:
unexpected EOF while looking
 for matching `"'
/var/db/pkg/sci-libs/libgeotiff-1.2.1/libgeotiff-1.2.1.ebuild: line 46: syntax
error: unexpected end
 of file

!!! ERROR: sci-libs/libgeotiff-1.2.1 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-07-31 10:32:46 UTC
If you want some help, attach the offending files.
Comment 7 Kevin Inscoe 2005-07-31 12:01:31 UTC
(In reply to comment #6)
> If you want some help, attach the offending files.

Not sure what files you are looking for but here goes:

/var/db/pkg/dev-perl/Log-Log4perl-0.46/Log-Log4perl-0.46.ebuild 

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

inherit perl-module

S=${WORKDIR}/Log-Log4perl-0.46
DESCRIPTION="Log4j implementation in Perl"
SRC_URI="http://www.cpan.org/modules/by-authors/id/M/MS/MSCHILLI/Log-Log4perl-0.46.tar.gz"
HOMEPAGE="http://www.cpan.org/modules/by-authors/id/M/MS/MSCHILLI/${P}.readme"

SLOT="0"
LICENSE="Artistic | GPL-2"
KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64 s390"

DEPEND="perl-core/Test-Simple   perl-core/File-Spec

/var/db/pkg/sci-libs/libgeotiff-1.2.1/libgeotiff-1.2.1.ebuild

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeotiff libgeotiff-1.2.1.ebuild,v
1.5 2003/11/24 18:00:48 rphillips Exp $

inherit base eutils

DESCRIPTION="Library for reading TIFF files with embedded tags for geographic
(cartographic) information"
HOMEPAGE="http://remotesensing.org/geotiff/geotiff.html"
SRC_URI="ftp://ftp.remotesensing.org/pub/geotiff/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="virtual/glibc
        >=media-libs/tiff-3.6.0
        sci-libs/proj

src_unpack() {
        base_src_unpack

        #cd ${S}
        #patch -p0 -s < ${FILESDIR}/geo_trans.diff
}

src_compile() {
        econf || die
        MAKEOPTS="-j2" pmake || die
}

src_install() {
        into /usr
        exeinto /usr/bin
        doexe bin/listgeo
        doexe bin/geotifcp
        doexe bin/makegeo
        insinto usr/include
        dolib.a libgeotiff.a
        dolib.so libgeotiff.so.${PV}
        dosym libgeotiff.so.${PV} usr/lib/libgeotiff.so
        doins xtiffio.h xtiffiop.h geotiff.h geotiffio.h geovalues.h geonames.h
geokeys.h geo_tiffp.h geo_config.h geo_keyp.h geo_normalize.h cpl_serv.h
cpl_csv.h epsg_datum.inc epsg_gcs.inc epsg_pm.inc epsg_units.inc geo_ctrans.inc
epsg_ellipse.inc epsg_pcs.inc epsg_proj.inc epsg_vertcs.inc geokeys.inc
        mkdir -p ${D}/usr/share/epsg_csv
        insinto usr/share/epsg_csv
        doins csv/*.csv
}

Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-07-31 12:19:15 UTC
Missing quotation marks:

/var/db/pkg/dev-perl/Log-Log4perl-0.46/Log-Log4perl-0.46.ebuild:

DEPEND="perl-core/Test-Simple   perl-core/File-Spec" <-- here


/var/db/pkg/sci-libs/libgeotiff-1.2.1/libgeotiff-1.2.1.ebuild

DEPEND="virtual/glibc
        >=media-libs/tiff-3.6.0
        sci-libs/proj" <-- here

Add them and try again.
Comment 9 Kevin Inscoe 2005-07-31 12:51:59 UTC
Yes that worked thanks. I was suprised that buggy ebuilds made into Portage like
that. I will watch for that next time.