Date: Sat, 10 Jun 2017 06:56:45 +0200 From: Stefan Esser <se@freebsd.org> To: freebsd-ports@freebsd.org Subject: Re: Unable to upgrade from Samba43 to Samba44 or Samba45 Message-ID: <36734108-cebb-bf46-dfc0-5604da518ab6@freebsd.org> In-Reply-To: <76204B0C-8ED3-4A6B-B278-EFB81CED5A3F@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>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 08.06.17 um 21:15 schrieb Dimitry Andric: > On 8 Jun 2017, at 20:35, Mark Knight <lists@knigma.org> wrote: >> >> 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. >> >> 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! >> >> Presumably this implies a bug in the port? > > Not really, more a deficiency in portmaster. The port itself is marked > as conflicting with any other samba port: > > CONFLICTS?= *samba3[2-6]-3.* samba4-4.0.* samba4[1-356]-4.* p5-Parse-Pidl-4.* > > E.g., you should normally not be able to build it when samba43 is > installed. Probably, portmaster is overriding this safety belt somehow. 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. 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). Since port developers typically test ports in poudriere (to get a clean build environment and e,g, to be sure, all dependencies are correctly specified), they often don't notice such conflicts with already installed versions of the same port. Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36734108-cebb-bf46-dfc0-5604da518ab6>