Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 19:13:12 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        ports@FreeBSD.org
Subject:   Re: CONFLICTS not working as expected
Message-ID:  <20060927191312.4b26cbe5@localhost>
In-Reply-To: <20060926204203.GA1086@underworld.novel.ru>
References:  <20060926114220.31363149@localhost> <20060926204203.GA1086@underworld.novel.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_88JuF3KF33/hRG+VJJRith_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Roman Bogorodskiy <novel@FreeBSD.org> wrote:

>   Fabian Keil wrote:

> > My system is FreeBSD 6.2-PRERELEASE, and I have the feeling
> > that CONFLICTS aren't working at all, at least for the "conflicting"
> > ports I tried:
> >=20
> > porttest# pkg_info | egrep -e '^(gnutls|tor-|privoxy)'
> > gnutls-1.4.4        GNU Transport Layer Security library
> > gnutls-devel-1.5.0  GNU Transport Layer Security library
> > privoxy-3.0.3_5     Privoxy is a web proxy with advanced filtering
> > capabilities privoxy-devel-3.0.5 A web proxy with advanced filtering
> > capabilities tor-0.1.1.23        An anonymizing overlay network for TCP
> > tor-devel-0.1.2.1   An anonymizing overlay network for TCP
> >=20
> > There is a PR about CONFLICTS being ignored if DESTDIR
> > is set (http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/102300),
> > but it is supposed to be fixed and I'm not using DESTDIR anyway.
>=20
> It's actually about that CONFLICTS does *not* work with default (not
> set) DESTDIR. However, current DESTDIR implementation is going to be
> replaced with the new one which would probably avoid this inconvenient
> bug.=20

You're right of course. I should have read the whole PR,
not just parts of it.

It also seems to be the cause of my problem.
With DESTDIR set, CONFLICTS are working as expected:

porttest# make package DESTDIR=3D/.
[...]
=3D=3D=3D>  Installing for privoxy-devel-3.0.5 into /.

=3D=3D=3D>  privoxy-devel-3.0.5 conflicts with installed package(s) in /.:=
=20
      privoxy-3.0.3_5

      They install files into the same place.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/www/privoxy-devel.

Thanks.

Fabian
--=20
http://www.fabiankeil.de/

--Sig_88JuF3KF33/hRG+VJJRith_
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFGrEuBYqIVf93VJ0RAstFAKCmNn3wDnqWYiRyWMJrHNM/C3UIuQCglIID
+U3TWTWv4Qc/ToAcWGsUpbo=
=zbCG
-----END PGP SIGNATURE-----

--Sig_88JuF3KF33/hRG+VJJRith_--



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