From owner-freebsd-ports@freebsd.org Sat Jun 10 15:39:17 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDCEABF00A2 for ; Sat, 10 Jun 2017 15:39:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A6B87D128; Sat, 10 Jun 2017 15:39:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::d0b1:267f:d42b:9ca0] (unknown [IPv6:2001:470:7a58:0:d0b1:267f:d42b:9ca0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id BAEA019988; Sat, 10 Jun 2017 17:39:14 +0200 (CEST) From: Dimitry Andric Message-Id: <7636FE17-F495-4D78-A095-0EEB6C43F60E@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_E9BFF4B2-7DC9-4FC9-BFC2-CA7D4F1A0DE6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Unable to upgrade from Samba43 to Samba44 or Samba45 Date: Sat, 10 Jun 2017 17:39:08 +0200 In-Reply-To: <36734108-cebb-bf46-dfc0-5604da518ab6@freebsd.org> Cc: freebsd-ports@freebsd.org To: Stefan Esser References: <76204B0C-8ED3-4A6B-B278-EFB81CED5A3F@FreeBSD.org> <36734108-cebb-bf46-dfc0-5604da518ab6@freebsd.org> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2017 15:39:17 -0000 --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 wrote: >=20 > Am 08.06.17 um 21:15 schrieb Dimitry Andric: >> On 8 Jun 2017, at 20:35, Mark Knight 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--