"stale work directory" error

walt wa1ter at myrealbox.com
Tue Dec 26 08:22:19 PST 2006


Huub wrote:
>>
>> The one time I saw a similar error message, it turned out to be
>> correct:  there was a 'work' directory left over from a previous
>> (failed) build attempt.  Removing the old 'work' directory fixed
>> the problem.
> 
> Thank you, but after removal it continues with this error:
> 
> work -> /usr/obj/pkgsrc/devel/glib2/work
> WARNING: Package version glib2-2.12.1 in /usr/obj/pkgsrc/devel/glib2/work
> WARNING: Current version glib2-2.12.4nb1 in devel/glib2
> WARNING: Cleaning and rebuilding glib2-2.12.4nb1...
> ===> Cleaning for glib2-2.12.4nb1
> ===> Installing for glib2-2.12.4nb1
> cannot create /usr/obj/pkgsrc/devel/glib2/work/.install_makevars.mk.tmp:
> directory nonexistent
> *** Error code 2
> 
> Any idea about this one?

Hm.  I guess you must have WRKOBJDIR set to /usr/obj in mk.conf?  I've
never done that, so there may be extra foot-shooting potential I'm
not aware of.

Does /usr/obj/pkgsrc/devel/glib2/work exist, or not?  Is there a
/usr/pkgsrc/devel/glib2/work directory perhaps?





More information about the Users mailing list