Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 17:44:50 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        bright@wintelcom.net
Cc:        current@freebsd.org
Subject:   Re: libexec/rtld-elf install broken?
Message-ID:  <200007200044.RAA15027@vashon.polstra.com>
In-Reply-To: <20000719152613.Z13979@fw.wintelcom.net>
References:  <20000719152613.Z13979@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20000719152613.Z13979@fw.wintelcom.net>,
Alfred Perlstein  <bright@wintelcom.net> 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                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007200044.RAA15027>