Hi Jose,
Thanks for the patch. I can't reproduce this issue on Ubuntu-22.04
machine. BTW which OS are you using?
[09/06/2023 20:44:15] yocto:/scratch/sandeepg/yocto/2023.1/yp-rel $
source setupsdk build-zynqmp
You had no conf/local.conf file. This configuration file has therefore been
created for you from
/scratch/sandeepg/yocto/2023.1/yp-rel/sources/meta-petalinux/conf/templates/default/local.conf.sample
You may wish to edit it to, for example, select a different MACHINE (target
hardware).
You had no conf/bblayers.conf file. This configuration file has
therefore been
created for you from
/scratch/sandeepg/yocto/2023.1/yp-rel/sources/meta-petalinux/conf/templates/default/bblayers.conf.sample
To add additional metadata layers into your configuration please add entries
to conf/bblayers.conf.
The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
https://docs.yoctoproject.org
For more information about OpenEmbedded see the website:
https://www.openembedded.org/
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
petalinux-image-minimal
petalinux-image-full
petalinux-image-everything
meta-qemu-xilinx
meta-xilinx-toolchain
You can also run generated qemu images with a command like 'runqemu
qemux86-64'.
Other commonly useful commands are:
- 'devtool' and 'recipetool' handle common recipe tasks
- 'bitbake-layers' handles common layer tasks
- 'oe-pkgdata-util' handles common target package tasks
[09/06/2023 20:44:31]
yocto:/scratch/sandeepg/yocto/2023.1/yp-rel/build-zynqmp $
MACHINE=zynqmp-generic bitbake u-boot-tools-xlnx -c compile -f
--skip-setscene
NOTE: Started PRServer with DBfile:
/scratch/sandeepg/yocto/2023.1/yp-rel/build-zynqmp/cache/prserv.sqlite3,
Address: 127.0.0.1:37605, PID: 2717825
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100%
|#############################################################################################################################################################################|
Time: 0:00:10
Parsing of 4351 .bb files complete (0 cached, 4351 parsed). 6282
targets, 311 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.2.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "aarch64-xilinx-linux"
MACHINE = "zynqmp-generic"
DISTRO = "petalinux"
DISTRO_VERSION =
"2023.1+snapshot-12029f5899b23b3839b961eb68cc7a867e6b8d15"
TUNE_FEATURES = "aarch64 armv8a crc cortexa72-cortexa53"
TARGET_FPU = ""
SOC_VARIANT = "cg"
XILINX_RELEASE_VERSION = "v2023.1"
XILINX_XSCT_VERSION = "2023.1"
DISTRO_NAME = "PetaLinux"
ROS_DISTRO = "humble"
ROS_VERSION = "2"
ROS_PYTHON_VERSION = "3"
meta
meta-poky =
"rel-v2023.1:12029f5899b23b3839b961eb68cc7a867e6b8d15"
meta-microblaze
meta-xilinx-core
meta-xilinx-standalone
meta-xilinx-bsp
meta-xilinx-vendor =
"rel-v2023.1:8bbabcdc2fd39ffafc794a19c5e43b7ed0b5dd7e"
meta-xilinx-tools =
"rel-v2023.1:f07fd9656ce3a67709ca08a6234628fcc0575b6b"
meta-perl
meta-python
meta-filesystems
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-xfce
meta-initramfs
meta-oe =
"rel-v2023.1:19fdd85cfacf0ff3b81cb9a2046879291e445a12"
meta-xilinx-contrib =
"rel-v2023.1:8bbabcdc2fd39ffafc794a19c5e43b7ed0b5dd7e"
meta-virtualization =
"rel-v2023.1:1cd805c747da2001506f029c276e656760cec02b"
meta-openamp =
"rel-v2023.1:dc4fa75634c80ad3cd00bf634b0f3c67b4f8210f"
meta-kria =
"rel-v2023.1:5765f464302d2c277a3aa55786f4478d6c52a0a6"
meta-security
meta-tpm =
"rel-v2023.1:2aa48e6f4e519abc7d6bd56da2c067309a303e80"
meta-xilinx-tsn =
"rel-v2023.1:87b60ad671f6800b034935a7f4f5a125fbd59d28"
meta-petalinux =
"rel-v2023.1:14112b77c8a76f6d41c670efd530bbe7bdaad8e0"
meta-qt5 =
"rel-v2023.1:1a917695e439d602ec85e1db4e0478533cfbfaa8"
meta-aws =
"rel-v2023.1:b18ab37cc3a490d5c27ad5aa962a6851d2ab0215"
meta-ros-common
meta-ros2
meta-ros2-humble =
"rel-v2023.1:fb6cc73c4013a41cbbeb763213efe62e0d2c08f3"
meta-jupyter =
"rel-v2023.1:ad54a81a36e2734284709cee118c1944e6d510e7"
meta-system-controller =
"rel-v2023.1:812a3269b6a53d7d696e639452f16f4806721c7e"
meta-vitis =
"rel-v2023.1:83a6ec4fa3f54974ea5eae4502baa172140cf82f"
NOTE: Fetching uninative binary shim
http://downloads.yoctoproject.org/releases/uninative/3.8.1/x86_64-nativesdk-libc-3.8.1.tar.xz;sha256sum=5fab9a5c97fc73a21134e5a81f74498cbaecda75d56aab971c934e0b803bcc00
(will check PREMIRRORS first)
NOTE: Tainting hash to force rebuild of task
/scratch/sandeepg/yocto/2023.1/yp-rel/sources/poky/../meta-xilinx/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb,
do_compile | ETA: 0:00:00
WARNING:
/scratch/sandeepg/yocto/2023.1/yp-rel/sources/poky/../meta-xilinx/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb:do_compile
is tainted from a forced run | ETA: 0:00:00
Initialising tasks: 100%
|##########################################################################################################################################################################|
Time: 0:00:01
Sstate summary: Wanted 180 Local 0 Mirrors 0 Missed 180 Current 0 (0%
match, 0% complete)
NOTE: Executing Tasks
WARNING: attr-native-2.5.1-r0 do_fetch: Failed to fetch URL
https://download.savannah.gnu.org/releases/attr/attr-2.5.1.tar.gz,
attempting MIRRORS if available
WARNING: acl-native-2.3.1-r0 do_fetch: Failed to fetch URL
https://download.savannah.gnu.org/releases/acl/acl-2.3.1.tar.gz,
attempting MIRRORS if available
WARNING: cracklib-2.9.8-r0 do_fetch: Failed to fetch URL
git://github.com/cracklib/cracklib;protocol=https;branch=master,
attempting MIRRORS if available
NOTE: Tasks Summary: Attempted 824 tasks of which 0 didn't need to be
rerun and all succeeded.
Summary: There were 4 WARNING messages.
[09/06/2023 20:55:21]
yocto:/scratch/sandeepg/yocto/2023.1/yp-rel/build-zynqmp $
Thanks,
Sandeep
On 9/6/2023 5:59 PM, Jose Quaresma wrote:
The issue can be reproduced with:
$ bitbake u-boot-tools-xlnx -c compile -f --skip-setscene
The swig is needed on the native sysroot:
| error: command 'swig' failed: No such file or directory
The util-linux-libuuid is needed on target sysroot:
|
.../1_v2023.01-xilinx-v2023.1+gitAUTOINC+0c2f5b2994-r0/git/tools/mkeficapsule.c:18:10:
fatal error: 'uuid/uuid.h' file not found
The gnutls is needed on target sysroot:
|
.../1_v2023.01-xilinx-v2023.1+gitAUTOINC+0c2f5b2994-r0/git/tools/mkeficapsule.c:21:10:
fatal error: 'gnutls/gnutls.h' file not found
Signed-off-by: Jose Quaresma <[email protected]>
---
meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb
b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb
index fe5ecf79..beabd36b 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb
@@ -1,6 +1,8 @@
require u-boot-tools-xlnx.inc
require u-boot-xlnx-2023.1.inc
+DEPENDS += "swig-native util-linux-libuuid gnutls"
+
# MUST clear CONFIG_VIDEO to avoid a compilation failure trying to construct
# bmp_logo.h
SED_CONFIG_EFI:append = ' -e "s/CONFIG_VIDEO=.*/# CONFIG_VIDEO is not set/"'
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5263):
https://lists.yoctoproject.org/g/meta-xilinx/message/5263
Mute This Topic: https://lists.yoctoproject.org/mt/101205573/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-