Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: versioned files in DESTDIR breaking build



Paul Goyette <paul%whooppee.com@localhost> writes:

> On Wed, 9 Jul 2008, Greg Troxel wrote:
>
>> I do update builds usually, and occasionally have to remove stale files.
>> But, it seems like every week I have the following problem, and I wonder
>> if it should be part of build.sh to clean this out.  Or perhaps, to have
>> update not clean the obj dirs but always use a fresh destdir.
>>
>> =======  16 extra files in DESTDIR  =========
>> Files in DESTDIR but missing from flist.
>> File is obsolete or flist is out of date ?
>> ------------------------------------------
>> ./stand/i386/4.99.66
>> ./stand/i386/4.99.66/modules
>> ./stand/i386/4.99.66/modules/cd9660
>> ./stand/i386/4.99.66/modules/cd9660/cd9660.kmod
>> [more]
>> =========  end of 16 extra files  ===========
>
> You get this every time NetBSD-current bumps the verison number!
>
> When we move to 4.99.68, you'll have an old 4.99.67 directory that
> will need cleaning.

Exactly, so I'm suggesting that the build procedure should be changed so
this doesn't happen.  Presumably all these files are getting added to
the obsolete sets list so poinstall fix can remove them; perhaps that
should be run on destdir.


Home | Main Index | Thread Index | Old Index