Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2018 08:54:16 +0100
From:      Stefan Esser <se@freebsd.org>
To:        Jonathan Chen <jonc@chen.org.nz>, stephen@missouri.edu
Cc:        yuripv@yuripv.net, alexvpetrov@gmail.com, ports@freebsd.org, gecko@freebsd.org
Subject:   Re: FreeBSD Port: firefox-63.0.1,1 multiple errors build
Message-ID:  <34bc8745-8e5b-7600-124c-9e09dac06789@freebsd.org>
In-Reply-To: <CAJuc1zMJop7aX4-aEQH%2B1-X0Y4EJeTOEn_5K=xv4j5M0RK7J5Q@mail.gmail.com>
References:  <dcd812a4-4523-f93f-c05b-bb56d2bdbda3@gmail.com> <44d54f38-9ee4-2f32-cb74-0df2e0da20a6@missouri.edu> <89244b15-0707-ee21-ef03-a197282e0491@yuripv.net> <66ca8a73-8ab5-dcb9-7e72-776d39167401@yuripv.net> <8a39ffbe-5d9e-15ff-bee3-51ce850ad679@missouri.edu> <CAJuc1zMJop7aX4-aEQH%2B1-X0Y4EJeTOEn_5K=xv4j5M0RK7J5Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 01.11.18 um 03:38 schrieb Jonathan Chen:
> On Thu, 1 Nov 2018 at 15:35, Montgomery-Smith, Stephen
> <stephen@missouri.edu> wrote:
> [...]
>> I only started using portupgrade recently.  I find it rather unreliable.
>>  I think the problem is that some ports need to be deleted before they
>> can be built successfully.
> 
> For reliable port builds, you need use port builders that use clean
> environments; ie poudriere or synth

True, but we used to make ports build with a previous version installed,
whenever possible. The problems are generally caused by the build process
picking up include files or libraries from LOCALBASE instead of from the
port's source directory.

I'd expect a port maintainer to check for easy fixes to such build problems.

Maybe we should add a port variable that is true if a port conflicts with
earlier versions of itself. That would indicate to port build tools like
portmaster or portupgrade that the old version should be deleted before
starting the build of the new version (and to re-install the old version
if the build of the new one fails).

E.g.:

CONFLICTS_WITH_ITSELF=	yes

I'd be willing to integrate support for such a functionality into portmaster,
if it was accepted in the ports framework.

Regards, STefan

PS: And yes, there are good reasons to keep support for tools that are
    lighter-weight than poudriere and more portable than synth in the
    ports system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34bc8745-8e5b-7600-124c-9e09dac06789>