From owner-freebsd-arm@freebsd.org Wed Oct 11 22:54:55 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4DC18E39733 for ; Wed, 11 Oct 2017 22:54:55 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32143809A9 for ; Wed, 11 Oct 2017 22:54:54 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 114302ba-aed7-11e7-a938-4f970e858fdb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 114302ba-aed7-11e7-a938-4f970e858fdb; Wed, 11 Oct 2017 22:53:59 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v9BMrkRp002110; Wed, 11 Oct 2017 16:53:46 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1507762426.8386.24.camel@freebsd.org> Subject: Re: NanoBSD: Cuurent/NANO_ARCH=aarch64: chroot: : No such file or directory From: Ian Lepore To: "O. Hartmann" , freebsd-arm@FreeBSD.org Date: Wed, 11 Oct 2017 16:53:46 -0600 In-Reply-To: <20171011204722.3622d73c@thor.intern.walstatt.dynvpn.de> References: <20171011204722.3622d73c@thor.intern.walstatt.dynvpn.de> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 22:54:55 -0000 On Wed, 2017-10-11 at 20:47 +0200, O. Hartmann wrote: > Trying to install a successfully cross compiled FreeBSD (TARGET=arm64) as NanoBSD. > NanoBSD is configure using NANO_ARCH="aarch64". > > Port emulators/qemu-user-static is installed and loaded: > >  8    1 0xffffffff8243f000 1564     imgact_binmisc.ko > > When installing NanoBSD's world and then running mtree, the nanobsd script runs into this > error: > > /pool/nanobsd/aarch64/NANO_aarch64/_.w/./boot/loader.conf.local > 283 blocks > + [ -n /home/user/Projects/router/nanobsd/mtree/Files.mtree -a \ > -f /home/user/Projects/router/nanobsd/mtree/Files.mtree ] > + CR 'mtree -eiU -p /' > + chroot /pool/nanobsd/aarch64/NANO_aarch64/_.w '' /bin/sh -exc 'mtree -eiU -p /' > chroot: : No such file or directory > I'm not sure how or why it's happening (I've never used nanobsd), but the complaint is about those empty quotes ('') between the pathname and the /bin/sh in the chroot command.  It's trying to run a program named '' and chroot is complaining that it can't find anything named that. -- Ian > Is there anything I miss here with the QEMU emulator catching up? > > Thanks in advance, > > Oliver >