Re: mergemaster broken in r299288

2016-05-10 Thread Hannes Mehnert
On 10/05/2016 11:06, Hannes Mehnert wrote:
> # mergemaster
> 
> *** Creating the temporary root environment in /var/tmp/temproot
>  *** /var/tmp/temproot ready for use
>  *** Creating and populating directory structure in /var/tmp/temproot
> 
> sed: 1: "s/compat$/files/": bad flag in substitute command: 's'
> 
>   *** FATAL ERROR: Cannot 'cd' to ~/freebsd and install files to
>   the temproot environment
> 
> any hints?

cause is etc/Makefile line 333 (did sed change its semantics?)
 .if ${MK_NIS} == "no"
   sed -i "" -e 's/.*_compat:/# &/' -e 's/compat$$/files/' \
${DESTDIR}/etc/nsswitch.conf
 .endif

___
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 broken in r299288

2016-05-10 Thread Hannes Mehnert
# mergemaster

*** Creating the temporary root environment in /var/tmp/temproot
 *** /var/tmp/temproot ready for use
 *** Creating and populating directory structure in /var/tmp/temproot

sed: 1: "s/compat$/files/": bad flag in substitute command: 's'

  *** FATAL ERROR: Cannot 'cd' to ~/freebsd and install files to
  the temproot environment

any hints?


thx,

hannes
___
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"


r255954: mergemaster broken! "/usr/src/etc/periodic/daily/Makefile" line 27: Malformed conditional (${MK_BIND_NAMED} != "no") make[4]: Fatal errors

2013-09-30 Thread O. Hartmann

*** Creating the temporary root environment in /var/tmp/temproot
 *** /var/tmp/temproot ready for use
 *** Creating and populating directory structure in /var/tmp/temproot

make[4]: "/usr/src/etc/periodic/daily/Makefile" line 27: Malformed
conditional (${MK_BIND_NAMED} != "no") make[4]: Fatal errors
encountered -- cannot continue *** FATAL ERROR: Cannot 'cd' to /usr/src
and install files to the temproot environment

root@gate [src] make update
--
>>> Updating /usr/src using Subversion
--
Updating '.':
At revision 255954.


signature.asc
Description: PGP signature


Re: mergemaster broken

2003-07-22 Thread Doug Barton
I'll take a look at this, thanks.

On Tue, 22 Jul 2003, Ruslan Ermilov wrote:

> On Sun, Jul 06, 2003 at 08:21:14PM -0700, Gregory Neil Shapiro wrote:
> > > > mergemaster -dv
> > >
> > > [snip]
> > >
> > > cd /usr/src/etc/sendmail; make distribution
> > > install -o root -g wheel -m 644  /usr/src/etc/sendmail/freebsd.mc freebsd.cf 
> > > /var/tmp/temproot.0707.11.55/etc/mail
> > > install: freebsd.cf: No such file or directory
> > > *** Error code 71
> >
> > Thanks, I just committed a fix for this.
> >
> Er,
>
> The correct fix would be to revert this change from sendmail/Makefile,
> and fix mergemaster(8) instead, as shown in the attached patch.  The
> "distribution" target of src/etc/Makefile is part of the standard
> "distribute" target, and as such it's just a specialized version of
> the "install" target that should not _build_ anything (and that was
> fixed in rev. 1.23).  To build things, one needs to call the "all"
> target, which the attached patch simply does.  It's just a pure
> coincidence that the "distribution" part of src/etc/Makefile does
> not need to build anything (in the object directory).
>
> Can you please test it and commit?
>
>
> Cheers,
>

-- 

This .signature sanitized for your protection
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mergemaster broken

2003-07-22 Thread Ruslan Ermilov
On Sun, Jul 06, 2003 at 08:21:14PM -0700, Gregory Neil Shapiro wrote:
> > > mergemaster -dv
> > 
> > [snip]
> > 
> > cd /usr/src/etc/sendmail; make distribution
> > install -o root -g wheel -m 644  /usr/src/etc/sendmail/freebsd.mc freebsd.cf 
> > /var/tmp/temproot.0707.11.55/etc/mail
> > install: freebsd.cf: No such file or directory
> > *** Error code 71
> 
> Thanks, I just committed a fix for this.
> 
Er,

The correct fix would be to revert this change from sendmail/Makefile,
and fix mergemaster(8) instead, as shown in the attached patch.  The
"distribution" target of src/etc/Makefile is part of the standard
"distribute" target, and as such it's just a specialized version of
the "install" target that should not _build_ anything (and that was
fixed in rev. 1.23).  To build things, one needs to call the "all"
target, which the attached patch simply does.  It's just a pure
coincidence that the "distribution" part of src/etc/Makefile does
not need to build anything (in the object directory).

Can you please test it and commit?


Cheers,
-- 
Ruslan Ermilov  Sysadmin and DBA,
[EMAIL PROTECTED]   Sunbay Software Ltd,
[EMAIL PROTECTED]   FreeBSD committer
Index: mergemaster.sh
===
RCS file: /home/ncvs/src/usr.sbin/mergemaster/mergemaster.sh,v
retrieving revision 1.46
diff -u -r1.46 mergemaster.sh
--- mergemaster.sh  3 May 2003 06:35:19 -   1.46
+++ mergemaster.sh  22 Jul 2003 12:31:23 -
@@ -508,6 +508,7 @@
   esac
   make DESTDIR=${TEMPROOT} distrib-dirs &&
   make MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj obj &&
+  make MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj all &&
   make MAKEOBJDIRPREFIX=${TEMPROOT}/usr/obj DESTDIR=${TEMPROOT} \
   distribution;} ||
 { echo '';


pgp0.pgp
Description: PGP signature


Re: mergemaster broken

2003-07-06 Thread Gregory Neil Shapiro
> > mergemaster -dv
> 
> [snip]
> 
> cd /usr/src/etc/sendmail; make distribution
> install -o root -g wheel -m 644  /usr/src/etc/sendmail/freebsd.mc freebsd.cf 
> /var/tmp/temproot.0707.11.55/etc/mail
> install: freebsd.cf: No such file or directory
> *** Error code 71

Thanks, I just committed a fix for this.
--- Begin Message ---
gshapiro2003/07/06 20:19:46 PDT

  FreeBSD src repository

  Modified files:
etc/sendmail Makefile 
  Log:
  Put back install/distribution dependency on the buildable .cf
  files to get mergemaster working again.
  
  Noticed by: Shin-ichi YOSHIMOTO <[EMAIL PROTECTED]>
  
  Revision  ChangesPath
  1.25  +1 -1  src/etc/sendmail/Makefile

--- End Message ---
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mergemaster broken

2003-07-06 Thread Shin-ichi YOSHIMOTO
mergemaster broken in today's current like this:

> mergemaster -dv

[snip]

cd /usr/src/etc/sendmail; make distribution
install -o root -g wheel -m 644  /usr/src/etc/sendmail/freebsd.mc freebsd.cf 
/var/tmp/temproot.0707.11.55/etc/mail
install: freebsd.cf: No such file or directory
*** Error code 71
 
Stop in /usr/src/etc/sendmail.
*** Error code 1
 
Stop in /usr/src/etc.
 
  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
  the temproot environment

-- 
Shin-ichi YOSHIMOTO <[EMAIL PROTECTED]>
http://diary.waishi.jp/~yosimoto/diary/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mergemaster broken?

2002-06-05 Thread Guezou Philippe

> 
> The trouble is, those messages vanish in about 1 millisecond when the
> pager fires up and displays the next set of diffs.  The messages are
> effectively invisible on my system, and I only found them by running
> mergemaster under "script".  Of course, Bruce, I have no doubt that
> you can see them on your Teletype Model 37. ;-)

If you are using syscons terminal, you should be able to see previous output
by pressing the "scroll lock" key, then page-up/page-down (and cursors keys).

that's pretty usefull on a 80x24 terminal :)
> 
> If mergemaster depends on perl and perl is not installed, it should be
> a fatal error which terminates mergemaster immediately.  It doesn't
> make any sense to proceed if the merged files cannot be installed.

In fact, IMHO, it doesn't make sense at all to have mergemaster depending
on perl.. Since it's a system tools, it should use only sh/awk scripting..
my 2 cents.. 

fifi...
> 
> John
> -- 
>   John Polstra
>   John D. Polstra & Co., Inc.Seattle, Washington USA
>   "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa

-- 
Guezou Philippe
Net. Sys. Admin.

Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: mergemaster broken?

2002-06-05 Thread John Polstra

In article <[EMAIL PROTECTED]>,
Bruce Evans  <[EMAIL PROTECTED]> wrote:
> On Tue, 4 Jun 2002, walt wrote:
> 
> > It correctly identifies files to be updated, asks me what
> > I want to do, as usual, and when I hit 'i' for install it
> > proceeds without error messages but then it tells me at
> > the end that all the files I told it to install remain
> > for me to merge by hand.
> 
> Read the messages more closely and you should see one about
> perl not being installed.

The trouble is, those messages vanish in about 1 millisecond when the
pager fires up and displays the next set of diffs.  The messages are
effectively invisible on my system, and I only found them by running
mergemaster under "script".  Of course, Bruce, I have no doubt that
you can see them on your Teletype Model 37. ;-)

If mergemaster depends on perl and perl is not installed, it should be
a fatal error which terminates mergemaster immediately.  It doesn't
make any sense to proceed if the merged files cannot be installed.

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: mergemaster broken?

2002-06-05 Thread Sheldon Hearn



On 05 Jun 2002 15:01:24 +0200, Dag-Erling Smorgrav wrote:

> > Looks like this is going to be necessary after each
> > buildworld, then.  :-/
> 
> No.  Mergemaster should not use Perl, and the fact that it does is a
> bug.

That's probably an overstatement.  Perl used to be in the base
system, and was, at the time an easy way to stat() a file.  I'd say
mergemaster's use of perl is "use of an obsoleted interface" at worst.
:-)

Ciao,
Sheldon.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: mergemaster broken?

2002-06-05 Thread Dag-Erling Smorgrav

walt <[EMAIL PROTECTED]> writes:
> Looks like this is going to be necessary after each
> buildworld, then.  :-/

No.  Mergemaster should not use Perl, and the fact that it does is a
bug.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: mergemaster broken?

2002-06-05 Thread Jose M. Alcaide

On Tue, Jun 04, 2002 at 10:42:35PM -0700, Kris Kennaway wrote:
> On Tue, Jun 04, 2002 at 07:52:19PM -0700, walt wrote:
> > Aha!  After doing 'use.perl port' it works again, thanks.
> > 
> > Looks like this is going to be necessary after each
> > buildworld, then.  :-/
> 
> I thought that's what NO_PERL is for.

And speaking of NO_PERL... any reference to this knob was removed from
share/examples/etc/make.conf 1.888.

JMA
-- 
** Jose M. Alcaide  //  [EMAIL PROTECTED]  //  [EMAIL PROTECTED] **
** "Beware of Programmers who carry screwdrivers" --  Leonard Brandwein **

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: mergemaster broken?

2002-06-04 Thread Kris Kennaway

On Tue, Jun 04, 2002 at 07:52:19PM -0700, walt wrote:
>  >> ...it tells me at
>  >> the end that all the files I told it to install remain
>  >> for me to merge by hand.
> 
>  > Read the messages more closely and you should see one about
>  > perl not being installed.  mergemaster tries to use perl,
>  > but can't use it even if it is installed since it is not
>  > in $PATH.  /usr/bin/perl prints a misleading message when
>  > perl is installed but not in $PATH.
> 
> Aha!  After doing 'use.perl port' it works again, thanks.
> 
> Looks like this is going to be necessary after each
> buildworld, then.  :-/

I thought that's what NO_PERL is for.

Kris



msg39186/pgp0.pgp
Description: PGP signature


Re: mergemaster broken?

2002-06-04 Thread walt

 >> ...it tells me at
 >> the end that all the files I told it to install remain
 >> for me to merge by hand.

 > Read the messages more closely and you should see one about
 > perl not being installed.  mergemaster tries to use perl,
 > but can't use it even if it is installed since it is not
 > in $PATH.  /usr/bin/perl prints a misleading message when
 > perl is installed but not in $PATH.

Aha!  After doing 'use.perl port' it works again, thanks.

Looks like this is going to be necessary after each
buildworld, then.  :-/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: mergemaster broken?

2002-06-04 Thread Bruce Evans

On Tue, 4 Jun 2002, walt wrote:

> It correctly identifies files to be updated, asks me what
> I want to do, as usual, and when I hit 'i' for install it
> proceeds without error messages but then it tells me at
> the end that all the files I told it to install remain
> for me to merge by hand.

Read the messages more closely and you should see one about
perl not being installed.  mergemaster tries to use perl,
but can't use it even if it is installed since it is not
in $PATH.  /usr/bin/perl prints a misleading message when
perl is installed but not in $PATH.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



mergemaster broken?

2002-06-04 Thread walt

It correctly identifies files to be updated, asks me what
I want to do, as usual, and when I hit 'i' for install it
proceeds without error messages but then it tells me at
the end that all the files I told it to install remain
for me to merge by hand.

In fact, none of the files get installed even though I
said to install them.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message