* [gentoo-user] depclean / db & php loop
@ 2009-10-31 23:42 Mark Knecht
2009-11-01 2:16 ` [gentoo-user] " walt
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Mark Knecht @ 2009-10-31 23:42 UTC (permalink / raw
To: gentoo-user
Hi,
Earlier today emerge --depclean wouldn't remove db because 3
programs needed it so I rebuilt the 3 programs but it's still
complaining about php. Sometimes I'll just remove the problem package
- like db in this case - and then let an emerge -DuN @world /
revdep-rebuild fix it, but I wanted to be careful with db as it might
be important to portage or eix.
What's the right way to fix this?
If it matters this is a PPC Mac Mini used as a MythTV backend
server. revdep-rebuild -ip says everything is clean and emerge -DuN
@system @world is finished.
Thanks in advance,
Mark
>>> Assigning files to packages...
* In order to avoid breakage of link level dependencies, one or more
* packages will not be removed. This can be solved by rebuilding the
* packages that pulled them in.
*
* sys-libs/db-4.6.21_p4 pulled in by:
* dev-lang/php-5.2.11 needs libdb-4.6.so
*
>>> Adding lib providers to graph... |
Calculating dependencies... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
Packages installed: 353
Packages in world: 35
Packages in system: 52
Required packages: 353
Number to remove: 0
MacMini ~ # emerge -pv php
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/php-5.2.11 USE="apache2 berkdb bzip2 cgi cli
crypt gd gdbm iconv ldap mysql mysqli ncurses nls pcre posix readline
reflection session spell spl ssl truetype unicode xml zlib (-adabas)
-bcmath (-birdstep) -calendar -cdb -cjk -concurrentmodphp -ctype -curl
-curlwrappers (-db2) -dbase (-dbmaker) -debug -discard-path -doc
(-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) -filter
(-firebird) -flatfile -force-cgi-redirect (-frontbase) -ftp
-gd-external -gmp -hash -imap -inifile (-interbase) -iodbc -ipv6
(-java-external) -json -kerberos -kolab -ldap-sasl -libedit -mcve
-mhash -msql -mssql (-oci8) (-oci8-instant-client) -odbc -pcntl -pdo
-pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml
-snmp -soap -sockets (-solid) -sqlite -suhosin (-sybase) (-sybase-ct)
-sysvipc -threads -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter
-xpm -xsl -yaz -zip" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
MacMini ~ #
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: depclean / db & php loop
2009-10-31 23:42 [gentoo-user] depclean / db & php loop Mark Knecht
@ 2009-11-01 2:16 ` walt
2009-11-01 2:26 ` walt
2009-11-01 11:29 ` [gentoo-user] " Neil Bothwick
2 siblings, 0 replies; 6+ messages in thread
From: walt @ 2009-11-01 2:16 UTC (permalink / raw
To: gentoo-user
On 10/31/2009 04:42 PM, Mark Knecht wrote:
> ...
> * sys-libs/db-4.6.21_p4 pulled in by:
> * dev-lang/php-5.2.11 needs libdb-4.6.so
> Calculating dependencies... done!
> [ebuild R ] dev-lang/php-5.2.11 USE="apache2 berkdb bzip2 cgi cli
^^^^^^
Ah, the nomenclature is a bit confusing. libdb is supplied by the "Berkely"
database package (the historical name) but portage calls the package "db".
This "Berkely" distinguishes db from db2 (which is IBM, not Berkely).
Anyway to get rid of the 'db' dependency you need to unset your berkdb USE
flag and rebuild php. Very confusing!
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: depclean / db & php loop
2009-10-31 23:42 [gentoo-user] depclean / db & php loop Mark Knecht
2009-11-01 2:16 ` [gentoo-user] " walt
@ 2009-11-01 2:26 ` walt
2009-11-01 4:13 ` Mark Knecht
2009-11-02 0:43 ` Joshua Murphy
2009-11-01 11:29 ` [gentoo-user] " Neil Bothwick
2 siblings, 2 replies; 6+ messages in thread
From: walt @ 2009-11-01 2:26 UTC (permalink / raw
To: gentoo-user
On 10/31/2009 04:42 PM, Mark Knecht wrote:
> ...
> If it matters this is a PPC Mac Mini used as a MythTV backend
> server...
Oops, I forgot to ask:
It may be very important -- but I don't have a clue what a MythTV
server does or what packages it depends on.
Does your server use something like Apache/php to do the serving,
and do you really need php to do it?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: depclean / db & php loop
2009-11-01 2:26 ` walt
@ 2009-11-01 4:13 ` Mark Knecht
2009-11-02 0:43 ` Joshua Murphy
1 sibling, 0 replies; 6+ messages in thread
From: Mark Knecht @ 2009-11-01 4:13 UTC (permalink / raw
To: gentoo-user
On Sat, Oct 31, 2009 at 7:26 PM, walt <w41ter@gmail.com> wrote:
> On 10/31/2009 04:42 PM, Mark Knecht wrote:
>> ...
>> If it matters this is a PPC Mac Mini used as a MythTV backend
>> server...
>
> Oops, I forgot to ask:
>
> It may be very important -- but I don't have a clue what a MythTV
> server does or what packages it depends on.
>
> Does your server use something like Apache/php to do the serving,
> and do you really need php to do it?
>
Walt,
Thanks for the info on the USE flag. I'll try that tomorrow.
As for Myth and Apache, there is a MythWeb app that allows me to
look at TV listings, what's recorded, what's coming up, etc. I don't
even know what php is so I cannot say whether I need it or not. I
suspect this is the sort of thing where a developer or whoever sets of
basic profiles set something and maybe I could get rid of it if I knew
what it did. It seems to be required by MythWeb and I don't seem to
have any real USE flag control in MythWeb. To me Apache is just a
tool, not an app, so I don't try to optimize how I use it but rather
hope the Gentoo devs are making the right choices.
Again, thanks!
- Mark
MacMini ~ # equery depends php
[ Searching for packages depending on php... ]
www-apps/mythweb-0.21_p17573 (=virtual/httpd-php-5*)
MacMini ~ #
MacMini ~ # emerge -pv mythweb apache
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] www-servers/apache-2.2.11-r2 USE="ldap ssl -debug
-doc (-selinux) -sni -static -suexec -threads"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav
dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id
userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta
-charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy
-proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http
-substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork
-worker" 0 kB
[ebuild R ] www-apps/mythweb-0.21_p17573 USE="-vhosts" 0 kB
Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
MacMini ~ #
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: depclean / db & php loop
2009-11-01 2:26 ` walt
2009-11-01 4:13 ` Mark Knecht
@ 2009-11-02 0:43 ` Joshua Murphy
1 sibling, 0 replies; 6+ messages in thread
From: Joshua Murphy @ 2009-11-02 0:43 UTC (permalink / raw
To: gentoo-user
On Sat, Oct 31, 2009 at 9:26 PM, walt <w41ter@gmail.com> wrote:
> On 10/31/2009 04:42 PM, Mark Knecht wrote:
>> ...
>> If it matters this is a PPC Mac Mini used as a MythTV backend
>> server...
>
> Oops, I forgot to ask:
>
> It may be very important -- but I don't have a clue what a MythTV
> server does or what packages it depends on.
>
> Does your server use something like Apache/php to do the serving,
> and do you really need php to do it?
MythTV is digital video recording software, allowing
watching/recording of things through a tv tuner card, and even
pause/resume of a 'live stream'.
It's heavily dependent on mysql, as I recall, and has the option to
use Apache+PHP to serve up a web based interface, MythWeb, as is
mentioned in the OPs reply to your question. It, however, doesn't use
php's ability to interface with berkley db in any way I'm aware of, so
it should safe to merely rebuild php without the berkdb use flag, then
remove the db package.
--
Poison [BLX]
Joshua M. Murphy
p.s. - for the OP, php is a scripting language that's most commonly
used to provide dynamic web content, and as MythWeb is written in
php... ;)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] depclean / db & php loop
2009-10-31 23:42 [gentoo-user] depclean / db & php loop Mark Knecht
2009-11-01 2:16 ` [gentoo-user] " walt
2009-11-01 2:26 ` walt
@ 2009-11-01 11:29 ` Neil Bothwick
2 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2009-11-01 11:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
On Sat, 31 Oct 2009 16:42:49 -0700, Mark Knecht wrote:
> Earlier today emerge --depclean wouldn't remove db because 3
> programs needed it so I rebuilt the 3 programs but it's still
> complaining about php. Sometimes I'll just remove the problem package
> - like db in this case - and then let an emerge -DuN @world /
> revdep-rebuild fix it, but I wanted to be careful with db as it might
> be important to portage or eix.
>
> What's the right way to fix this?
The way you normally do, unmerge that specific db package then re-emerge
the packages that depended on it. Or, as suggested elsewhere, get rid of
the berkdb USE flag.
--
Neil Bothwick
Voting Democrat or Republican is like choosing a cabin in the Titanic.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-02 0:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-31 23:42 [gentoo-user] depclean / db & php loop Mark Knecht
2009-11-01 2:16 ` [gentoo-user] " walt
2009-11-01 2:26 ` walt
2009-11-01 4:13 ` Mark Knecht
2009-11-02 0:43 ` Joshua Murphy
2009-11-01 11:29 ` [gentoo-user] " Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox