From owner-freebsd-current@freebsd.org Sat Nov 11 16:47:11 2017 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 1212DE6EF04; Sat, 11 Nov 2017 16:47:11 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFC5366458; Sat, 11 Nov 2017 16:47:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 1FDA7DA69; Sat, 11 Nov 2017 16:47:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 123D07A6A; Sat, 11 Nov 2017 16:47:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id ptCWd98LVEHv; Sat, 11 Nov 2017 16:47:04 +0000 (UTC) Content-Type: text/plain; charset=utf-8 DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 6912D7A62 Mime-Version: 1.0 (1.0) Subject: Re: -r325627 of head: mergemaster: Creating objdir after objdir after . . . From: Bryan Drewery X-Mailer: iPhone Mail (15B93) In-Reply-To: Date: Sat, 11 Nov 2017 08:47:01 -0800 Cc: FreeBSD Toolchain , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <08a57ee2-ae3e-b8ea-73a3-b6533b0fd206@FreeBSD.org> <202f44cb-39d6-99af-9804-582825ae5c07@FreeBSD.org> <0c9c20c2-1d34-77e8-1620-fb99881a34d1@FreeBSD.org> To: Mark Millard 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: Sat, 11 Nov 2017 16:47:11 -0000 > On Nov 11, 2017, at 00:51, Mark Millard wrote: >=20 >> On 2017-Nov-10, at 5:16 PM, Bryan Drewery wrote= : >>=20 >>> On 11/10/2017 8:30 AM, Bryan Drewery wrote: >>>> On 11/10/17 7:52 AM, Bryan Drewery wrote: >>>>> On 11/10/2017 12:46 AM, Mark Millard wrote: >>>>> When I use the command: >>>>>=20 >>>>> ~/sys_build_scripts.aarch64-host/mergemaster_cortexA53-aarch64-host.sh= -FUPi -D/mnt >>>>>=20 >>>>> based on: >>>>>=20 >>>>> # more ~/sys_build_scripts.aarch64-host/mergemaster_cortexA53-aarch64-= host.sh >>>>> kldload -n filemon && \ >>>>> script ~/sys_typescripts/typescript_mergemaster_cortexA53_clang_bootst= rap_clang-aarch64-host-$(date +%Y-%m-%d:%H:%M:%S) \ >>>>> env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" S= RC_ENV_CONF=3D"/root/src.configs/src.conf.cortexA53-clang-bootstrap.aarch64-= host" \ >>>>> mergemaster -A aarch64 $* >>>>>=20 >>>>> in a context where /usr/obj/usr does not exist >>>>> (no local build tree present at the time), I get: >>>>>=20 >>>>> Script started, output file is /root/sys_typescripts/typescript_mergem= aster_cortexA53_clang_bootstrap_clang-aarch64-host-2017-11-09:23:57:04 >>>>>=20 >>>>> *** Creating the temporary root environment in /var/tmp/temproot >>>>> *** /var/tmp/temproot ready for use >>>>> *** Creating and populating directory structure in /var/tmp/temproot >>>>>=20 >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/share/termcap...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/etc/syslog.d...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/usr.sbin/rmt...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/etc/pam.d...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/csu...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/csu/aarch64...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libc...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libc_nonshared...]= >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libcompiler_rt...]= >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libclang_rt...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libc++...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libc++experimental= ...] >>>>> [Creating nested objdir /usr/obj/usr/src/arm64.aarch64/lib/libc++exper= imental/filesystem...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libcxxrt...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libelf...] >>>>> [Creating nested objdir /usr/obj/usr/src/arm64.aarch64/lib/libelf/sys.= ..] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/msun...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libalias...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/lib/libalias/libalias.= ..] >>>>> . . . (long list) . . . >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/usr.sbin/wpa/hostapd..= .] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/usr.sbin/wpa/hostapd_c= li...] >>>>> [Creating objdir /usr/obj/usr/src/arm64.aarch64/usr.sbin/wpa/ndis_even= ts...] >>>>>=20 >>>>>=20 >>>>>=20 >>>>> So a /usr/obj/usr/src/arm64.aarch64/ directory tree >>>>> ends up being created. >>>>=20 >>>> Hah, not what we want. I'll fix that. >>>>=20 >>>=20 >>> In fact it's similar to my META_MODE whitelist in the top-level >>> Makefile. There's quite a few targets we don't care for AUTO_OBJ on, >>> like distribute*, installworld, installkernel, etc. >>=20 >> r325697 should fix it. >=20 > Most of the messages are gone in -r325700 . But there was: >=20 > *** Creating the temporary root environment in /var/tmp/temproot > *** /var/tmp/temproot ready for use > *** Creating and populating directory structure in /var/tmp/temproot >=20 > [Creating objdir /usr/obj/usr/src/arm64.aarch64...] > [Creating objdir /usr/obj/usr/src/arm64.aarch64/etc...] > [Creating objdir /usr/obj/usr/src/arm64.aarch64/etc/sendmail...] >=20 > (No more objdir lines after that.) Yea this is expected. Mergemaster runs =E2=80=98make obj=E2=80=99 in etc/. The top-level check-old objdir creation is unavoidable right now... you can u= se -DNO_OBJ if you want to avoid it. >=20 >>>=20 >>>> However from reading mergemaster.sh it seems that _at least_ >>>> /usr/obj/usr/src/etc/sendmail would be created before my changes. Can >>>> someone confirm that on stable/ or something? >>>>=20 >>>>>=20 >>>>> (MAKEOBJDIRPREFIX=3D does control the path-prefix used >>>>> if specified in the env list before mergemaster.) >>>>>=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20