flexbuild build fail (machine: imx8mpevk)

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

flexbuild build fail (machine: imx8mpevk)

3,892 Views
andreamarson
Contributor II

Hello,

I'm having the following error when trying to build for the imx8mpevk machine:

[root@fbdebian flexbuild]$ bld -m imx8mpevk
...
Setting up uidmap (1:4.13+dfsg1-1+b1) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
I: automatically chosen mode: root
W: binfmt_misc not found in /proc/mounts -- not mounted?
E: arm64 can neither be executed natively nor via qemu user emulation with binfmt_misc
2025-02-06 01:56:44,270 bdebstrap ERROR: mmdebstrap failed with exit code 25. See above for details.
make[1]: *** [cryptodev_linux.mk:7: cryptodev_linux] Error 1
make: *** [Makefile:17: linux-modules] Error 2

Can you help me to fix it?

Thank you in advance.

 

0 Kudos
Reply
8 Replies

3,759 Views
June_Lu
NXP TechSupport
NXP TechSupport

Please kindly refer below:

[root@fbdebian flexbuild2412]$ cat /proc/mounts

overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/C4DWP2KVNXWKH2XJ563KJOXGXJ:/var/lib/docker/overlay2/l/3J3KTMQVPY74QGJKRPQHG727ZG:/var/lib/docker/overlay2/l/ETHHAO2WUEVEKTJZSHYP7R67PR:/var/lib/docker/overlay2/l/L22KW6O2BTJEJFRQNAYIF65I7M:/var/lib/docker/overlay2/l/5X7ZASKZL2Q4A4JPXOTXL27SUW:/var/lib/docker/overlay2/l/S5RPY5DNQMW6ARRIEVSJVMP5WT,upperdir=/var/lib/docker/overlay2/399d79f82c0e1fb6a0773eec4e1fc2353ab91d707dfbd5c0891c8eaecf407bcd/diff,workdir=/var/lib/docker/overlay2/399d79f82c0e1fb6a0773eec4e1fc2353ab91d707dfbd5c0891c8eaecf407bcd/work 0 0

proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0

sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0

cgroup /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0

udev /dev devtmpfs rw,nosuid,relatime,size=8127808k,nr_inodes=2031952,mode=755,inode64 0 0

devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0

tmpfs /dev/shm tmpfs rw,inode64 0 0

hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0

mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0

/dev/mapper/vg_data-lv_usr /usr/lib/modules ext4 rw,relatime 0 0

/dev/mapper/vg_data-lv_usr /usr/share/zoneinfo/Etc/UTC ext4 ro,relatime 0 0

/dev/mapper/vg_data-lv_home /home/nxa20322 ext4 rw,relatime 0 0

/dev/mapper/vg_data-lv_var /etc/resolv.conf ext4 rw,relatime 0 0

/dev/mapper/vg_data-lv_var /etc/hostname ext4 rw,relatime 0 0

/dev/mapper/vg_data-lv_var /etc/hosts ext4 rw,relatime 0 0

/dev/mapper/vg_data-lv_home /home/nxa20322/docker/flexbuild2412 ext4 rw,relatime 0 0

devpts /dev/console devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0

 

Thanks

0 Kudos
Reply

3,711 Views
andreamarson
Contributor II

@June_Lu 
I have not spotted any significant difference w.r.t. to the active mounts.


Can you please send me your full log associated with the build for the machine imx8mpevk so that I can compare it with mine?

 

0 Kudos
Reply

3,664 Views
June_Lu
NXP TechSupport
NXP TechSupport
 
0 Kudos
Reply

3,666 Views
June_Lu
NXP TechSupport
NXP TechSupport

I create a new file and run the command, because it depends on the ethernet link, I run other related commands first, and then run the "bld -m imx8mpevk" in the end.

See whole logs attached.

0 Kudos
Reply

3,814 Views
June_Lu
NXP TechSupport
NXP TechSupport

Thanks for  the logs.

It is possible to related to your Host environment,

I could not reproduce the same issue.

My host is Ubuntu 22.04 host with docker.

0 Kudos
Reply

3,793 Views
andreamarson
Contributor II

I use the same distribution:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

 

Any hint to spot where the problem could be?
To start, can you please send me the output of this command so I can see what this file should look like?

[root@fbdebian flexbuild]$ cat /proc/mounts

 

0 Kudos
Reply

3,866 Views
June_Lu
NXP TechSupport
NXP TechSupport

Is it the full logs?

Have you confirm the

 Verify that the Docker installation is successful by running the hello-world image.

```

   $ docker run hello-world

   $ docker ps -a

0 Kudos
Reply

3,856 Views
andreamarson
Contributor II

docker works properly:

 

 

$ docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

amarson@LW11Y24037:~/devel/dsab/sw/linux/RTK0EF0177Z00002ZJ-v1.0.1$ docker ps -a
CONTAINER ID   IMAGE                                      COMMAND                  CREATED         STATUS                      PORTS
           NAMES
bb81ea6a0099   hello-world                                "/hello"                 9 seconds ago   Exited (0) 7 seconds ago
           distracted_roentgen
503a17e14c01   fbdebian:12                                "/bin/bash"              40 hours ago    Up 40 hours
           amarson_fbdebian_12_555c33
07080445a948   excalidraw/excalidraw:latest               "/docker-entrypoint.…"   3 days ago      Up 3 days (healthy)         0.0.0.0:5000->80/tcp, :::5000->80/tcp   excalidraw
1bdbc6826aaf   budibase/proxy                             "/docker-entrypoint.…"   7 months ago    Exited (0) 7 months ago
           bbproxy
b1777d09ad35   budibase.docker.scarf.sh/budibase/apps     "docker-entrypoint.s…"   7 months ago    Exited (137) 7 months ago
           bbapps
07d6b116ab00   budibase.docker.scarf.sh/budibase/worker   "docker-entrypoint.s…"   7 months ago    Exited (137) 7 months ago
           bbworker
2ff233a6bd39   redis                                      "docker-entrypoint.s…"   7 months ago    Exited (0) 7 months ago
           budibase-docker-redis-service-1
267066eea7a5   budibase/couchdb                           "tini -- /docker-ent…"   7 months ago    Exited (143) 7 months ago
           budibase-docker-couchdb-service-1
40a3b1a5ae01   containrrr/watchtower                      "/watchtower --debug…"   7 months ago    Up 3 days (healthy)         8080/tcp
           budibase-docker-watchtower-service-1
950529d1adc7   minio/minio                                "/usr/bin/docker-ent…"   7 months ago    Exited (0) 7 months ago
           budibase-docker-minio-service-1
8cdb5e08ba8c   nodered/node-red                           "./entrypoint.sh"        7 months ago    Exited (130) 7 months ago
           mynodered2
82aa692ee66a   nodered/node-red                           "./entrypoint.sh"        7 months ago    Exited (130) 7 months ago
           mynodered
e072a885ce2b   hello-world                                "/hello"                 8 months ago    Exited (0) 8 months ago
           stupefied_fermat
1833397a90b8   hello-world                                "/hello"                 8 months ago    Exited (0) 8 months ago
           zen_chaum

 

 

 
I'll attach the full log too.

Tags (1)
0 Kudos
Reply