Re: libexec/rtld-elf install broken?

2000-07-19 Thread Marcel Moolenaar

Alfred Perlstein wrote:
 
 === libexec/rtld-elf
 chflags noschg /usr/libexec/ld-elf.so.1
 chflags noschg /usr/libexec/ld-elf.so.1.old
 cp -p /usr/libexec/ld-elf.so.1 /usr/libexec/ld-elf.so.1.old
 cp:No such file or directory
 *** Error code 1

I think we need to copy 'cp' in installworld as well. I didn't catch it
because it will probably only copy ld-elf.so if an existing version is
present (I tested with an empty DESTDIR).

I'll fix it.

-- 
Marcel Moolenaar
  mail: [EMAIL PROTECTED] / [EMAIL PROTECTED]
  tel:  (408) 447-4222


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



Re: libexec/rtld-elf install broken?

2000-07-19 Thread John Polstra

In article [EMAIL PROTECTED],
Alfred Perlstein  [EMAIL PROTECTED] wrote:
 === libexec/rtld-elf
 chflags noschg /usr/libexec/ld-elf.so.1
 chflags noschg /usr/libexec/ld-elf.so.1.old
 cp -p /usr/libexec/ld-elf.so.1 /usr/libexec/ld-elf.so.1.old
 cp:No such file or directory
^
|
Why is the space missing that is supposed to be in this message?

 # ls -l /usr/libexec/ld-elf.so.1 /usr/libexec/ld-elf.so.1.old
 -r-xr-xr-x  1 root  wheel  74512 Jul 19 15:13 /usr/libexec/ld-elf.so.1
 -r-xr-xr-x  1 root  wheel  74160 Jul 10 04:47 /usr/libexec/ld-elf.so.1.old

I can't figure out what is going on here.  The whole set of commands
in the Makefile is inside an ".if exists" block:

beforeinstall:
.if exists(${DESTDIR}${BINDIR}/${PROG})
-chflags noschg ${DESTDIR}${BINDIR}/${PROG}
.if exists(${DESTDIR}${BINDIR}/${PROG}.old)
-chflags noschg ${DESTDIR}${BINDIR}/${PROG}.old
.endif
cp -p ${DESTDIR}${BINDIR}/${PROG} ${DESTDIR}${BINDIR}/${PROG}.old
.endif

I added this to the Makefile 11 days ago, and haven't heard any
other reports of problems.

 boggles!

Yep, I'm baffled too.  Have you got a rogue "cp" program somewhere
in your path?

John
-- 
  John Polstra   [EMAIL PROTECTED]
  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: libexec/rtld-elf install broken?

2000-07-19 Thread Alfred Perlstein

* John Polstra [EMAIL PROTECTED] [000719 17:45] wrote:
 In article [EMAIL PROTECTED],
 Alfred Perlstein  [EMAIL PROTECTED] wrote:
  === libexec/rtld-elf
  chflags noschg /usr/libexec/ld-elf.so.1
  chflags noschg /usr/libexec/ld-elf.so.1.old
  cp -p /usr/libexec/ld-elf.so.1 /usr/libexec/ld-elf.so.1.old
  cp:No such file or directory
 ^
 |
 Why is the space missing that is supposed to be in this message?
 
 I added this to the Makefile 11 days ago, and haven't heard any
 other reports of problems.
 
  boggles!
 
 Yep, I'm baffled too.  Have you got a rogue "cp" program somewhere
 in your path?

I needed to add 'cp' to src/Makefile.inc1, Marcel explained it to me
but I'm sorry I did, -current is terribly broken.  I now have two
machines in unusable state.

-Alfred


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



Re: libexec/rtld-elf install broken?

2000-07-19 Thread John Polstra

Alfred Perlstein wrote:
 
 I needed to add 'cp' to src/Makefile.inc1, Marcel explained it to me

Oh, so it was "cp" that wasn't found, I take it.  We should change
the message in make so it's more like what shells say ("command not
found").

 but I'm sorry I did, -current is terribly broken.  I now have two
 machines in unusable state.

Ugh.  Sorry to hear that.  Man, -current ain't what it used to be.
But then it never was ... :-)

John


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



Re: libexec/rtld-elf install broken?

2000-07-19 Thread Alfred Perlstein

* John Polstra [EMAIL PROTECTED] [000719 18:32] wrote:
 Alfred Perlstein wrote:
  
  I needed to add 'cp' to src/Makefile.inc1, Marcel explained it to me
 
 Oh, so it was "cp" that wasn't found, I take it.  We should change
 the message in make so it's more like what shells say ("command not
 found").
 
  but I'm sorry I did, -current is terribly broken.  I now have two
  machines in unusable state.
 
 Ugh.  Sorry to hear that.  Man, -current ain't what it used to be.
 But then it never was ... :-)

but.. but.. but... it _was_ working out so well ;(

-Alfred


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