From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6546059049526362112 X-Received: by 10.46.153.5 with SMTP id v5mr313436lji.2.1524134293921; Thu, 19 Apr 2018 03:38:13 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:1086:: with SMTP id 6-v6ls760101lfq.2.gmail; Thu, 19 Apr 2018 03:38:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx48D1wkRL/3VO3N/OTsH/wOEVJFEJ0PdGtHPh+MqDV2EMn0VaNASzBuRHvMcvG2KEipU8ga4 X-Received: by 2002:a19:10c6:: with SMTP id 67-v6mr340755lfq.35.1524134293425; Thu, 19 Apr 2018 03:38:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524134293; cv=none; d=google.com; s=arc-20160816; b=TLNh53L6Au/L4yCss0bmzNdc3/0Gn56nUEEy6aLvKh34DpGOtS0T1FWzyc24CZSO3W eiWU/0uKNWmtfOr6nA8DYTBBjUc2Y85PpWUpCq/lYohKjCx0OsU+96lfarIl29FQ3Qyo 7VE0FOS6ibGVbAzXYIFEybtZs3qXN+XsENHJKTf6WrQPJMtKjJQ6iVmGT09p2EKtsDFL UirgpJMsr6VnrVcbVQV97wg74ydwEPnUnNKST8AjsSHxdKuXfHTTgGTsAhtca1b/xPMQ IImjt4WrU7skaUaPNd1zHhtqZlkPdlRquj/KmmPjmvQdCndSs4ny4Q29cySAmAYdhev2 JQqg== 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=ASN9ilNH2Ni/kzPKF09R9IBKYdjjEIpXVCVyGxe9KhM=; b=XyD/aLwpsaxiUYI/Wo807CHV3rttKtXAlHlmdmvHZ0t4+7klP1mOKaqcMD3fguZhcD bLcHW2owywb6NQt1oBfKddiwBnjYS/GZJZs4eiGd1aBy7PwuKv9PsjejKwT/yIO9dhmo 3LtVES2NdLm1+Mh9NcWFA6Ic+kH7hN0Um1qZaIMHWkWiLOpC0RlNSmymiZOO0ppxnRpI tWJYHC6hgR+UBVBDvSVvhGm0QTZcqG0W+zwWUqosr1fl45WZ4TrKs8i2ZgTpF1SZe4hV jqrRWPvqA2u1RPr29HqVZxenTvbz1z23FaIVJUzUKS3oJ8qHHXSmxPAW9VfRDCgmj7uM 0I9A== 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 u13-v6si30307lff.5.2018.04.19.03.38.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 03:38:13 -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 w3JAcC6c020963 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Apr 2018 12:38:12 +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 w3JAcCPs015637; Thu, 19 Apr 2018 12:38:12 +0200 Date: Thu, 19 Apr 2018 12:38:12 +0200 From: Henning Schild To: Jon Nettleton Cc: isar-users Subject: Re: building custom kernel fails Message-ID: <20180419123812.7c8f9a0f@mmd1pvb1c.ad001.siemens.net> In-Reply-To: References: <20180419111904.7436c6a0@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: UHZDPvzE3tDm 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 > Jon