From owner-freebsd-mips@freebsd.org Tue Apr 23 21:56:33 2019 Return-Path: Delivered-To: freebsd-mips@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 9ACB21583CA7 for ; Tue, 23 Apr 2019 21:56:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 084308CF75 for ; Tue, 23 Apr 2019 21:56:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 8E1C71D250 for ; Tue, 23 Apr 2019 21:56:32 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f179.google.com with SMTP id h16so2347047ljg.11 for ; Tue, 23 Apr 2019 14:56:32 -0700 (PDT) X-Gm-Message-State: APjAAAURltfZNDq8MjkXmFLnimgcc2fbOAFtiXeefz1jYltwn3zQCAoa pIXBLd7zzylmF89IpvTZtwJ1zkcckPalldclnhM= X-Google-Smtp-Source: APXvYqxlqbUGosNQuoXSD36Qu0wmDFUqjLMeamYXPezdXTPC65iCwBjwk0EaudngS9gs0qONRjAUSs/cqplhq+ioebY= X-Received: by 2002:a2e:89da:: with SMTP id c26mr14933621ljk.186.1556056591040; Tue, 23 Apr 2019 14:56:31 -0700 (PDT) MIME-Version: 1.0 References: <1776778690.291952.1556010226763.JavaMail.yahoo.ref@jws704004.mail.kks.yahoo.co.jp> <1776778690.291952.1556010226763.JavaMail.yahoo@jws704004.mail.kks.yahoo.co.jp> <895291144.1903645.1556055964851.JavaMail.yahoo@jws700102.mail.ssk.yahoo.co.jp> In-Reply-To: <895291144.1903645.1556055964851.JavaMail.yahoo@jws700102.mail.ssk.yahoo.co.jp> From: Kyle Evans Date: Tue, 23 Apr 2019 16:56:10 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: buildkernel error on Current To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 084308CF75 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2019 21:56:33 -0000 On Tue, Apr 23, 2019 at 4:49 PM Mori Hiroki wrote: > > Hi > > This is cause of build error. > > https://svnweb.freebsd.org/base?view=revision&sortby=date&revision=345519 > > > This is patch. > > diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk > index a831e94e241..9f9df19c9ac 100644 > --- a/sys/conf/kern.post.mk > +++ b/sys/conf/kern.post.mk > @@ -8,6 +8,7 @@ > # should be defined in the kern.pre.mk so that port makefiles can > # override or augment them. > > +.if ${MACHINE_CPUARCH} != "mips" > .if !empty(FDT_DTS_FILE) > DTS+= ${FDT_DTS_FILE} > .endif > @@ -20,6 +21,7 @@CLEAN+= ${DTB} ${DTBO} > kernel-install: _dtbinstall > .ORDER: beforeinstall _dtbinstall > .endif > +.endif > > # In case the config had a makeoptions DESTDIR... > .if defined(DESTDIR) > > Hiroki Mori > Hi, Please try this patch: https://people.freebsd.org/~kevans/staticfix.diff The current behavior is just flat wrong. We shouldn't be installing FDT_DTS_FILE unless it also happens to appear in DTS. I think staticfix.diff makes more sense. Thanks, Kyle Evans