Hi all,

I met this error after I had changed my build environment from Ubuntu22.04 to 
Ubuntu 24.04.
And this patch does work.
But why hasn't this patch not been merged yet?

Best regards
Lei

> -----Original Message-----
> From: [email protected]
> <[email protected]> On Behalf Of Bartosz
> Golaszewski
> Sent: Thursday, June 9, 2022 5:28 PM
> To: Patches and discussions about the oe-core layer
> <[email protected]>; openembedded-devel
> <[email protected]>; Henning Heinold
> <[email protected]>; Otavio Salvador
> <[email protected]>; Richard Leitner <[email protected]>
> Subject: [OE-core] [meta-java] icedtea7-native build fails on kirkstone and in
> master
> 
> Hi!
> 
> I'm trying to build java support with the following configuration:
> 
> Build Configuration:
> BB_VERSION           = "2.0.0"
> BUILD_SYS            = "x86_64-linux"
> NATIVELSBSTRING      = "universal"
> TARGET_SYS           = "x86_64-poky-linux"
> MACHINE              = "qemux86-64"
> DISTRO               = "poky"
> DISTRO_VERSION       = "4.0.1"
> TUNE_FEATURES        = "m64 core2"
> TARGET_FPU           = ""
> meta
> meta-poky            =
> "kirkstone:45d7615dfef8093a2467d52ca1130e62db6a1187"
> meta-oe              =
> "kirkstone:fcc7d7eae82be4c180f2e8fa3db90a8ab3be07b7"
> meta-java            =
> "kirkstone:1a8059f6b257ebe6fcae6416e499784d976afd24"
> 
> ---
> 
> PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native"
> PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
> PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
> 
> ---
> 
> The build fails for icedtea7-native but it's hard to tell why exactly from 
> the logs.
> Here is the full output: https://pastebin.com/3dRt6J0Y
> 
> It seems to be failing here:
> 
> | Checking for mapfile use in:
> /home/brgl/workspace/target-build-yocto/build/tmp/work/x86_64-linux/icedte
> a7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk.build-boot/lib/amd64/libmana
> gement.so
> | Library loads for:
> /home/brgl/workspace/target-build-yocto/build/tmp/work/x86_64-linux/icedte
> a7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk.build-boot/lib/amd64/libmana
> gement.so
> | make[5]: Leaving directory
> '/home/brgl/workspace/target-build-yocto/build/tmp/work/x86_64-linux/icedte
> a7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/jdk/make/java/manage
> ment'
> | make[5]: *** [../../common/Library.gmk:225:
> /home/brgl/workspace/target-build-yocto/build/tmp/work/x86_64-linux/icedte
> a7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk.build-boot/lib/amd64/libmana
> gement.so]
> Error 1
> | make[4]: Leaving directory
> '/home/brgl/workspace/target-build-yocto/build/tmp/work/x86_64-linux/icedte
> a7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/jdk/make/java'
> | make[4]: *** [Makefile:63: all] Error 1
> | make[3]: Leaving directory
> '/home/brgl/workspace/target-build-yocto/build/tmp/work/x86_64-linux/icedte
> a7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot/jdk/make'
> | make[3]: *** [Makefile:247: all] Error 1
> | make[2]: Leaving directory
> '/home/brgl/workspace/target-build-yocto/build/tmp/work/x86_64-linux/icedte
> a7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot'
> | make[2]: *** [make/jdk-rules.gmk:79: jdk-build] Error 2
> | make[1]: Leaving directory
> '/home/brgl/workspace/target-build-yocto/build/tmp/work/x86_64-linux/icedte
> a7-native/2.1.3-r1.0/icedtea-2.1.3/build/openjdk-boot'
> | make[1]: *** [Makefile:244: build_product_image] Error 2
> | make: *** [Makefile:2252: stamps/icedtea-boot.stamp] Error 2
> 
> But not sure why.
> 
> Thanks in advance for any help.
> Bart
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177862): 
https://lists.openembedded.org/g/openembedded-core/message/177862
Mute This Topic: https://lists.openembedded.org/mt/91641852/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to