From: Peter Seiderer <ps.report@gmx.net>
To: Christian Stewart <christian@aperture.us>
Cc: Buildroot Mailing List <buildroot@buildroot.org>
Subject: Re: [Buildroot] coreutils-9.3: build failure
Date: Wed, 3 May 2023 20:10:33 +0200 [thread overview]
Message-ID: <20230503201033.060ccbb0@gmx.net> (raw)
In-Reply-To: <CA+h8R2qSe6OepJMJr+KOUOAOqCRD9EX690Y+Yq4kx-M6x4uQBw@mail.gmail.com>
Hello Christian,
On Tue, 2 May 2023 19:01:33 -0700, Christian Stewart <christian@aperture.us> wrote:
> Hi all,
>
> The update to coreutils 9.3 seems to have broken the build:
>
> configure: error: cannot run test program while cross compiling
> See 'config.log' for more details
> make[1]: *** [package/pkg-generic.mk:283:
> /build/coreutils-9.3/.stamp_configured] Error 1
>
>
> Minimal reproduction:
>
> BR2_x86_64=y
> BR2_KERNEL_HEADERS_6_3=y
> BR2_BINUTILS_VERSION_2_39_X=y
> BR2_GCC_VERSION_12_X=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_OPTIMIZE_2=y
> B2_INIT_SYSTEMD=y
> BR2_SYSTEM_BIN_SH_BASH=y
> BR2_GENERATE_LOCALE="C en_US"
> BR2_PACKAGE_COREUTILS=y
>
> Thanks for any help debugging this.
Thanks for the bug report (and specially for the minimal defconfig for
reproduction), the build failure can be fixed by:
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 2c12e8ef2f..cf42a8aff8 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -51,6 +51,7 @@ COREUTILS_CONF_ENV = ac_cv_c_restrict=no \
gl_cv_func_tzset_clobber=no \
gl_cv_func_working_mkstemp=yes \
gl_cv_func_working_utimes=yes \
+ gl_cv_macro_MB_CUR_MAX_good=yes \
gl_getline_needs_run_time_check=no \
gl_cv_have_proc_uptime=yes \
utils_cv_localtime_cache=no \
Proper patch will follow...
Regards,
Peter
>
> best regards,
> Christian Stewart
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2023-05-03 18:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 2:01 [Buildroot] coreutils-9.3: build failure Christian Stewart
2023-05-03 18:10 ` Peter Seiderer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230503201033.060ccbb0@gmx.net \
--to=ps.report@gmx.net \
--cc=buildroot@buildroot.org \
--cc=christian@aperture.us \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox