Code Monkey home page Code Monkey logo

meta-debian's Introduction

What is meta-debian?

meta-debian is a set of recipes (metadata) for the poky build system, which allows cross-building GNU/Linux images using Debian source packages. By enabling meta-debian, you can cross-build a small GNU/Linux image with Debian sources for multiple architectures.

The main purpose of meta-debian is to provide reference Linux distribution for embedded systems satisfying the following needs.

  • Long-term support
  • Stability
  • Wide embedded CPU support
  • Customizability

Supported Versions

This branch provides recipes to cross-build Debian source packages of the following Debian version. These recipes are compatible with the following Yocto Project version.

  • Debian GNU/Linux 10 (buster)
  • Yocto Project 2.7 (warrior)

Supported Build Environment

This branch is tested on the following build environment.

  • Distribution: Debian GNU/Linux 10 (buster)
  • Architecture: amd64

Quick Start

This section introduces how to generate the minimal system with meta-debian and how to run it on the QEMU environment.

Setup build environment

In case of using the supported build environment, run the following commands.

$ git clone -b warrior git://git.yoctoproject.org/poky.git
$ git clone -b warrior https://github.com/meta-debian/meta-debian.git poky/meta-debian
$ sudo ./poky/meta-debian/scripts/install-deps.sh

Otherwise, use the docker container.

$ git clone -b warrior https://github.com/meta-debian/meta-debian.git
$ make -C meta-debian/docker

Build target images

Setup the build directory.

$ export TEMPLATECONF=meta-debian/conf
$ source ./poky/oe-init-build-env

Set MACHINE variable in conf/local.conf to one of the following machines.

  • qemux86 (default)
  • qemux86-64
  • qemuarm
  • qemuarm64
  • qemuppc
  • qemumips

Example:

MACHINE = "qemuarm"

Now ready for building. Build Linux kernel and the minimal rootfs by the following command. It takes a while to complete (more than 30 minutes).

$ bitbake core-image-minimal

Run images on QEMU

Run the images built in the above step on QEMU. Please replace ${MACHINE} by the target machine you selected in the above step.

$ runqemu ${MACHINE} nographic

After boot, you can login as root without password.

License

License of meta-debian is same as meta in poky i.e. All metadata is MIT licensed unless otherwise stated. Source code included in tree for individual recipes is under the LICENSE stated in the associated recipe (.bb file) unless otherwise stated.

See COPYING.MIT for more details about MIT license.

Community Resources

Project home

Mailing list

Mailing list subscription

meta-debian's People

Contributors

aliceinwire avatar atsushinemoto avatar cheat-sc avatar datnd avatar dothanhtrung avatar dungttv avatar duongvuhong avatar iwamatsu avatar kkotani33 avatar ksasaky avatar masami256 avatar moto-timo avatar mozoko avatar myamada9999 avatar nghiaht-tsdv avatar quanghuy06 avatar sangorrin avatar takuya-t avatar teradat avatar terasawa-lin avatar toshi-y avatar trungpl avatar truongtv-tsdv avatar tuyenhv avatar venkata-pyla avatar vinhnguyencong avatar yoshihiro-okada-ml avatar ystk avatar yuwata avatar zuka0828 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meta-debian's Issues

ExpansionError during parsing

Starting a clean jethro-image-build, I'm getting this error:

ERROR: ExpansionError during parsing /home/poky/meta-debian/recipes-devtools/qemu/qemu-bios-native_1.7.0.bb: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception MalformedUrl: The URL: '${NONDEBIAN_GIT_URI}/qemu.git;protocol=${NONDEBIAN_GIT_PROTOCOL};branch=stable-2.1' is invalid and cannot be interpreted

I recently changed from dizzy to jethro, but I assume this has something to do with changed recipe syntax.

LINUX_DEFCONFIG not set - build error

