Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2017 17:39:08 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Stefan Esser <se@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Unable to upgrade from Samba43 to Samba44 or Samba45
Message-ID:  <7636FE17-F495-4D78-A095-0EEB6C43F60E@FreeBSD.org>
In-Reply-To: <36734108-cebb-bf46-dfc0-5604da518ab6@freebsd.org>
References:  <c4fa11c9-0b99-4e5d-4a27-5a3ef008c074@knigma.org> <EF4DF6F1-FC06-4EB1-9721-930122C9EFBA@FreeBSD.org> <bb47c723-979a-d64e-0508-7ba3abf20b41@knigma.org> <76204B0C-8ED3-4A6B-B278-EFB81CED5A3F@FreeBSD.org> <36734108-cebb-bf46-dfc0-5604da518ab6@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_E9BFF4B2-7DC9-4FC9-BFC2-CA7D4F1A0DE6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 10 Jun 2017, at 06:56, Stefan Esser <se@freebsd.org> wrote:
>=20
> Am 08.06.17 um 21:15 schrieb Dimitry Andric:
>> On 8 Jun 2017, at 20:35, Mark Knight <lists@knigma.org> wrote:
>>>=20
>>> On 08/06/2017 18:35, Dimitry Andric wrote:
>>>> I'm guessing that it is confused by an existing samba installation. =
 Try
>>>> removing all other samba installations before attempting to build =
this
>>>> port.
>>>=20
>>> Having followed an off-list suggestion to create a package (thanks) =
as a backup, I removed samba43 and established that your "guess" was =
right. Thank you!
>>>=20
>>> Presumably this implies a bug in the port?
>>=20
>> Not really, more a deficiency in portmaster.  The port itself is =
marked
>> as conflicting with any other samba port:
>>=20
>> CONFLICTS?=3D             *samba3[2-6]-3.* samba4-4.0.* =
samba4[1-356]-4.* p5-Parse-Pidl-4.*
>>=20
>> E.g., you should normally not be able to build it when samba43 is
>> installed.  Probably, portmaster is overriding this safety belt =
somehow.
>=20
> I have always understood CONFLICTS to indicate, that some port
> can not be *installed* at the same time as some of the ports listed
> as conflicting.

In fact, you cannot even download the port sources in such a case, e.g:

$ make -C /usr/ports/net/samba44 fetch

=3D=3D=3D>  samba44-4.4.14 conflicts with installed package(s):
      samba46-4.6.4

      They install files into the same place.
      You may want to stop build with Ctrl + C.


> Building such a port while a conflicting version is installed, is
> possible most of the time. If such a build fails, it is most ofter
> due to the build preferring the already installed headers over those
> provided with the new version (i.e. a wrong ordering of include
> paths).

Yes, this is apparently one of the reasons lang/rust even conflicts with
*itself*.  There seems to be something very broken in its build process,
so that it cannot build correctly if any of its files are installed on
the system.

That said, things like this could probably be solved by adding separate
CONFLICTS_BUILD, CONFLICT_FETCH and so on, but it makes it all rather
complicated.

-Dimitry


--Apple-Mail=_E9BFF4B2-7DC9-4FC9-BFC2-CA7D4F1A0DE6
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAlk8EqIACgkQsF6jCi4glqMD4wCdHqYESZCdNOxogXzWHi96PIw9
ed0An2koWSMw0B6fYN+RmuPafbd07TEq
=UDjS
-----END PGP SIGNATURE-----

--Apple-Mail=_E9BFF4B2-7DC9-4FC9-BFC2-CA7D4F1A0DE6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7636FE17-F495-4D78-A095-0EEB6C43F60E>