Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43895 - tla.eclass: die if archive already registered
Summary: tla.eclass: die if archive already registered
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-06 10:36 UTC by Panard
Modified: 2004-03-07 10:49 UTC (History)
1 user (show)

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


Attachments
tla.eclass patch (tla-eclass.patch,404 bytes, patch)
2004-03-06 10:37 UTC, Panard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Panard 2004-03-06 10:36:42 UTC
Calculating dependencies ...done!
>>> emerge (1 of 1) Y-base/Y-tla-0.2 to /
>>> Unpacking source...
 * Registering Archives...
archive already registered: markbt@efaref.net--2004
Registering archive: markbt@efaref.net--2004

!!! ERROR: Y-base/Y-tla-0.2 failed.
!!! Function tla_register_archives, Line 68, Exitcode 2
!!! Could not register archive http://www.efaref.net/arch/2004

Here is a little patch to fix this

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Panard 2004-03-06 10:37:52 UTC
Created attachment 26946 [details, diff]
tla.eclass patch

add -f option to the register-archive tla command
Comment 2 Panard 2004-03-07 06:31:47 UTC
Oops, I forget some details:

here is my Y-tla-0.2 ebuild:
=================================
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Y server - TLA version"
HOMEPAGE="http://www.y-windows.org/"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="~x86"

IUSE=""

SLOT=0

DEPEND="
        !Y-base/Y
        >=media-libs/freetype-2.1.3
        >=media-libs/libsdl-1.2
        >=dev-libs/libsigc++-1.0
        >=x11-libs/libiterm-mbt-0.5"

inherit tla

ETLA_VERSION="markbt@efaref.net--2004/Y--devel--${PV}"
ETLA_ARCHIVES="http://www.efaref.net/arch/2004/"

src_compile () {
        WANT_AUTOMAKE="1.8" sh ./autogen.sh || die "Cannot autogen scripts"
        econf --prefix="/usr" || die "Configure failed"
        emake || die "Make failed"
}

src_install () {
        emake prefix="${D}/usr" install || die "Make install failed"
        dodoc AUTHORS COPYING COPYING.CPL COPYING.GPL \
		COPYING.LGPL ChangeLog INSTALL NEWS README TODO
}
===========================
Comment 3 Panard 2004-03-07 06:37:24 UTC
This bug is not related to Y, but to the tla.eclass, Y ebuild is just an example.
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2004-03-07 10:49:00 UTC
Committed... Thanks.