bug#71029: single-binary build broken on systems with separate libintl

2024-05-21 Thread Audrey Dutcher
> coreutils-single-bsd-build.patch This works perfectly, thank you! My primary target is Nix so it's very easy to just plop in the "do autoreconf" directive :)

bug#71029: single-binary build broken on systems with separate libintl

2024-05-21 Thread Pádraig Brady
On 18/05/2024 18:09, Audrey Dutcher wrote: I presume you have the same issue with coreutils 9.4 ? Correct. I presume the problematic flags are propagated through LIBINTL or MBRTOWC_LIB. What are those set to for reference in your Makefile? On plain FreeBSD it is set to /usr/local/lib/libin

bug#71029: single-binary build broken on systems with separate libintl

2024-05-19 Thread Audrey Dutcher
> I presume the problematic flags are propagated through LIBINTL or > MBRTOWC_LIB. What are those set to for reference in your Makefile? Terribly sorry, I forgot to mention that MBRTOWC_LIB is empty on all environments I tested in.

bug#71029: single-binary build broken on systems with separate libintl

2024-05-19 Thread Audrey Dutcher
> I presume you have the same issue with coreutils 9.4 ? Correct. > I presume the problematic flags are propagated through LIBINTL or > MBRTOWC_LIB. What are those set to for reference in your Makefile? On plain FreeBSD it is set to /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib. Withi

bug#71029: single-binary build broken on systems with separate libintl

2024-05-18 Thread Pádraig Brady
On 17/05/2024 17:11, Audrey Dutcher wrote: On my FreeBSD system, downloading coreutils-9.5.tar.xz, then building with `./configure --enable-single-binary && make` does not succeed, with the error message `don't know how to make -Wl,-rpath. Stop` I believe the root cause of this is https://github

bug#71029: single-binary build broken on systems with separate libintl

2024-05-18 Thread Audrey Dutcher
On my FreeBSD system, downloading coreutils-9.5.tar.xz, then building with `./configure --enable-single-binary && make` does not succeed, with the error message `don't know how to make -Wl,-rpath. Stop` I believe the root cause of this is https://github.com/coreutils/coreutils/blob/52e024b/src/loc