Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4FC7AE00970; Tue, 31 Jan 2017 03:30:58 -0800 (PST) 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 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.analogue-micro.com (mail.analogue-micro.com [217.144.149.242]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D19B0E0095F for ; Tue, 31 Jan 2017 03:30:44 -0800 (PST) Received: by mail.analogue-micro.com (Postfix, from userid 999) id 69C3D68A01C; Tue, 31 Jan 2017 11:30:43 +0000 (GMT) Received: from zeus.mlbassoc.com (unknown [10.8.0.2]) by mail.analogue-micro.com (Postfix) with ESMTP id 9019968A019; Tue, 31 Jan 2017 11:30:42 +0000 (GMT) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by zeus.mlbassoc.com (Postfix) with ESMTP id 453406740525; Tue, 31 Jan 2017 12:30:42 +0100 (CET) To: meta-freescale@yoctoproject.org References: <1485861827-3706-1-git-send-email-gary@mlbassoc.com> From: Gary Thomas Message-ID: <2da5d357-74a7-5e68-c47c-a1fbbbbfd565@mlbassoc.com> Date: Tue, 31 Jan 2017 12:30:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1485861827-3706-1-git-send-email-gary@mlbassoc.com> Subject: Re: [meta-freescale-3rdparty][PATCH] linux-boundary: Use compatible version names X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2017 11:30:58 -0000 X-Groupsio-MsgNum: 20118 Content-Type: multipart/mixed; boundary="------------749D413A8F762B5AF78CB6E5" --------------749D413A8F762B5AF78CB6E5 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2017-01-31 12:23, Gary Thomas wrote: > Kernel modules now contain ${LOCAL_VERSION} as part of the > final package name. IPK/OPKG packages cannot contain '_', > so 2.0.0_ga+yocto... is invalid. This patch uses a version > scheme which is compatible with those packaging schemes. > > Signed-off-by: Gary Thomas > --- > recipes-kernel/linux/linux-boundary_4.1.15.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/recipes-kernel/linux/linux-boundary_4.1.15.bb b/recipes-kernel/linux/linux-boundary_4.1.15.bb > index 69fe61c..d62d4e8 100644 > --- a/recipes-kernel/linux/linux-boundary_4.1.15.bb > +++ b/recipes-kernel/linux/linux-boundary_4.1.15.bb > @@ -10,7 +10,7 @@ SRC_URI = "git://github.com/boundarydevices/linux-imx6.git;branch=${SRCBRANCH} \ > file://defconfig \ > " > > -LOCALVERSION = "-2.0.0_ga+yocto" > +LOCALVERSION = "-2.0.0-ga+yocto" > SRCBRANCH = "boundary-imx_4.1.15_2.0.0_ga" > SRCREV = "ff4e28b95115d7021c3ea6209b7c2b0b849874e1" > DEPENDS += "lzop-native bc-native" > BTW, without this patch, building a system which uses linux-boundary dies a horrible death :-( -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ --------------749D413A8F762B5AF78CB6E5 Content-Type: text/plain; charset=UTF-8; name="err" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="err" ERROR: kernel-module-imx-gpu-viv-5.0.11.p8.6+fslc+gitAUTOINC+1be63fb14e-r0 = do_package_write_ipk: Error executing a python function in exec_python_func= () autogenerated: The stack trace of python calls that resulted in this exception/failure was= : File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:do_package_ipk(d) 0003: File: '/local/poky-cutting-edge/meta/classes/package_ipk.bbclass', lineno: = 229, function: do_package_ipk 0225: conffiles.close() 0226: 0227: os.chdir(basedir) 0228: subprocess.check_output("PATH=3D\"%s\" %s %s %s" % (local= data.getVar("PATH"), *** 0229: d.getVa= r("OPKGBUILDCMD"), pkg, pkgoutdir), shell=3DTrue) 0230: 0231: if d.getVar('IPK_SIGN_PACKAGES') =3D=3D '1': 0232: ipkver =3D "%s-%s" % (d.getVar('PKGV'), d.getVar('PKG= R')) 0233: ipk_to_sign =3D "%s/%s_%s_%s.ipk" % (pkgoutdir, pkgna= me, ipkver, d.getVar('PACKAGE_ARCH')) File: '/usr/lib/python3.5/subprocess.py', lineno: 626, function: check_outp= ut 0622: # empty string. That is maintained here for backwards com= patibility. 0623: kwargs['input'] =3D '' if kwargs.get('universal_newlines'= , False) else b'' 0624: 0625: return run(*popenargs, stdout=3DPIPE, timeout=3Dtimeout, chec= k=3DTrue, *** 0626: **kwargs).stdout 0627: 0628: 0629:class CompletedProcess(object): 0630: """A process that has finished running. File: '/usr/lib/python3.5/subprocess.py', lineno: 708, function: run 0704: raise 0705: retcode =3D process.poll() 0706: if check and retcode: 0707: raise CalledProcessError(retcode, process.args, *** 0708: output=3Dstdout, stderr=3Dst= derr) 0709: return CompletedProcess(process.args, retcode, stdout, stderr= ) 0710: 0711: 0712:def list2cmdline(seq): Exception: subprocess.CalledProcessError: Command 'PATH=3D"/build/p0382_201= 6-01-13/tmp/sysroots-uninative/x86_64-linux/usr/bin:/local/poky-cutting-edg= e/scripts:/build/p0382_2016-01-13/tmp/work/teton_p0382-amltd-linux-gnueabi/= kernel-module-imx-gpu-viv/5.0.11.p8.6+fslc+gitAUTOINC+1be63fb14e-r0/recipe-= sysroot-native/usr/bin/arm-amltd-linux-gnueabi:/build/p0382_2016-01-13/tmp/= work/teton_p0382-amltd-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p8.6+= fslc+gitAUTOINC+1be63fb14e-r0/recipe-sysroot/usr/bin/crossscripts:/build/p0= 382_2016-01-13/tmp/work/teton_p0382-amltd-linux-gnueabi/kernel-module-imx-g= pu-viv/5.0.11.p8.6+fslc+gitAUTOINC+1be63fb14e-r0/recipe-sysroot-native/usr/= sbin:/build/p0382_2016-01-13/tmp/work/teton_p0382-amltd-linux-gnueabi/kerne= l-module-imx-gpu-viv/5.0.11.p8.6+fslc+gitAUTOINC+1be63fb14e-r0/recipe-sysro= ot-native/usr/bin:/build/p0382_2016-01-13/tmp/work/teton_p0382-amltd-linux-= gnueabi/kernel-module-imx-gpu-viv/5.0.11.p8.6+fslc+gitAUTOINC+1be63fb14e-r0= /recipe-sysroot-native/sbin:/build/p0382_2016-01-13/tmp/work/teton_p0382-am= ltd-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p8.6+fslc+gitAUTOINC+1be= 63fb14e-r0/recipe-sysroot-native/bin:/local/poky-cutting-edge/scripts:/loca= l/poky-cutting-edge/bitbake/bin:/home/gthomas/bin:/opt/amltd/bin:/usr/local= /sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ga= mes:/snap/bin" opkg-build kernel-module-galcore-4.1.15-2.0.0_ga+yocto+g76c2= 4a0 /build/p0382_2016-01-13/tmp/work/teton_p0382-amltd-linux-gnueabi/kernel= -module-imx-gpu-viv/5.0.11.p8.6+fslc+gitAUTOINC+1be63fb14e-r0/deploy-ipks/t= eton_p0382' returned non-zero exit status 1 Subprocess output: kernel-module-galcore-4.1.15-2.0.0_ga+yocto+g76c24a0 ERROR: kernel-module-imx-gpu-viv-5.0.11.p8.6+fslc+gitAUTOINC+1be63fb14e-r0 = do_package_write_ipk: Function failed: do_package_ipk ERROR: Logfile of failure stored in: /build/p0382_2016-01-13/tmp/work/teton= _p0382-amltd-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p8.6+fslc+gitAU= TOINC+1be63fb14e-r0/temp/log.do_package_write_ipk.24614 ERROR: Task (/local/poky-cutting-edge/meta-freescale/recipes-kernel/kernel-= modules/kernel-module-imx-gpu-viv_5.0.11.p8.6+fslc.bb:do_package_write_ipk)= failed with exit code '1' ERROR: linux-boundary-4.1.15-r0 do_package_write_ipk: Error executing a pyt= hon function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was= : File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:do_package_ipk(d) 0003: File: '/local/poky-cutting-edge/meta/classes/package_ipk.bbclass', lineno: = 229, function: do_package_ipk 0225: conffiles.close() 0226: 0227: os.chdir(basedir) 0228: subprocess.check_output("PATH=3D\"%s\" %s %s %s" % (local= data.getVar("PATH"), *** 0229: d.getVa= r("OPKGBUILDCMD"), pkg, pkgoutdir), shell=3DTrue) 0230: 0231: if d.getVar('IPK_SIGN_PACKAGES') =3D=3D '1': 0232: ipkver =3D "%s-%s" % (d.getVar('PKGV'), d.getVar('PKG= R')) 0233: ipk_to_sign =3D "%s/%s_%s_%s.ipk" % (pkgoutdir, pkgna= me, ipkver, d.getVar('PACKAGE_ARCH')) File: '/usr/lib/python3.5/subprocess.py', lineno: 626, function: check_outp= ut 0622: # empty string. That is maintained here for backwards com= patibility. 0623: kwargs['input'] =3D '' if kwargs.get('universal_newlines'= , False) else b'' 0624: 0625: return run(*popenargs, stdout=3DPIPE, timeout=3Dtimeout, chec= k=3DTrue, *** 0626: **kwargs).stdout 0627: 0628: 0629:class CompletedProcess(object): 0630: """A process that has finished running. File: '/usr/lib/python3.5/subprocess.py', lineno: 708, function: run 0704: raise 0705: retcode =3D process.poll() 0706: if check and retcode: 0707: raise CalledProcessError(retcode, process.args, *** 0708: output=3Dstdout, stderr=3Dst= derr) 0709: return CompletedProcess(process.args, retcode, stdout, stderr= ) 0710: 0711: 0712:def list2cmdline(seq): Exception: subprocess.CalledProcessError: Command 'PATH=3D"/build/p0382_201= 6-01-13/tmp/sysroots-uninative/x86_64-linux/usr/bin:/local/poky-cutting-edg= e/scripts:/build/p0382_2016-01-13/tmp/work/teton_p0382-amltd-linux-gnueabi/= linux-boundary/4.1.15-r0/recipe-sysroot-native/usr/bin/arm-amltd-linux-gnue= abi:/build/p0382_2016-01-13/tmp/work/teton_p0382-amltd-linux-gnueabi/linux-= boundary/4.1.15-r0/recipe-sysroot/usr/bin/crossscripts:/build/p0382_2016-01= -13/tmp/work/teton_p0382-amltd-linux-gnueabi/linux-boundary/4.1.15-r0/recip= e-sysroot-native/usr/sbin:/build/p0382_2016-01-13/tmp/work/teton_p0382-amlt= d-linux-gnueabi/linux-boundary/4.1.15-r0/recipe-sysroot-native/usr/bin:/bui= ld/p0382_2016-01-13/tmp/work/teton_p0382-amltd-linux-gnueabi/linux-boundary= /4.1.15-r0/recipe-sysroot-native/sbin:/build/p0382_2016-01-13/tmp/work/teto= n_p0382-amltd-linux-gnueabi/linux-boundary/4.1.15-r0/recipe-sysroot-native/= bin:/local/poky-cutting-edge/scripts:/local/poky-cutting-edge/bitbake/bin:/= home/gthomas/bin:/opt/amltd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/u= sr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" opkg-build kernel-= module-arc4-4.1.15-2.0.0_ga+yocto+g76c24a0 /build/p0382_2016-01-13/tmp/work= /teton_p0382-amltd-linux-gnueabi/linux-boundary/4.1.15-r0/deploy-ipks/teton= _p0382' returned non-zero exit status 1 Subprocess output: kernel-module-arc4-4.1.15-2.0.0_ga+yocto+g76c24a0 ERROR: linux-boundary-4.1.15-r0 do_package_write_ipk: Function failed: do_p= ackage_ipk ERROR: Logfile of failure stored in: /build/p0382_2016-01-13/tmp/work/teton= _p0382-amltd-linux-gnueabi/linux-boundary/4.1.15-r0/temp/log.do_package_wri= te_ipk.24611 ERROR: Task (/local/poky-cutting-edge/meta-freescale-3rdparty/recipes-kerne= l/linux/linux-boundary_4.1.15.bb:do_package_write_ipk) failed with exit cod= e '1' --------------749D413A8F762B5AF78CB6E5--