Layers used - meta-raspberrypi meta-debian meta-openembedded meta-yocto oe-meta-go
All layers used are Morty branch
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing python function check_oldest_kernel
| DEBUG: Python function check_oldest_kernel finished
| DEBUG: Executing shell function do_configure
| NOTE: LINUX_DEFCONFIG not set, use only .configs in SRC_URI
| NOTE: creating the final config with the following .config files:
| ERROR: Function failed: do_configure (log file is located at /build/tmp/work/raspberrypi3-deby-linux-gnueabi/linux-base/gitAUTOINC+0466de39fe-r0/temp/log.do_configure.17844)
ERROR: Task (/poky/meta-debian/recipes-kernel/linux/linux-base_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 739 tasks of which 736 didn't need to be rerun and 3 failed.

Summary: 3 tasks failed:
/poky/meta-debian/recipes-debian/gcc/libgcc_debian.bb:do_unpack_extra
/poky/meta-debian/recipes-debian/gcc/gcc-runtime_debian.bb:do_unpack_extra
/poky/meta-debian/recipes-kernel/linux/linux-base_git.bb:do_configure
Summary: There were 4 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

Any suggestion will be appreciated

ncurses eroror in ubuntu 16.04

I'm following yocto debian setup for meta-debian readme on jethro branch.
MACHINE=qemuarm

m/home/vik/siva/debian-yocto/build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c /home/vik/siva/debian-yocto/build/tmp/work/x86_64-linux/ncurses-native/5.9+20140913-r1/git/ncurses/base/lib_hline.c -o ../obj_s/lib_hline.o
| In file included from /home/vik/siva/debian-yocto/build/tmp/work/x86_64-linux/ncurses-native/5.9+20140913-r1/git/ncurses/curses.priv.h:325:0,
| from ../ncurses/lib_gen.c:19:
| _6947.c:843:15: error: expected ')' before 'int'
| ../include/curses.h:1631:56: note: in definition of macro 'mouse_trafo'
| #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)

any clues to solve.

[morty] libsmi: do_fetch failed

ERROR: libsmi-0.4.8+dfsg2-r0 do_fetch: Fetcher failure: Fetch command export PATH="/home/deby/poky/scripts:/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/bin/i586-deby-linux:/home/deby/poky/build-world/tmp/sysroots/qemux86/usr/bin/crossscripts:/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/sbin:/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/bin:/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/sbin:/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/bin:/home/deby/poky/scripts:/home/deby/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; export HOME="/home/deby"; git -c core.fsyncobjectfiles=0 ls-remote https://github.com/ystk/debian-libsmi.git  failed with exit code 128, output:
fatal: could not read Username for 'https://github.com': No such device or address

ERROR: libsmi-0.4.8+dfsg2-r0 do_fetch: Function failed: base_do_fetch

Need to create libsmi git repository: https://github.com/ystk/debian-libsmi.git

[morty] pkgconf: do_populate_sysroot() error

Build conditions: Same as #256

log.do_populate_sysroot:

ERROR: The recipe pkgconf is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/share/aclocal/pkg.m4
 Matched in b'manifest-qemux86-pkgconfig.populate_sysroot'
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
DEBUG: Python function sstate_task_postfunc finished
ERROR: Function failed: sstate_task_postfunc

gcc - No such file or directory

I use morty branches of meta-debian meta-openembedded and I'm getting this errors
Error log:
ERROR: libgcc-4.9.2-r0 do_unpack_extra: Function failed: do_unpack_extra (log file is located at /build/tmp/work/cortexa7hf-neon-vfpv4-deby-linux-gnueabi/libgcc/4.9.2-r0/temp/log.do_unpack_extra.3868)
ERROR: Logfile of failure stored in: /build/tmp/work/cortexa7hf-neon-vfpv4-deby-linux-gnueabi/libgcc/4.9.2-r0/temp/log.do_unpack_extra.3868
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_unpack_extra
| cp: cannot stat โ€˜/build/tmp/work-shared/gcc-4.9.2-r0/git/debianโ€™: No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_unpack_extra (log file is located at /build/tmp/work/cortexa7hf-neon-vfpv4-deby-linux-gnueabi/libgcc/4.9.2-r0/temp/log.do_unpack_extra.3868)
ERROR: Task (/poky/meta-debian/recipes-debian/gcc/libgcc_debian.bb:do_unpack_extra) failed with exit code '1'
ERROR: gcc-runtime-4.9.2-r0 do_unpack_extra: Function failed: do_unpack_extra (log file is located at /build/tmp/work/cortexa7hf-neon-vfpv4-deby-linux-gnueabi/gcc-runtime/4.9.2-r0/temp/log.do_unpack_extra.3869)
ERROR: Logfile of failure stored in: /build/tmp/work/cortexa7hf-neon-vfpv4-deby-linux-gnueabi/gcc-runtime/4.9.2-r0/temp/log.do_unpack_extra.3869
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_unpack_extra
| cp: cannot stat โ€˜/build/tmp/work-shared/gcc-4.9.2-r0/git/debianโ€™: No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_unpack_extra (log file is located at /build/tmp/work/cortexa7hf-neon-vfpv4-deby-linux-gnueabi/gcc-runtime/4.9.2-r0/temp/log.do_unpack_extra.3869)
ERROR: Task (/poky/meta-debian/recipes-debian/gcc/gcc-runtime_debian.bb:do_unpack_extra) failed with exit code '1'
ERROR: linux-base-gitAUTOINC+0466de39fe-r0 do_configure: /build/tmp/work/raspberrypi3-deby-linux-gnueabi/linux-base/gitAUTOINC+0466de39fe-r0/git/arch/arm/configs//linux/arch/arm/configs/bcmrpi_defconfig not found
ERROR: linux-base-gitAUTOINC+0466de39fe-r0 do_configure: Function failed: do_configure (log file is located at /build/tmp/work/raspberrypi3-deby-linux-gnueabi/linux-base/gitAUTOINC+0466de39fe-r0/temp/log.do_configure.3870)
ERROR: Logfile of failure stored in: /build/tmp/work/raspberrypi3-deby-linux-gnueabi/linux-base/gitAUTOINC+0466de39fe-r0/temp/log.do_configure.3870
ERROR: Task (/poky/meta-debian/recipes-kernel/linux/linux-base_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1153 tasks of which 1150 didn't need to be rerun and 3 failed.

Summary: 3 tasks failed:
/poky/meta-debian/recipes-debian/gcc/libgcc_debian.bb:do_unpack_extra
/poky/meta-debian/recipes-debian/gcc/gcc-runtime_debian.bb:do_unpack_extra
/poky/meta-debian/recipes-kernel/linux/linux-base_git.bb:do_configure

util-linux lsblk lacks libsmartcols runtime support

Reported by Patryk Mungai from Renesas: https://lava.ciplatform.org/scheduler/job/896#L890

lsblk: /lib/arm-linux-gnueabihf/libsmartcols.so.1: version `SMARTCOLS_2.30' not found (required by lsblk)
lsblk: /lib/arm-linux-gnueabihf/libsmartcols.so.1: version `SMARTCOLS_2.27' not found (required by lsblk)
lsblk: /lib/arm-linux-gnueabihf/libsmartcols.so.1: version `SMARTCOLS_2.30' not found (required by lsblk)
lsblk: /lib/arm-linux-gnueabihf/libsmartcols.so.1: version `SMARTCOLS_2.27' not found (required by lsblk)
lsblk: /lib/arm-linux-gnueabihf/libsmartcols.so.1: version `SMARTCOLS_2.30' not found (required by lsblk)
lsblk: /lib/arm-linux-gnueabihf/libsmartcols.so.1: version `SMARTCOLS_2.27' not found (required by lsblk)

Should aide be built statically?

Currently, aide is built with shared libraries:

# ldd /usr/bin/aide
	linux-vdso.so.1 (0x0000ffffac384000)
	libm.so.6 => /lib/libm.so.6 (0x0000ffffac253000)
	libpcre.so.3 => /usr/lib/libpcre.so.3 (0x0000ffffac205000)
	libmhash.so.2 => /usr/lib/libmhash.so.2 (0x0000ffffac1c9000)
	libacl.so.1 => /usr/lib/libacl.so.1 (0x0000ffffac1b0000)
	libselinux.so.1 => /lib/libselinux.so.1 (0x0000ffffac177000)
	libaudit.so.1 => /lib/libaudit.so.1 (0x0000ffffac140000)
	libe2p.so.2 => /lib/libe2p.so.2 (0x0000ffffac127000)
	libz.so.1 => /lib/libz.so.1 (0x0000ffffac100000)
	libc.so.6 => /lib/libc.so.6 (0x0000ffffabf95000)
	/lib/ld-linux-aarch64.so.1 (0x0000ffffac356000)
	libattr.so.1 => /usr/lib/libattr.so.1 (0x0000ffffabf7f000)
	libdl.so.2 => /lib/libdl.so.2 (0x0000ffffabf6b000)
	libcap-ng.so.0 => /lib/libcap-ng.so.0 (0x0000ffffabf55000)

But, Debian seems to build aide with static linked libraries (and provides aide-shared package for shared linked version). What is the policy of meta-debian about the shared- or statically-linked programs?

In general, aide checks the file modification, so it is better to be built statically to reduce its dependencies. But when read-only root filesystem e.g., squashfs, is used, it is not so important to check the aide itself and its dependent libraries, then dynamic-link seems ok in that case. What is the primal usecase for aide in meta-debian?

[morty] python-cryptograph: do_compile() error

Build conditions

  • Commit: 69ecdb2
  • Host: Debian 8 amd64
  • Target: MACHINE = qemux86
  • Extra settings in local.conf:
    • DISTRO_FEATURES += "x11 opengl"
    • BBFILES = "${BBFILES_CORE} ${BBFILES_DEBIAN}"
  • Command: bitbake world

log.do_compile:

DEBUG: Executing shell function do_compile
ERROR: python setup.py build execution failed.
running build
running build_ext
building '_Cryptography_cffi_fc665d23x4f158fee' extension
creating /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/cryptography
creating /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/cryptography/hazmat
creating /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/cryptography/hazmat/primitives
creating /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/cryptography/hazmat/primitives/__pycache__
i586-deby-linux-gcc -m32 -march=i586 --sysroot=/home/deby/poky/build-mibs/tmp/sysroots/qemux86 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0=/usr/src/debug/python-cryptography/0.6.1-r0 -fdebug-prefix-map=/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/deby/poky/build-mibs/tmp/sysroots/qemux86= -fPIC -I/home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/python2.7 -c cryptography/hazmat/primitives/__pycache__/_Cryptography_cffi_fc665d23x4f158fee.c -o /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/cryptography/hazmat/primitives/__pycache__/_Cryptography_cffi_fc665d23x4f158fee.o
i586-deby-linux-gcc -m32 -march=i586 --sysroot=/home/deby/poky/build-mibs/tmp/sysroots/qemux86 -shared -Wl,-O1 -Wl,--hash-style=gnu -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0=/usr/src/debug/python-cryptography/0.6.1-r0 -fdebug-prefix-map=/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/deby/poky/build-mibs/tmp/sysroots/qemux86= /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/cryptography/hazmat/primitives/__pycache__/_Cryptography_cffi_fc665d23x4f158fee.o -o /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/_Cryptography_cffi_fc665d23x4f158fee.so
Traceback (most recent call last):
  File "setup.py", line 338, in <module>
    **keywords_with_side_effects(sys.argv)
  File "/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py", line 971, in run_command
    cmd_obj.ensure_finalized()
  File "/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "setup.py", line 106, in finalize_options
    self.distribution.ext_modules = get_ext_modules()
  File "setup.py", line 83, in get_ext_modules
    from cryptography.hazmat.primitives import constant_time, padding
  File "/home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/constant_time.py", line 37, in <module>
    ext_package="cryptography",
  File "/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/python2.7/dist-packages/cffi/api.py", line 340, in verify
    lib = self.verifier.load_library()
  File "/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 75, in load_library
    return self._load_library()
  File "/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 151, in _load_library
    return self._vengine.load_library()
  File "/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/python2.7/dist-packages/cffi/vengine_cpy.py", line 149, in load_library
    raise ffiplatform.VerificationError(error)
cffi.ffiplatform.VerificationError: importing '/home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/_Cryptography_cffi_fc665d23x4f158fee.x86_64-linux-gnu.so': /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/git/cryptography/hazmat/primitives/__pycache__/_Cryptography_cffi_fc665d23x4f158fee.x86_64-linux-gnu.so: wrong ELF class: ELFCLASS32
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python-cryptography/0.6.1-r0/temp/log.do_compile.3333958)

build of meta-debian fails

Hi,

I'm following the instructions from the slides you shared at ELC. I'm getting an error when I build;

Exception: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception MalformedUrl: The URL: '${DEBIAN_GIT_URI}/debian-xutils-dev
.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=daisy-master' is invalid and cannot be interpreted

The above text is the end of a long python stack trace. The whole stack trace is here: http://pastebin.com/ReC7s3JF

do_populate_sdk fails when multilib enabled

When we enable multilib feature, do_populate_sdk() fails because some packages are not able to be installable.
The same problem has been reported already in https://stackoverflow.com/questions/52762514/populate-sdk-fails-when-multilib-enabled , which concludes that the problem should only happen with PACKAGE_CLASSES = "package_deb" . At the moment, the problem is still remaining and no fix has been provided yet.

How to reproduce:

  1. Append the following multilib settings to local.conf.
MACHINE = "qemux86-64"

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
  1. Build SDK.
$ bitbake -c populate_sdk core-image-minimal

Error:

ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Unable to install packages. Command '/.../tmp/work/qemux86_64-deby-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --force-yes --allow-unauthenticated lib32-packagegroup-core-standalone-sdk-target packagegroup-core-boot packagegroup-core-standalone-sdk-target run-postinsts' returned 100:
Reading package lists...
Building dependency tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lib32-packagegroup-core-standalone-sdk-target : Depends: lib32-glibc-gconv-cp1252 but it is not installable
                                                 Depends: lib32-glibc-gconv-ibm850 but it is not installable
                                                 Depends: lib32-glibc-gconv-iso8859-1 but it is not installable
                                                 Depends: lib32-glibc-gconv-iso8859-15 but it is not installable
                                                 Depends: lib32-glibc-localedata-i18n but it is not installable
                                                 Depends: lib32-libatomic-dev but it is not installable
                                                 Depends: lib32-libatomic1 but it is not installable
                                                 Depends: lib32-libc6 but it is not installable
                                                 Depends: lib32-libc6-dbg but it is not installable
                                                 Depends: lib32-libc6-dev but it is not installable
                                                 Depends: lib32-libc6-thread-db but it is not installable
                                                 Depends: lib32-libc6-utils but it is not installable
                                                 Depends: lib32-libgcc-s-dev but it is not installable
                                                 Depends: lib32-libgcc1 but it is not installable
                                                 Depends: lib32-libsegfault but it is not installable
                                                 Depends: lib32-libstdc++-dev but it is not installable
                                                 Depends: lib32-libstdc++6 but it is not installable
E: Unable to correct problems, you have held broken packages.

Related issues or PRs: #202 #235

bump gcc cross to 5.2

Hi,
I am trying to build the debian image for MIPS64 and I need to use the gcc5.2 for cross compilation. How do I go about doing that? So far I have tried copying the 5.2 files over from "meta/recipies-devtools/gcc/" and modifying gcc-cross_debian.bb to include gcc-5.2.inc but do_patch fails. Any pointers?

Thanks,
Praveen

[morty] confuse: do_populate_lic() fails

ERROR: confuse-2.7-r0 do_populate_lic: QA Issue: confuse: The LIC_FILES_CHKSUM does not match for file://support/missing;beginline=6;endline=25;md5=40b23661ee5b2d5c1ec9e09e5e928e56
confuse: The new md5 checksum is 0c1612fda3d56544f336bf595f0ed822
confuse: Check if the license information has changed in /home/deby/poky/build-world/tmp/work/i586-deby-linux/confuse/2.7-r0/git/support/missing (lines 6 through to 25) to verify that the LICENSE value "GPLv2+ & GPLv3+" remains valid [license-checksum]
ERROR: confuse-2.7-r0 do_populate_lic: QA Issue: confuse: The LIC_FILES_CHKSUM does not match for file://support/config.guess;beginline=7;endline=25;md5=e443b5b496d01ee52219d5269560d697
confuse: The new md5 checksum is 69c5a9e1f3642cbb28f2922e996ca3eb
confuse: Check if the license information has changed in /home/deby/poky/build-world/tmp/work/i586-deby-linux/confuse/2.7-r0/git/support/config.guess (lines 7 through to 25) to verify that the LICENSE value "GPLv2+ & GPLv3+" remains valid [license-checksum]
ERROR: confuse-2.7-r0 do_populate_lic: Fatal QA errors found, failing task.
ERROR: confuse-2.7-r0 do_populate_lic: Function failed: populate_lic_qa_checksum

[morty] python-*: do_install() failed

The same error happens while building python-openssl, python-ply, and python-pycparser.

Build conditions & Extra settings in local.conf: Same as #281

Error:

ERROR: python setup.py install execution failed.
running install
error: invalid Python installation: unable to open /home/deby/poky/build-world/tmp/sysroots/qemuarm/usr/lib/python2.7/config-arm-linux/Makefile (No such file or directory)
WARNING: exit code 1 from a shell command.

[morty] python3-requests: do_compile() error

Build conditions: Same as #256

log.do_compile():

DEBUG: Executing shell function do_compile
ERROR: python3 setup.py build execution failed.
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    import requests
  File "/home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python3-requests/2.4.3-r0/git/requests/__init__.py", line 55, in <module>
    import urllib3
ImportError: No module named 'urllib3'
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/python3-requests/2.4.3-r0/temp/log.do_compile.444147)

Failure while compiling apt - Yocto

I am testing meta-debian on a Ubuntu 18.04 virtual machine. I am following the instructions for meta-debian. The only major thing that I have added is the following lines in my build/conf/local.conf file:

IMAGE_FEATURES += " package-management"

IMAGE_INSTALL_append = " apt"

But, apt fails to compile with the following error:

ERROR: apt-1.2.24-r0 do_compile: oe_runmake failed
ERROR: apt-1.2.24-r0 do_compile: Function failed: do_compile (log file is located at /home/preempt/debian-preempt/poky/build/tmp/work/core2-64-deby-linux/apt/1.2.24-r0/temp/log.do_compile.110040)
ERROR: Logfile of failure stored in: /home/preempt/debian-preempt/poky/build/tmp/work/core2-64-deby-linux/apt/1.2.24-r0/temp/log.do_compile.110040
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1
| Generating POT file /home/preempt/debian-preempt/poky/build/tmp/work/core2-64-deby-linux/apt/1.2.24-r0/build/po/apt.pot
| mv: cannot stat '/home/preempt/debian-preempt/poky/build/tmp/work/core2-64-deby-linux/apt/1.2.24-r0/build/po/domains/apt/c.pot.tmp': No such file or directory
| ERROR: oe_runmake failed
| makefile:32: recipe for target '/home/preempt/debian-preempt/poky/build/tmp/work/core2-64-deby-linux/apt/1.2.24-r0/build/po/apt.pot' failed
| make[2]: *** [/home/preempt/debian-preempt/poky/build/tmp/work/core2-64-deby-linux/apt/1.2.24-r0/build/po/apt.pot] Error 1
| Makefile:14: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| makefile:18: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/preempt/debian-preempt/poky/build/tmp/work/core2-64-deby-linux/apt/1.2.24-r0/temp/log.do_compile.110040)
ERROR: Task (/home/preempt/debian-preempt/poky/meta/recipes-devtools/apt/apt_1.2.24.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 987 tasks of which 986 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/preempt/debian-preempt/poky/meta/recipes-devtools/apt/apt_1.2.24.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Nothing PROVIDES 'syslinux'

When I invoke bitbake world -c cleanall for aarch64, then the following error is shown:

ERROR: Nothing PROVIDES 'syslinux' (but /home/watanabe/emlinux/repos/meta-debian/recipes-debian/ipxe/ipxe_debian.bb DEPENDS on or otherwise requires it)
syslinux was skipped: incompatible with host aarch64-emlinux-linux (not in COMPATIBLE_HOST)
syslinux was skipped: incompatible with host aarch64-emlinux-linux (not in COMPATIBLE_HOST)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'ipxe', 'syslinux']

Because syslinux is not provided for aarch64. When I invoke bitbake ipxe, then:

ERROR: Nothing PROVIDES 'syslinux' (but /home/watanabe/emlinux/repos/meta-debian/recipes-debian/ipxe/ipxe_debian.bb DEPENDS on or otherwise requires it)
syslinux was skipped: incompatible with host aarch64-emlinux-linux (not in COMPATIBLE_HOST)
syslinux was skipped: incompatible with host aarch64-emlinux-linux (not in COMPATIBLE_HOST)
ERROR: Required build target 'ipxe' has no buildable providers.
Missing or unbuildable dependency chain was: ['ipxe', 'syslinux']

[morty] glusterfs: do_compile() failed

Build conditions:

  • poky: e56be3cee517c5262486136dbd6d649b68c3a8b7
  • meta-debian: 2d75fea
  • Host: Debian 8 amd64 (Docker container)
  • Build command: bitbake -k world

Extra settings in local.conf:

MACHINE = "qemuarm"
DISTRO_FEATURES += "pam x11 opengl"
BBFILES = "${BBFILES_CORE} ${BBFILES_DEBIAN}"

EXCLUDE_FROM_WORLD_pn-sudo-ldap = "1"
EXCLUDE_FROM_WORLD_pn-neon-gnutls = "1"
EXCLUDE_FROM_WORLD_pn-libsasl2-modules-gssapi-mit = "1"
EXCLUDE_FROM_WORLD_pn-libpam-heimdal = "1"

Error:

[...]
arm-deby-linux-gnueabi-libtool: link: arm-deby-linux-gnueabi-gcc -march=armv5e -marm --sysroot=/home/deby/poky/build-world/tmp/sysroots/qemuarm -Wall -O0 -O2 -pipe -g -feliminate-unused-debug-types -fdeb\
ug-prefix-map=/home/deby/poky/build-world/tmp/work/armv5e-deby-linux-gnueabi/glusterfs/3.5.2-r0=/usr/src/debug/glusterfs/3.5.2-r0 -fdebug-prefix-map=/home/deby/poky/build-world/tmp/sysroots/x86_64-linux=\
 -fdebug-prefix-map=/home/deby/poky/build-world/tmp/sysroots/qemuarm= -Wformat -Werror=format-security -Werror=implicit-function-declaration -I/home/deby/poky/build-world/tmp/sysroots/qemuarm/usr/include\
/python2.7 -I/home/deby/poky/build-world/tmp/sysroots/qemuarm/usr/include/python2.7 -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -fdebug-pref\
ix-map=/home/deby/poky/build-world/tmp/work/armv5e-deby-linux-gnueabi/python/2.7.9-r1.3=/usr/src/debug/python/2.7.9-r1.3 -fdebug-prefix-map=/home/deby/poky/build-world/tmp/sysroots/x86_64-linux= -fdebug-\
prefix-map=/home/deby/poky/build-world/tmp/sysroots/qemuarm= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/deby/poky/build-world/tmp/work/armv5e-deby-linux-gnueabi/glusterfs/3.5.2-\
r0=/usr/src/debug/glusterfs/3.5.2-r0 -fdebug-prefix-map=/home/deby/poky/build-world/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/deby/poky/build-world/tmp/sysroots/qemuarm= -Wformat -Werror=format\
-security -Werror=implicit-function-declaration -rdynamic -Wl,-O1 -Wl,--hash-style=gnu -Wl,-export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -o .libs/gluster cli.o registry.o input.o cli-cmd.o cli-rl.o cl\
i-cmd-volume.o cli-cmd-peer.o cli-rpc-ops.o cli-cmd-parser.o cli-cmd-system.o cli-cmd-misc.o cli-xml-output.o cli-quotad-client.o  -L/home/deby/poky/build-world/tmp/sysroots/qemuarm/usr/lib/arm-linux-gnu\
eabi -L/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/lib ../../libglusterfs/src/.libs/libglusterfs.so -lreadline -lncurses ../../rpc/xdr/src/.libs/libgfxdr.so /home/deby/poky/build-world/tmp/\
work/armv5e-deby-linux-gnueabi/glusterfs/3.5.2-r0/build/rpc/rpc-lib/src/.libs/libgfrpc.so ../../rpc/rpc-lib/src/.libs/libgfrpc.so /home/deby/poky/build-world/tmp/work/armv5e-deby-linux-gnueabi/glusterfs/\
3.5.2-r0/build/libglusterfs/src/.libs/libglusterfs.so -lpython2.7 -lutil /home/deby/poky/build-world/tmp/sysroots/qemuarm/usr/lib/arm-linux-gnueabi/libxml2.so -lz -lm -ldl -lpthread -lcrypto
ERROR: oe_runmake failed
/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/lib/libncurses.so.5: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:472: recipe for target 'gluster' failed

[morty] memtest86[+]: do_compile() failed

Build conditions & Extra settings in local.conf: Same as #281

Error (memtest86+):

| NOTE: make memtest.bin memtest CC=arm-deby-linux-gnueabi-gcc  -march=armv5e -marm --sysroot=/home/deby/poky/build-world/tmp/sysroots/qemuarm  LD=arm-deby-linux-gnueabi-ld --sysroot=/home/deby/poky/build-world/tmp/sysroots/qemuarm  -z max-page-size=0x1000 --hash-style=gnu AS=arm-deby-linux-gnueabi-as  -32
| ERROR: oe_runmake failed
| arm-deby-linux-gnueabi-gcc  -march=armv5e -marm --sysroot=/home/deby/poky/build-world/tmp/sysroots/qemuarm  -E -traditional head.S -o head.s
| arm-deby-linux-gnueabi-as  -32   -o head.o head.s
| arm-deby-linux-gnueabi-as: unrecognized option '-32'
| <builtin>: recipe for target 'head.o' failed
| make: *** [head.o] Error 1

Error(memtest86):

| NOTE: make CC=arm-deby-linux-gnueabi-gcc  -march=armv5e -marm --sysroot=/home/deby/poky/build-world/tmp/sysroots/qemuarm LD=arm-deby-linux-gnueabi-ld --sysroot=/home/deby/poky/build-world/tmp/sysroots/qemuarm  AS=arm-deby-linux-gnueabi-as  -32
| ERROR: oe_runmake failed
| rm -f *.o *.s *.iso memtest.bin memtest memtest_shared \
|       memtest_shared.bin memtest.iso
| arm-deby-linux-gnueabi-gcc  -march=armv5e -marm --sysroot=/home/deby/poky/build-world/tmp/sysroots/qemuarm -E -traditional head.S -o head.s
| arm-deby-linux-gnueabi-as  -32   -o head.o head.s
| arm-deby-linux-gnueabi-as: unrecognized option '-32'
| <builtin>: recipe for target 'head.o' failed
| make: *** [head.o] Error 1
| WARNING: exit code 1 from a shell command.

core-image-minimal fails with IMAGE_FEATURES += "package-management"

I tried to exten core-image-minimal with "package-managment" but failed, seems apt version from meta-debian is not compatible with poky jethro.

DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 4
Compiling aptconfiguration.cc to /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/aptconfiguration.opic
Compiling indexrecords.cc to /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/indexrecords.opic
Compiling sourcelist.cc to /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/sourcelist.opic
Compiling deb/debrecords.cc to /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/debrecords.opic
Compiling deb/debversion.cc to /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/debversion.opic
Compiling cacheset.cc to /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/cacheset.opic
Compiling deb/debindexfile.cc to /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/debindexfile.opic
Compiling deb/debsrcrecords.cc to /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/debsrcrecords.opic
/home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/apt-1.0.10.1/apt-pkg/aptconfiguration.cc: In static member function 'static const std::vectorstd::basic_string APT::Configuration::getLanguages(const bool&, const bool&, const char_$
/home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/apt-1.0.10.1/apt-pkg/aptconfiguration.cc:196:30: error: expected primary-expression before '(' token
string const envMsg = string(Locale == 0 ? std::setlocale(LC_MESSAGES, NULL) : *Locale);
^
/home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/apt-1.0.10.1/apt-pkg/aptconfiguration.cc:196:79: error: expected unqualified-id before ':' token
string const envMsg = string(Locale == 0 ? std::setlocale(LC_MESSAGES, NULL) : *Locale);
^
../buildlib/library.mak:65: recipe for target '/home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/aptconfiguration.opic' failed
make[2]: *_* [/home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/build/obj/apt-pkg/aptconfiguration.opic] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:14: recipe for target 'all' failed
make[1]: *** [all] Error 2
makefile:18: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/ane/yocto-test/build/tmp/work/armv5e-debian-linux-gnueabi/apt/1.0.10.1-r0/temp/log.do_compile.26622)

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Debian-8.3"
TARGET_SYS = "arm-debian-linux-gnueabi"
MACHINE = "qemuarm"
DISTRO = "debian"
DISTRO_VERSION = "8.0"
TUNE_FEATURES = "arm armv5 thumb dsp"
TARGET_FPU = "soft"
meta = "jethro:2fb7ee2628e23d7efc9b041bb9daae7c4a8de541"
meta-debian = "jethro:8965b11a96cc483971b64dfd2dd21d6b59d3

