Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124246 - phpmyadmin php dependency
Summary: phpmyadmin php dependency
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 04:25 UTC by fabien
Modified: 2006-02-27 05:18 UTC (History)
0 users

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 fabien 2006-02-27 04:25:07 UTC
I am working with PHP4.4.0-R4 and when i want to install phpmyadmin i have this message :

# emerge -pvd phpmyadmin

These are the packages that I would merge, in order:

Calculating dependencies
Parent:    None
Depstring: dev-db/phpmyadmin
Candidates: ['dev-db/phpmyadmin']
ebuild: dev-db/phpmyadmin-2.7.0_p1
binpkg: None
 -
Parent:    ebuild / dev-db/phpmyadmin-2.7.0_p1 merge
Depstring: >=dev-db/mysql-3.23.32 <dev-db/mysql-5.1 sys-apps/findutils dev-lang/php !bootstrap? ( sys-devel/patch ) app-admin/webapp-config !bootstrap? ( sys-devel/patch ) dev-lang/php app-admin/webapp-config
Candidates: ['dev-lang/php']
ebuild: dev-lang/php-5.0.5-r5
binpkg: None
 \
Parent:    ebuild / dev-lang/php-5.0.5-r5 merge
Depstring: apache2? ( >=net-www/apache-2.0.54-r30 ) !apache2? ( apache? ( =net-www/apache-1* ) ) app-admin/php-toolkit !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) !dev-php/php !dev-php/php-cgi !dev-php/mod_php >=sys-devel/m4-1.4.3 >=sys-devel/libtool-1.5.18 >=sys-devel/automake-1.9.6 sys-devel/automake-wrapper >=sys-devel/autoconf-2.59 sys-devel/autoconf-wrapper berkdb? ( =sys-libs/db-4* ) bzip2? ( app-arch/bzip2 ) cdb? ( dev-db/cdb ) crypt? ( >=dev-libs/libmcrypt-2.4 ) curl? ( >=net-misc/curl-7.10.5 ) fdftk? ( app-text/fdftk ) firebird? ( dev-db/firebird ) gd? ( >=media-libs/jpeg-6b media-libs/libpng ) gd-external? ( media-libs/gd ) gdbm? ( >=sys-libs/gdbm-1.8.0 ) gmp? ( dev-libs/gmp ) imap? ( virtual/imap-c-client ) iodbc? ( dev-db/libiodbc ) kerberos? ( virtual/krb5 ) ldap? ( >=net-nds/openldap-1.2.11 ) libedit? ( dev-libs/libedit ) mhash? ( app-crypt/mhash ) ming? ( media-libs/ming ) mssql? ( dev-db/freetds ) mysql? ( dev-db/mysql ) mysqli? ( >=dev-db/mysql-4.1 ) ncurses? ( sys-libs/ncurses ) nls? ( sys-devel/gettext ) oci8-instant-client? ( dev-db/oracle-instantclient-basic ) odbc? ( >=dev-db/unixODBC-1.8.13 ) postgres? ( >=dev-db/libpq-7.1 ) qdbm? ( dev-db/qdbm ) readline? ( sys-libs/readline ) recode? ( app-text/recode ) sasl? ( dev-libs/cyrus-sasl ) sharedmem? ( dev-libs/mm ) simplexml? ( >=dev-libs/libxml2-2.6.8 ) snmp? ( >=net-analyzer/net-snmp-5.2 ) soap? ( >=dev-libs/libxml2-2.6.8 ) spell? ( >=app-text/aspell-0.50 ) ssl? ( >=dev-libs/openssl-0.9.7 ) sybase? ( dev-db/freetds ) tidy? ( app-text/htmltidy ) tiff? ( media-libs/tiff ) truetype? ( =media-libs/freetype-2* >=media-libs/t1lib-5.0.0 ) wddx? ( >=dev-libs/libxml2-2.6.8 ) xml? ( >=dev-libs/libxml2-2.6.8 ) xmlrpc? ( >=dev-libs/libxml2-2.6.8 ) xpm? ( || ( x11-libs/libXpm virtual/x11 ) ) xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) zlib? ( sys-libs/zlib ) virtual/mta !media-libs/libswf apache2? ( >=net-www/apache-2.0.54-r30 ) !apache2? ( apache? ( =net-www/apache-1* ) ) apache2? ( >=net-www/apache-2.0.54-r30 ) !apache2? ( apache? ( =net-www/apache-1* ) ) app-admin/php-toolkit !dev-php/php !dev-php/php-cgi !dev-php/mod_php >=sys-devel/m4-1.4.3 >=sys-devel/libtool-1.5.18 >=sys-devel/automake-1.9.6 sys-devel/automake-wrapper >=sys-devel/autoconf-2.59 sys-devel/autoconf-wrapper berkdb? ( =sys-libs/db-4* ) bzip2? ( app-arch/bzip2 ) cdb? ( dev-db/cdb ) crypt? ( >=dev-libs/libmcrypt-2.4 ) curl? ( >=net-misc/curl-7.10.5 ) fdftk? ( app-text/fdftk ) firebird? ( dev-db/firebird ) gd? ( >=media-libs/jpeg-6b media-libs/libpng ) gd-external? ( media-libs/gd ) gdbm? ( >=sys-libs/gdbm-1.8.0 ) gmp? ( dev-libs/gmp ) imap? ( virtual/imap-c-client ) iodbc? ( dev-db/libiodbc ) kerberos? ( virtual/krb5 ) ldap? ( >=net-nds/openldap-1.2.11 ) libedit? ( dev-libs/libedit ) mhash? ( app-crypt/mhash ) ming? ( media-libs/ming ) mssql? ( dev-db/freetds ) mysql? ( dev-db/mysql ) mysqli? ( >=dev-db/mysql-4.1 ) ncurses? ( sys-libs/ncurses ) nls? ( sys-devel/gettext ) oci8-instant-client? ( dev-db/oracle-instantclient-basic ) odbc? ( >=dev-db/unixODBC-1.8.13 ) postgres? ( >=dev-db/libpq-7.1 ) qdbm? ( dev-db/qdbm ) readline? ( sys-libs/readline ) recode? ( app-text/recode ) sasl? ( dev-libs/cyrus-sasl ) sharedmem? ( dev-libs/mm ) simplexml? ( >=dev-libs/libxml2-2.6.8 ) snmp? ( >=net-analyzer/net-snmp-5.2 ) soap? ( >=dev-libs/libxml2-2.6.8 ) spell? ( >=app-text/aspell-0.50 ) ssl? ( >=dev-libs/openssl-0.9.7 ) sybase? ( dev-db/freetds ) tidy? ( app-text/htmltidy ) tiff? ( media-libs/tiff ) truetype? ( =media-libs/freetype-2* >=media-libs/t1lib-5.0.0 ) wddx? ( >=dev-libs/libxml2-2.6.8 ) xml? ( >=dev-libs/libxml2-2.6.8 ) xmlrpc? ( >=dev-libs/libxml2-2.6.8 ) xpm? ( || ( x11-libs/libXpm virtual/x11 ) ) xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) zlib? ( sys-libs/zlib ) virtual/mta !media-libs/libswf
Candidates: ['app-admin/php-toolkit', '!dev-php/php-cgi', '!media-libs/libswf', '>=sys-devel/m4-1.4.3', '!dev-php/mod_php', '!dev-php/php', '>=sys-devel/automake-1.9.6']
ebuild: app-admin/php-toolkit-1.0-r2
binpkg: None
 |
Parent:    ebuild / app-admin/php-toolkit-1.0-r2 merge
Depstring: !app-admin/eselect-php !app-admin/eselect-php
Candidates: ['!app-admin/eselect-php']
Myparent ebuild / app-admin/php-toolkit-1.0-r2 merge
 /Exiting... ebuild / app-admin/php-toolkit-1.0-r2 merge
Myparent ebuild / dev-lang/php-5.0.5-r5 merge
 -Myparent ebuild / dev-lang/php-5.0.5-r5 merge
 \ebuild: sys-devel/m4-1.4.3
binpkg: None
 |
Parent:    ebuild / sys-devel/m4-1.4.3 merge
Depstring: nls? ( sys-devel/gettext ) !bootstrap? ( sys-devel/patch )
Myparent ebuild / dev-lang/php-5.0.5-r5 merge
 /Myparent ebuild / dev-lang/php-5.0.5-r5 merge
 -ebuild: sys-devel/automake-1.9.6-r1
binpkg: None
 \
Parent:    ebuild / sys-devel/automake-1.9.6-r1 merge
Depstring: !app-text/dgs dev-lang/perl sys-devel/automake-wrapper >=sys-devel/autoconf-2.59-r6 >=sys-apps/texinfo-4.7 sys-devel/gnuconfig sys-apps/help2man !bootstrap? ( sys-devel/patch ) !app-text/dgs dev-lang/perl sys-devel/automake-wrapper >=sys-devel/autoconf-2.59-r6 >=sys-apps/texinfo-4.7 sys-devel/gnuconfig
Candidates: ['!app-text/dgs']
Myparent ebuild / sys-devel/automake-1.9.6-r1 merge
 |Exiting... ebuild / sys-devel/automake-1.9.6-r1 merge
