Hi all,

I know there are host packages which are required in order to build
Yocto, but are there any that are forbidden?

For example, I have encountered a build issue on a RHEL host, but only
if the daxctl-devel package is installed on that host. Without it, the
build works fine.

The failure is in building qemu, see below.

Thanks
Rich


| [2494/5512] Compiling C object libqemu-arm-
softmmu.fa.p/softmmu_physmem.c.o
| FAILED: libqemu-arm-softmmu.fa.p/softmmu_physmem.c.o
| gcc -m64 -mcx16 -Ilibqemu-arm-softmmu.fa.p -I. -I../qemu-7.2.0 -
Itarget/arm -I../qemu-7.2.0/target/arm -Iqapi -Itrace -Iui -Iui/shader
-I/work/daxctl-issue-withhostlib/build/tmp-glibc/work/x86_64-
linux/qemu-system-native/7.2.0-r0/recipe-sysroot-
native/usr/lib/pkgconfig/../../../usr/include -I/work/daxctl-issue-
withhostlib/build/tmp-glibc/work/x86_64-linux/qemu-system-native/7.2.0-
r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/pixman-
1 -I/work/daxctl-issue-withhostlib/build/tmp-glibc/work/x86_64-
linux/qemu-system-native/7.2.0-r0/recipe-sysroot-
native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -I/work/daxctl-
issue-withhostlib/build/tmp-glibc/work/x86_64-linux/qemu-system-
native/7.2.0-r0/recipe-sysroot-
native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -
fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -g -isystem
/work/daxctl-issue-withhostlib/build/tmp-glibc/work/x86_64-linux/qemu-
system-native/7.2.0-r0/qemu-7.2.0/linux-headers -isystem linux-headers
-iquote . -iquote /work/daxctl-issue-withhostlib/build/tmp-
glibc/work/x86_64-linux/qemu-system-native/7.2.0-r0/qemu-7.2.0 -iquote
/work/daxctl-issue-withhostlib/build/tmp-glibc/work/x86_64-linux/qemu-
system-native/7.2.0-r0/qemu-7.2.0/include -iquote /work/daxctl-issue-
withhostlib/build/tmp-glibc/work/x86_64-linux/qemu-system-native/7.2.0-
r0/qemu-7.2.0/tcg/i386 -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -
D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-
prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-
prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-
declaration -Wold-style-definition -Wtype-limits -Wformat-security -
Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-
externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2
-Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-
protector-strong -O2 -pipe -isystem/work/daxctl-issue-
withhostlib/build/tmp-glibc/work/x86_64-linux/qemu-system-native/7.2.0-
r0/recipe-sysroot-native/usr/include -O2 -fPIE -isystem../qemu-
7.2.0/linux-headers -isystemlinux-headers -DNEED_CPU_H '-
DCONFIG_TARGET="arm-softmmu-config-target.h"' '-DCONFIG_DEVICES="arm-
softmmu-config-devices.h"' -MD -MQ libqemu-arm-
softmmu.fa.p/softmmu_physmem.c.o -MF libqemu-arm-
softmmu.fa.p/softmmu_physmem.c.o.d -o libqemu-arm-
softmmu.fa.p/softmmu_physmem.c.o -c ../qemu-7.2.0/softmmu/physmem.c
| ../qemu-7.2.0/softmmu/physmem.c:79:10: fatal error:
daxctl/libdaxctl.h: No such file or directory
|    79 | #include <daxctl/libdaxctl.h>
|       |          ^~~~~~~~~~~~~~~~~~~~
| compilation terminated.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63010): https://lists.yoctoproject.org/g/yocto/message/63010
Mute This Topic: https://lists.yoctoproject.org/mt/105804577/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to