Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 202903

Summary: sys-apps/portage-2.1.3.19: ebuild digest fails to retrieve files from "local" mirrors
Product: Portage Development Reporter: Allen Brooker (AllenJB) <gentoo-bugs>
Component: ToolsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 200044    
Attachments: fixed ASUS_ACPI-071126.ebuild

Description Allen Brooker (AllenJB) 2007-12-20 23:57:43 UTC
Having created the following ebuild, I attempted to digest it having placed the files in a local mirror setup the same as detailed on http://allenjb.me.uk/gentoo

Portage reported an "Unsupported scheme" error when running "ebuild ASUS_ACPI-071126.ebuild digest" on file /usr/local/portage/asus-eee/ASUS_ACPI/ASUS_ACPI-071126.ebuild (asus-eee has been added to /etc/portage/categories)

The full ebuild:

DESCRIPTION="Asus ACPI driver"
HOMEPAGE="http://suport.asus.de"
LICENSE="GPL2"
KEYWORDS="~x86"
RESTRICT="fetch"
SRC_URI="http://support.asus.de/${PN}_${PV}.rar"
 
src_unpack() {
    unrar x "${DISTFILES}/${PN}_$[PV}.rar"
}
Comment 1 Zac Medico gentoo-dev 2007-12-21 00:20:05 UTC
Created attachment 139004 [details]
fixed ASUS_ACPI-071126.ebuild

It seems like you're just having some bash syntax issues. In portage-2.1.4 there is better handling for bash errors (see bug 200313 for example).