Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp573144ybi; Tue, 16 Jul 2019 02:00:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwm4fMioUUaBk0BgDSQqdWMNgTRvqU3hae77tAbjzGW2hH6DP9hZ+b8El1YOtJ3zjy7XUVi X-Received: by 2002:a17:90a:4806:: with SMTP id a6mr34895578pjh.38.1563267623808; Tue, 16 Jul 2019 02:00:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563267623; cv=none; d=google.com; s=arc-20160816; b=SgpCvy3lsLkCtSTZJZ3lhWndsPXOpqpcqcLbNdoOObs7RnGNnIPImcf/a8lSQ4PDvK qt7c6hbljZ+6ycuK67p/lVqB+QOlNKGuy9c/TS8nXCqyp5phLa+HRVu1nQmSFutIYJLf G5t+D6PE6lAGP7r3xhY/Nh5Kc0xWrOhxRpSHnSxz5Lppm6vMsh4xo1sHoo1jj2x9/KD8 +ladhhA4yAkcJseGnEqg2MBAboy4a9o5w1ITY6a9Z4htrrMuf3QHAsJvDqm3wleThA6M onUvNXHIZQW+/eQ952RCW0J2t6dWcgvFY0YphVuDiaH2NOqRqcP+olCw3KbCUYcvf759 fZjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=Z7uszMuyFiQN/JEv5Khco5zhTZDWKsMGjjbxCAL2vn0=; b=PiUuperf4Ni93+seZIa0Yr9PNF5cYy1FXQGypTqXKFbwJPoUuKesI33/MQ/46Dz+CJ uWf6pRhUGyz9om/6GLzBQxx0VLXncD73MqX/dDva6OivB8GerJhKfRuAoCJTiJkeOkPu PeS7mYHOF2wN0OXjT2ktwzfRzyMx28w1OqP5D8ZD8Q1qp16TymFWNzPWooby6AzmipyN A+NwURwM/t+Xk336DUXtFjpNtrLuoGxGixYBMFp95bw+t+FeKG8RXZVEE+oZmcT3/EP6 1bZsQmL4TCiDF9zZ8gejGhk/ZKgA2mvjTni+9HrGb2J9ymVyY5VsuOQbJ2AwlKhkVygO 8FNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xjl0EfoU; 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 l14si919832pgh.205.2019.07.16.02.00.07; Tue, 16 Jul 2019 02:00:23 -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=xjl0EfoU; 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 S1731015AbfGPI7k (ORCPT + 99 others); Tue, 16 Jul 2019 04:59:40 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:39319 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbfGPI7j (ORCPT ); Tue, 16 Jul 2019 04:59:39 -0400 Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x6G8xPR2015205; Tue, 16 Jul 2019 17:59:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x6G8xPR2015205 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1563267566; bh=Z7uszMuyFiQN/JEv5Khco5zhTZDWKsMGjjbxCAL2vn0=; h=References:In-Reply-To:From:Date:Subject:To:From; b=xjl0EfoUv2LWcMjHaWGJj2QAp+PfZ4YAY4bubrXbkpoFfvOCMnapa2uch+59w+yWD gY9NAdqzbKPiEnX1d7Pq5ODK9kXyjpf8eEZj/Ki4dL7WqngIhizzkSgbU+Fqzcld5s r6yu2xB4hmGghppKBI2mIk9QUbtYW+1ngkmoN6loLx/R4wuKzFp8NUq3E13F3t0jYV dRolajvEYtHcArbARa/nLw0DsxXoLIUHpNKypzDhB2wawcPGWHFwNrcjKAicw7+e0f gJT9IGkJqZi2UuRM0oQDkHhMkoLvvJCYHr0gnCcR3omz7xVkqOi3NrX1vwJs7yIfb7 thtpmAOBNxjwQ== X-Nifty-SrcIP: [209.85.217.44] Received: by mail-vs1-f44.google.com with SMTP id j26so13366209vsn.10; Tue, 16 Jul 2019 01:59:26 -0700 (PDT) X-Gm-Message-State: APjAAAWsaRHKuh7GtoH1tR4F3+gpBgjyzq9jhZaoTpL7c+tC9BMXQrYw YK0fpeFcjypSIpi4Jc5EJq+stIKLun9SsT+d54s= X-Received: by 2002:a67:cd1a:: with SMTP id u26mr18872370vsl.155.1563267565192; Tue, 16 Jul 2019 01:59:25 -0700 (PDT) MIME-Version: 1.0 References: <1562664759-16009-1-git-send-email-info@metux.net> <1562664759-16009-4-git-send-email-info@metux.net> <5af9db32-2cf5-10ba-261c-e08852d0814f@metux.net> <20190715191245.GD3068@mit.edu> In-Reply-To: <20190715191245.GD3068@mit.edu> From: Masahiro Yamada Date: Tue, 16 Jul 2019 17:58:49 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/4] debian: add generic rule file To: "Theodore Y. Ts'o" , "Enrico Weigelt, metux IT consult" , Masahiro Yamada , "Enrico Weigelt, metux IT consult" , Linux Kernel Mailing List , Michal Marek , Robo Bot , Joe Perches , Linux Kbuild mailing list , linux-riscv@lists.infradead.org, clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 16, 2019 at 4:13 AM Theodore Y. Ts'o wrote: > > On Mon, Jul 15, 2019 at 08:56:25PM +0200, Enrico Weigelt, metux IT consult wrote: > > On 15.07.19 14:28, Masahiro Yamada wrote: > > > > >> The rule file contains a rule for creating debian/control and > > >> other metadata - this is done similar to the 'deb-pkg' make rule, > > >> scripts/packaging/mkdebian. > > > > > > I saw a similar patch submission before, and negative feedback about it. > > > > Do you recall what negative feedback exactly ? Sorry, my memory was broken. I did not like this patch set from the beginning, but missed to express my opinion strongly. I want debian/ to be kept as a drop-in directory for packagers, without replacing the upstream debian/rules. If a check-in source file is modified in anyway, scripts/setlocalversion would set -dirty flag, which I want to avoid. > It's possible I'm not remembering some of the feedback, but the only > thing I recall was the comment I made that I'd really like this use > case: > > make O=/build/linux-build bindeb-pkg > > to not break. And as far as I can tell from the proposed patch series > (I haven't had a chance to experimentally verify it yet), I don't > think it should break anything --- I'm assuming that we will still > have a way of creating the debian/rules file in > /build/linux-build/debian/rules when doing a O= build, and that the > intdeb-pkg rule remains the same. At least, it appears to be the case > from my doing a quick look at the patches. > > > > Debian maintains its own debian/rules, and it is fine. > > > > Not for me, I don't use it - given up trying to make anything useful > > out of it. It's extremly complex, practically undebuggable and doesn't > > even work w/o lots of external preparations. > > Yeah, the official Debian debian/rules is optimized for doing a > distribution release, and in addition to the issues Enrico has raised, > last time I tried it, it was S-L-O-W since it was building a fully > generic kernel. It's not at all useable for general developer use. It is OK if the package is targeting normal users instead of kernel developers. > It sounds like what Enrico is trying to do is to enable running > "dpkg-buildpackage -us -uc -b" from the the top-level kernel package > as being easier than running "make bindeb-pkg". I suspect this might > be because his goal is to integrate individual kernel builds from > using Debian's hermetic build / chroot systems (e.g., sbuild, pbuilder)? I am OK with generating debian/rules with 'make bindeb-pkg', a shell scripts or whatever, but I dislike to commit it in upstream git tree. debian/rules is a hook for packagers to do their jobs in downstream. "We kindly committed a generic one for you" sounds weird to me. -- Best Regards Masahiro Yamada