(...) MAKE_ENV+= LC_ALL=C.UTF-8 OK MAKE_ENV+= LC_ALL=C FAIL
Nuno Teixeira <edua...@freebsd.org> escreveu (quinta, 13/02/2025 à(s) 18:50): > Hello, > > Just tested OK: > > +MAKE_ENV+= LC_ALL=C.UTF-8 > > As you are suspecting that LC_ALL is affecting tests, you can now test > with other values. > If you can "prove" that it fails on a certain vallue, then upstream should > fix tests to work on all values or force it to specific one. > > Cheers > > Zsolt Udvari <uzs...@freebsd.org> escreveu (quinta, 13/02/2025 à(s) > 16:24): > >> Found the difference: in the clean poudriere jail the LC_ALL variable is >> empty but in the ports 'make test' the LC_ALL is C. >> >> If I set the LC_ALL to C the 'R CMD check' fails too. >> >> Could you please check it who use R? Any ideas? >> >> Cheers, >> Zsolt >> >> On Sun, Feb 09, 2025 at 08:20:50PM +0100, Zsolt Udvari wrote: >> > Hi all, >> > >> > I run a strange issue in Mk/Uses/cran.mk, and I don't understand. >> > >> > I updated devel/R-cran/sessioninfo >> (2cfb7dfba861db7f6216f8aaa5fa81f1148c12f1). >> > The 'make test' fails so I opened an issue on project page [1]. >> > The developer show me that the 'R CMD check' runs well. I checked it in >> > poudriere jail - yes, he's right. So it seems it is an ports >> > framework-specific issue. >> > >> > I begin play with Mk/Uses/cran.mk. >> > If I copy and run the full command [2] works fine so IMHO the command >> is okay. >> > I copied it into /root/test.sh. Running of /root/test.sh is okay, >> > all tests passed (or skipped). >> > I changed the command in cran.mk to '/bin/sh /root/test.sh' - the test >> fails >> > (as in github issue)! >> > >> > Do you have any idea why fails with ports framework and how can fix it? >> > >> > Thanks, >> > Zsolt >> > >> > [1] https://github.com/r-lib/sessioninfo/issues/111 >> > [2] https://cgit.freebsd.org/ports/tree/Mk/Uses/cran.mk#n39 >> > >> >> > > -- > Nuno Teixeira > FreeBSD UNIX: <edua...@freebsd.org> Web: https://FreeBSD.org > -- Nuno Teixeira FreeBSD UNIX: <edua...@freebsd.org> Web: https://FreeBSD.org