Hello,
I am new to Yocto and I am trying to learn how to configure it using the Maaxboard. I am working from the Kirkstone branch as this is the latest supported branch.
I am trying to include the vpx encoders from gstreamer1.0-plugins-good as these are not provided out the box. I have seen that the x264 codec has been included in the local.conf file as follows:
PACKAGECONFIG:pn-gstreamer1.0-plugins-ugly += "x264"
I have seen elsewhere that vp8enc can be included from the good plugins and so i added:
PACKAGECONFIG:pn-gstreamer1.0-plugins-good += "vpx"
However this results in:
ERROR: avnet-image-lite-1.0-r0 do_rootfs: Unable to install packages. Command '/media/user/Linux_Storage/yocto/maaxboard/build/tmp/work/maaxboard-poky-linux/avnet-image-lite/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove alsa-state apt base-passwd dos2unix dpkg expand-rootfs firmwared git gnupg hostapd inetutils libgpiod libgpiod-tools lrzsz openssh-sftp openssh-sftp-server packagegroup-base-extended packagegroup-base-wifi packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-sdk packagegroup-core-ssh-openssh packagegroup-core-standalone-sdk-target packagegroup-core-tools-debug packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-commercial packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-tools-audio packagegroup-imx-isp packagegroup-imx-security packagegroup-tools-bluetooth parted powertop pulseaudio-server python3 python3-pip rsync run-postinsts shadow spitools tzdata v4l-utils weston-init weston-timer wireless-tools wpa-conf xz yavta' returned 100: Reading package lists... Building dependency tree... Reading state information... 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: gstreamer1.0-plugins-good-lame : Depends: libmp3lame0 (>= 3.100) but it is not installable gstreamer1.0-plugins-good-mpg123 : Depends: mpg123 (>= 1.29.3) but it is not installable gstreamer1.0-plugins-good-soup : Depends: libsoup-2.4 but it is not installable gstreamer1.0-plugins-good-speex : Depends: libspeex1 (>= 1.2.0) but it is not installable gstreamer1.0-plugins-good-taglib : Depends: libtag1 (>= 1.12) but it is not installable E: Unable to correct problems, you have held broken packages. ERROR: Logfile of failure stored in: /media/user/Linux_Storage/yocto/maaxboard/build/tmp/work/maaxboard-poky-linux/avnet-image-lite/1.0-r0/temp/log.do_rootfs.467598 ERROR: Task (/media/user/Linux_Storage/yocto/sources/meta-maaxboard/images/avnet-image-lite.bb:do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 6301 tasks of which 6300 didn't need to be rerun and 1 failed. Summary: 1 task failed: /media/user/Linux_Storage/yocto/sources/meta-maaxboard/images/avnet-image-lite.bb:do_rootfs Summary: There was 1 WARNING message. Summary: There was 1 ERROR message, returning a non-zero exit code.
I am unsure why these other plugins are getting added.
In a attempt to meet the dependencies I added the following to local.conf:
IMAGE_INSTALL:append = " speex" IMAGE_INSTALL:append = " lame" IMAGE_INSTALL:append = " mpg123" IMAGE_INSTALL:append = " taglib" IMAGE_INSTALL:append = " libsoup-2.4"
This however results in the following error:
ERROR: avnet-image-lite-1.0-r0 do_rootfs: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:license_create_manifest(d) 0003: File: '/media/user/Linux_Storage/yocto/sources/poky/meta/classes/license_image.bbclass', lineno: 38, function: license_create_manifest 0034: pkg_dic = {} 0035: for pkg in sorted(image_list_installed_packages(d)): 0036: pkg_info = os.path.join(d.getVar('PKGDATA_DIR'), 0037: 'runtime-reverse', pkg) *** 0038: pkg_name = os.path.basename(os.readlink(pkg_info)) 0039: 0040: pkg_dic[pkg_name] = oe.packagedata.read_pkgdatafile(pkg_info) 0041: if not "LICENSE" in pkg_dic[pkg_name].keys(): 0042: pkg_lic_name = "LICENSE:" + pkg_name Exception: FileNotFoundError: [Errno 2] No such file or directory: '/media/user/Linux_Storage/yocto/maaxboard/build/tmp/pkgdata/maaxboard/runtime-reverse/gstreamer1.0-plugins-good-cairo' ERROR: Logfile of failure stored in: /media/user/Linux_Storage/yocto/maaxboard/build/tmp/work/maaxboard-poky-linux/avnet-image-lite/1.0-r0/temp/log.do_rootfs.469536 ERROR: Task (/media/user/Linux_Storage/yocto/sources/meta-maaxboard/images/avnet-image-lite.bb:do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 6399 tasks of which 6398 didn't need to be rerun and 1 failed. Summary: 1 task failed: /media/user/Linux_Storage/yocto/sources/meta-maaxboard/images/avnet-image-lite.bb:do_rootfs Summary: There was 1 WARNING message. Summary: There was 1 ERROR message, returning a non-zero exit code.
I am unsure why this will not build or why these additional packages are being added.
Any help would be much appreciated.