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

Bug 43309

Summary: ${CATEGORY} wrong - makes bad path for chroot instructions
Product: Gentoo Linux Reporter: Zeek <gentoo_ml>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 1.4_rc4   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zeek 2004-02-29 12:36:17 UTC
bind-9.2.2-r2.ebuild

This line from the ebuild:

        einfo "\`ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\`"

prints:

 * `ebuild /var/db/pkg/bind-9.2.2-r2/bind-9.2.2-r2/bind-9.2.2-r2.ebuild config`

The ${CATEGORY} should be 'net-dns/' not 'bind-9.2.2-r2'.


mother bind # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23_pre8-gss)
=================================================================
System uname: 2.4.23_pre8-gss i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arts avi berkdb crypt cups foomaticdb gif icc jpeg libg++ libwww mad maildir mpeg ncurses nocardbus nptl oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang snmp spell sse sse2 ssl svga truetype x86 xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-02-29 14:49:23 UTC

*** This bug has been marked as a duplicate of 6414 ***
Comment 2 Zeek 2004-02-29 16:40:29 UTC
Bug 6414 seems to be a couple of years old.  Why not put in a temp fix:

$CATEGORY = 'net-dns'

or just hardcode more of the path in the ebuild?