Subject: Re: 1.5 branch build?
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Andrew Cagney <cagney@mac.com>
List: current-users
Date: 03/13/2002 22:43:14
> On Tue, Mar 12, 2002 at 08:32:07PM -0500, Andrew Cagney wrote:
>
>> >On Mon, Mar 11, 2002 at 10:10:18PM -0500, Andrew Cagney wrote:
>> >
>
>> >>Hello,
>> >>
>> >>When trying to build the 1.5 branch I'm seeing:
>> >>
>> >>obj ===> usr.sbin/cron
>> >>obj ===> usr.sbin/dbsym
>> >>cd: can't cd to /usr/src/usr.sbin/dbsym
>> >>*** Error code 2
>
>> >
>> >
>> >How did you get the source ? dbsym is part of the syssrc CVS module, not
>> >basesrc. To get it:
>> >cd /tmp/
>> >cvs co syssrc/usr.sbin/dbsym
>> >mv syssrc/usr.sbin/dbsym /usr/src/usr.sbin/
>
>>
>> cd src ; cvs update -r netbsd-1-5
(I'd have likely done a: `cvs update -d *' afterwords.)
> OK, at last you need:
> cvs update -dPA -r netbsd-1-5
Your work around explains what happend. I'd checked out the trunk but
on that ``dbsym'' was empty so the directory was pruned (and the
CVS/Repository pointing to the directories real location was lost). When
I went back to the branch, the non-existant directory couldn't be
restored :-(
A final step to your fix:
echo 'D/dbsym////' >> /usr/src/usr.sbin/CVS/Entries
Thanks!
Andrew