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

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Fri, 01 Jan 2021 23:06:56 +0100
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
Received on Fri Jan 01 2021 - 21:07:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC