Summary: | php ignores package.use file when using binaries | ||
---|---|---|---|
Product: | Portage Development | Reporter: | meyerm |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | VERIFIED NEEDINFO | ||
Severity: | major | CC: | nbensa |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
meyerm
2004-09-13 13:23:25 UTC
you neglected to provide `emerge info` also please attach your package.use also attach this error output that you see. also attach the steps that involve the second run that creates binary packages. I'm not the OP but here is the info I have. I want to emerge php/mod_php. It tells me USE:berkdb need USE:dba. No problem, I add dba to /etc/portage/package.use:dev-php/php. Now I can emerge php BUT, since I also have "buildpkg" in FEATURES, when portage wants to merge the binary it says: $ sudo emerge -kv {mod_php,php} Calculating dependencies ...done! >>> emerge (1 of 2) dev-php/php-5.0.1 to / >>> extracting info * USE flag 'berkdb' needs these additional flag(s) set: * dba * * You can do this by enabling these flags in /etc/portage/package.use: * =php-5.0.1/php-5.0.1 dba * * You could disable this flag instead in /etc/portage/package.use: * =php-5.0.1/php-5.0.1 -berkdb !!! ERROR: php-5.0.1/php-5.0.1 failed. !!! Function confutils_use_depend_all, Line 117, Exitcode 0 !!! Need missing USE flags !!! Error running pkg_setup $ grep php /etc/portage/package.use dev-php/php berkdb crypt curl dba gdbm gmp imap kerberos ldap mcal mysql ncurses nls pam pdflib readline spell ssl xml2 dev-php/mod_php apache2 berkdb crypt curl dba gdbm gmp imap kerberos ldap mcal mysql nls pam pdflib spell ssl xml2 $ emerge --info Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.6-mm1) ================================================================= System uname: 2.6.6-mm1 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium -Os -ffast-math -fomit-frame-pointer -pipe" CHOST="i586-pc-linux-gnu" COMPILER="" 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/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache2 berkdb cups nls pam pic readline ssl tcpd unicode x86" portage (or then php ebuild) ignores /etc/portage/package.use Thanks, Norberto BTW, a workaround is: USE=dba sudo emerge -kv php mod_php Closing due to old age |