From owner-freebsd-current Thu Sep 6 7:58:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 0E3CF37B403; Thu, 6 Sep 2001 07:58:30 -0700 (PDT) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id QAA22091; Thu, 6 Sep 2001 16:58:28 +0200 (MET DST) Date: Thu, 6 Sep 2001 16:58:28 +0200 (CEST) From: Harti Brandt To: Cc: Subject: amd broken Message-ID: <20010906165419.W18032-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This commit breaks the build of amd: > obrien 2001/09/05 09:54:21 PDT > > Modified files: > usr.sbin/amd Makefile.inc > usr.sbin/amd/include newvers.sh > Log: > Try to determine the OS version and architecture for what is being built > vs. the building machine. > > PR: 14040 > > Revision Changes Path > 1.8 +4 -1 src/usr.sbin/amd/Makefile.inc > 1.4 +17 -10 src/usr.sbin/amd/include/newvers.sh This is because of +if [ -e ../../../sys/conf/newvers.sh ]; then in newvers.sh It happens to work if I build amd in /usr/src. If I have /usr/obj/... the Makefile is executed in the object directory, so that the path is wrong. The 'else' part of the above fails to generate the HOST_OS_VERSION, and this makes the build to fail. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message