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

Bug 97696

Summary: improve ebuild(1) error messages
Product: Portage Development Reporter: Martin Mokrejš <mmokrejs>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: testcase: openafs_snap-0.0.ebuild

Description Martin Mokrejš 2005-07-02 01:31:14 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
/usr/local/portage/net-fs/openafs
# ebuild openafs-0.0.ebuild digest
 * Please upgrade your package (openafs-0.0) to use toolchain-funcs.eclass
>>> Downloading ftp://ftp.muni.cz/pub/linux/gentoo/distfiles/openafs-snap-2005-07-01.tar.bz2
[...]
>>> 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
# 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?

# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.13-rc1 i686)
=================================================================
System uname: 2.6.13-rc1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.12
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/config /var/bind /var/qma
il/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/etc /etc/gconf /etc/terminfo /etc/texmf/web2c /usr/vice/etc/cacheinfo /etc/env.d"
CXXFLAGS="-O3 -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo http://gentoo.mirror.icd.hu/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/g
entoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LINGUAS="cs cz en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aalib acpi adns afs alsa apache2 apm arts ati avcodec avi bidi bitmap-fonts bonobo caca cdparanoia crypt csco
pe cups curl dba dga directfb distcc divx divx4 divx4linux divx5 divx5linux dv dvb dvd dvdr dvdread emacs emacs-w3 emboss enco
de esd ethereal evo f77 faac faad faad2 fam fame fbcon ffmpeg flac flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gpho
to2 gpm gstreamer gtk gtk2 gtkhtml guile i8x0 icc imagemagick imlib imlib2 innodb java jpeg junit lcms leim libg++ libwww live
 lpthread lzo lzw-tiff mad mcal mesa mikmod mmx mmx2 motif mozilla mp3 mpeg mule mysql ncurses network nls nptl ogg oggvorbis 
opengl oss pam pda pdflib perl php php4 plotutils png ppds pthread pthreads python qt qtx quicktime readline rtc samba scanner
 sdl slang slp speex spell sse sse2 sse3 ssl svga tcltk tcpd tetex tex theora thread threads tiff truetype truetype-fonts type
1-fonts unicode usb v4l v4l2 vorbis win32 winvidix wmf xine xml xml2 xmms xosd xv xvid xvmc yv12 zeo zlib video_cards_radeon l
inguas_cs linguas_cz linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-02 01:32:06 UTC

*** This bug has been marked as a duplicate of 97694 ***
Comment 2 Martin Mokrejš 2005-07-02 01:32:51 UTC
Created attachment 62452 [details]
testcase: openafs_snap-0.0.ebuild