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 >