From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6615476053044363264 X-Received: by 2002:a1c:b746:: with SMTP id h67-v6mr2103250wmf.1.1540285547777; Tue, 23 Oct 2018 02:05:47 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:7d06:: with SMTP id y6-v6ls531341wmc.27.gmail; Tue, 23 Oct 2018 02:05:47 -0700 (PDT) X-Google-Smtp-Source: ACcGV63I2u/Mij1w/6zmZwaRkvb9PIZ+FNtmfPUwYZSGT0TPtz27XLFmDsvCMOEXQ9hwaXl8ILx6 X-Received: by 2002:a1c:49:: with SMTP id 70-v6mr2003675wma.15.1540285547272; Tue, 23 Oct 2018 02:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540285547; cv=none; d=google.com; s=arc-20160816; b=bc+Jrv876R5KjqbmFrk6CTHpsT3BUWylFu1/SzZtLFFSd13CE0sGZSmIvGiNjtd1p9 N2K4EyGPahQF4+un6W4DNpv7x4n624RQ/oe+7UOvlp0nn/W1f4cMkL6pHZMoP05LqQIf qQv+c9iBF1TCogZwh6+7KeHKKw8RjcweejcyrClBc9FXLLjmuJ2iGYwjidPbBDzf0zm6 tGvepplBL5PbW68J2tXMvREhGr/8jk2zXET4ur8dXiOSONrW0tBWpDoC0oUwNRWfVepS BdeXFW9pfOd0L6s8BdXNrlyN2i4h/VPOTtBOagZaETgVvzYygAEA4C7ASADtXnkZyHv6 W0CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:user-agent:date:to:from :subject:message-id; bh=eu3kZKo0vId3Btaw5g0Q91zPRrGQ8cxXl+gllJye7fs=; b=FpyxEjJpjY6EXbob0Nn/oPaF/r/mkVyDO9L5Tytjx7jg6abd7u1XS8FsnK4Dpy3kqL ZSJNy14TAvE4IYhDq1qkevzlZji0j8aKn3hoODE27mtoZIUVLkX6pZhAjpVKuqcqZHex ST+hroWUoyD1Wmeq75BXKcMe7aKFQXa188GKwM+2fuJcuXL5rxhgiEmjeIzegkXV8gVw 1bT2rcYUL49v0U7d3XLBB231h0UsKJaTj39pcJyYpFGCShvGR25A/nH+DT+tyZIUg/je PRLmWG37fOmAoWVydOVtKdGmcCg2vI83iOEuS46RCuJy2wWvPypjvPwGjxcTTA7r2eGr DClw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id 202-v6si32688wmo.1.2018.10.23.02.05.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 02:05:47 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of hws@denx.de) client-ip=212.18.0.10; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42fSCv0hpfz1qvP2 for ; Tue, 23 Oct 2018 11:05:47 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42fSCv0bR0z1qr2j for ; Tue, 23 Oct 2018 11:05:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id I-s7uEdGC8Ed for ; Tue, 23 Oct 2018 11:05:46 +0200 (CEST) X-Auth-Info: 4TKG02WRtUlWEl0XqcMJpM8T/VntQPdgo47o7ftb6fE= Received: from sandvich (p5B04CE13.dip0.t-ipconnect.de [91.4.206.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA for ; Tue, 23 Oct 2018 11:05:46 +0200 (CEST) Message-ID: <56972bf2e66e3d979a1ce1c332594fee59e4ba8f.camel@denx.de> Subject: DISTRO is set too late From: Harald Seiler To: isar-users@googlegroups.com Date: Tue, 23 Oct 2018 11:05:45 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUID: JVZJll0Qlg3Z 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? -- Harald DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-62 Fax: +49-8142-66989-80 Email: hws@denx.de