Build failed in some recipes.

I built core-image-minimal as described in README.md today.

Some recipe failed by download error.

Failed recipes:
virtual:native:/cross/yocto/debian/poky/meta-debian/recipes-debian/nss/nss_debian.bb:do_fetch
virtual:native:/cross/yocto/debian/poky/meta-debian/recipes-debian/e2fsprogs/e2fsprogs_debian.bb:do_fetch
virtual:native:/cross/yocto/debian/poky/meta-debian/recipes-debian/python/python3_debian.bb:do_fetch
/cross/yocto/debian/poky/meta-debian/recipes-debian/base-files/base-files_debian.bb:do_fetch
/cross/yocto/debian/poky/meta-debian/recipes-debian/qemu/qemu-native_debian.bb:do_fetch
/cross/yocto/debian/poky/meta-debian/recipes-debian/qemu/qemu-system-native_debian.bb:do_fetch

Log example:
ERROR: e2fsprogs-native-1.44.5-r0 do_fetch: Fetcher failure: Fetch command export
--2020-02-12 14:22:44-- http://ftp.debian.org/debian/pool/main/e/e2fsprogs/e2fsprogs_1.44.5-1+deb10u2.dsc
Resolving ftp.debian.org (ftp.debian.org)... 2001:67c:2564:a119::148:12, 130.89.148.12
Connecting to ftp.debian.org (ftp.debian.org)|2001:67c:2564:a119::148:12|:80... failed: No route to host.
Connecting to ftp.debian.org (ftp.debian.org)|130.89.148.12|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-02-12 14:23:02 ERROR 404: Not Found.

ERROR: e2fsprogs-native-1.44.5-r0 do_fetch: Fetcher failure for URL: 'http://ftp.debian.org/debian/pool/main/e/e2fsprogs/e2fsprogs_1.44.5-1+deb10u2.dsc;name=e2fsprogs_1.44.5-1+deb10u2.dsc'. Unable to fetch URL from any source.
ERROR: e2fsprogs-native-1.44.5-r0 do_fetch:
ERROR: e2fsprogs-native-1.44.5-r0 do_fetch: Function failed: base_do_fetch

I checked to ftp site.
http://ftp.debian.org/debian/pool/main/e/e2fsprogs/e2fsprogs_1.44.5-1+deb10u2.dsc is not available.
http://ftp.debian.org/debian/pool/main/e/e2fsprogs/e2fsprogs_1.44.5-1+deb10u3.dsc is available.

My question: how to fix this case ?

One of the solution:
modify to meta-debian/recipes-debian/sources/e2fsprogs.inc

Is this correct?

[morty] u-boot-mkimage: do_compile() failed

Build conditions & Extra settings in local.conf: Same as #281

Error:

[...]
cat ./Licenses/gpl-2.0.txt | gzip -9 -c | \
        tools/bin2header license_gzip > ./include/license.h
[...]
/lib/ld-linux.so.3: No such file or directory
[...]
tools/Makefile:242: recipe for target 'include/license.h' failed
make[1]: *** [include/license.h] Error 255

[morty] weston: do_configure() error

Build conditions: Same as #256

log.do_configure:

...
configure: WARNING: using cross tools not prefixed with host triplet
...
NOTE: The following config.log files may provide further information.
NOTE: /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/weston/1.6.0-r0/build/config.log
ERROR: configure failed
...
configure: error: Package requirements (wayland-server >= 1.5.91 pixman-1 >= 0.25.2 xkbcommon >= 0.3.0) were not met:

No package 'wayland-server' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables COMPOSITOR_CFLAGS
and COMPOSITOR_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (log file is located at /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/weston/1.6.0-r0/temp/log.do_configure.55940)

Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-video.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

I'm trying to build a core-image-minimal with meta-debian for qemux86-64.
Here's my setup and error:

ubuntu@ip-172-31-57-244:~/dev/yocto/poky$  export TEMPLATECONF=meta-debian/conf
ubuntu@ip-172-31-57-244:~/dev/yocto/poky$ echo $TEMPLATECONF
meta-debian/conf
ubuntu@ip-172-31-57-244:~/dev/yocto/poky$ source oe-init-build-env build-qemux86-64/

### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'
ubuntu@ip-172-31-57-244:~/dev/yocto/poky/build-qemux86-64$ cat conf/bblayers.conf 
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/ubuntu/dev/yocto/poky/meta \
  /home/ubuntu/dev/yocto/poky/meta-poky \
  /home/ubuntu/dev/yocto/poky/meta-yocto-bsp \
  /home/ubuntu/dev/yocto/poky/meta-debian \
  "
ubuntu@ip-172-31-57-244:~/dev/yocto/poky/build-qemux86-64$ bitbake core-image-minimal
WARNING: Layer debian should set LAYERSERIES_COMPAT_debian in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer debian should set LAYERSERIES_COMPAT_debian in its conf/layer.conf file to list the core layer names it is compatible with.
ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-misc/qemu/qemu-bios-native_1.7.0.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${MISC_GIT_URI}/${MISC_GIT_PREFIX}qemu.git;protocol=${MISC_GIT_PROTOCOL};branch=stable-2.1' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-misc/ltp/ltp_git.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${MISC_GIT_URI}/${MISC_GIT_PREFIX}ltp.git;protocol=${MISC_GIT_PROTOCOL}' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-kernel/linux-libc-headers/linux-libc-headers-base_git.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${LINUX_GIT_URI}/${LINUX_GIT_PREFIX}${LINUX_GIT_REPO};branch=${LINUX_GIT_SRCREV};protocol=${LINUX_GIT_PROTOCOL}' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/zlib/zlib_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}zlib.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/zip/zip_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}zip.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: Failed to parse recipe: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-misc/qemu/qemu-bios-native_1.7.0.bb
ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-kernel/linux/linux-base_git.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${LINUX_GIT_URI}/${LINUX_GIT_PREFIX}${LINUX_GIT_REPO};branch=${LINUX_GIT_SRCREV};protocol=${LINUX_GIT_PROTOCOL}' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/zeromq3/zeromq3_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}zeromq3.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xineramaproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-xinerama.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-util/util-macros_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}xutils-dev.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xz-utils/xz-utils_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}xz-utils.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-xserver/xserver-xorg_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}xorg-server.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-core.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xf86vidmodeproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-xf86vidmode.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-util/makedepend_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}xutils-dev.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xf86dgaproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-xf86dga.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xf86driproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-xf86dri.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xf86bigfontproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-xf86bigfont.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xcmiscproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-xcmisc.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xextproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-xext.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/xcb-proto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}xcb-proto.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted

ERROR: /home/ubuntu/dev/yocto/poky/meta-debian/recipes-debian/xorg-proto/videoproto_debian.bb: Error executing a python function in <code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 2, function: <module>
     0001:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_patch_bbclass(d)
 *** 0002:__anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass(d)
     0003:__anon_1317__home_ubuntu_dev_yocto_poky_meta_classes_insane_bbclass(d)
     0004:__anon_251__home_ubuntu_dev_yocto_poky_meta_classes_package_bbclass(d)
     0005:__anon_354__home_ubuntu_dev_yocto_poky_meta_classes_package_deb_bbclass(d)
     0006:__anon_25__home_ubuntu_dev_yocto_poky_meta_classes_debian_bbclass(d)
