From owner-freebsd-current@freebsd.org Mon May 21 03:31:53 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C97ABEB1B20 for ; Mon, 21 May 2018 03:31:53 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic315-15.consmr.mail.bf2.yahoo.com (sonic315-15.consmr.mail.bf2.yahoo.com [74.6.134.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FED76A083 for ; Mon, 21 May 2018 03:31:53 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: FnQsX9YVM1lSu4p29Ht0GOWTdI7VOYfSNgJmpCjB0r4.uInZHhvkmOlXY4J44ux 2kZ3CGH.IEsavFrog.SSx.HxKfKQoAWcP2mFEBY1znjJNBNk1Fsn8wxDJ_uEFyYnLBfcXReRpCLq xS8D6VCEWh.jPmZ17uvXN2I8JIaKw2QwgHqpYBVPz2V1bIkKe041vauBQBOiCYDJHhM1q359vbkA k0JRpnPX9jniJ7AM6BR0PAth65RqaOSulRkyLRluXqKiMb6w1fx2gVE2vg3j5aNDhgPRuLnMBn5w WlHEZOQy8chozYI1d5t2T504ZMZZu1QKaS3pc789C_9GM.vrxS5AOSNjjn_jbIkF_q35Gs6VwxcL n0WL5Up.Ajv.7Th24p9dsSLF_gO_gVWNfMzTkX2bxh3CsDCh5Ti14Pu_nz0BZrnh9eI0OoeU85Di dDQcoI6.JGgr53gBlLsX4Y7l3qm402er9zgvFb2wQKlyh5Co6oJZNdP_r_etQak9.gVZGSh3qG5I cV6kbiHlxFJgk2ZSDPRrnlZY8LQPqer3iZo2c8_crPWzhiskS3Kll1XZ34KWNSxUpOQ3dxEGsgoh JgE.pKOtaFJSj0ugc3WROUIwNRj53O9wgv1MQrECkV92.cSBCelTuvrSFE0fFqnb_c1vJJXuiDOH pFQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Mon, 21 May 2018 03:31:51 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp425.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 57b737587faea3341e4aa7d35376e9fc; Mon, 21 May 2018 03:31:44 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: head -r333946(?) broke many builds Date: Sun, 20 May 2018 20:31:42 -0700 References: <3987ED2D-39CA-42F8-87EF-A776F91D2931@yahoo.com> To: Eitan Adler , FreeBSD Current In-Reply-To: <3987ED2D-39CA-42F8-87EF-A776F91D2931@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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, 21 May 2018 03:31:54 -0000 On 2018-May-20, at 7:35 PM, Mark Millard = wrote: > ci.freebsd.org shows -r333945 built okay (ignoring riscv64) but > later not ( -r333947 and later for most). >=20 > --- all_subdir_usr.bin/top --- > make[4]: make[4]: don't know how to make top.local.h. Stop >=20 > make[4]: stopped in /usr/src/usr.bin/top > *** [all_subdir_usr.bin/top] Error code 2 >=20 >=20 >> Author: eadler >> Date: Sun May 20 23:37:30 2018 >> New Revision: 333946 >> URL:=20 >> https://svnweb.freebsd.org/changeset/base/333946 >>=20 >>=20 >> Log: >> top(1): pull configuration directly into header files >>=20 >> . . . >=20 >=20 >=20 > Interestingly FreeBSD-head-aarch64-build is not broken > at -r333947 but is later at -r333949 --for the same > error: >=20 > --- all_subdir_usr.bin --- > make[4]: make[4]: don't know how to make top.local.h. Stop >=20 > make[4]: stopped in /usr/src/usr.bin/top > *** [all_subdir_usr.bin/top] Error code 2 >=20 In my own builds it looks like WITH_META_MODE=3D does not deal with top having moved. The builds did not fail because they found and used an old top.local.h in my /usr/obj/ areas for the various build targets that I tried. For example: # ls -lTt = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.bin/top/ total 928 . . . -rw-r--r-- 1 root wheel 1017 Nov 3 00:11:28 2017 top.local.h.meta -rw-r--r-- 1 root wheel 2418 Nov 3 00:11:28 2017 top.local.h FBSDFSSD# more = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.bin/top/top.local= .h.meta # Meta data file = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.bin/top/top.local= .h.meta CMD @echo Making top.local.h from /usr/src/contrib/top/top.local.hs CMD @sed -e's,%LoadMax%,5.0,g' -e's,%TableSize%,20011,g' = -e's,%NominalTopn%,18,g' -e's,%topn%,-1,g' -e's,%delay%,2,g' = -e's,%random%,1,g' /usr/src/contrib/top/top.local.hs > top.local.h CWD /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/usr.bin/top TARGET top.local.h -- command output -- Making top.local.h from /usr/src/contrib/top/top.local.hs -- filemon acquired metadata -- # filemon version 5 # Target pid 10130 # Start 1509693088.899769 V 5 E 10133 /bin/sh R 10133 /etc/libmap.conf R 10133 /var/run/ld-elf.so.hints R 10133 /lib/libedit.so.7 R 10133 /lib/libc.so.7 R 10133 /lib/libncursesw.so.8 F 10133 10134 W 10134 top.local.h E 10134 /usr/bin/sed R 10134 /etc/libmap.conf R 10134 /var/run/ld-elf.so.hints R 10134 /lib/libc.so.7 R 10134 /usr/src/contrib/top/top.local.hs X 10134 0 0 X 10133 0 0 # Stop 1509693088.899769 # Bye bye was still around for the #include's to find. May be something like this explains FreeBSD-head-aarch64-build initially not failing. After a move (such as happened for top) forcing a full rebuild "form scratch" seems to be required for testing if the build process is working. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)