Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #57626

Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target

Path csiph.com!3.us.feeder.erje.net!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.debian.kernel
Subject Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target
Date Fri, 21 Apr 2017 12:20:01 +0200
Message-ID <tyDPr-4B9-9@gated-at.bofh.it> (permalink)
References <tr4MN-59K-9@gated-at.bofh.it> <tr4MN-59K-7@gated-at.bofh.it> <txCLM-7nt-29@gated-at.bofh.it> <tyi8h-8cx-13@gated-at.bofh.it>
X-Original-To Riku Voipio <riku.voipio@linaro.org>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Fri Apr 21 10:15:10 2017
Old-Return-Path <yamada.masahiro@socionext.com>
X-Amavis-Spam-Status No, score=-1.48 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MURPHY_DRUGS_REL8=0.02, RCVD_IN_SORBS_SPAM=0.5] autolearn=no autolearn_force=no
X-Policyd-Weight DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=ERR(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .socionext. - helo: .conssluserg-03.nifty. - helo-domain: .nifty.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
X-Greylist delayed 874 seconds by postgrey-1.35 at bendel; Fri, 21 Apr 2017 09:57:39 UTC
Dkim-Filter OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com v3L9v7wQ012222
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1492768628; bh=sieOgTNn20VfFjrrb/SVT8pyC2S9SKxcIGql+UEH7Hw=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=r7n0ddtwGovXxlUTOCYfnzI/4sTBF6BPslrN4JQTKXbwVyalMgeHkbkwWi7sjrDRE UnZyfXWG9UQQZzTMlJijCRqYL44+CDvC7jhEGXx2du//cplRjCnj6Oi+nIik7WY1kj g/+ujsyWUwUuDsadbmQ6AKzJekGOqgKd0B4uCzAMAHueN8WeaKLDaZylNX2LplrclS g6+U+O5PgMe6zFQ2zD0DE0FoB9T7DgZM40mLInL9pnrV2NlnN32JrodPl3E+dCAr7T lRmObLxhVzVfcDoP9qv4YoCfAYSr+DmJGH/Uzf7jve1AZcmvM8d5KlDaFBebbpklBP gbeJ41WvbDSZg==
X-Nifty-Srcip [209.85.161.181]
X-Gm-Message-State AN3rC/6GFGCKIW8ZED2LUabShz/6MTLsxXl2niu92MS25fimX+V+evaj kgutSR7YL68/CaOKlZGVBVQbOx7usA==
X-Received by 10.13.237.5 with SMTP id w5mr12029345ywe.70.1492768627165; Fri, 21 Apr 2017 02:57:07 -0700 (PDT)
MIME-Version 1.0
X-Gmail-Original-Message-ID <CAK7LNAQ5V-B+Os2WZZb3H6hqCOsNtSvTZJw-kJmt5hP_xS+QcA@mail.gmail.com>
Content-Type text/plain; charset=UTF-8
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/112445
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/CAK7LNAQ5V-B+Os2WZZb3H6hqCOsNtSvTZJw-kJmt5hP_xS+QcA@mail.gmail.com
Approved robomod@news.nic.it
Lines 58
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>, Michal Marek <mmarek@suse.com>, debian-kernel <debian-kernel@lists.debian.org>, Andrew Donnellan <andrew.donnellan@au1.ibm.com>
X-Original-Date Fri, 21 Apr 2017 18:57:06 +0900
X-Original-Message-ID <CAK7LNAQ5V-B+Os2WZZb3H6hqCOsNtSvTZJw-kJmt5hP_xS+QcA@mail.gmail.com>
X-Original-References <20170331130941.5250-1-riku.voipio@linaro.org> <20170331130941.5250-4-riku.voipio@linaro.org> <CAK7LNAQT8pSjgW5ujnWWP3MKfU0=XnFKWVeNu-fx5NRRX0XgMg@mail.gmail.com> <CAAqcGHk80P4tKFn+j5n6M=77XaDFkc_e30RZ04+MmMf=qJDyzw@mail.gmail.com>
Xref csiph.com linux.debian.kernel:57626

Show key headers only | View raw


Hi Riku,


2017-04-20 19:53 GMT+09:00 Riku Voipio <riku.voipio@linaro.org>:
> Hi,
>
> Thanks for taking time to review.
>
> On 18 April 2017 at 17:31, Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
>> Before expanding this even more,
>> please help me understand this script.
>>
>> Commit 3716001b implemented source package build
>> at the end of the builddeb script.
>> However, the binary packages are still built in its own way.
>> (So, debian/rules is not used in general workflows,
>> so we need to test it explicitly somehow.)
>
> Historic reasons.. since the builddeb already existed, the easiest way
> to implement debian/rules was to make a skeleton debian/rules that
> calls builddeb indrectly.
>
>> Why do not we create a source package first,
>> then build binary packages from it?
>
> I wouldn't do a source package per se, but we could create a debian/
> directory tree and the call dpkg-buildpackage. This would be a more
> substantial overhaul that might break some expected behavior of
> deb-pkg targets. If people think its worth, I can give it a shot.


In hindsight, it seems more straightforward to me
to build the binary packages from the source package.
But, I know this refactoring will need lots of changes, which may
break something.

Once we support this fastdeb-pkg target,
we will not be able to convert the script in that way.
(because we do not have a standard way to generate a particular binary
package from *.dsc)
That's why I asked the question, and I want to be careful.



>> rpm-pkg does that way.
>> (generate a spec-file, then run rpmbuild)
>
> speaking of the mkspec script, it would be nice to refactor it to here
> documents over endless lines of echo.

As always, cleaning patches are welcome.



-- 
Best Regards
Masahiro Yamada

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] builddeb: add make fastdeb-pkg target riku.voipio@linaro.org - 2017-03-31 15:30 +0200
  Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-18 17:00 +0200
    Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target Riku Voipio <riku.voipio@linaro.org> - 2017-04-20 13:10 +0200
      Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-21 12:20 +0200
        Re: [PATCH 3/3] builddeb: add make fastdeb-pkg target Ben Hutchings <ben@decadent.org.uk> - 2017-04-21 17:10 +0200

csiph-web