HACK: disable dahdi on alix/apu2 builds, too.

We are seeing very strange build errors, and I have not the
slightest clue how to debug those:

ERROR: dahdi-linux-2.10.2-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: '/home/oe/system-images/git/poky/meta/classes/package_ipk.bbclass', lineno: 231, function: do_package_ipk
     0227:            conffiles.close()
     0228:
     0229:        os.chdir(basedir)
     0230:        subprocess.check_output("PATH=\"%s\" %s %s %s" % (localdata.getVar("PATH"),
 *** 0231:                                                          d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir), shell=True)
     0232:
     0233:        if d.getVar('IPK_SIGN_PACKAGES') == '1':
     0234:            ipkver = "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR'))
     0235:            ipk_to_sign = "%s/%s_%s_%s.ipk" % (pkgoutdir, pkgname, ipkver, d.getVar('PACKAGE_ARCH'))
File: '/usr/lib/python3.4/subprocess.py', lineno: 620, function: check_output
     0616:            process.wait()
     0617:            raise
     0618:        retcode = process.poll()
     0619:        if retcode:
 *** 0620:            raise CalledProcessError(retcode, process.args, output=output)
     0621:    return output
     0622:
     0623:
     0624:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 'PATH="/home/oe/system-images/build.apu2/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/oe/system-images/git/poky/scripts:/home/oe/system-images/build.apu2/tmp/work/all-poky-linux/dahdi-linux/2.10.2-r0/recipe-sysroot-native/usr/bin/i586-poky-linux:/home/oe/system-images/build.apu2/tmp/work/all-poky-linux/dahdi-linux/2.10.2-r0/recipe-sysroot/usr/bin/crossscripts:/home/oe/system-images/build.apu2/tmp/work/all-poky-linux/dahdi-linux/2.10.2-r0/recipe-sysroot-native/usr/sbin:/home/oe/system-images/build.apu2/tmp/work/all-poky-linux/dahdi-linux/2.10.2-r0/recipe-sysroot-native/usr/bin:/home/oe/system-images/build.apu2/tmp/work/all-poky-linux/dahdi-linux/2.10.2-r0/recipe-sysroot-native/sbin:/home/oe/system-images/build.apu2/tmp/work/all-poky-linux/dahdi-linux/2.10.2-r0/recipe-sysroot-native/bin:/home/oe/system-images/git/poky/bitbake/bin:/home/oe/system-images/build.apu2/tmp/hosttools" opkg-build dahdi-firmware /home/oe/system-images/build.apu2/tmp/work/qemux86-poky-linux/dahdi-linux/2.10.2-r0/deploy-ipks/all' returned non-zero exit status 127

ERROR: dahdi-linux-2.10.2-r0 do_package_write_ipk: Function failed: do_package_ipk
ERROR: Logfile of failure stored in: /home/oe/system-images/build.apu2/tmp/work/qemux86-poky-linux/dahdi-linux/2.10.2-r0/temp/log.do_package_write_ipk.787195
ERROR: Task (/home/oe/system-images/git/meta-telephony/recipes-isdn/dahdi-linux/dahdi-linux_2.10.2.bb:do_package_write_ipk) failed with exit code '1'
This commit is contained in:
Harald Welte 2019-12-12 11:52:38 +01:00
parent 6c68a99f45
commit e158378a69
2 changed files with 6 additions and 0 deletions

View File

@ -4,3 +4,6 @@ PACKAGE_FEED_URIS="https://autoupdate:eechiesuboot@feeds.sysmocom.de/generic/sys
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
BBMASK="recipes-bsp/linux/linux_2.6.39.bb recipes-bsp/linux/linux-sysmocom_3.10.bb"
# TEMPORARY HACK (strange python error while build): Disable DAHDI support in libosmo-abis:
PACKAGECONFIG_remove_pn-libosmo-abis = "dahdi"

View File

@ -2,3 +2,6 @@ MACHINE = "sysmocom-apu2"
PACKAGE_FEED_URIS="https://autoupdate:eechiesuboot@feeds.sysmocom.de/generic/sysmocom-apu2/201705/ipk/"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
BBMASK="recipes-bsp/linux/linux_2.6.39.bb recipes-bsp/linux/linux-sysmocom_3.10.bb"
# TEMPORARY HACK (strange python error while build): Disable DAHDI support in libosmo-abis:
PACKAGECONFIG_remove_pn-libosmo-abis = "dahdi"