Re: mergemaster option -m (was: etcupdate failed to build new tree)

2021-01-01 Thread Herbert J. Skuhra
On Fri, 01 Jan 2021 21:29:45 +0100, Graham Perrin wrote:
> 
> On 01/01/2021 19:24, Herbert J. Skuhra wrote:
> 
> > On Fri, 01 Jan 2021 20:01:16 +0100, Graham Perrin wrote:
> > 
> >> …
> >> 
> >> I did try `mergemaster -p` and somehow (!) ended up with an empty
> >> `/etc/group` file. Dug myself out of that hole, I'll prefer to
> >> continue using etcupdate.
> > -m /path/to/sources
> >   Specify the path to the directory where you want to do the
> >   make(1).
> 
> 
> Thank you, what path would you suggest?
> 
> (Given the previous weirdness, I want to make no guesses here.)

1. Your SOURCEDIR is /usr/src/freebsd-current and not /usr/src.

Unlike etcupdate mergemaster checks for Makefile1.inc in the working
directory and asks to set SOURCEDIR accordingly:

*** /usr/src was not found.
Found Makefile.inc1 in the current directory.
Would you like to set SOURCEDIR to /mnt2/src? [no and exit]

Did you see this prompt?

2. Do you have (old) files (e.g. Makefile.inc1) or directories
(e.g. etc) in /usr/src?

Is this problem reproducible? Does it work if use -m switch, e.g:
'mergemaster -m .' or 'mergemaster -m /usr/src/freebsd-current'?

--
Herbert
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


mergemaster option -m (was: etcupdate failed to build new tree)

2021-01-01 Thread Graham Perrin

On 01/01/2021 19:24, Herbert J. Skuhra wrote:


On Fri, 01 Jan 2021 20:01:16 +0100, Graham Perrin wrote:


…

I did try `mergemaster -p` and somehow (!) ended up with an empty
`/etc/group` file. Dug myself out of that hole, I'll prefer to
continue using etcupdate.

-m /path/to/sources
  Specify the path to the directory where you want to do the
  make(1).



Thank you, what path would you suggest?

(Given the previous weirdness, I want to make no guesses here.)

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"