From owner-freebsd-hackers Fri Aug 27 1:32: 9 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id B2E7115ED6 for ; Fri, 27 Aug 1999 01:31:59 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11KHQL-000EMI-00 for hackers@freebsd.org; Fri, 27 Aug 1999 10:31:49 +0200 From: Sheldon Hearn To: hackers@freebsd.org Subject: REQ: Help with apparently impossible error in Makefile.inc1 Date: Fri, 27 Aug 1999 10:31:49 +0200 Message-ID: <55197.935742709@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, While testing out a change I'm proposing for src/Makefile.inc1 (see my PR 13398, which proposes the addition of a WHICH_GAMES knob), I've hit my head against something I can't figure out. Basically, I have the following in Makefile.inc1: | .if !defined(NOGAMES) && exists(${.CURDIR}/games) | cd ${DESTDIR}/usr/games | .if !empty(WHICH_GAMES:Mcaesar) | cp -p caesar ${DESTDIR}/usr/bin | .endif | .if !empty(WHICH_GAMES:Mfortune) | cp -p strfile ${DESTDIR}/usr/bin | .endif | .endif I get the following error during buildworld: | cd /usr/obj/usr/src/tmp/usr/games | cp -p caesar /usr/obj/usr/src/tmp/usr/bin | cp: caesar: No such file or directory | *** Error code 1 However, the file caesar definitely exists in the directory /usr/obj/usr/src/tmp/usr/games and when I go into that directory and issue the offending command manually, it succeeds! Help. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message