Subject: Re: Rebuilding all installed packages
To: Martin Husemann <martin@rumolt.teuto.de>
From: Frederick Bruckman <fb@enteract.com>
List: tech-pkg
Date: 03/18/2000 15:32:10
On Sat, 18 Mar 2000, Martin Husemann wrote:

> While updating pkg's I've encountered a problem:
> 
> --8<--
> [/usr/pkgsrc/graphics/Mesa-glx] root@rumolt > make update
> ===> Resuming update for Mesa-glx-tnt-19990804
> ===> Installing for Mesa-glx-tnt-19990804
> ===> Mesa-glx-tnt-19990804 conflicts with installed package(s): Mesa-glx-tnt-19990804  found.
> *** They install the same files into the same place.
> *** Please remove Mesa-glx-tnt-19990804  first with pkg_delete(1).
> *** Error code 1
> -->8--
> 
> Is this to be expected? I realy do want to rebuild that package, no matter if
> the pkg system thinks something changed.

The only way to clear the "Resuming update" is to remove .DDIR from
the work directory. BTW, the fact that "make clean" behaves
differently on systems with object dirs and without seems very broken
to me. I would think that "make clean" should remove the
work-directory, no matter what.