portmaster -r libnotify-0 problems

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Sep 9 20:30:45 UTC 2011


On 09/09/2011 15:13, Scott Ballantyne wrote:
> I've been trying to update libnotify and libproxy following the
> instructions in UPDATING, which is to do
> 
> portmaster -r libnotify-0
> 
> This trys to install ghostscript9, and fails. Apparently ghostscript9
> conflicts with ghostscript8-8.71_6, which presumably is the reason for
> the failure.
> 
> Could someone help me resolve this? The obvious solution of pkg_delete
> ghostscript8-8.71_6 doesn't work, because too many installed ports
> depend on ghostscript8-8.71_6.

There are two approaches you might take here.  Either

   * replace ghostscript8 with ghostscript9

or

   * work out why libnotify triggers a dependency on ghostscript9
     and try and make it use ghostscript8 (or nothing) instead.

The first is a relatively mechanical process, which should work fine
from the point of view of doing all the port wrangling, but might result
in further ghostscript8 vs ghostscript9 problems down the line.
Just run:

    # portmaster -o print/ghostscript9 ghostscript8-

That will change the dependency settings in your /var/db/pkg directory,
which may or may not be appropriate for all ghostscript dependent ports,
and indeed some may not work at all.  (Although I rather doubt the
simply not-working thing: functionality between those versions hasn't
changed much at all.)

The second is a more satisfying fix.  Lets see... Try defining

   WITH_GHOSTSCRIPT_VER=8

in /etc/make.conf  (the default is 9 nowadays) -- then try reinstalling
libnotify according to the instructions in UPDATING.

Read /usr/ports/Mk/bsd.port.mk for the details -- search for GHOSTSCRIPT
to find the relevant bits.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110909/b7c7be2e/signature.pgp


More information about the freebsd-questions mailing list