From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6546059049526362112 X-Received: by 2002:adf:bc03:: with SMTP id s3-v6mr517986wrg.27.1524148550342; Thu, 19 Apr 2018 07:35:50 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.13.196 with SMTP id 187ls74995wmn.2.canary-gmail; Thu, 19 Apr 2018 07:35:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+dQ2wekqU1Pftq7RUMkH90j9OVY8xpJwBGhJj/rXz60acqIhnpfK/XU5A46OlkydIFaz3F X-Received: by 10.28.23.84 with SMTP id 81mr542112wmx.8.1524148549741; Thu, 19 Apr 2018 07:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524148549; cv=none; d=google.com; s=arc-20160816; b=WTRZzj0l2A7kdTkqugTq/kAXo8Dyh5LJMy5N0OdTjJip817RhwyBVGYjNF0qx/LzzD d4JcSHyAW9cWwO7zYkPA72ByRKwqICWQOP5dJpqJa0NFRO9BzYC/a45F/BHWHXDgI2Si TsePZio7jgjhrUcCRI1b3Gt4iNSUz1OEGTvlg8Ub/GTNf/UNNyvDwCmTaLlBieJxRAh/ ZaW6Tjfi0+xGw+ctuUCMyfPTAQE3ly3qrppB2kExlCygNpzRFdT77B1wM/qy3E15bfYY z+Om3EQNbx3+Xzi6enFGk6nlNUU2X+tNRliaqC/pfifYspkyc1EjqV8JPc5i+n62BodZ ujzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :arc-authentication-results; bh=6DcPzbztPg6fN/+gmrk7q2OkPXqJ+cpo15We73rfhqo=; b=sUqb1/Z9oQJwciQ62fcOXV/Fp+axhKWf2+i0MLRre9nxcgtRwFk/WpBjCAMNsC0Pnw N/uJlZrrY4PdgosdAPMhZ4Fja1/oloWbjTHzk6q1rT648SG8J/wd2h0kwu1fCDTwG3bg 6N69oXooo31Vpl0U/bnAanAHKwFvGa5hHJB/vcPSCNufBkh7PT6DaPq1L8CtiG09hzfg O/OzJNLVaLG2MhT2nWwm/pHH0ZArYMeMg0hH/TSvavMiF65WtnyWDQzMKIHFXPbwLmkt ApykK5Ua2MDySBaMWInJWZkMYub26pzFcvSc5gwq442Cf5L/JoP/kqJdcNaJ48HoOmJB rEGw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id v1si6051wmc.4.2018.04.19.07.35.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 07:35:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w3JEZkw1000366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 19 Apr 2018 16:35:48 +0200 Subject: Re: building custom kernel fails To: Jon Nettleton Cc: isar-users References: <20180419111904.7436c6a0@mmd1pvb1c.ad001.siemens.net> <20180419123812.7c8f9a0f@mmd1pvb1c.ad001.siemens.net> <20180419154713.35046708@mmd1pvb1c.ad001.siemens.net> From: Alexander Smirnov Message-ID: Date: Thu, 19 Apr 2018 17:35:41 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: i+MPizzjpdBO On 04/19/2018 05:26 PM, Jon Nettleton wrote: > > On Thu, Apr 19, 2018 at 3:47 PM Henning Schild > > wrote: > > 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 > > > Yes that is what I am  using to build with.  I can only imagine that the > newer build of qemu brings in a configuration to the host os that is > required for things to build properly. > My host OS is Fedora for many years, so I use chroot to work with Debian environment (for Isar as well): $ sudo debootstrap jessie debian8-isar/ http://ftp.debian.org/debian $ sudo chroot debian8-isar This also could be an option. Alex > Jon > > -- > You received this message because you are subscribed to the Google > Groups "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to isar-users+unsubscribe@googlegroups.com > . > To post to this group, send email to isar-users@googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/isar-users/CABdtJHt9xX6HxrdKMPEDnJ5k6hNqgy_DpB-%2BJq1ZQ7UQCiVcPQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout.