Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Feb 2010 11:31:11 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        Matthew Seaman <m.seaman@black-earth.co.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: CONFLICTS checks during the wrong stage
Message-ID:  <4B6D44EF.8070000@bsdforen.de>
In-Reply-To: <4B6D3C87.3020608@black-earth.co.uk>
References:  <4B6D382B.7080405@bsdforen.de> <4B6D3C87.3020608@black-earth.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> On 06/02/2010 09:36, Dominic Fandrey wrote:
>> It appears CONFLICTS is checked before build instead of checking
>> it before install. Why?
>> ...
> 
> There was a discussion about this over on questions recently, starting here:
> http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/211053.html

Thanks a lot for the pointer. I see I'm not alone with that.

> 
> Lots of people are less than completely satisfied with the change.  The
> whole argument boils down to:
> 
>    * Having to jump through extra hoops in order to do some perfectly
>      reasonable operations such as
>         portupgrade -o new/port -f old/port-it-conflicts-with
> 
> versus:
> 
>    * Accidentally spending a long time compiling a port when a
>      conflicting port is already installed.

It really boils down to the choice of wasting:
a) CPU time and bandwidth
b) brain time

I'd rather waste CPU time.
> 
> Personally I feel that this change is in error -- it's ticking off the
> vast majority of people that manage their ports day-to-day for the sake
> of avoiding some newbie errors that you'ld only tend to make once or
> twice.  Printing out great big warnings at fetch and compile time when a
> conflict is detected seems a much more reasonable response.

The pkg_delete stuff messes up the dependency record in /var/db/pkg.
Not acceptable.

One of the arguments is that some ports link against old versions of
themselves when old versions are around, so it's safer to remove stuff
before building a new version.
I can only disagree here (qt33 and kde3 do this). It means those
ports are broken and ought to be fixed! The ports framework shouldn't
be built to tolerate broken ports.

My workaround is to remove the CONFLICTS line from the Makefiles.
Also not really acceptable, but at least /var/db/pkg doesn't get
corrupted.

Anyway, I have decided to follow evil to its root and request
revocation:
http://www.freebsd.org/cgi/query-pr.cgi?pr=137855

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 



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