| Summary: | dev-lang/php - missing RDEPENDs: ? | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nicolas Perrenoud <nicolas.perrenoud> |
| Component: | New packages | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Nicolas Perrenoud
2012-03-02 12:58:16 UTC
(In reply to comment #0) > When emerging PHP to an alternative ROOT (e.g. when bootstrapping custom > distributions), a lot of the dependencies are installed into the / system > (for example dev-db/postgresql-base when USE-ing postgres). This cannot be simply fixed in dev-lang/php ebuilds. It's a broad issue that cannot be handled in a single bug report. > This results in an error on the target system when executing php because it > cannot load all shared object files (because they were not installed into > ROOT). > > The PHP ebuild uses mostly DEPEND and not RDEPEND to specify it's > dependencies, which is ok for compiling PHP, but fails when executing the > php binary. Please tell which DEPENDs should be in RDEPEND as well. (In reply to comment #1) > (In reply to comment #0) > > When emerging PHP to an alternative ROOT (e.g. when bootstrapping custom > > distributions), a lot of the dependencies are installed into the / system > > (for example dev-db/postgresql-base when USE-ing postgres). > > This cannot be simply fixed in dev-lang/php ebuilds. It's a broad issue that > cannot be handled in a single bug report. > > > This results in an error on the target system when executing php because it > > cannot load all shared object files (because they were not installed into > > ROOT). > > > > The PHP ebuild uses mostly DEPEND and not RDEPEND to specify it's > > dependencies, which is ok for compiling PHP, but fails when executing the > > php binary. > > Please tell which DEPENDs should be in RDEPEND as well. I'm currently specifiyng the following ebuilds manually dev-libs/oniguruma dev-libs/libxml2 dev-db/postgresql-base to get all ldepds working; my use flags are: [ebuild R ~] dev-lang/php-5.4.0 to /opt/distro-builder/project/rootfs/ USE="bzip2 cgi cli ctype fileinfo filter hash iconv json pcntl phar posix postgres readline simplexml tokenizer unicode xml -apache2 -bcmath -berkdb -calendar -cdb -cjk -crypt -curl -curlwrappers -debug -doc -embed -enchant -exif -firebird -flatfile -fpm -frontbase -ftp -gd -gdbm -gmp -imap -inifile -intl -iodbc -ipv6 -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysql -mysqli -mysqlnd -nls -oci8-instant-client -odbc -pdo -pic -qdbm -recode -session -sharedmem -snmp -soap -sockets -spell -sqlite3 -ssl -sybase-ct -sysvipc -threads -tidy -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip -zlib" 0 kB [1] (In reply to comment #2) > (In reply to comment #1) > > (In reply to comment #0) > > > When emerging PHP to an alternative ROOT (e.g. when bootstrapping custom > > > distributions), a lot of the dependencies are installed into the / system > > > (for example dev-db/postgresql-base when USE-ing postgres). > > > > This cannot be simply fixed in dev-lang/php ebuilds. It's a broad issue that > > cannot be handled in a single bug report. > > > > > This results in an error on the target system when executing php because it > > > cannot load all shared object files (because they were not installed into > > > ROOT). > > > > > > The PHP ebuild uses mostly DEPEND and not RDEPEND to specify it's > > > dependencies, which is ok for compiling PHP, but fails when executing the > > > php binary. > > > > Please tell which DEPENDs should be in RDEPEND as well. > > I'm currently specifiyng the following ebuilds manually > > dev-libs/oniguruma > dev-libs/libxml2 > dev-db/postgresql-base > > to get all ldepds working; my use flags are: > > [ebuild R ~] dev-lang/php-5.4.0 to /opt/distro-builder/project/rootfs/ > USE="bzip2 cgi cli ctype fileinfo filter hash iconv json pcntl phar posix > postgres readline simplexml tokenizer unicode xml -apache2 -bcmath -berkdb > -calendar -cdb -cjk -crypt -curl -curlwrappers -debug -doc -embed -enchant > -exif -firebird -flatfile -fpm -frontbase -ftp -gd -gdbm -gmp -imap -inifile > -intl -iodbc -ipv6 -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql > -mysql -mysqli -mysqlnd -nls -oci8-instant-client -odbc -pdo -pic -qdbm > -recode -session -sharedmem -snmp -soap -sockets -spell -sqlite3 -ssl > -sybase-ct -sysvipc -threads -tidy -truetype -wddx -xmlreader -xmlrpc > -xmlwriter -xpm -xsl -zip -zlib" 0 kB [1] UPDATE: I just saw that the RDEPEND option has been updated in the newest ebuild. Thanks, that should do the trick. seems to be fixed, then. |