From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6615476053044363264 X-Received: by 2002:a19:6910:: with SMTP id e16mr464516lfc.42.1540288120111; Tue, 23 Oct 2018 02:48:40 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:d201:: with SMTP id j1-v6ls105407lfg.18.gmail; Tue, 23 Oct 2018 02:48:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV62aRethS+WsxRVg2xZHNRy9M7E7If+g654j4oFa7Wtf/BR1IIS6lBWw/+u8gzgk4Bq+5aJ9 X-Received: by 2002:a19:7011:: with SMTP id h17-v6mr843635lfc.25.1540288119567; Tue, 23 Oct 2018 02:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540288119; cv=none; d=google.com; s=arc-20160816; b=V+5cvjEMZpPZBnr6Q/N0oNqv9Qi+6khC32/kABdHOZZ/ZhP6Y9cq17/MuQxvemsIXf 83lJpovRK+9MXiP4m28uSJ0gpcXPfNqIdsRKoMnUVgYuKhJ1y/Q5Wnhx58vorA5WZb8N XJOZD2gndNsV/asRlD/FQvSbyLh4/okikvolnNJRsLidAw6ngXpmDe3Cgzuh2WZizolY 5Y2MPNVnVbRP/Fw6AfBW1AvFarFiT/upQh9iO9qVA7lCHYfzFCvt8iKisUYxzBmFqmXG YSTT9cFI9hgEwGvSoq534zAL/xkNV2eg3F2CtRit4QSsP/UQASMiY4oPbgRRaPb5P9bq HmBA== 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:organization:from:references:to:subject; bh=vTPkwTYJhioFWOuI2tKixXVhfR3J1uvMNSI0QoxThmk=; b=MI6vuIlCMsJnv4M32oAxZb6CP+IjnAwYIzL4yBEFtMHd2F+Y6k/7wns4Du4wCl1b6M 14Fk+/311lKHQrM7asID+FXRhII+aRGxd5se7pQlbXzITq4zaQ+G2BMtui4sbFS6koPU rxAbEFIqeKXC4+sNXs1cUUUy26+YewZxaV8i5qeyynCJYkPVaBl8qsV+UR0kEVIV/iwH OvfQgqjXs+PYwZf/rnT88kuiYBjdRsg3Xhkc9da7YTIEytmbB7Khybc3jXA2dSsfrI8o +r105gmSNrvozuCT02h++MqKGFDnOrni9von2InapV+ppW1NqOi3CzegaBQEcJF6PBOo W7Og== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id f192-v6si13834lff.4.2018.10.23.02.48.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 02:48:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mosipov@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 mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w9N9mVXq023199 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 23 Oct 2018 11:48:32 +0200 Subject: Re: DISTRO is set too late To: Harald Seiler , isar-users@googlegroups.com References: <56972bf2e66e3d979a1ce1c332594fee59e4ba8f.camel@denx.de> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <485248d7-c66f-8d84-093c-1b74c90dfe8d@ilbers.de> Date: Tue, 23 Oct 2018 12:48:25 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <56972bf2e66e3d979a1ce1c332594fee59e4ba8f.camel@denx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: hcj03ujk27ZC Hi Harald, On 10/23/18 12:05 PM, Harald Seiler wrote: > I am currently porting our layer to `next`. While doing so, I got > a build failure from c8e63614 (base-apt: Introduce base implementation): > > bb.data_smart.ExpansionError: Failure expanding variable DISTRO_SUITE, > [...] triggered Exception IndexError: list index out of range > > The offending line looks like this (base-apt-helper.bbclass): > > DISTRO_SUITE ?= "${@ d.getVar('DISTRO', True).split('-')[1]}" > > This would work perfectly if $DISTRO was already set to the distro from > multiconf, but because that seems to happen later on, $DISTRO is still > `poky` at this point. > Am I doing something wrong or does this need to be fixed upstream? The list of supported distros is under isar/meta-isar/conf/distro/*.conf (debian-wheezy is officially not supported but still present for convenience). (see https://github.com/ilbers/isar/blob/master/doc/user_manual.md#localconf for more detail) How did you get the value `poky` for DISTRO in your environment? Kind regards, Maxim. -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov