From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6546059049526362112 X-Received: by 2002:a19:9d4c:: with SMTP id g73-v6mr312313lfe.34.1524125540959; Thu, 19 Apr 2018 01:12:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.46.157.71 with SMTP id y7ls686300ljj.12.gmail; Thu, 19 Apr 2018 01:12:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/3N9c1Gl71YGHzbR/cdUQP1oB+rVWL4CtA6afAdY7Qdrh7asG9qprTj9YHo027MQZx9ZDb X-Received: by 10.46.155.20 with SMTP id u20mr299716lji.41.1524125540289; Thu, 19 Apr 2018 01:12:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524125540; cv=none; d=google.com; s=arc-20160816; b=EZA3P2V4OtqbLsVblcE28RatwyNYT66+hTAxTv8R9W687Gs6aa3vQ0WxdAgz3nJPXa HpePOjGYs2oYapeZap+B7s7XF2RQH4+5w9vY51N/hWsrBqG99AGmTkmDhtJNq1e+MUYu AtJXs9rA2mSAffsqSgYx8LTqSn6ZEo5YSZnT+ujg8cVVpVapSqiowq/92pcvM2MQfmPX PgWUvhLDHegHZS4TAFMZE/AOYs4hIapBHwpJu9Q0VfF9+uuoX1Y/0Rv4vNRM7lrfNKqo Z0byPEgwUdoITIY6bMAG4l67h/GowsAt/XxRU+v73qSXc4FQi/OA2GDbshvFEy8kY33u LKrQ== 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:openpgp:from:references:cc:to:subject :arc-authentication-results; bh=DuK+e/fql5v/iGqY8RRRvmmbNmzw4rjLbWl2/WijQTM=; b=nNcA6DGedFCB+Eqv9PhkBzSvGxpzSiW6TbBbDwxsJRssTKaJvxSVra8An9gLqpEgRp WZNP7iIwNxnS77gm//HzEHEhzRfY+sG/glXaYTKcCTBqQ6hZsPhxf8Yj2XmJYJfBcUQ/ RtvqgjIMx2zMtRtnxDBCTp0glDe29OvgxqTvw+irLaUq7gJLFfg9yO/fHGxypC/Y+RD0 M/eEd+9XCViFtG8a5m7oXVXgIoRTDRI+ZsbmpwmOny4jel/dQyGBD5NpV/TPswMknQtW a384D+wgvyuMgjX7ey2/nJc48NsW/bzk5NrX8ew7M7g3ERSZLpLb4p8Xh8fVP61J4+34 0Wcw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id e1si143610ljk.0.2018.04.19.01.12.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 01:12:20 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@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 jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w3J8CJDX021265 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Apr 2018 10:12:19 +0200 Received: from [167.87.42.84] ([167.87.42.84]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w3J8CIoj011557; Thu, 19 Apr 2018 10:12:19 +0200 Subject: Re: building custom kernel fails To: Jon Nettleton Cc: isar-users References: <01699424-086e-5688-d768-a23cbf16c7a7@siemens.com> <0b505160-6736-0550-eee4-dcb53a5dd29e@siemens.com> <0d5631bf-4777-0fc3-c6c7-2410011b4859@siemens.com> From: Jan Kiszka Openpgp: preference=signencrypt Message-ID: Date: Thu, 19 Apr 2018 10:12:18 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: n2zDZUt29JjN On 2018-04-19 10:05, Jon Nettleton wrote: > On Thu, Apr 19, 2018 at 9:57 AM Jan Kiszka > wrote: > > On 2018-04-19 09:56, Jon Nettleton wrote: > > On Thu, Apr 19, 2018 at 9:52 AM Jan Kiszka > > >> > wrote: > > > >     On 2018-04-19 09:47, Jon Nettleton wrote: > >     > > >     > On Thu, Apr 19, 2018 at 9:40 AM Jan Kiszka > > >     > > >     > >>> > >     wrote: > >     > > >     >     On 2018-04-19 09:32, jon@solid-run.com > > >     > > > >     >> wrote: > >     >     > 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. > >     > > >     >     Where exactly is this argument list passed? What exactly is > >     your setup > >     >     (host, target distro, kernel version etc.)? > >     > > >     >     BTW, you can find a working custom kernel build here e.g.: > >     >    > >    >   https://github.com/siemens/jailhouse-images/tree/master/recipes-kernel/linux > >     >     There is an ARM64 version of that as well, just waiting for > >     cross-build > >     >     support to be available. > >     > > >     >     Jan > >     > > >     > > >     >  Yes I have used your recipe as a reference.  It is a 4.9.y > lts kernel > >     > with the NXP BSP merged for our hardware. > https://www.solid-run.com > >     > > >     > I am attempting to use the default make deb-pkg in that LTS > kernel.  I > >     > am running this in a kas-isar container on a CentOS 7 host.  My > >     guess is > >     > ulimit my possibly be getting in the way.  I will do a > minimal kernel > >     > config build and then move up from there. > > > >     Are you using our recipes-kernel/linux/linux-custom.inc or > your own > >     rules? > > > >     Jan > > > > > > Correct > > Err, there was an "or" in my question... > > If your "correct" applied to option 2, I would recommend option 1. > > Jan > > > Sorry was a bit distracted.  I am using your rules, option 1.  As we are also building older kernels with that rules (4.4-cip namely), I suspect the problem either comes from the config or BSP-specific changes. Hope, NXP was not touching stuff again they shouldn't change... Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux