From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6647496723618856960 X-Received: by 2002:adf:fdcd:: with SMTP id i13mr106306wrs.32.1548851092449; Wed, 30 Jan 2019 04:24:52 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:7e52:: with SMTP id z79ls308754wmc.0.gmail; Wed, 30 Jan 2019 04:24:52 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia+yhGWmS4B1vZnglrbQfHe0SbBgPPax5fglkOO0B+6Z9KZ1NzpMckqzXPXJrpdO/pkAIVc X-Received: by 2002:a1c:f019:: with SMTP id a25mr113962wmb.2.1548851092041; Wed, 30 Jan 2019 04:24:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548851092; cv=none; d=google.com; s=arc-20160816; b=tvQpN2N3tyE4cwtkMCCt/jojQtsHPZp4fyThpUpy/Ow7Y7TwtG+AOzI91O4gmAAJXs 2YHrsMJWraUJfK6KEK6HRukCAgdOuvOyn8ScdTW2V+5wgG+5tjAsSSScteszTo3hpgcU 0DHe34ojCNHbkJEsL0s0Ea6g6r3LoIuku05KMOvesYYtK8cLu85Vxktyj+eAN4IPO/0w CQ5nvS5v37kiIVJWfSajlT2jKJ/ruaYPOZEHijQWV2RjsQ5oHJ7I0vnnzu+Y57N023jy Sl+vztSBalBTXDJSO9jTbiNxDXsUtIlIYsWsgpxqbBmJwMdKOKu5WTZ3xSNewhcin7a7 yjZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:to:from:date; bh=uG6N9dVHikNuAhyxf3tebUDwMnZqIkjmnw0E8jc4H6w=; b=ZQfosZL/pa4TzL4yh7vsLavzvy+jp4g4HCgpKBtqqMvCsi/ZW6Oz8HUpVvybGUG1fH hG8+ElkSyo/prmcxZdjVqU1TR29y1pTCypYHicp7PhKWQjiuaD9e2Z1pONz/Wol9jkd1 Mc+p4/shau7Fm9OC1sqABeZzwOPTZqTaHw7WUNA8sfYn9HUojp7skm4UGWhCur/2Xp2b GWutHmU11akXfoSojde5zzJwj/Enve7iLAw06+OZyMCs+IjzGWJcZAZj8eARqN5zpnJq hxRh6LKgpqgpDjfen0IqHmEDtFofHc9ilxs/IxavLHfDcGc/lE8S3y67sGKb0S+4yUso wj3g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id 69si58928wrb.1.2019.01.30.04.24.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 04:24:52 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x0UCOp2m024195 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 30 Jan 2019 13:24:51 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.68.203]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x0UCOpqK010950 for ; Wed, 30 Jan 2019 13:24:51 +0100 Date: Wed, 30 Jan 2019 13:24:50 +0100 From: Henning Schild To: isar-users@googlegroups.com Subject: Re: [PATCH 0/7] "apt-get source" fetch/unpack support Message-ID: <20190130132450.3961db7c@md1za8fc.ad001.siemens.net> In-Reply-To: References: <20190117160427.26556-1-henning.schild@siemens.com> <20190128175711.73c0df4d@md1za8fc.ad001.siemens.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: BdrvsKcLWsU4 On Wed, 30 Jan 2019 07:43:24 +0100 "Maxim Yu. Osipov" wrote: > I've rebased the patchset against current 'next' (I've dropped patch > #6 from the series) and ran the "quick" test (with cross-compilation) > - 'ci_build.sh -q -f'. build of 'hello' package failed: > http://isar-build.org:8080/job/isar_mosipov_develop/14/console > > FYI: native build ('ci_build.sh -q') passed OK: > http://isar-build.org:8080/job/isar_mosipov_next/133/console Pretty obvious actually. I can not execute an arm64 binary in an amd64 chroot, so testing needs to be switched off. This is technically another upstream bug in this package, but hey cross building is not a debian feature so we are not in the position to complain. I will send an update for the recipe. I actually have a patch that disabled testing for _all_ cross builds in build.sh ... but decided to not post it. There might actually be some packages where testing will still work ... Henning > Maxim. > > On 1/28/19 5:57 PM, Henning Schild wrote: > > ping > > > > Am Thu, 17 Jan 2019 17:04:20 +0100 > > schrieb Henning Schild : > > > >> From: Henning Schild > >> > >> This series includes support for fetching upstream sources with > >> "apt-get source". This will make sure we fetch exactly what matches > >> out distro, without rewriting debian fetch/unpack logic. > >> I did consider implementing it as an "apt://" extension to the > >> regular fetcher but decided against that. You have to set SRC_APT > >> and effectively pass arguement to apt-get. That fetcher can only > >> work in packages and depends on buildchroot and mounting, so it > >> can not be part of the general fetcher. But maybe the general > >> fetcher could ignore "apt://" lines and this task will ignore > >> anything but "apt://" so we can still use SRC_URI instead of > >> SRC_APT. Let us talk about the interface. The documentation is > >> still missing, but i thing it is ready for a first review. > >> > >> The idea and parts of the code came from Mentor. > >> > >> Henning Schild (7): > >> conf: add deb-src entries to all our distro configs > >> dpkg-base: introduce an "apt-get source" fetch/unpack step > >> meta: move debianization code into a class and into dpkg-base > >> debianize: allow changlog version change > >> meta-isar/recipes-app: add upstream hello rebuild example > >> local.conf: remove example-hello from the default build > >> local.conf: enable rebuilding "hello" for all distros > >> > >> meta-isar/conf/distro/debian-buster.list | 3 + > >> meta-isar/conf/distro/debian-jessie.list | 3 + > >> .../conf/distro/debian-stretch-backports.list | 1 + > >> meta-isar/conf/distro/debian-stretch.list | 3 + > >> meta-isar/conf/distro/raspbian-jessie.list | 1 + > >> meta-isar/conf/local.conf.sample | 2 +- > >> meta-isar/recipes-app/hello/hello.inc | 19 +++++ > >> meta-isar/recipes-app/hello/hello_2.10.bb | 8 ++ > >> meta-isar/recipes-app/hello/hello_2.9.bb | 8 ++ > >> meta/classes/debianize.bbclass | 82 > >> +++++++++++++++++++ meta/classes/dpkg-base.bbclass | > >> 20 +++++ meta/classes/dpkg-raw.bbclass | 76 > >> ----------------- 12 files changed, 149 insertions(+), 77 > >> deletions(-) create mode 100644 > >> meta-isar/recipes-app/hello/hello.inc create mode 100644 > >> meta-isar/recipes-app/hello/hello_2.10.bb create mode 100644 > >> meta-isar/recipes-app/hello/hello_2.9.bb create mode 100644 > >> meta/classes/debianize.bbclass > > > >