Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 89BF0E00B43; Thu, 18 May 2017 06:46:56 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [62.254.222.163 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mailgate.plextek.co.uk (mailgate.plextek.co.uk [62.254.222.163]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3B591E00961 for ; Thu, 18 May 2017 06:46:52 -0700 (PDT) Received: from plextek-exch1.plextek.lan ([10.10.0.152]:14488) by mailgate.plextek.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1dBLlR-0005wT-1m; Thu, 18 May 2017 14:46:49 +0100 Received: from PLEXTEK-EXCH1.plextek.lan (10.10.0.152) by PLEXTEK-EXCH1.plextek.lan (10.10.0.152) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 18 May 2017 14:46:48 +0100 Received: from PLEXTEK-EXCH1.plextek.lan ([fe80::f852:2da9:3543:6c2f]) by PLEXTEK-EXCH1.plextek.lan ([fe80::f852:2da9:3543:6c2f%18]) with mapi id 15.00.0847.030; Thu, 18 May 2017 14:46:48 +0100 From: Alan Levy To: Alexander Kanavin , "yocto@yoctoproject.org" Thread-Topic: [yocto] Problem using Subversion in Pyro Thread-Index: AdLPyt4Pb9k/DAD2TOCCDYM1/+ec1gAALnIAAAKX14D///SdAP//6z8g///R4OA= Date: Thu, 18 May 2017 13:46:48 +0000 Message-ID: <78f915ebf83d4f929690faa344e28b87@PLEXTEK-EXCH1.plextek.lan> References: <026d9904-42bf-3314-24c9-dff2acc317cb@linux.intel.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.12.154] MIME-Version: 1.0 Subject: Re: Problem using Subversion in Pyro X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2017 13:46:56 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Just noticed the typo on my part - it's SRCPV that causes the problem, not = SRCREV. Apologies for the confusion; a maze of twisty little variables, all= alike ALAN LEVY, Lead Consultant, Embedded Systems Plextek Consulting, The Plextek Building, London Road, Great Chesterford, S= affron Walden, CB10 1NY, UK T: +44 (0) 1799 533200 E: alan.levy@plextek.com W: www.plextek.com -----Original Message----- From: Alan Levy=20 Sent: 18 May 2017 14:32 To: 'Alexander Kanavin'; yocto@yoctoproject.org Subject: RE: [yocto] Problem using Subversion in Pyro I want to assign SRCREV to PV, which is perfectly legitimate, so that I can= capture the SVN revision number used to build the code. Here's a simple re= cipe which exhibits the problem: DESCRIPTION =3D "Recipe to test SVN" PACKAGE_ARCH =3D "${MACHINE_ARCH}" LICENSE =3D "CLOSED" PV =3D "${SRCPV}" SRCREV =3D "${AUTOREV}" SRC_URI =3D "svn://server/path;module=3Dmy_module" If you comment out the line referring to SRCPV all is well, if you include = it bitbake blows up, even if I just perform cleansstate. ALAN LEVY, Lead Consultant, Embedded Systems Plextek Consulting, The Plextek Building, London Road, Great Chesterford, S= affron Walden, CB10 1NY, UK T: +44 (0) 1799 533200 E: alan.levy@plextek.com W: www.plextek.com -----Original Message----- From: Alexander Kanavin [mailto:alexander.kanavin@linux.intel.com] Sent: 18 May 2017 14:14 To: Alan Levy; yocto@yoctoproject.org Subject: Re: [yocto] Problem using Subversion in Pyro On 05/18/2017 04:04 PM, Alan Levy wrote: > It does get built, and it apparently does get used to do the actual=20 > fetching, just not for miscellaneous functions such as populating=20 > SRCREV which rely on the svn executable being on the PATH. This=20 > appears to be deliberate since there is a FETCHCMD_svn variable in=20 > bitbake.conf. The simplest way for me to force an svn executable onto=20 > PATH was to add it to HOSTTOOLS but that may not be what is really=20 > intended. SRCREV is supposed to be hardcoded in the recipe. What is the reason you ne= ed to use svn to set it? Can you show how it's specifically done in your re= cipe? Alex