Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2005 14:04:32 -0400
From:      Mark Bucciarelli <mark@gaiahost.coop>
To:        freebsd-questions@freebsd.org
Subject:   Stale dependency question
Message-ID:  <20050913180432.GF924@rabbit>

next in thread | raw e-mail | index | archive | help
On a 5.4 box, pkgdb -F is reporting stale PHP dependencies and I'm
not sure of the correct way to fix it. For example (one of nine such
messages):

        php5-mysql-5.0.4_2 -> php5-5.0.4_2 (lang/php).

We have php5-cgi-5.0.4_2 installed, not php5-5.0.4_2.  So ...

    1. Portversion tells me that php5-cgi needs upgrading--will doing a
       portupgrade on php5-cgi fix this stale dependency?

    2. Or should I replace the php5 dependency with the php5-cgi when
       running pkgdb -F?

Where can I view a list of a port's dependencies? I tried poking
around the ports directories to figure out the dependencies, but
/usr/ports/databases/php5-mysql just has a Makefile which points to
../../lang/php5 as the MASTERDIR. Likewise, /usr/ports/www/php5-cgi just
has a Makefile that points to lang/php5.

This is inside a jail, with /usr/ports mounted nullfs from the jails
container. In the container, I did a cvsup and portsdb -Uu. Then in the
jail, I do pkgdb -F.

Let's see, the only other thing that might be relevant is that as part
of the original php5-cgi install, I renamed and moved the php binary
to a different place. Then, when pear needed the php binary, we make
a symlink from the moved and renamed binary back to the where pear
expected it.

Regards,

m




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050913180432.GF924>