From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6499063932287713280 X-Received: by 10.46.31.2 with SMTP id f2mr1115574ljf.41.1515504890231; Tue, 09 Jan 2018 05:34:50 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.42.69 with SMTP id f66ls111643lfl.9.gmail; Tue, 09 Jan 2018 05:34:49 -0800 (PST) X-Google-Smtp-Source: ACJfBotJO74UoYNifVWCFSo4ySG4wodIp78grs7wt17rdNu4fplcov16OLFwH2xxQJr+8XMIyaM7 X-Received: by 10.46.85.88 with SMTP id j85mr324781ljb.12.1515504889607; Tue, 09 Jan 2018 05:34:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515504889; cv=none; d=google.com; s=arc-20160816; b=KcGrSLb6/2r1VlGwvqIEFNPBqbXzACWAt2FttC8rSLTBg4uXBfEcjyIDKqNmgzm2Vj EspAXnW2U5lyBzQ5HEvH7ViTJ8hc2vAo0cJLkHkWjvlDL91KTNd5eGgGOyzTEI9NSJRy V5r8lIo+w9y3jMo+hIA157A6vF4aQzQpkpqjejZnLFtBTtEAVeeBzWyQRis3BmKnMMzl D0coo2VjgtiSkqsQLx9oqtzaBtgAXPXc0ZuNCub6wRVICTrKE0EMzfUwm747HFX3LyW8 RXKt2d6Gp3PVcYJz1ZJMHuo7Hc2+CZAH5CHz7WcF/DevVHrYKiM+PfSMmR1ndOZUqRlp Y36w== 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=XATXADHMQurg64ixkACsCdWEXkJuDLCDO1gbzYfGsBA=; b=ZtEQLCZQj+WVUveLYWanwx55BOeBRRBwKcft9uK7yT/3V/aSbcqLlDhkqCngtH7nEa mvUC+JXhz+ayalpv9z1Rqu7FAGQFtvqz/gaJ1AmkJqn0v0zCbfW153/96GwShAZG0Nbw mSB1MqA5GZ1M1n0MeqdU7t24VPblmoJVdjsnmXw7NfwU7eizAEgArA1YKJUJ61bMFpXT HfCywidU4ZVVOX2Q4o5P+JBuo5w/1N/65LkKexTiv5+C2ifNbcjbzSQfRrTIhm1DV6Da 1pMxPukFZqDjTkYndpCqZNujogtWxfo/ZMzj4y6C+N6Ai6KlSghwU1Vj3CF8GU8jvGae OX7w== 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 y16si1735675lje.2.2018.01.09.05.34.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jan 2018 05:34:49 -0800 (PST) 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 w09DYh5H012500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 9 Jan 2018 14:34:45 +0100 Subject: Re: [RFC PATCH v2 0/1] Special debian depends entries To: Henning Schild , Claudius Heine , Christian Storm , Jan Kiszka Cc: isar-users@googlegroups.com References: <20171215080842.4075-1-ch@denx.de> <1513326642.31110.83.camel@denx.de> <20180103170829.538dc2d2@mmd1pvb1c.ad001.siemens.net> From: Alexander Smirnov Message-ID: Date: Tue, 9 Jan 2018 16:34:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20180103170829.538dc2d2@mmd1pvb1c.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: 4+0s8mpDEdjf Hi all, On 01/03/2018 07:08 PM, Henning Schild wrote: > Am Fri, 15 Dec 2017 09:30:42 +0100 > schrieb Claudius Heine : > >> On Fri, 2017-12-15 at 09:08 +0100, Claudius Heine wrote: >>> Hi, >>> >>> here is a new version of my patch done with python code instead of >>> shell >>> code. >> >> Hi, >> >> Henning and me were currently discussing the options here, and we >> might need some referee to decide how to proceed: >> >> So the options are backwards compatibility vs. avoiding complexity. >> >> I think this code is not too complex, and backwards compatibility is >> nice to have. We don't know how many people use dpkg-raw and fixing it >> in a backwards compatible way saves time overall. >> In my opinion backward compatibility is not so critical for current implementation, especially because current DEBIAN_DEPENDS is a bit 'inconsistent' due to missed version specificators. So in theory in some environment the build could failed due to invalid apt version. Therefor I'd prefer to force Isar users to fix their recipes now. >> Henning thinks that backwards compatibility is not an issue, because >> its easy to fix in the recipes and the complexity that goes with it >> has to be avoided, because there might be bugs inside, and we have to >> fix them over and over. >> >> Both vaild arguments IMO. > > Alex, are you waiting for someone to jump in on this? Maybe you should > just call it and merge one of the two patches. Working on base-apt I've faced with the problem how to get dependency tree for current build. So atm I'm thinking about generalization of DEBIAN_DEPENDS variable and moving this code (patching debian/control) to dpkg-base class. Do you think it makes sense for now? > > With the introduction of BASE_APT Isar might have to actually > understand/use the contents of DEBIAN_DEPENDS. And in this case it might > make sense to format it in a way that is bitbake-friendly and stick > with space-separation and the patch Claudius suggested. > base-apt is created using multistrap, so it's a good question which input format multistrap accepts. Probably no one from proposed formats will work as it is. Alex > Henning > >> Cheers, >> Claudius >> >