Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1981750ybp; Sat, 5 Oct 2019 03:23:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0uY2a++IbY7m/U3EnC2yBOKtrORiP323zAcezr0ah4v7msy4crKerUkYgbTl/guYySiPG X-Received: by 2002:a17:907:2067:: with SMTP id qp7mr16001467ejb.138.1570271008889; Sat, 05 Oct 2019 03:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570271008; cv=none; d=google.com; s=arc-20160816; b=S2cqVpBM9vLZJaJgBniyBL5aGwg0FeKy2OewfcCuwnX+nWUBktZ3VZk3utjzirLXYS +Uv3vT2BwbPu8CG+sNneuH9F9rulZdb/OIFewFGFr7UkMrrF0K5xfX1Sg+3Y2jCPpofz M4uWUSyH5O7yyUz7kPScml1oWa5N7J2K71OOuGRXoMpkna5XGsPwhRzDQc0YjAtAKjpO dev75tWg0ug2Hzobi6YmXrP9KwgWYZ7hDDI2f8cCjMonfL9SN5SSDNLztzkyOX/VZLmz bAkdiE919gf/mpBN7t+FhJ15KBWtBhGdeKouW7g/MZABQ/S58NxdviDhYH70LtZFxwlE uEyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=kv1TVlZxgB2c5EKc2iXk+e359JOFbt4NOZtOSVP9SpE=; b=LZaFZwuWK7v8kvMoVQIPHVBltArztGd3iFu4fwcNnB0PdfB3IU58GmeeSiR8YNFBHG Eq/KTEfn1Bcb7g8gBUeA+qGVrr8DMALVD6t28JgSUaJUog5gP8Tw/AgMCtv3pLReiXpL 3hqe36/QeuwALVS6xuW6niENYP5M0ESe/CmYrxh3cd4+QW6ujfmDOLd7gTeRt/6+sUaX +HlNrWGAz/wfFkL5G6Bv1k48EPD/kkBMhZ4yj0xFKnKK5KCle+JrNfC6zGUHwO+IIO7m rqRF1Ff0VxvUuvf9882zyzl8szAa5kRpS0eoeplr1iRUcfJISl6699Skin7gCgv7z9zk +zYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=cAukObZp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9si4288450eju.269.2019.10.05.03.23.04; Sat, 05 Oct 2019 03:23:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=cAukObZp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727122AbfJEKUh (ORCPT + 99 others); Sat, 5 Oct 2019 06:20:37 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:28652 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726198AbfJEKUg (ORCPT ); Sat, 5 Oct 2019 06:20:36 -0400 Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com [209.85.217.50]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x95AKXHM024345 for ; Sat, 5 Oct 2019 19:20:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x95AKXHM024345 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1570270833; bh=kv1TVlZxgB2c5EKc2iXk+e359JOFbt4NOZtOSVP9SpE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cAukObZpBqWxGlpYOWJxEU1vnD39ECyQnHXsjNrwkGibVc1CR9ZNuN1Dofzh6X6c2 XnwiV3zR9KslyithUnTQ4+WS+CpU3qjiMl0piq1AwOQYUfelgTj9QMMGSxz1OSRPhW 94yYJ6bVfTRYKBAQKp0UatBz+waCrUnAMohsRygbfsoUWDdX30uJn0pWP9KqFaW7OW CCQLaaqgSCS0ayDLBQki4n+gYRPDCubY7r1JH7j5nYXSFK1kaRfz8lJfxJ413Irg8l uXs6BXNi5s1UPrsi/tFqIbGi4/PZWMogBQi4TTtQPGuQjl9j13IPzcN7BsqUPfIwKl jAwjdKzcoCVIQ== X-Nifty-SrcIP: [209.85.217.50] Received: by mail-vs1-f50.google.com with SMTP id z14so5765613vsz.13 for ; Sat, 05 Oct 2019 03:20:33 -0700 (PDT) X-Gm-Message-State: APjAAAU+c4YiZP9YkEOFVEJfsvLCZ/5RWDEL2lwTVYvgGmRj+ceQkPSr NPNr9DuW9UH/rRPhn5vxF3g7nBg7jIXyA5ROINg= X-Received: by 2002:a67:7c03:: with SMTP id x3mr10493136vsc.155.1570270832499; Sat, 05 Oct 2019 03:20:32 -0700 (PDT) MIME-Version: 1.0 References: <240d0353-2e66-7d0c-3dc0-f58f62c999be@skogtun.org> In-Reply-To: From: Masahiro Yamada Date: Sat, 5 Oct 2019 19:19:56 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: BISECTED: Compile error on 5.4-rc1 To: Harald Arnesen Cc: Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 5, 2019 at 6:36 PM Harald Arnesen wrote: > > Harald Arnesen [05.10.2019 11:03]: > > > Masahiro Yamada [05.10.2019 05:24]: > > > >> I cannot reproduce it. > >> > >> I tested bindeb-pkg for the latest Linus tree successfully. > > > > Strange, I have now tried another machine running the same distro > > (Devuan Beowulf), and I get the same result there. Will check further. > > I found out what was wrong. > > Both machines have been used for dvd burning, and I have used J=C3=B6rg > Schilling's cdrecord - and I had installed all of the "Schily Tools", > which unfortunately includes a shell command. Now, I had (by mistake) > /opt/schily/bin early in my path, and his OpenSolaris-derived shell > didn't work as expected. > > Moving /opt/schily/bin to the end of the path fixes the problem. > > But shouldn't it work even if "sh" is not equal to "/bin/sh"? CONFIG_SHELL previously fell back to 'sh' when bash is not installed, so I just kept it as it was. If we had used the exact absolute path /bin/sh, it would have worked irrespective of the PATH environment. But, there is a counter option like this: commit 16f8259ca77d04f95e5ca90be1b1894ed45816c0 Author: Bj=C3=B8rn Forsman Date: Sun Nov 5 10:44:16 2017 +0100 kbuild: /bin/pwd -> pwd Most places use pwd and rely on $PATH lookup. Moving the remaining absolute path /bin/pwd users over for consistency. Also, a reason for doing /bin/pwd -> pwd instead of the other way aroun= d is because I believe build systems should make little assumptions on host filesystem layout. Case in point, we do this kind of patching already in NixOS. Ref. commit 028568d84da3cfca49f5f846eeeef01441d70451 ("kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)"). Signed-off-by: Bj=C3=B8rn Forsman Signed-off-by: Masahiro Yamada I cannot find a way to satisfy everybody. --=20 Best Regards Masahiro Yamada