From owner-freebsd-current@FreeBSD.ORG Mon Aug 9 18:02:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 624D116A4CE for ; Mon, 9 Aug 2004 18:02:24 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-164-131.dclient.hispeed.ch [80.219.164.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3FF343D48 for ; Mon, 9 Aug 2004 18:02:22 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:a483:0:20e:2eff:fe06:2376]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i79I2HS81576 verified NO) for ; Mon, 9 Aug 2004 20:02:20 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i79I2Hp81575; Mon, 9 Aug 2004 20:02:17 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Mon, 9 Aug 2004 20:02:17 +0200 (CEST) Message-Id: <200408091802.i79I2Hp81575@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: freebsd-current@freebsd.org References: <200408071057.06960.ringworm@inbox.lv> <20040808064912.GA27705@les.ath.cx> <200408081730.i78HUN320899@Mail.NOSPAM.DynDNS.dK> <200408090554.17355.ringworm@inbox.lv> <200408091603.i79G3Pr72422@Mail.NOSPAM.DynDNS.dK> X-Mailman-Approved-At: Tue, 10 Aug 2004 11:37:05 +0000 Subject: Re: Need help: buildworld for CURRENT while under STABLE is not working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 18:02:24 -0000 [keep replies to the list and I'll catch up later, thanks] I wrote: > This failure just in: It seems that `gengenrtl' is built to the > expectations of the target -current crossbuild, and then it gets > invoked during the -stable build as per the makefile: > genrtl.c genrtl.h: gengenrtl > ./gengenrtl > genrtl.c > ./gengenrtl -h > genrtl.h (Apologies sent off-line for mistakenly assuming Harti Brandt was responsible for this part of the code) Hmmm. I see two issues in my build. The various cc_tools are built as part of my cross-build _build-tools step, where they're built static, and the above works. However, I don't see that those build-tools binaries get installed anywhere that show up in the BPATH or XPATH or STRICTTMPPATH used later. Could be pilot error here too. Anyway, rather than ./genFOO, it seems to me that this makefile should be trying to make use of the PATH in the environment, particularly for crossbuilds like mine. Stripping away the ./ from all the invoked paths in this makefile and relying on $PATH to DTRT was my first idea; of course, during the build-tools step, nothing has been installed to be invoked. So I thought maybe add `:.' to BPATH, and then I thought, aiee, maybe not. Instead I changed every `./' in this makefile and replaced it with `PATH=${PATH}:. ' and that seemed to work for the build-tools step. And it might as well work for the everything step, if only these binaries were to appear in the PATH before the `.', hmmm. I'll probably poke at that until I pass out or something. Once again, this is a crossbuild of -current on -stable. > This appears to result in the crossbuild failure I see: > ./gengenrtl > genrtl.c > ELF interpreter /libexec/ld-elf.so.1 not found thanks barry bouwsma