Subject: Re: Desperate! "make update"
To: Jan Danielsson <jan.danielsson@gmail.com>
From: David Brownlee <abs@NetBSD.org>
List: tech-pkg
Date: 10/03/2005 20:06:46
On Sun, 25 Sep 2005, Jan Danielsson wrote:

> John Nemeth wrote:
>> }
>> }    I got desperate and nuked my entire pkgsrc tree, and checked it out
>> } again, to see if that would solve my "make update" problems, but it didn't.
> [---]
>> }    If that doesn't work, I'll have to perform the Windows trick to fix a
>> } problem: Reinstall. :-(
>>
>>      What do you have in /etc/mk.conf?
>
> That's it!
>
> When I move mk.conf out of the way, "make update" works!
>
>   So I moved mk.conf back, and commenting out lines. When I comment out
> the line:
>
> .sinclude "/usr/pkg/share/mk/optimize_gcc.mk"
>
>   ..it works! Turns out it's optimize_gcc.mk which breaks the package
> deinstallation somehow.

 	optimize_gcc.mk played fast and loose with some of the internal
 	pkgsrc make variables. Something which caught up with it due to
 	some recent changes in the pkgsrc infrastructure. If you get
 	pkg_chk 1.62 or later it should not longer have this issue.

-- 
 		David/absolute       -- www.NetBSD.org: No hype required --