Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97694 - ebuild(1) error messages are too vague
Summary: ebuild(1) error messages are too vague
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
: 97695 97696 (view as bug list)
Depends on:
Reported: 2005-07-02 01:23 UTC by Martin Mokrejš
Modified: 2007-01-12 06:15 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2005-07-02 01:23:16 UTC
ebuild(1) breaks when the package name contains underscores? Compare behaviour for "openafs_snap-0.0.ebuild" and "openafs-0.0.ebuild" below. Googling around for this error messages points me to set 
PORTDIR_OVERLAY="/usr/local/portage" in /etc/make.conf (but that's what I have already).

# pwd
# ebuild openafs-0.0.ebuild digest
 * Please upgrade your package (openafs-0.0) to use toolchain-funcs.eclass
>>> Downloading
>>> Generating digest file...
<<< openafs-snap-2005-07-01.tar.bz2
!!! We have a source URI, but no file...
!!! File: /usr/portage/distfiles/openafs-snap-2005-07-01.tar.bz2
# ebuild openafs-0.0.ebuild digest
# mv openafs-0.0.ebuild openafs_snap-0.0.ebuild
# ebuild openafs_snap-0.0.ebuild digest
!!! aux_get(): ebuild path for 'net-fs/openafs_snap-0.0' not specified:
!!!            None
!!! aux_get(): ebuild path for 'net-fs/openafs_snap-0.0' not specified:
!!!            None
doebuild(): aux_get() error reading net-fs/openafs_snap-0.0; aborting.

So what's wrong?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-02 01:31:38 UTC
*** Bug 97695 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-02 01:32:06 UTC
*** Bug 97696 has been marked as a duplicate of this bug. ***
Comment 3 Martin Mokrejš 2005-07-02 01:34:54 UTC
Sorry for the dupes, I've waited several minutes for an answer from before re-clicking the 'Commit' button to submit the bugreport.
Comment 4 Martin Mokrejš 2005-07-02 02:14:26 UTC
This contains the testcase and emerge info outpu:
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-07-02 02:17:42 UTC
You did not rename the directory together w/ the ebuild, i.e. net-fs/openafs !=
Comment 6 SpanKY gentoo-dev 2005-07-02 07:12:58 UTC
jakub is correct ... the package name of the ebuild (openafs_snap) is not the
same as the dir you are in (openafs)
Comment 7 Martin Mokrejš 2005-07-02 07:18:48 UTC
Yes, I aggree. But couldn't be ebuild(1) more user friendly? ;)
Thanks. "error reading net-fs/openafs_snap-0.0" doesn't tell me why. Is
something missing, are permission wrong or why "doebuild(): aux_get()" happened?

I hope you understand my objections. Thanks anyway fro quick resolution of what
is the problem. I always forget about this requirement.
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:24:50 UTC
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2007-01-12 06:15:54 UTC
Closing due to old age.