Exiting... ebuild / dev-lang/php-5.0.5-r5 merge

Parent:    None
Depstring: doc? ( app-doc/php-docs ) java-external? ( dev-php5/php-java-bridge ) mcve? ( dev-php5/pecl-mcve ) pdo-external? ( dev-php5/pecl-pdo ) yaz? ( dev-php5/pecl-yaz ) zip? ( dev-php5/pecl-zip )
Exiting... ebuild / dev-db/phpmyadmin-2.7.0_p1 merge
Exiting... None
 ...done!
[empty/missing/bad digest]: app-admin/php-toolkit-1.0-r2
[blocks B     ] dev-php/php-cgi (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[ebuild  N    ] app-admin/php-toolkit-1.0-r2  0 kB
[ebuild     U ] sys-devel/m4-1.4.3 [1.4.2-r1] +nls 298 kB
[ebuild     U ] sys-devel/automake-1.9.6-r1 [1.9.5] 747 kB
[ebuild  N    ] dev-lang/php-5.0.5-r5  -adabas -apache +apache2 -bcmath +berkdb -birdstep +bzip2 -calendar -cdb -cgi -cjk -cli +crypt -ctype +curl -curlwrappers -db2 -dba -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd -gd-external +gdbm -gmp -hardenedphp -hyperwave-api -iconv -imap -informix -inifile -interbase -iodbc +ipv6 -java-external -kerberos -ldap -libedit -mcve +memlimit +mhash -ming -mnogosearch -msql -mssql +mysql -mysqli +ncurses +nls -oci8 -oci8-instant-client -odbc -oracle7 -ovrimos -pcntl +pcre -pdo-external -pfpro -pic -posix -postgres -qdbm +readline -recode -sapdb -sasl -session -sharedext -sharedmem -simplexml +snmp -soap -sockets -solid +spell -spl -sqlite +ssl -sybase -sybase-ct -sysvipc -threads -tidy -tiff -tokenizer +truetype -wddx -xml -xmlrpc -xpm -xsl -yaz -zip +zlib 4,797 kB
[ebuild  N    ] dev-db/phpmyadmin-2.7.0_p1  -vhosts 1,916 kB

Total size of downloads: 7,759 kB


I think the dependency with php-5 is good but we need also to have the dependency to php-4

Tkx
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-27 04:34:31 UTC
phpmyadmin uses depend.php and has NO php-version specific dependencies, i.e., can work w/ all PHP versions in portage (need_php). If you don't want php-5*, then you need to package.mask it, that's how portage slots behave.
Comment 2 fabien 2006-02-27 05:05:32 UTC
Ok, i have add the dev-lang/php to the package.mask file but i have always a problem.

cat packages.mask

>=dev-lang/php-5

I am working with dev-php/php and dev-php/php-cgi and i need to install dev-lang/php to have phpmyadmin.

In conclusion i need to have 2 compiled package of php for phpmyadmin and it isn't the best solution.


[empty/missing/bad digest]: app-admin/php-toolkit-1.0-r2
[blocks B     ] dev-php/php-cgi (is blocking dev-lang/php-4.4.1-r3)
[blocks B     ] dev-php/php (is blocking dev-lang/php-4.4.1-r3)
[ebuild  N    ] app-admin/php-toolkit-1.0-r2  0 kB
[ebuild     U ] sys-devel/m4-1.4.3 [1.4.2-r1] +nls 298 kB
[ebuild     U ] sys-devel/automake-1.9.6-r1 [1.9.5] 747 kB
[ebuild  N    ] dev-lang/php-4.4.1-r3  -adabas -apache +apache2 -bcmath +berkdb -birdstep +bzip2 -calendar -cdb -cgi -cjk -cli +crypt -ctype +curl -db2 -dba -dbase -dbmaker -dbx -debug -discard-path -doc -empress -empress-bcs -esoob -exif +expat -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp +gd -gd-external +gdbm -gmp -hardenedphp -hyperwave-api -iconv -imap -informix -inifile -interbase -iodbc +ipv6 -java-external -java-internal -kerberos -ldap -libedit -mcal -mcve +memlimit +mhash -ming -mnogosearch -msql -mssql +mysql +ncurses +nls -oci8 -oci8-instant-client -odbc -oracle7 -overload -ovrimos -pcntl +pcre -pfpro -pic -posix -postgres +readline -recode -sapdb -session -sharedext -sharedmem +snmp -sockets -solid +spell -sqlite +ssl -sybase -sybase-ct -sysvipc -threads -tiff -tokenizer +truetype -wddx -xml -xmlrpc -xpm -xsl -yaz -zip +zlib 4,072 kB
[ebuild  N    ] dev-db/phpmyadmin-2.7.0_p1  -vhosts 1,916 kB


Other test: 

cat packages.mask

dev-lang/php

In this case i have a error because i have only dependency to dev-lang/php.

These are the packages that I would merge, in order:

Calculating dependencies
Parent:    None
Depstring: dev-db/phpmyadmin
Candidates: ['dev-db/phpmyadmin']
ebuild: dev-db/phpmyadmin-2.7.0_p1
binpkg: None
 -
Parent:    ebuild / dev-db/phpmyadmin-2.7.0_p1 merge
Depstring: >=dev-db/mysql-3.23.32 <dev-db/mysql-5.1 sys-apps/findutils dev-lang/php !bootstrap? ( sys-devel/patch ) app-admin/webapp-config !bootstrap? ( sys-devel/patch ) dev-lang/php app-admin/webapp-config
Candidates: ['dev-lang/php']

!!! All ebuilds that could satisfy "dev-lang/php" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-lang/php-5.1.1 (masked by: package.mask, ~x86 keyword)
- dev-lang/php-4.3.11-r5 (masked by: package.mask)
- dev-lang/php-4.4.1-r3 (masked by: package.mask)
- dev-lang/php-5.0.5-r5 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "dev-db/phpmyadmin-2.7.0_p1" [ebuild])


Best Regards

Comment 3 Sven Wegener gentoo-dev 2006-02-27 05:09:34 UTC
dev-php/php* ist obsolete, replaced by dev-lang/php with the apache/apache2/cgi/cli USE flags
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-02-27 05:18:31 UTC
Please, read the following guide:

http://www.gentoo.org/proj/en/php/php-upgrading.xml