[prev in list] [next in list] [prev in thread] [next in thread] 

List:       buildroot
Subject:    Re: [Buildroot] [PATCH 1/2] package/{glibc, localedef}: bump to version
From:       Peter Korsgaard <peter () korsgaard ! com>
Date:       2023-09-30 20:59:20
Message-ID: 87r0mf74yf.fsf () 48ers ! dk
[Download RAW message or body]

>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:

 > Am Fri, 29 Sep 2023 21:32:32 +0200 schrieb Peter Korsgaard:
 >> > See:
 >> > https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00010.html
 >> 
 >> > Runtime tested with Qemu on Gitlab-ci:
 >> > https://gitlab.com/kubu93/buildroot/-/pipelines/998435203
 >> > https://gitlab.com/buildroot.org/toolchains-builder/-/pipelines/
 > 998926028

 > Hi,

 > with this defconfig:

 > BR2_x86_64=y
 > BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
 > BR2_PACKAGE_DHCP=y

 > this patch breaks building the dhcp package:

 > Building dns library in /home/bernd/buildroot/br4/output/build/dhcp-4.4.3-
 > P1/bind/bind-9.11.36/lib/dns
 > ./gen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found 
 > (required by ./gen)
 > make[4]: *** [Makefile:601: include/dns/enumtype.h] Error 1
 > make[3]: *** [Makefile:595: include] Error 2

So gen is presumably built for the target, but the build system for some
reason tries to execute it on the host - E.G. it was already a problem,
but it only happened to work before as the glibc version on your build
host matched better (was >=) than the 2.38.x version we use now.

 > Please note that this build error only occurs when the target and the host 
 > system have the same arch. For example this defconfig builds fine:

Ok, so I guess we somehow need to convince the dhcp build system to not
execute ./gen, even if target looks compatible to the host.

 > BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
 > BR2_PACKAGE_DHCP=y

 > "git revert 34f8d874ee" fixes the problem.

 > Some infos about my host system:

 > $ cat /etc/debian_version 
 > 12.1

I believe Debian 12 uses glibc 2.36:

https://packages.debian.org/search?keywords=libc6

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic