Re: etcupdate: Failed to build new tree
On 7/2/21 2:30 AM, Nuno Teixeira wrote: Hello, Last update I have some issues with etcupdate: etcupdate warning: "No previous tree to compare against, a sane comparison is not possible." That I corrected with: etcupdate extract etcupdate diff > /tmp/etc.diff patch -R < /tmp/etc.diff (etcupdate diff doesn't show any diffs.) Today I've just updated current and etcupdate -p gives: "Failed to build new tree" What might be wrong? You can look in /var/db/etcupdate/log to check for errors. -- John Baldwin
Re: etcupdate: Failed to build new tree
On Fri, Jul 2, 2021 at 2:31 AM Nuno Teixeira wrote: > Hello, > > Last update I have some issues with etcupdate: > > etcupdate warning: "No previous tree to compare against, a sane comparison > is not possible." > > That I corrected with: > > etcupdate extract > etcupdate diff > /tmp/etc.diff > patch -R < /tmp/etc.diff > (etcupdate diff doesn't show any diffs.) > > Today I've just updated current and etcupdate -p gives: > > "Failed to build new tree" > > What might be wrong? > > Thanks > Nuno Teixeira > I'm no expert. In fact, I just started using etcupdate in the past couple of months but I think you need to read the man page section on "Default Mode". In most cases, it looks to me like there is no reason to specify the mode. Default Mode just does the right thing when starting from scratch. There are clearly reasons to use the modes for various reasons. but I don't think it should be used in most cases. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Re: etcupdate failed to build new tree
On 2021-01-01 11:01, Graham Perrin wrote: At what should have been the end of my first upgrade since the transition to git: cd /usr/src/freebsd-current && make installworld && etcupdate 𠄴– concluded with a successful installworld, then a few lines about scanning and skipping certificates, then: Failed to build new tree. I see the manual page for etcupdate(8) but I'm not sure how to proceed. 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. For years now I have always initiated a simple failsafe # cp -Rp /etc /eetc prior to (build|install) (world|kernel) because you just never know. ;-) Happy 20201! --Chris ___ 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"
Re: etcupdate failed to build new tree
On Fri, 01 Jan 2021 20:01:16 +0100, Graham Perrin wrote: > > At what should have been the end of my first upgrade since the > transition to git: > > cd /usr/src/freebsd-current && make installworld && etcupdate > > 𠄴– concluded with a successful installworld, then a few lines about > scanning and skipping certificates, then: > > > Failed to build new tree. > > I see the manual page for etcupdate(8) but I'm not sure how to proceed. -s source Specify an alternate source tree to use when building or extracting a “current” tree. The default source tree is /usr/src. > > > 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). -- 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"