Re: fail to compile NetBSD current from Linux at second attempt

Ramiro Aceves <[email protected]> Fri, 12 Jun 2026 13:26:46 +0200
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>

El 11/6/26 a las 14:07, Robert Elz escribió:
>      Date:        Thu, 11 Jun 2026 13:49:58 +0200
>      From:        Ramiro Aceves <[email protected]>
>      Message-ID:  <[email protected]>
> 
>    | just wanted to know wether I was doing something wrong.
> 
> No, nothing wrong at all, you're correctly fetching our broken
> source trees, which are "correctly" failing to build...
> 
> You shouldn't normally need -A on the cvs update though, that's
> needed only after you have updated to some other version, and
> want to forget that and go back to head.

Hello

I was reading The Guide and remembered what you wrote in the list when reading 
the following:

     32.4.3. Fetching the NetBSD-current development branch

     To obtain the NetBSD-current source just omit “-r <BRANCH>” and replace it 
with “-A”:

     $ cd /usr
     $ cvs checkout -A -P src

     The “xsrc” module is obtained the same way:

     $ cd /usr
     $ cvs checkout -A -P xsrc

     To update your NetBSD-current source tree, add the -A flag:

     $ cd /usr/src
     $ cvs update -A -dP

     The same applies to the “xsrc” module, but in that case you will have to 
change your working directory to /usr/xsrc first.


Then I believe that the sentence "To update your NetBSD-current source tree, add 
the -A flag" is wrong cause if you are in NetBSD-current -A should not be 
needed. Only "cvs update -dP" should be needed. Please correct me if I am wrong.

Thanks.
Ramiro.





> 
> If you want to try something that should build now, do
> 
> 	cvs update -r netbsd-11 -dP
> 
> (the -P here is redundant, the branch switch implies it, but
> it is good practice to specify on all cvs update commands)
> 
> This will switch your sources to the netbsd-11 branch (you'll only
> need the -r option once, then as long as you don't use -A, you'll
> remain on that branch (which gets fare less frequent changes
> than HEAD does, there can be weeks between any updates).
> 
> A later update with -A (and no -r) will return you to HEAD.
> 
> kre