imx-yocto-L5.4.24_2.1.0 build systemd fail

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

imx-yocto-L5.4.24_2.1.0 build systemd fail

996 Views
caoyk
Contributor I

i have use the config like this:

DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source imx-setup-release.sh -b build-xwayland

 

and use bitbake imx-image-full to make image.

when build systemd a error occur

log:

| Program test/test-efi-create-disk.sh found: YES (/home/cyk/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/systemd/1_243.2-r0/git/test/test-efi-create-disk.sh)
| Message: Using /usr/sbin/quotaon for quotaon
| Message: Using /usr/sbin/quotacheck for quotacheck
| Message: Using /bin/kmod for kmod
| Message: Using /usr/sbin/kexec for kexec
| Message: Using /sbin/sulogin for sulogin
| Message: Using /bin/mount for mount
| Message: Using /bin/umount for umount
| Program loadkeys found: NO
| Program /usr/sbin/loadkeys found: NO
| Program /sbin/loadkeys found: NO
| Program setfont found: NO
| Program /usr/sbin/setfont found: NO
| Program /sbin/setfont found: NO
| Message: Using /sbin/nologin for nologin
| Program gperf found: NO
|
| meson.build:584:0: ERROR: Program(s) ['gperf'] not found or not executable
|
| A full log can be found at /home/cyk/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/systemd/1_243.2-r0/build/meson-logs/meson-log.txt
| WARNING: exit code 1 from a shell command.

 

i try:

sudo apt-get install gperf

bitbake -c cleanall systemd 

bitbake imx-image-full 

 

but the issue is still occur.

i use : ubuntu 18.04 how to slove this? 

0 Kudos
Reply
2 Replies

941 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Caoyk,

Install

Then install gperf, that apparently is not in your system.

Regards

0 Kudos
Reply

941 Views
caoyk
Contributor I

thank you reply!

but i had install libc6 and libgcc1

so I try to copy gperf to yocto Directory like this:

sudo cp /usr/bin/gperf /home/cyk/imx-yocto-bsp/build-xwayland/tmp/hosttools
Then rebuild  systemd have been successful ! 
0 Kudos
Reply