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 <g...@mlbassoc.com>
---
 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
------------------------------------------------------------
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: <module>
     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=\"%s\" %s %s %s" % 
(localdata.getVar("PATH"),
 *** 0229:                                                          
d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir), shell=True)
     0230:
     0231:        if d.getVar('IPK_SIGN_PACKAGES') == '1':
     0232:            ipkver = "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR'))
     0233:            ipk_to_sign = "%s/%s_%s_%s.ipk" % (pkgoutdir, pkgname, 
ipkver, d.getVar('PACKAGE_ARCH'))
File: '/usr/lib/python3.5/subprocess.py', lineno: 626, function: check_output
     0622:        # empty string. That is maintained here for backwards 
compatibility.
     0623:        kwargs['input'] = '' if kwargs.get('universal_newlines', 
False) else b''
     0624:
     0625:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
 *** 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 = process.poll()
     0706:        if check and retcode:
     0707:            raise CalledProcessError(retcode, process.args,
 *** 0708:                                     output=stdout, stderr=stderr)
     0709:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0710:
     0711:
     0712:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 
'PATH="/build/p0382_2016-01-13/tmp/sysroots-uninative/x86_64-linux/usr/bin:/local/poky-cutting-edge/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/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/sbin:/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:/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-amltd-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p8.6+fslc+gitAUTOINC+1be63fb14e-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:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
 opkg-build kernel-module-galcore-4.1.15-2.0.0_ga+yocto+g76c24a0 
/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/teton_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+gitAUTOINC+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 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: <module>
     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=\"%s\" %s %s %s" % 
(localdata.getVar("PATH"),
 *** 0229:                                                          
d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir), shell=True)
     0230:
     0231:        if d.getVar('IPK_SIGN_PACKAGES') == '1':
     0232:            ipkver = "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR'))
     0233:            ipk_to_sign = "%s/%s_%s_%s.ipk" % (pkgoutdir, pkgname, 
ipkver, d.getVar('PACKAGE_ARCH'))
File: '/usr/lib/python3.5/subprocess.py', lineno: 626, function: check_output
     0622:        # empty string. That is maintained here for backwards 
compatibility.
     0623:        kwargs['input'] = '' if kwargs.get('universal_newlines', 
False) else b''
     0624:
     0625:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
 *** 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 = process.poll()
     0706:        if check and retcode:
     0707:            raise CalledProcessError(retcode, process.args,
 *** 0708:                                     output=stdout, stderr=stderr)
     0709:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0710:
     0711:
     0712:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 
'PATH="/build/p0382_2016-01-13/tmp/sysroots-uninative/x86_64-linux/usr/bin:/local/poky-cutting-edge/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-gnueabi:/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/recipe-sysroot-native/usr/sbin:/build/p0382_2016-01-13/tmp/work/teton_p0382-amltd-linux-gnueabi/linux-boundary/4.1.15-r0/recipe-sysroot-native/usr/bin:/build/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/teton_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:/usr/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_package_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_write_ipk.24611
ERROR: Task 
(/local/poky-cutting-edge/meta-freescale-3rdparty/recipes-kernel/linux/linux-boundary_4.1.15.bb:do_package_write_ipk)
 failed with exit code '1'
-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to