[Buildroot] [PATCH 1/1] package/php: bump version to 8.4.13
Waldemar Brodkorb
wbx at openadk.org
Tue Oct 7 07:16:03 UTC 2025
Hi,
Bernd Kuhls wrote,
> Am Tue, 07 Oct 2025 00:01:41 +0200 schrieb Julien Olivain via buildroot:
>
> > This new version introduces build failures in test-pkg. See:
> > https://gitlab.com/jolivain/buildroot/-/pipelines/2084355487
>
> Hi Julien,
>
> the build error is caused by this upstream commit
> https://github.com/php/php-src/commit/
> ea4e8d513cdd87c8ac28cd1ae06f7e814c83ae28
>
> which changes the detection of copy_file_range.
>
> Both failing toolchains are uclibc-based but other uclibc defconfigs work
> so I am unsure how to fix the problem.
>
> The php configure check for copy_file_range with the bootlin-x86-64-uclibc
> defconfig fails with
>
> conftest.c:201:9: error: implicit declaration of function
> 'copy_file_range' [-Wimplicit-function-declaration]
> 201 | (void)copy_file_range(-1, 0, -1, 0, 0, 0);
>
> and produces a successful build while br-arm-full-nothread has only a
> warning, and assumes that copy_file_range is present, most likely due to
> older gcc being used:
>
> conftest.c:191:9: warning: implicit declaration of function
> 'copy_file_range' [-Wimplicit-function-declaration]
> 191 | (void)copy_file_range(-1, 0, -1, 0, 0, 0);
>
> Is it save to assume that I can add php_cv_func_copy_file_range=no to
> _CONF_ENV whenever uclibc is used?
Yes, I think so.
best regards
Waldemar
More information about the buildroot
mailing list