File: '/home/ubuntu/dev/yocto/poky/meta/classes/base.bbclass', lineno: 578, function: __anon_681__home_ubuntu_dev_yocto_poky_meta_classes_base_bbclass
     0574:    needsrcrev = False
     0575:    srcuri = d.getVar('SRC_URI')
     0576:    for uri in srcuri.split():
     0577:        (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
 *** 0578:
     0579:        # HTTP/FTP use the wget fetcher
     0580:        if scheme in ("http", "https", "ftp"):
     0581:            d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
     0582:
File: '/home/ubuntu/dev/yocto/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 368, function: decodeurl
     0364:    """
     0365:
     0366:    m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
     0367:    if not m:
 *** 0368:        raise MalformedUrl(url)
     0369:
     0370:    type = m.group('type')
     0371:    location = m.group('location')
     0372:    if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '${DEBIAN_GIT_URI}/${DEBIAN_GIT_PREFIX}x11proto-video.git;protocol=${DEBIAN_GIT_PROTOCOL};branch=master-master' is invalid and cannot be interpreted


Summary: There were 2 WARNING messages shown.
Summary: There were 22 ERROR messages shown, returning a non-zero exit code.

[morty] cmake: do_package() error

Build conditions: Same as #256

log.do_package():

...
ERROR: QA Issue: cmake: Files/directories were installed but not shipped in any package:
  /usr/share/cmake-3.0
  /usr/share/cmake-3.0/include
  /usr/share/cmake-3.0/Modules
  /usr/share/cmake-3.0/Help
  /usr/share/cmake-3.0/completions
  /usr/share/cmake-3.0/editors
  /usr/share/cmake-3.0/Templates
  /usr/share/cmake-3.0/include/cmCPluginAPI.h
  /usr/share/cmake-3.0/Modules/FindSubversion.cmake
  /usr/share/cmake-3.0/Modules/FindOpenGL.cmake
  /usr/share/cmake-3.0/Modules/CPackNSIS.cmake
...
  /usr/share/cmake-3.0/Templates/CMakeVisualStudio6Configurations.cmake
  /usr/share/cmake-3.0/Templates/AppleInfo.plist
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
cmake: 1641 installed and not shipped files. [installed-vs-shipped]
...

[morty] neon-gnutls: do_populate_sysroot() error

Build conditions: Same as #256

log.do_populate_sysroot:

...
ERROR: The recipe neon-gnutls is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_ssl.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_i18n.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_alloc.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_acl.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_auth.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_props.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_xmlreq.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_compress.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_pkcs11.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_dates.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_redirect.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_session.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_xml.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_locks.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_string.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_207.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_utils.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_basic.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_socket.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_request.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_acl3744.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_defs.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_uri.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/neon/ne_md5.h
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/lib/i386-linux-gnu/pkgconfig/neon.pc
 Matched in b'manifest-qemux86-neon.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/bin/crossscripts/neon-config
 Matched in b'manifest-qemux86-neon.populate_sysroot'
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
DEBUG: Python function sstate_task_postfunc finished
ERROR: Function failed: sstate_task_postfunc

[Question] Building Deby for Beaglebone Black

Apologies for cross posting. But I thought it may be wise to post here as well, especially there is nice markdown support

Iread on this presentation that Deby supports Beaglebone Black. I tried with the steps listed at the git repo README and change machine in
build/conf/local.conf to: MACHINE ?= "beaglebone"

However, I get the error

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Please set a valid MACHINE in your local.conf or environment

Please advise me how I can safely resolve this error. Thanks!

https://groups.google.com/forum/#!topic/meta-debian/FY_eQ3KiOr0

[morty] glusterfs: log.do_compile() error

Build conditions: Same as #256

log.do_compile():

...
i586-deby-linux-libtool: link: i586-deby-linux-gcc  -m32 -march=i586 --sysroot=/home/deby/poky/build-mibs/tmp/sysroots/qemux86 -shared  -fPIC -DPIC  .libs/qemu-coroutine.o .libs/qemu-coroutine-lock.o .libs/qemu-coroutine-sleep.o .libs/coroutine-ucontext.o .libs/block.o .libs/nop-symbols.o .libs/aes.o .libs/bitmap.o .libs/bitops.o .libs/cutils.o .libs/error.o .libs/hbitmap.o .libs/iov.o .libs/module.o .libs/oslib-posix.o .libs/qemu-option.o .libs/qemu-error.o .libs/qemu-thread-posix.o .libs/unicode.o .libs/hexdump.o .libs/snapshot.o .libs/qcow2-cache.o .libs/qcow2-cluster.o .libs/qcow2-refcount.o .libs/qcow2-snapshot.o .libs/qcow2.o .libs/qed-check.o .libs/qed-cluster.o .libs/qed-gencb.o .libs/qed-l2-cache.o .libs/qed-table.o .libs/qed.o .libs/json-lexer.o .libs/json-parser.o .libs/json-streamer.o .libs/qbool.o .libs/qdict.o .libs/qerror.o .libs/qfloat.o .libs/qint.o .libs/qjson.o .libs/qlist.o .libs/qstring.o .libs/bdrv-xlator.o .libs/coroutine-synctask.o .libs/bh-syncop.o .libs/monitor-logging.o .libs/clock-timer.o .libs/qemu-block.o .libs/qb-coroutines.o   -Wl,-rpath -Wl,/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib -L/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib -lpython2.7 -lutil -lm ../../../../libglusterfs/src/.libs/libglusterfs.so /home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/libglib-2.0.so -L/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/lib -L/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/x86_64-linux-gnu -L/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/lib/x86_64-linux-gnu -lz -lrt -ldl -lpthread -lcrypto  -m32 -march=i586 --sysroot=/home/deby/poky/build-mibs/tmp/sysroots/qemux86 -O0 -O2 -O3 -O2 -O2 -Wl,-O1 -Wl,--hash-style=gnu -Wl,-export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions   -Wl,-soname -Wl,qemu-block.so -o .libs/qemu-block.so
/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/libexec/i586-deby-linux/gcc/i586-deby-linux/4.9/ld: skipping incompatible /home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/libpython2.7.so when searching for -lpython2.7
/home/deby/poky/build-mibs/tmp/sysroots/x86_64-linux/usr/lib/libglib-2.0.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:737: recipe for target 'qemu-block.la' failed
make[5]: *** [qemu-block.la] Error 1
Makefile:405: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
Makefile:408: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:408: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:526: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:428: recipe for target 'all' failed
make: *** [all] Error 2
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/glusterfs/3.5.2-r0/temp/log.do_compile.334784)

[morty] gccmakedep: do_package() fails

I got the following error while building gccmakedep added by f03131a.
The error does not occur in the second bitbake command.
Are there any missing build dependencies in gccmakedep?

Build conditions:

  • metadata revisions
    • poky: e56be3cee517c5262486136dbd6d649b68c3a8b7
    • meta-debian: 7c6a6a8
  • MACHINE: qemux86
  • Extra definitions in local.conf:
    • IMAGE_INSTALL_append = " binutils libc6-dev libgcc libgcc-dev make minizip xutils-dev"
    • DISTRO_FEATURES += "x11"
  • Build command: bitbake core-image-minimal

Error:

ERROR: gccmakedep-7.7+3-r0.0 do_package: 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:fixup_perms(d)
     0003:
File: '/home/deby/poky/meta/classes/package.bbclass', lineno: 775, function: fixup_perms
     0771:    for path in target_path_vars:
     0772:        dir = d.getVar(path, True) or ""
     0773:        if dir == "":
     0774:            continue
 *** 0775:        fs_perms_table[dir] = fs_perms_entry(bb.data.expand("%s 0755 root root false - - -" % (dir), d))
     0776:
     0777:    # Now we actually load from the configuration files
     0778:    for conf in get_fs_perms_list(d).split():
     0779:        if os.path.exists(conf):
File: '/home/deby/poky/meta/classes/package.bbclass', lineno: 649, function: __init__
     0645:            lsplit = line.split()
     0646:            if len(lsplit) == 3 and lsplit[1].lower() == "link":
     0647:                self._setlink(lsplit[0], lsplit[2])
     0648:            elif len(lsplit) == 8:
 *** 0649:                self._setdir(lsplit[0], lsplit[1], lsplit[2], lsplit[3], lsplit[4], lsplit[5], lsplit[6], lsplit[7])
     0650:            else:
     0651:                msg = "Fixup Perms: invalid config line %s" % line
     0652:                package_qa_handle_error("perm-config", msg, d)
     0653:                self.path = None
File: '/home/deby/poky/meta/classes/package.bbclass', lineno: 661, function: _setdir
     0657:            self.path = os.path.normpath(path)
     0658:            self.link = None
     0659:            self.mode = self._procmode(mode)
     0660:            self.uid  = self._procuid(uid)
 *** 0661:            self.gid  = self._procgid(gid)
     0662:            self.walk = walk.lower()
     0663:            self.fmode = self._procmode(fmode)
     0664:            self.fuid = self._procuid(fuid)
     0665:            self.fgid = self._procgid(fgid)
File: '/home/deby/poky/meta/classes/package.bbclass', lineno: 692, function: _procgid
     0688:                return -1
     0689:            elif gid.isdigit():
     0690:                return int(gid)
     0691:            else:
 *** 0692:                return grp.getgrnam(gid).gr_gid
     0693:
     0694:        # Use for debugging the entries
     0695:        def __str__(self):
     0696:            if self.link:
Exception: KeyError: 'getgrnam(): name not found: root'

ERROR: gccmakedep-7.7+3-r0.0 do_package: Function failed: fixup_perms
ERROR: Logfile of failure stored in: /home/deby/poky/build-qemux86/tmp/work/i586-deby-linux/gccmakedep/7.7+3-r0.0/temp/log.do_package.1809225
ERROR: Task (/home/deby/poky/meta-debian/recipes-debian/xorg-util/gccmakedep_debian.bb:do_package) failed with exit code '1'

[Bug] Exception('DTB not found: %s, %s or %s' % cmds)

Following the build instructions in the README, I built using command time bitbake core-image-minimal. The build is successful. However there seems to be an issue running the built image. Any idea how to resolve this?

luther@debian:~/meta-debian/build$ runqemu qemuarm nographic bootparams="console=ttyAMA0"
runqemu - INFO - Assuming MACHINE = qemuarm
runqemu - INFO - Running MACHINE=qemuarm bitbake -e...
runqemu - INFO - MACHINE: qemuarm
runqemu - INFO - DEPLOY_DIR_IMAGE: /home/luther/meta-debian/build/tmp/deploy/images/qemuarm
runqemu - INFO - Running ls -t /home/luther/meta-debian/build/tmp/deploy/images/qemuarm/*.qemuboot.conf...
runqemu - INFO - CONFFILE: /home/luther/meta-debian/build/tmp/deploy/images/qemuarm/core-image-minimal-qemuarm-20171019140919.qemuboot.conf
Traceback (most recent call last):
  File "/home/luther/meta-debian/poky/scripts/runqemu", line 1041, in <module>
    ret = main()
  File "/home/luther/meta-debian/poky/scripts/runqemu", line 1029, in main
    config.check_and_set()
  File "/home/luther/meta-debian/poky/scripts/runqemu", line 562, in check_and_set
    self.check_kernel()
  File "/home/luther/meta-debian/poky/scripts/runqemu", line 503, in check_kernel
    raise Exception('DTB not found: %s, %s or %s' % cmds)
Exception: DTB not found: /home/luther/meta-debian/build/tmp/deploy/images/qemuarm/zImage-versatile-pb.dtb, /home/luther/meta-debian/build/tmp/deploy/images/qemuarm/zImage-versatile-pb.dtb* or /home/luther/meta-debian/build/tmp/deploy/images/qemuarm/*.dtb
luther@debian:~/meta-debian/build$

[morty] sudo: do_populate_sysroot() error

Build conditions: Same as #256

log.do_populate_sysroot:

...
ERROR: The recipe sudo is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/include/sudo_plugin.h
 Matched in b'manifest-qemux86-sudo-ldap.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/lib/sudo/sudo_noexec.so
 Matched in b'manifest-qemux86-sudo-ldap.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/lib/sudo/sudoers.so
 Matched in b'manifest-qemux86-sudo-ldap.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/lib/sudo/group_file.so
 Matched in b'manifest-qemux86-sudo-ldap.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/lib/sudo/system_group.so
 Matched in b'manifest-qemux86-sudo-ldap.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/lib/systemd/system/sudo.service
 Matched in b'manifest-qemux86-sudo-ldap.populate_sysroot'
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
DEBUG: Python function sstate_task_postfunc finished
ERROR: Function failed: sstate_task_postfunc

Yocoto fail in downloading libxcrypt_4.1.1-1.dsc (error 404)

Looks like Debian remove libxcrypt_4.1.1-1.dsc from the FTP server.

After running the following lines:

git clone -b warrior --depth 1 git://git.yoctoproject.org/poky.git
git clone -b warrior --depth 1 https://github.com/meta-debian/meta-debian.git poky/meta-debian
export TEMPLATECONF=meta-debian/conf
source ./poky/oe-init-build-env
# config MACHINE ?= "qemuarm" in conf/local.conf
bitbake core-image-minimal

I have got this error:

Build Configuration:
BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-deby-linux-gnueabi"
MACHINE              = "qemuarm"
DISTRO               = "deby-tiny"
DISTRO_VERSION       = "10.0"
TUNE_FEATURES        = "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            = "warrior:023ff85a9ae94331926e923b346fd8a349881e63"
meta-debian          = "warrior:826424e474cdecad1d7ef87ae7dca861dc76dc6d"

Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 240 Found 0 Missed 240 Current 48 (0% match, 16% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

WARNING: libxcrypt-4.1.1-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/libx/libxcrypt/libxcrypt_4.1.1-1.dsc;name=libxcrypt_4.1.1-1.dsc, attempting MIRRORS if available
ERROR: libxcrypt-4.1.1-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export PATH="/home/build/1tdrive/users/froike/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/build/1tdrive/users/froike/poky/scripts:/home/build/1tdrive/users/froike/build/tmp/work/armv7vet2hf-neon-deby-linux-gnueabi/libxcrypt/4.1.1-r0/recipe-sysroot-native/usr/bin/arm-deby-linux-gnueabi:/home/build/1tdrive/users/froike/build/tmp/work/armv7vet2hf-neon-deby-linux-gnueabi/libxcrypt/4.1.1-r0/recipe-sysroot/usr/bin/crossscripts:/home/build/1tdrive/users/froike/build/tmp/work/armv7vet2hf-neon-deby-linux-gnueabi/libxcrypt/4.1.1-r0/recipe-sysroot-native/usr/sbin:/home/build/1tdrive/users/froike/build/tmp/work/armv7vet2hf-neon-deby-linux-gnueabi/libxcrypt/4.1.1-r0/recipe-sysroot-native/usr/bin:/home/build/1tdrive/users/froike/build/tmp/work/armv7vet2hf-neon-deby-linux-gnueabi/libxcrypt/4.1.1-r0/recipe-sysroot-native/sbin:/home/build/1tdrive/users/froike/build/tmp/work/armv7vet2hf-neon-deby-linux-gnueabi/libxcrypt/4.1.1-r0/recipe-sysroot-native/bin:/home/build/1tdrive/users/froike/poky/bitbake/bin:/home/build/1tdrive/users/froike/build/tmp/hosttools"; export HOME="/home/build"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/build/1tdrive/users/froike/build/downloads 'http://ftp.debian.org/debian/pool/main/libx/libxcrypt/libxcrypt_4.1.1-1.dsc' --progress=dot -v failed with exit code 8, output:
--2020-01-08 09:04:21--  http://ftp.debian.org/debian/pool/main/libx/libxcrypt/libxcrypt_4.1.1-1.dsc
Resolving ftp.debian.org (ftp.debian.org)... 130.89.148.12, 2001:67c:2564:a119::148:12
Connecting to ftp.debian.org (ftp.debian.org)|130.89.148.12|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-01-08 09:04:21 ERROR 404: Not Found.


ERROR: libxcrypt-4.1.1-r0 do_fetch: Fetcher failure for URL: 'http://ftp.debian.org/debian/pool/main/libx/libxcrypt/libxcrypt_4.1.1-1.dsc;name=libxcrypt_4.1.1-1.dsc'. Unable to fetch URL from any source.
ERROR: libxcrypt-4.1.1-r0 do_fetch: 
ERROR: libxcrypt-4.1.1-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/build/1tdrive/users/froike/build/tmp/work/armv7vet2hf-neon-deby-linux-gnueabi/libxcrypt/4.1.1-r0/temp/log.do_fetch.20507
ERROR: Task (/home/build/1tdrive/users/froike/poky/meta-debian/recipes-debian/libxcrypt/libxcrypt_debian.bb:do_fetch) failed with exit code '1'

logout?

How does one logout of the Qemu86 session once started? I see that Ctrl-D is trapped with a message that says; "Console sh exited with 0, respawning..."

This happens with exit and Ctrl-D. logout, shutdown, quit are not found.

creating recipe for bro package

I have created this issue here to get some help from community and resolve the issue facing bro recipe.

The initial changes for creating bro recipe are pushed in this PR #249

Below is the error I am getting which points out to the 'bifcl' command not found which was compiled as part of bro build and uses it in the later stages of the bro build.

ERROR: bro-2.5.5-r0 do_compile: Function failed: do_compile (log file is located at /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/temp/log.do_compile.136)
ERROR: Logfile of failure stored in: /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/temp/log.do_compile.136
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
|      /usr/include     /usr/lib     /lib     /lib     /usr/share  /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src
| NOTE: VERBOSE=1 cmake --build /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build --target all -- -j 4
| [1/785] [BIFCL] Processing const.bif
| FAILED: src/const.bif.func_def src/const.bif.func_h src/const.bif.func_init src/const.bif.netvar_def src/const.bif.netvar_h src/const.bif.netvar_init scripts/base/bif/const.bif.bro
| cd /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src && bifcl /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/bro-2.5.5-minimal/src/const.bif || ( rm -f /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src/const.bif.func_def /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src/const.bif.func_h /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src/const.bif.func_init /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src/const.bif.netvar_def /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src/const.bif.netvar_h /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src/const.bif.netvar_init && exit 1 ) && /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/recipe-sysroot-native/usr/bin/cmake -E copy const.bif.bro /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/scripts/base/bif/const.bif.bro && /work/build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/recipe-sysroot-native/usr/bin/cmake -E remove -f const.bif.bro
| /bin/sh: 1: bifcl: not found

I am not sure how to specify the 'bifcl' path which was built already and present in the path /build/tmp/work/core2-64-deby-linux/bro/2.5.5-r0/build/src/bifcl
or the 'bifcl' binary should be build as native first and then depends on the native package in bro recipe

glib-2.0: failed to build nativesdk

When I build nativesdk for qemuarm64, I faced this error.

$ bitbake core-image-weston -c populate_sdk
...
| Checking if "pthread_setname_np(const char*)" with dependency threads links: NO
| Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads links: NO
| WARNING: Cross property growing_stack is using default value False
| Checking for function "iconv_open" : NO
| 
| meson.build:1702:4: ERROR:  Problem encountered: iconv implementation "libc" not found

I'm using these layers.

layer branch rev
poky warrior c9a1a608f5146e5dcfebc8e566cb7f6388a3986f
meta-debian warrior f3af4d4

Do you have any idea to fix this?

[morty] postfix-native: do_compile() error

Build conditions: Same as #256

log.do_compile:

DEBUG: Executing shell function do_compile
NOTE: make OPT= DEBUG= OPTS= makefiles
ERROR: oe_runmake failed
make -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
ATTENTION:
ATTENTION: Unknown system type: Linux 5.8.0-43-generic
ATTENTION:
Makefile.in:23: recipe for target 'Makefiles' failed
make: *** [Makefiles] Error 1
Makefile:21: recipe for target 'makefiles' failed
make: *** [makefiles] Error 2
ERROR: Function failed: do_compile (log file is located at /home/deby/poky/build-mibs/tmp/work/x86_64-linux/postfix-native/2.11.3-r0.0/temp/log.do_compile.3858273)

[morty] pulseaudio: do_debian_patch() error

Build conditions: Same as #256

log.do_debian_patch:

DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell function do_debian_patch
NOTE: Debian source format is '3.0 (quilt)'
Applying patch 0001-raop-Don-t-use-incompatible-default-sample-spec-para.patch
patching file src/modules/raop/module-raop-sink.c

Applying patch 0002-Use-the-fixed-point-speex-resampler-on-ARM.patch
patching file man/pulse-daemon.conf.5.xml.in
patching file src/daemon/daemon.conf.in
patching file src/pulsecore/core.c
patching file src/pulsecore/resampler.c

Applying patch 0003-exit-with-X-session.patch
patching file src/daemon/start-pulseaudio-x11.in
patching file src/daemon/start-pulseaudio-kde.in

Applying patch 0004-dont-start-when-already-running.patch
patching file src/daemon/start-pulseaudio-kde.in
patching file src/daemon/start-pulseaudio-x11.in

Applying patch kfreebsd_no_lock_and_threads_synchro.patch
patching file src/daemon/main.c

Applying patch only-autostart-kde-version.patch
patching file src/daemon/pulseaudio.desktop.in

Applying patch rtp-recv-fix-crash-on-empty-UDP-packets-CVE-2014-397.patch
patching file src/modules/rtp/rtp.c

Applying patch zsh-completion-Fix-completion-for-default-sink-sourc.patch
patching file shell-completion/pulseaudio-zsh-completion.zsh

Applying patch gnu-kfreebsd.patch
patching file src/daemon/caps.c
patching file src/pulsecore/atomic.h
patching file src/pulsecore/sconv_sse.c
patching file src/pulsecore/svolume_mmx.c
patching file src/pulsecore/svolume_sse.c
patching file src/tests/once-test.c
patching file src/tests/rtstutter.c

Applying patch mix-Fix-mixing-of-S24-samples-stored-as-S32RE.patch
patching file src/pulsecore/mix.c
patching file src/tests/mix-test.c

Applying patch tests-Cleanup-mix-test.patch
patching file src/tests/mix-test.c

Applying patch endianmacros-Fix-PA_MAYBE_INT16_SWAP-macro.patch
patching file src/pulsecore/endianmacros.h

Applying patch tests-Fix-mix-test-on-big-endian-systems.patch
patching file src/tests/mix-test.c

Applying patch util-Fix-pa_get_binary_name-on-Debian-kFreeBSD.patch
patching file src/pulse/util.c

Applying patch misc-cleanups-and-bug-fixes.patch
can't find file to patch at input line 12
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Author: Peter Meerwald <[email protected]>
|Description: misc cleanups and bug fixes
| This is a collapse of a few small patches by Peter Meerwald.
| Changes are:
| put *.log and *.trs (which are created by running 'make check') into src/.gitignore
| fix format specifiers, avoid compilation warnings
| fix compilation warning when certain syscalls are not available (e.g. on kFreeBSD)
| add checks for the expected results in sigbus-test
| add SIGSEGV to the memtrap signal handler to make the sigbus-test work on kFreeBSD
|--- a/src/.gitignore
|+++ b/src/.gitignore
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file src/pulsecore/core-util.c
patching file src/pulsecore/memtrap.c
patching file src/tests/mcalign-test.c
patching file src/tests/sigbus-test.c
Patch misc-cleanups-and-bug-fixes.patch does not apply (enforce with -f)
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_debian_patch (log file is located at /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/pulseaudio/5.0-r0/temp/log.do_debian_patch.3756980)

Possible patches from ISAR

Hi,

I wonder if this new tool from Siemens might help meta-debian:

we're developing an integration system for building Debian-based products, isar
[1]. It is essentially a set of commands for building product packages and
installing them into a Debian root filesystem to produce a complete working
image. It aims at supporting the whole product development lifecycle:

  1. Create a base system:
    • Define a list of binary Debian packages as a base system.
    • Define base system customizations, such as inittab, fstab, etc.
  2. Use a clean environment (chroot / VM) for building the following components:
    • Product's modified Debian packages.
    • Product's own driver, library, and application packages.
  3. Support multiple diverse targets in one project:
    • Debug / release builds.
    • Images for different products.
    • Images for different hardware platforms.
  4. Good support for typical project use cases, such as:
    • Create complete, bootable images automatically, with one command.
    • Do that reproducibly, for any older version.
  5. Proof-of-concept implementation: https://github.com/ilbers/isar
  6. http://annex.debconf.org/debconf-share/debconf15/slides/creating-bootable-debian-images/#/
  7. http://annex.debconf.org/debconf-share/debconf15/slides/creating-bootable-debian-images/#/24
  8. https://lists.debian.org/debian-embedded/2016/01/msg00000.html

[morty] libpam-heimdal: do_configure() error

Build conditions: Same as #256

log.do_configure():

...
configure: WARNING: using cross tools not prefixed with host triplet
...
NOTE: The following config.log files may provide further information.
NOTE: /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/libpam-heimdal/4.6-r0/git/config.log
ERROR: configure failed
...
checking for krb5_init_context in -lkrb5... no
configure: error: cannot find usable Kerberos library
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_configure (log file is located at /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/libpam-heimdal/4.6-r0/temp/log.do_configure.287575)

[warrior] openssl: host-user-contaminated in do_package_qa()

Build conditions:

  • Commit: 1d746ef
  • Host: Debian 10 amd64
  • Target: MACHINE = qemuarm
  • Command: bitbake openssl

The following WARNING happens in do_package_qa().

WARNING: openssl-1.1.1d-r0 do_package_qa: QA Issue: openssl: /openssl-conf/etc/ssl/openssl.cnf is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

running debian source is required. gcc-source-8.3.0-8.3.0-r0 do_fetch fails. Needs upgrade to gcc-8_8.3.0-6

I'm trying to build meta-debian with an Intel Edison. See
htot/meta-intel-edison#2

It fails with downloading
http://ftp.debian.org/debian/pool/main/g/gcc-8/gcc-8_8.3.0-5.dsc;name=gcc-8_8.3.0-5.dsc
Current gcc version is http://ftp.debian.org/debian/pool/main/g/gcc-8/gcc-8_8.3.0-6.dsc

Details:

pietergit@ubuntu1810:~/warrior/out/linux64/build$ bitbake core-image-minimal
WARNING: Host distribution "ubuntu-18.10" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |##########################################| Time: 0:02:26
Parsing of 2274 .bb files complete (0 cached, 2274 parsed). 3414 targets, 347 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.10"
TARGET_SYS           = "i686-deby-linux"
MACHINE              = "edison"
DISTRO               = "deby"
DISTRO_VERSION       = "10.0"
TUNE_FEATURES        = "m32 corei7"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "warrior:0e392026ffefee098a890c39bc3ca1f697bacb52"
meta-oe              
meta-python          
meta-networking      = "master:d42cce95a8717c3e5bba3701b71f2f9822c2d00c"
meta-intel           = "master:ed44056d2c8ecbbb5ca75f1e490c9dc7daa876e3"
meta-intel-edison-bsp 
meta-intel-edison-distro = "warrior:b6bd2603652549c347cec4ce7a56439fb98539a1"
meta-acpi            = "eds-5.0.0:6a1fb60a23f3f03887771b53b9ad529385a19f5b"
meta-debian          = "master:91c198bb38bbd31e9ae8ad8b2067e3b11c845913"

Initialising tasks: 100% |#######################################| Time: 0:00:10
Sstate summary: Wanted 438 Found 0 Missed 438 Current 0 (0% match, 0% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: gcc-source-8.3.0-8.3.0-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/g/gcc-8/gcc-8_8.3.0-5.dsc;name=gcc-8_8.3.0-5.dsc, attempting MIRRORS if available
ERROR: gcc-source-8.3.0-8.3.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="3603"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/pietergit/warrior/out/linux64/poky/scripts:/home/pietergit/warrior/out/linux64/build/tmp/work-shared/gcc-8.3.0-r0/recipe-sysroot-native/usr/bin/i686-deby-linux:/home/pietergit/warrior/out/linux64/build/tmp/work-shared/gcc-8.3.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/pietergit/warrior/out/linux64/build/tmp/work-shared/gcc-8.3.0-r0/recipe-sysroot-native/usr/sbin:/home/pietergit/warrior/out/linux64/build/tmp/work-shared/gcc-8.3.0-r0/recipe-sysroot-native/usr/bin:/home/pietergit/warrior/out/linux64/build/tmp/work-shared/gcc-8.3.0-r0/recipe-sysroot-native/sbin:/home/pietergit/warrior/out/linux64/build/tmp/work-shared/gcc-8.3.0-r0/recipe-sysroot-native/bin:/home/pietergit/warrior/out/linux64/poky/bitbake/bin:/home/pietergit/warrior/out/linux64/build/tmp/hosttools"; export HOME="/home/pietergit"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/pietergit/warrior/out/linux64/build/downloads 'http://ftp.debian.org/debian/pool/main/g/gcc-8/gcc-8_8.3.0-5.dsc' --progress=dot -v failed with exit code 8, output:
--2019-04-20 14:22:46--  http://ftp.debian.org/debian/pool/main/g/gcc-8/gcc-8_8.3.0-5.dsc
Resolving ftp.debian.org (ftp.debian.org)... 130.89.148.12, 2001:67c:2564:a119::148:12
Connecting to ftp.debian.org (ftp.debian.org)|130.89.148.12|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-04-20 14:22:46 ERROR 404: Not Found.


ERROR: gcc-source-8.3.0-8.3.0-r0 do_fetch: Fetcher failure for URL: 'http://ftp.debian.org/debian/pool/main/g/gcc-8/gcc-8_8.3.0-5.dsc;name=gcc-8_8.3.0-5.dsc'. Unable to fetch URL from any source.
ERROR: gcc-source-8.3.0-8.3.0-r0 do_fetch: 
ERROR: gcc-source-8.3.0-8.3.0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/pietergit/warrior/out/linux64/build/tmp/work-shared/gcc-8.3.0-r0/temp/log.do_fetch.28228
ERROR: Task (/home/pietergit/warrior/meta-debian/recipes-debian/gcc/gcc-source_debian.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 63 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/pietergit/warrior/meta-debian/recipes-debian/gcc/gcc-source_debian.bb:do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

I managed to get my build fixed by using the comment from:
#129

I changed DEBIAN_SOURCE_ENABLED to "1" in build-dir/conf/local.conf. It now fetches the gcc files.

Building debian for cl-imx7d

Hello,
I am trying to build a custom rootfs that relies heavily on debian packages. When i try to incorporate meta-debian in my yocto build, I get the following error:

ERROR: /home/amol/test/fsl-arm-yocto-bsp/sources/meta-debian/recipes-misc/qemu/qemu-bios-native_1.7.0.bb: Error executing a python function in :

The stack trace of python calls that resulted in this exception/failure was:
File: '', lineno: 2, function:
0001:__anon_25__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_conf_machine_include_arm_feature_arm_thumb_inc(d)
*** 0002:__anon_647__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_base_bbclass(d)
0003:__anon_60__home_amol_test_fsl_arm_yocto_bsp_sources_meta_fsl_arm_classes_fsl_dynamic_packagearch_bbclass(d)
0004:__anon_1319__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_insane_bbclass(d)
0005:__anon_242__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_package_bbclass(d)
0006:__anon_747__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_package_rpm_bbclass(d)
File: '/home/amol/test/fsl-arm-yocto-bsp/sources/poky/meta/classes/base.bbclass', lineno: 552, function: __anon_647__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_base_bbclass
0548: needsrcrev = False
0549: srcuri = d.getVar('SRC_URI', True)
0550: for uri in srcuri.split():
0551: (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
*** 0552:
0553: # HTTP/FTP use the wget fetcher
0554: if scheme in ("http", "https", "ftp"):
0555: d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
0556:
File: '/home/amol/test/fsl-arm-yocto-bsp/sources/poky/bitbake/lib/bb/fetch2/init.py', lineno: 365, function: decodeurl
0361: """
0362:
0363: m = re.compile('(?P[^:])://((?P[^/]+)@)?(?P[^;]+)(;(?P.))?').match(url)
0364: if not m:
*** 0365: raise MalformedUrl(url)
0366:
0367: type = m.group('type')
0368: location = m.group('location')
0369: if not location:
Exception: MalformedUrl: The URL: '${MISC_GIT_URI}/${MISC_GIT_PREFIX}qemu.git;protocol=${MISC_GIT_PROTOCOL};branch=stable-2.1' is invalid and cannot be interpreted

ERROR: Failed to parse recipe: /home/amol/test/fsl-arm-yocto-bsp/sources/meta-debian/recipes-misc/qemu/qemu-bios-native_1.7.0.bb
ERROR: /home/amol/test/fsl-arm-yocto-bsp/sources/meta-debian/recipes-misc/ltp/ltp_git.bb: Error executing a python function in :

The stack trace of python calls that resulted in this exception/failure was:
File: '', lineno: 2, function:
0001:__anon_25__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_conf_machine_include_arm_feature_arm_thumb_inc(d)
*** 0002:__anon_647__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_base_bbclass(d)
0003:__anon_60__home_amol_test_fsl_arm_yocto_bsp_sources_meta_fsl_arm_classes_fsl_dynamic_packagearch_bbclass(d)
0004:__anon_1319__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_insane_bbclass(d)
0005:__anon_242__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_package_bbclass(d)
0006:__anon_747__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_package_rpm_bbclass(d)
File: '/home/amol/test/fsl-arm-yocto-bsp/sources/poky/meta/classes/base.bbclass', lineno: 552, function: __anon_647__home_amol_test_fsl_arm_yocto_bsp_sources_poky_meta_classes_base_bbclass
0548: needsrcrev = False
0549: srcuri = d.getVar('SRC_URI', True)
0550: for uri in srcuri.split():
0551: (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
*** 0552:
0553: # HTTP/FTP use the wget fetcher
0554: if scheme in ("http", "https", "ftp"):
0555: d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
0556:
File: '/home/amol/test/fsl-arm-yocto-bsp/sources/poky/bitbake/lib/bb/fetch2/init.py', lineno: 365, function: decodeurl
0361: """
0362:
0363: m = re.compile('(?P[^:])://((?P[^/]+)@)?(?P[^;]+)(;(?P.))?').match(url)
0364: if not m:
*** 0365: raise MalformedUrl(url)
0366:
0367: type = m.group('type')
0368: location = m.group('location')
0369: if not location:
Exception: MalformedUrl: The URL: '${MISC_GIT_URI}/${MISC_GIT_PREFIX}ltp.git;protocol=${MISC_GIT_PROTOCOL}' is invalid and cannot be interpreted

[morty] vlan: do_package_qa() error

Build conditions: Same as #256

log.do_package_qa:

DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package_qa
NOTE: DO PACKAGE QA
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
NOTE: Checking Package: vlan-dbg
NOTE: i586-deby-linux-objdump -p /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/vlan/1.9-r0/packages-split/vlan-dbg/sbin/.debug/vconfig
ERROR: QA Issue: Architecture did not match (x86-64, expected x86) on /work/i586-deby-linux/vlan/1.9-r0/packages-split/vlan-dbg/sbin/.debug/vconfig [arch]
NOTE: Checking Package: vlan-staticdev
NOTE: Checking Package: vlan-locale
NOTE: Checking Package: vlan-dev
NOTE: Checking Package: vlan-doc
NOTE: Checking Package: vlan
NOTE: i586-deby-linux-objdump -p /home/deby/poky/build-mibs/tmp/work/i586-deby-linux/vlan/1.9-r0/packages-split/vlan/sbin/vconfig
ERROR: QA Issue: Architecture did not match (x86-64, expected x86) on /work/i586-deby-linux/vlan/1.9-r0/packages-split/vlan/sbin/vconfig [arch]
ERROR: QA run found fatal errors. Please consider fixing them.
DEBUG: Python function do_package_qa finished
ERROR: Function failed: do_package_qa

gcc-runtime-4.9.2-r0 do_compile: oe_runmake failed

0
down vote
favorite

I followed the instruction provided by meta-debian github page:

During the build process I faced errors while bitbake was do-compiling some of the recipes.. they are e2fsprogs, busybox, gettext etc..

I searched the respective layers i.e, meta and meta-debian and found out that this recipes were present in both the layers.

I removed e2fsprogs from meta layer and busybox, gettext from meta-debian and bitbaked again, this removed the errors which was showing previously during bitbake. I did this because same recipes was present in the both the layers.

now the build is completed up to 90% but I'm stuck at gcc-runtime-4.9.2-r0 do_compile error.

I tried hard but I'm not able to solve this error.

The entire terminal output is as shown below.

pavan@work:/media/pavan/WD03/build$ bitbake core-image-minimal
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################################################################################| Time: 0:00:01
Loaded 1449 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################| Time: 0:01:37
Parsing of 1624 .bb files complete (956 cached, 668 parsed). 2429 targets, 348 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-16.04"
TARGET_SYS = "i586-deby-linux"
MACHINE = "qemux86"
DISTRO = "deby"
DISTRO_VERSION = "8.0"
TUNE_FEATURES = "m32 i586"
TARGET_FPU = ""
meta = "morty:34b26ec18450a3bc72f7b8a0f2df0bfaae1140dd"
meta-debian = "morty:ac8a24e0e42fbcdeb45fc586994503e2bc1f4196"

Initialising tasks: 100% |######################################################################################################| Time: 0:00:17
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

ERROR: gcc-runtime-4.9.2-r0 do_compile: oe_runmake failed

ERROR: gcc-runtime-4.9.2-r0 do_compile: Function failed: do_compile (log file is located at /media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/temp/log.do_compile.18839)

ERROR: Logfile of failure stored in: /media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/temp/log.do_compile.18839

Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common'] | DEBUG: Executing shell function do_compile | NOTE: make -j 4 ARCH_FLAGS_FOR_TARGET= -m32 -march=i586 -isystem/media/pavan/WD03/build/tmp/sysroots/qemux86/usr/include MULTIBUILDTOP=/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/gcc-4.9.2/build.i586-deby-linux.i586-deby-linux/i586-deby-linux/libgcc/ | # If this is the top-level multilib, build all the other | DEFINES='' HEADERS='/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/config/i386/value-unwind.h' \ | /media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/mkheader.sh > tmp-libgcc_tm.h | # multilibs. | /bin/bash /media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h | i586-deby-linux-gcc -m32 -march=i586 --sysroot=/media/pavan/WD03/build/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0=/usr/src/debug/gcc-runtime/4.9.2-r0 -fdebug-prefix-map=/media/pavan/WD03/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/pavan/WD03/build/tmp/sysroots/qemux86= -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -mlong-double-80 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -mlong-double-80 -I. -I. -I/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/gcc-4.9.2/build.i586-deby-linux.i586-deby-linux/i586-deby-linux/libgcc/../.././gcc -I/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc -I/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/. -I/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/../gcc -I/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/../include -I/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o morestack_s.o -MT morestack_s.o -MD -MP -MF morestack_s.dep -DSHARED -c -xassembler-with-cpp /media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/config/i386/morestack.S | sed -e 's/PFX//g' \ | -e 's/FIXPTPFX//g' < /media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libgcc/libgcc-std.ver.in > libgcc-std.ver PIC -DPIC -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-condvar.lo -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0=/usr/src/debug/gcc-runtime/4.9.2-r0 -fdebug-prefix-map=/media/pavan/WD03/build/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/media/pavan/WD03/build/tmp/sysroots/qemux86= -std=gnu++11 -c /media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/git/src/libstdc++-v3/src/c++11/compatibility-condvar.cc -o compatibility-condvar.o >/dev/null 2>&1 | /bin/bash ../libtool --tag CXX --mode=link i586-deby-linux-g++ -m32 -march=i586 --sysroot=/media/pavan/WD03/build/tmp/sysroots/qemux86 -nostdinc++ -nostdlib++ -Wl,-O1 -Wl,-z,relro -Wl,--gc-sections -fPIC -DPIC -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=libstdc++.la '-Wl,-O1' '-Wl,--hash-style=gnu' -o libstdc++.la -version-info 6:20:0 -Wl,--version-script=libstdc++-symbols.ver -lm -rpath /usr/lib compatibility.lo compatibility-debug_list.lo compatibility-debug_list-2.lo compatibility-c++0x.lo compatibility-atomic-c++0x.lo compatibility-thread-c++0x.lo compatibility-chrono.lo compatibility-condvar.lo ../libsupc++/libsupc++convenience.la ../src/c++98/libc++98convenience.la ../src/c++11/libc++11convenience.la | libtool: link: i586-deby-linux-g++ -m32 -march=i586 --sysroot=/media/pavan/WD03/build/tmp/sysroots/qemux86 -nostdinc++ -nostdlib++ -shared -nostdlib /media/pavan/WD03/build/tmp/sysroots/qemux86/usr/lib/crti.o /media/pavan/WD03/build/tmp/sysroots/qemux86/usr/lib/i586-deby-linux/4.9/crtbeginS.o .libs/compatibility.o .libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o .libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o .libs/compatibility-chrono.o .libs/compatibility-condvar.o -Wl,--whole-archive ../libsupc++/.libs/libsupc++convenience.a ../src/c++98/.libs/libc++98convenience.a ../src/c++11/.libs/libc++11convenience.a -Wl,--no-whole-archive -lm -L/media/pavan/WD03/build/tmp/sysroots/x86_64-linux/usr/lib/i586-deby-linux/gcc/i586-deby-linux/4.9 -L/media/pavan/WD03/build/tmp/sysroots/qemux86/lib -L/media/pavan/WD03/build/tmp/sysroots/qemux86/usr/lib/i586-deby-linux/4.9 -L/media/pavan/WD03/build/tmp/sysroots/qemux86/usr/lib -lc -lgcc_s /media/pavan/WD03/build/tmp/sysroots/qemux86/usr/lib/i586-deby-linux/4.9/crtendS.o /media/pavan/WD03/build/tmp/sysroots/qemux86/usr/lib/crtn.o -m32 -march=i586 -Wl,-O1 -Wl,-z -Wl,relro -Wl,--gc-sections -Wl,-O1 -Wl,--hash-style=gnu -Wl,--version-script=libstdc++-symbols.ver -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.20
| ../src/c++11/.libs/libc++11convenience.a(system_error.o): In function __static_initialization_and_destruction_0':
| /usr/src/debug/gcc-runtime/4.9.2-r0/git/src/libstdc++-v3/src/c++11/system_error.cc:65: undefined reference to__dso_handle'
| /media/pavan/WD03/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-deby-linux/gcc/i586-deby-linux/4.9/ld: ../src/c++11/.libs/libc++11convenience.a(system_error.o): relocation R_386_GOTOFF against undefined hidden symbol `__dso_handle' can not be used when making a shared object
| /media/pavan/WD03/build/tmp/sysroots/x86_64-linux/usr/libexec/i586-deby-linux/gcc/i586-deby-linux/4.9/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
| Makefile:555: recipe for target 'libstdc++.la' failed | make[3]: * [libstdc++.la] Error 1
| make[3]: Leaving directory '/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/gcc-4.9.2/build.i586-deby-linux.i586-deby-linux/i586-deby-linux/libstdc++-v3/src'
| Makefile:585: recipe for target 'all-recursive' failed | make[2]: [all-recursive] Error 1
| make[2]: Leaving directory '/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/gcc-4.9.2/build.i586-deby-linux.i586-deby-linux/i586-deby-linux/libstdc++-v3/src'
| Makefile:485: recipe for target 'all-recursive' failed
| make[1]: [all-recursive] Error 1
| make[1]: Leaving directory '/media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/gcc-4.9.2/build.i586-deby-linux.i586-deby-linux/i586-deby-linux/libstdc++-v3'
| Makefile:391: recipe for target 'all' failed
| make: * [all] Error 2 | ERROR: Function failed: do_compile (log file is located at /media/pavan/WD03/build/tmp/work/i586-deby-linux/gcc-runtime/4.9.2-r0/temp/log.do_compile.18839)

ERROR: Task (/media/pavan/WD03/poky/meta-debian/recipes-debian/gcc/gcc-runtime_debian.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1086 tasks of which 1070 didn't need to be rerun and 1 failed.

Summary: 1 task failed: /media/pavan/WD03/poky/meta-debian/recipes-debian/gcc/gcc-runtime_debian.bb:do_compile Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

I'm not able to solve this error. Please help me understand what is the actual problem that is causing this error and what are the possible solutions..

thank you.

[morty] postfix-native: Cannot link libpq

Build conditions: Same as #256

After the two fixes (bd702d7 and c2138a2), do_compile() still fails with the following error:

gcc -I. -I../../include -DDEBIAN -DMAX_DYNAMIC_MAPS -DHAS_PCRE     -DHAS_SQLITE -DMYORIGIN_FROM_FILE     -DHAS_CDB     -DHAS_MYSQL -I/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/include/mysql     -DHAS_SQLITE -I/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/include     -DHAS_SSL -I/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/include/openssl     -DUSE_TLS -I. -I../../include -DDEBIAN -DMAX_DYNAMIC_MAPS -DHAS_PCRE         -DHAS_SQLITE -DMYORIGIN_FROM_FILE         -DHAS_CDB         -DHAS_MYSQL -I/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/include/mysql         -DHAS_SQLITE -I/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/include         -DHAS_SSL -I/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/include/openssl         -DUSE_TLS -shared -Wl,-soname,dict_pgsql.so -o dict_pgsql.so dict_pgsql.o  -L/home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/lib -lssl -lcrypto -lpthread -ldb -lnsl -lresolv -lpq -L. -lutil -lglobal
ERROR: oe_runmake failed
/usr/bin/ld: cannot find -lpq
collect2: error: ld returned 1 exit status
Makefile:164: recipe for target 'dict_pgsql.so' failed
make: *** [dict_pgsql.so] Error 1

Link commands of other targets than dict_pgsql.so like dict_pcre.so finishes successfully.
I could not find any wrong things in postfix-native. For example,

  • The link command of dict_pgsql.so also includes the correct search path $(SYSLIBS) = /home/deby/poky/build-world/tmp/sysroots/x86_64-linux/usr/lib
  • postfix-native already DEPENDS on postgresql-native which provides libpq.so

I think we need to correct the install path of libpq.so by postgresql-native, which is now

tmp/sysroots/x86_64-linux/usr/lib/x86_64-linux-gnu/libpq.so

but it should be

tmp/sysroots/x86_64-linux/usr/lib/libpq.so

[morty] libsasl2-modules-gssapi-heimdal: do_populate_sysroot() error

Build conditions: Same as #256

log.do_populate_sysroot:

...
ERROR: The recipe libsasl2-modules-gssapi-heimdal is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/lib/i386-linux-gnu/sasl2/libscram.so.2
 Matched in b'manifest-qemux86-libsasl2-modules-gssapi-mit.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/lib/i386-linux-gnu/sasl2/libscram.so.2.0.25
 Matched in b'manifest-qemux86-libsasl2-modules-gssapi-mit.populate_sysroot'
 /home/deby/poky/build-mibs/tmp/sysroots/qemux86/usr/lib/i386-linux-gnu/sasl2/libscram.so
 Matched in b'manifest-qemux86-libsasl2-modules-gssapi-mit.populate_sysroot'
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
DEBUG: Python function sstate_task_postfunc finished
ERROR: Function failed: sstate_task_postfunc

Yocto Zeus support

Yocto Zeus has been release and now includes Buster in the supported distributions.

Any plans to update this project to Zeus?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.