Building jack in yocto [imx8qxp]

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Building jack in yocto [imx8qxp]

Jump to solution
1,679 Views
Ferromagnetic
Contributor II

Hello,

I want to add "jack" to my yocto image, everything going correct until imx-yocto-bsp/sources/meta-imx/meta-sdk/recipes-fsl/images/imx-image-multimedia.bb:do_rootfs task.  

This is the output from console:

Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpc0mek"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.15-kirkstone"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:602922d492351ee747d2ff00f8ed5aab284a706b"
meta-oe
meta-multimedia
meta-python = "HEAD:8f2dc1023482863e2630d1b94052c41ce748b38f"
meta-freescale = "HEAD:06e1cf4099caa53da33c10e1884064f73dc184dd"
meta-freescale-3rdparty = "HEAD:6d8213fc5ec192c33f963b8095d1f01af1574eea"
meta-freescale-distro = "HEAD:fc15f5003043da23212596be7366ae2547c308ad"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:c99919c8a838d64e9aa08aa04d8bb2b6fa593d72"
meta-nxp-demo-experience = "HEAD:c3bd9b4789d87fc259d1fb2c2ffa27b39f1310b5"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:d669d873edf68dc7440bb07096737203bb7ec505"
meta-gnome
meta-networking
meta-filesystems = "HEAD:8f2dc1023482863e2630d1b94052c41ce748b38f"
meta-qt6 = "HEAD:41ddf0b33167ea28df0ce5b56583976c20e7f187"
meta-virtualization = "HEAD:cca772a457a75b2661371932ff79c392da3118db"

Initialising tasks: 100% |########################################################################################################################################################################| Time: 0:00:05Sstate summary: Wanted 2 Local 0 Mirrors 0 Missed 2 Current 3696 (0% match, 99% complete)
Removing 2 stale sstate objects for arch imx8qxpc0mek: 100% |#####################################################################################################################################| Time: 0:00:00NOTE: Executing Tasks
ERROR: imx-image-multimedia-1.0-r0 do_rootfs: Unable to install packages. Command '/home/dkuzniar/imx-yocto-bsp/build_imx8qxp/tmp/work/imx8qxpc0mek-poky-linux/imx-image-multimedia/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove apt docker dpkg firmwared imx-g2d-samples jack packagegroup-base-extended packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-nfs-server packagegroup-core-sdk packagegroup-core-ssh-dropbear packagegroup-core-standalone-sdk-target packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-core-tools-testapps packagegroup-core-weston packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-optee-imx packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps packagegroup-imx-isp packagegroup-imx-security packagegroup-tools-bluetooth run-postinsts' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package jack

ERROR: Logfile of failure stored in: /home/dkuzniar/imx-yocto-bsp/build_imx8qxp/tmp/work/imx8qxpc0mek-poky-linux/imx-image-multimedia/1.0-r0/temp/log.do_rootfs.1204675
ERROR: Task (/home/dkuzniar/imx-yocto-bsp/sources/meta-imx/meta-sdk/recipes-fsl/images/imx-image-multimedia.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8606 tasks of which 8605 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/dkuzniar/imx-yocto-bsp/sources/meta-imx/meta-sdk/recipes-fsl/images/imx-image-multimedia.bb:do_rootfs
Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.

 

It seems like yocto trying to install jack via apt-get install but jack isn't the correct name of this package in apt (should be jackd2). I attached logs and my conf files. Another packages like for example text editor "joe" was building correct and working. 

Thanks in advance 

0 Kudos
Reply
1 Solution
1,651 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Using meta-openembedded recipe as a reference, you may need to add all the packages to be installed instead, so it should look something like this:

IMAGE_INSTALL:append = " libjack jack-server jack-utils"


Please try it and let us know if you are still facing issues.

Best regards,
Aldo.

View solution in original post

2 Replies
1,652 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Using meta-openembedded recipe as a reference, you may need to add all the packages to be installed instead, so it should look something like this:

IMAGE_INSTALL:append = " libjack jack-server jack-utils"


Please try it and let us know if you are still facing issues.

Best regards,
Aldo.

1,619 Views
Ferromagnetic
Contributor II

It working, thank you very much

0 Kudos
Reply