Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmd0 is missing in ubuntu-20.04 container #66

Open
mchwalisz opened this issue Mar 31, 2022 · 0 comments · May be fixed by #67
Open

libmd0 is missing in ubuntu-20.04 container #66

mchwalisz opened this issue Mar 31, 2022 · 0 comments · May be fixed by #67

Comments

@mchwalisz
Copy link

Looks like libmd0 package is missing from ubuntu-20.04 container. I get following error while trying to build image.

ERROR: nxp-image-real-time-edge-1.0-r0 do_rootfs: Unable to install packages. Command '/mnt/build/tmp/work/imx8mm_lpddr4_evk-poky-linux/nxp-image-real-time-edge/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove locale-base-en-us locale-base-en-gb' returned 100:
dpkg: error while loading shared libraries: libmd.so.0: cannot open shared object file: No such file or directory
Click to expand layer and error details.
Loading cache: 100% |#########################################################################################################################################################################################################################################################################################################################################################################################################################################################| Time: 0:00:01
Loaded 5777 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime linux-firmware-bcm4359-pcie (firmware-nxp-wifi, linux-firmware)
Consider defining a PREFERRED_RPROVIDER entry to match linux-firmware-bcm4359-pcie

Build Configuration:
BB_VERSION           = "1.50.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8mm-lpddr4-evk"
DISTRO               = "nxp-real-time-edge"
DISTRO_VERSION       = "2.2"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "HEAD:269265c00091fa65f93de6cad32bf24f1e7f72a3"
meta-oe
meta-multimedia
meta-python          = "HEAD:f44e1a2b575826e88b8cb2725e54a7c5d29cf94a"
meta-freescale       = "HEAD:469d6c958c76ea235b3d3c1527e797ce3a7392e3"
meta-freescale-3rdparty = "HEAD:f8150f3b37cb83cba1f9e2378e57bb63e02d4610"
meta-freescale-distro = "HEAD:e6daa26ba1f748326546063d63a085ae671827d9"
meta-bsp
meta-sdk
meta-ml
meta-v2x             = "HEAD:30eff0d5a090d34690f0261b2899d5a5cd94c5ab"
meta-nxp-demo-experience = "HEAD:9dcc11ea9f525cffedbb28895e0abb443e56c3e0"
meta-chromium        = "HEAD:8be1d3a0ba0cf32e61144900597207af5698c10d"
meta-clang           = "HEAD:b0d805060791006d651efd3d7ae3dd5add8f70fe"
meta-gnome
meta-networking
meta-filesystems     = "HEAD:f44e1a2b575826e88b8cb2725e54a7c5d29cf94a"
meta-qt5             = "HEAD:43f8f539d40070a70fe89136db89bf5bb1dfe7ed"
meta-python2         = "HEAD:8db9e4f6ceae33d7a4f55453d31e69f9858af4eb"
meta-cpan            = "HEAD:a9fc22b1dce08343e19be06a48f0ce503a034c56"
meta-virtualization  = "HEAD:7f719ef40896b6c78893add8485fda995b00d51d"
meta-nxp-harpoon     = "HEAD:f30849b082d74087691eab6a757c3c423f9db75d"
meta-real-time-edge  = "HEAD:4e6ec1ce730a99d6a87cee6b0e9f8e24d776e5cd"

Initialising tasks: 100% |####################################################################################################################################################################################################################################################################################################################################################################################################################################################| Time: 0:00:08
Sstate summary: Wanted 432 Local 429 Network 0 Missed 3 Current 3033 (99% match, 99% complete)
NOTE: Executing Tasks
ERROR: nxp-image-real-time-edge-1.0-r0 do_rootfs: Unable to install packages. Command '/mnt/build/tmp/work/imx8mm_lpddr4_evk-poky-linux/nxp-image-real-time-edge/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove locale-base-en-us locale-base-en-gb' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  glibc-binary-localedata-en-gb glibc-binary-localedata-en-us
The following NEW packages will be installed:
  glibc-binary-localedata-en-gb glibc-binary-localedata-en-us
  locale-base-en-gb locale-base-en-us
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/461 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 file:/mnt/build/tmp/work/imx8mm_lpddr4_evk-poky-linux/nxp-image-real-time-edge/1.0-r0/oe-rootfs-repo/cortexa53-crypto ./ glibc-binary-localedata-en-gb 2.33-r0 [228 kB]
Get:2 file:/mnt/build/tmp/work/imx8mm_lpddr4_evk-poky-linux/nxp-image-real-time-edge/1.0-r0/oe-rootfs-repo/cortexa53-crypto ./ glibc-binary-localedata-en-us 2.33-r0 [231 kB]
Get:3 file:/mnt/build/tmp/work/imx8mm_lpddr4_evk-poky-linux/nxp-image-real-time-edge/1.0-r0/oe-rootfs-repo/cortexa53-crypto ./ locale-base-en-gb 2.33-r0 [872 B]
Get:4 file:/mnt/build/tmp/work/imx8mm_lpddr4_evk-poky-linux/nxp-image-real-time-edge/1.0-r0/oe-rootfs-repo/cortexa53-crypto ./ locale-base-en-us 2.33-r0 [872 B]
dpkg: error while loading shared libraries: libmd.so.0: cannot open shared object file: No such file or directory
W: No sandbox user '_apt' on the system, can not drop privileges
E: Sub-process dpkg returned an error code (127)

ERROR: Logfile of failure stored in: /mnt/build/tmp/work/imx8mm_lpddr4_evk-poky-linux/nxp-image-real-time-edge/1.0-r0/temp/log.do_rootfs.128
ERROR: Task (/mnt/sources/meta-real-time-edge/recipes-nxp/images/nxp-image-real-time-edge.bb:do_rootfs) failed with exit code '1'
mchwalisz added a commit to mchwalisz/yocto-dockerfiles that referenced this issue Mar 31, 2022
@mchwalisz mchwalisz linked a pull request Mar 31, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant