From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6546059049526362112 X-Received: by 10.28.158.22 with SMTP id h22mr603229wme.11.1524145635811; Thu, 19 Apr 2018 06:47:15 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.158.85 with SMTP id h82ls52108wme.3.gmail; Thu, 19 Apr 2018 06:47:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/tovSmm54XnZ35fVdV74qhj+1Wh0U8vUFb6YRe4+Nce2bceqSsc4caZW8fUfxmoVBmA+vk X-Received: by 10.28.136.211 with SMTP id k202mr596637wmd.19.1524145635359; Thu, 19 Apr 2018 06:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524145635; cv=none; d=google.com; s=arc-20160816; b=EGHNE8Bwcvte4PXhg/2XPIdea+JynbdA9UP7ySxL0QkK6hFceDigehDAwjRABlONYU FrsiDsKnWp9ELVZRSSCTXe7QKlvFEislIF1bWIXgN3L2WXlpGqKNv4MQRuLm/iVsDhiC ChFhETnS9dYquFn/ULkbZvfgj1K4y3KT54enNw++PTLXkyyCapbGk8w547no/t8aVlCU aP/Yj32WOHg4vyMA3ZXkkAy5LwE8Xc5aTNtmNqBW947kdzk7Mewn2zGs8bZpMjlFyqd9 7bqTEn8O013h54HjebafRO1ePScmaJN/nucEiKV/chsz9DydCX0anuV3eZFeMvhMU4rc g4jw== 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:cc:to:from:date:arc-authentication-results; bh=ZPbWKr9c5nkGuYjmbMWxo04/85K/Lwc/GoEY7ZAlGdw=; b=fVdOfZBtwS8nSJHmfeZ+2yga6x9jw6r8qRxdjUXfi0LJc1zs0hSPl4FBVFeC+0ZfZn AiQzha05dQARSp4IaWE/kgWeCCrM3Bp3cgBdPvvE+Pgegn89GhLIkXnQJl61q81VlPzp DjT2f9lK3B9hfQZtGfjUtNWx1uqiUPb/XZrZogq8t6KL0AXLjvmLg52d/LXQ0/+rkOsb TxSn7ChOU3GatZSjjr7+vNA4BqfmhALh+kJmxuzaT/akS9VHp60Au6Irct6QKD9dagUD 35uoMHJOEX3Lq2zNlk4rD3FtJ/ghYjIz56SrEY/gPJg3/TixpPinA4nzM/oNZhXgFzgm QJfw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id p21si153581wmc.1.2018.04.19.06.47.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 06:47:15 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w3JDlE6o002376 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Apr 2018 15:47:14 +0200 Received: from mmd1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w3JDlEtC008513; Thu, 19 Apr 2018 15:47:14 +0200 Date: Thu, 19 Apr 2018 15:47:13 +0200 From: Henning Schild To: Jon Nettleton Cc: isar-users Subject: Re: building custom kernel fails Message-ID: <20180419154713.35046708@mmd1pvb1c.ad001.siemens.net> In-Reply-To: References: <20180419111904.7436c6a0@mmd1pvb1c.ad001.siemens.net> <20180419123812.7c8f9a0f@mmd1pvb1c.ad001.siemens.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: NMyLfGOvfQIq Am Thu, 19 Apr 2018 13:27:36 +0000 schrieb Jon Nettleton : > On Thu, Apr 19, 2018 at 12:38 PM Henning Schild > wrote: > > > Am Thu, 19 Apr 2018 09:33:28 +0000 > > schrieb Jon Nettleton : > > > > > On Thu, Apr 19, 2018 at 11:19 AM Henning Schild > > > wrote: > > > > > > > Am Thu, 19 Apr 2018 00:32:21 -0700 > > > > schrieb : > > > > > > > > > I am now building a custom debian package from our kernel > > > > > sources, the kernel compile goes fine. The deb-pkg is > > > > > failing because the number of files passed to xarg is too > > > > > long. > > > > > > > > > > Error message is. > > > > > > > > > > 2018-04-19 07:11:17 - INFO - | Using default distribution > > > > > of 'unstable' in the changelog > > > > > 2018-04-19 07:11:17 - INFO - | Install lsb-release or set > > > > > $KDEB_CHANGELOG_DIST explicitly > > > > > 2018-04-19 07:11:17 - INFO - | /usr/bin/xargs: md5sum: > > > > > Argument list too long > > > > > 2018-04-19 07:11:17 - INFO - | > > > > > scripts/package/Makefile:90: recipe for target 'deb-pkg' > > > > > failed 2018-04-19 07:11:17 - INFO - | make[1]: *** > > > > > [deb-pkg] Error 126 2018-04-19 07:11:17 - INFO - | > > > > > Makefile:1347: recipe for target 'deb-pkg' failed > > > > > 2018-04-19 07:11:17 - INFO - | make: *** [deb-pkg] Error 2 > > > > > 2018-04-19 07:11:17 - INFO - | WARNING: exit code 2 from a > > > > > shell command. > > > > > > > > > > looks like on large kernel builds the file lists will need to > > > > > be broken up. > > > > > > > > > > > > > I have seen that before. It happens in buildchroot when using > > > > qemu-arm-static binfmt magic. Something in that chain seems to > > > > cause problems for very long argument lists. > > > > In my case it was a "make clean" and i removed the files from > > > > outside the buildchroot. But since it now happened again it is > > > > probably something worth looking into. > > > > > > > > Henning > > > > > > > > > > Oh interesting. I wonder if this has something to do with the > > > binfmt support in CentOS vs Debian. I will look into it and > > > report back. > > > > I saw it on Gentoo building in a debian docker container. So i guess > > the problem might be related to the binfmt wrapping in general, not > > distro specific. > > > > Henning > > > > > It looks like that was the problem. I just went through the pain of > building qemu 2.9.1 for Centos7...and all the dependencies that were > needed by it. That has fixed the custom kernel build issues. > Thanks for all the pointers. > > I would say for now if anyone asks you can consider Centos 7 a no > go. If there is interest I may add a build to Copr for other users. > Fedora 26 and newer should be fine. Isar calls "random" sudos all over the place. Someone actually allowing this on a productive system surprises me ... to say the least. My advise it to use a VM or container to run Isar in, and in that case going for Debian9 is easy. One example, used by many of us, is https://hub.docker.com/r/kasproject/kas-isar/ Henning > Jon