Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35099 - Binary packages tell wrong config path
Summary: Binary packages tell wrong config path
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-04 16:27 UTC by Elan Ruusamäe
Modified: 2004-08-17 01:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2003-12-04 16:27:33 UTC
after emerge it sais:

 * To have Apache run php programs, please do the following:
 * 1. Execute the command:
 *  "ebuild /var/db/pkg/mod_php-4.3.3-r3/mod_php-4.3.3-r3/mod_php-4.3.3-r3.
ebuild config"
 * 2. Edit /etc/conf.d/apache and add "-D PHP4" to APACHE_OPTS

while in my system it is really in directory with category:
/var/db/pkg/dev-php/mod_php-4.3.3-r3/mod_php-4.3.3-r3.ebuild


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Elan Ruusamäe 2003-12-04 16:36:25 UTC
ah, sorry, i emerged binary package, and here's the emerge info:

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-ck2)
=================================================================
System uname: 2.4.22-ck2 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config /var/qmail/control /var/qmail/alias"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium2 -march=pentium2 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss avi cups encode gif libg++ mad mpeg ncurses quicktime xmms xv zlib slang arts sdl gpm libwww imlib oggvorbis opengl acpi artswrappersuid fbcon maildir md5sum memlimit mmx mozilla samba -apm -crypt -foomaticdb kde -tcltk -python -gtk -gnome -mikmod -motif -nls -spell -svga -gdbm -tcpd -doc aalib lirc -esd -berkdb -perl -java javascript svga -ssl -xml2 -pdflib -qt -tiff -X -pam -png -truetype -readline -jpeg"

Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-01-05 21:15:30 UTC
weird, I can confirm it for mod_php but not for a test package I wrote that echos $CATEGORY in postinst()
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-05 22:34:22 UTC
i can't reproduce this.
i dunno why CATEGORY has been set to PF, but do you still get it with newer versions of portage?
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-01-06 13:31:29 UTC
just tried with _pre9 in a fresh stage3 chroot, same result: CATEGORY=PF
Comment 5 Elan Ruusamäe 2004-01-07 10:25:53 UTC
bug 6414 seems to have same issue.
Comment 6 Brian Harring (RETIRED) gentoo-dev 2004-08-17 01:13:17 UTC
Shouldn't be happening anymore, exempting old tbz2s that are still borked via #6414 .