From owner-freebsd-current@freebsd.org Fri Sep 30 22:04:29 2016 Return-Path: Delivered-To: freebsd-current@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 53461C03BA1 for ; Fri, 30 Sep 2016 22:04:29 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-66.reflexion.net [208.70.210.66]) (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 0736D9AD for ; Fri, 30 Sep 2016 22:04:28 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 25297 invoked from network); 30 Sep 2016 22:04:22 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 30 Sep 2016 22:04:22 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.00.0) with SMTP; Fri, 30 Sep 2016 18:04:27 -0400 (EDT) Received: (qmail 20775 invoked from network); 30 Sep 2016 22:04:26 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 30 Sep 2016 22:04:26 -0000 Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 6C011EC901D; Fri, 30 Sep 2016 15:04:21 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: make universe fails with MAKEOBJDIRPREFIX [cross builds part: sh: ./make_keys: Exec format error for init_keytry.h] Date: Fri, 30 Sep 2016 15:04:18 -0700 Message-Id: <4464F4B4-6ABB-4DD8-8FC4-8E8F123F54A3@dsl-only.net> Cc: FreeBSD-STABLE Mailing List To: FreeBSD Current , Bryan Drewery , FreeBSD Toolchain , vangyzen@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 30 Sep 2016 22:04:29 -0000 Quoting: > --- lib/ncurses/ncurses__L --- > ./make_keys keys.list > init_keytry.h . . . > --- lib/ncurses/ncurses__L --- > sh: ./make_keys: Exec format error > *** [init_keytry.h] Error code 126 Since the reworking of the build handling in recent (many) months "sh: = ./make_keys: Exec format error" is a long standing problem for = buildworld for cross builds. The native part of the build execution is = trying to execute the cross-build target's make_keys (that was likely = left from a prior cross-build and now doing incremental-build activity). = lib/ncurses/ncurses__L is not the only place that this can happen. There = is past list exchanges for this issue with other examples. I rebuild after cleanworld when this happens in order to force a full = rebuild instead of an incremental one --but I only build one cross build = target at a time, not universe. I've never had such an after-cleanworld = rebuild fail: only some later incremental builds. Luckily in my experience so far most incremental builds do not go back = through those areas (such as lib/ncurses/ncurses__L ) and so do not try = to execute make_keys (stated in terms of this example). So the = incremental builds for me are usually effective --but sometimes = lib/ncurses/ncurses__L is rebuilt. It has been a fairly long time since my 11.0 related activities = (tracking stable/11 now) have run into this but likely = lib/ncurses/ncurses__L (and the like) simply have not rebuilt in my = cross builds. I've no head (CURRENT) activities going on at this point. =3D=3D=3D Mark Millard markmi at dsl-only.net