From nobody Thu Feb 13 18:58:33 2025 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yv4GG3hVxz5n889 for ; Thu, 13 Feb 2025 18:58:46 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yv4GG0YMTz3hMN; Thu, 13 Feb 2025 18:58:46 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739473126; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R5z9XEYbomK0/BLZZPkquavnaML/xLFzezQTZfUCJqc=; b=cvQ/zquUF2iiwO1xM3YlaVs3A/eHOCKFWNwBiTtW75JCB89j2xCuoIWDQ9cVINbrL8MGnM x+Dx+zF+KazmjmymvbJs7GRXRXH98q872oxHX4s3u+VbmA4xCXgY7bcrx5AXHzjmNLwY4H cH4F9a+5xK/0vzW+YfJqUsmBBsXhptgyu80DJoeD3Pgej8P10JqQ9iRbR1HW8mawBXT9cY wmLDxohEaTttlL4KyhhFbCQaT4gE6lzLB5zBvjLiuM8AXu21VO1Vdzqe/wOPsOG+Rt5M2O nJwyJzbtpKzQmNtNeVrtjL9M5GxKY7eRCTyQFcCE6vjJMldAQUEk8S1adZ6pTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739473126; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R5z9XEYbomK0/BLZZPkquavnaML/xLFzezQTZfUCJqc=; b=mjVxHi8//O5qajsoQyoIUS8u+x9Pxy+pb+KoylqXnDdclam9+0lwn2wCnfjBwbeH6a+ab/ bGbeEdmUmLW/drVsvyYW0QxVYBSUFonD9P3I8ENPpEByzXWzWntlOm5S+zYezwRpkjISaK n7MObLl9tMLnPupxHaqpy2CIKSWvKIs8bPvoN15gXpUi0W2HSxcODcQds8panMarUQQ18k xBmfc4mpL6cEnSmmW3XocP4II1PIAGD68HDegWSo1N/1FYYQExx7d902pyVqS2cOX5yabl FVgZJdXctWOlcR5VQFbIMrdndqbRuobKS1UzPuTB9JLn5wTcErQjQkcN/F0+JQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739473126; a=rsa-sha256; cv=none; b=EGFmo/yNjygoJN9pm1OaHdmFv2a4BufAQsg8Ub7qtjEBeT0a/TSOiGrIdqf2mgJzjGCOoF WG4Op0FmJx1wlYiurB5fymhFDqS2h5M3JSnMhx+Cbp1HyvoF1yXF2NhWtmNWAEQw7NJRnW fvae4de+FbDl5trcnw82aunwd+FKdNxBWoO8Y+Scc5XTH+21lF73QmsFTGIqsT67hfwuUF jN+MAtfnIHoAwyZtp/7/nnZjQpJztuJ1l6/TJ4axYhuGwEq4RV6p8NKvD8DrHfo61W7nLi TTkJpGsjNDBeIFOGBpJmMUFqTGjQ0TwC7L9nFZ/PjJEykyPhKBnEXpCZ1aw35w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yv4GF6vGWzbT; Thu, 13 Feb 2025 18:58:45 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-7c0819d8ee2so3276885a.0; Thu, 13 Feb 2025 10:58:45 -0800 (PST) X-Gm-Message-State: AOJu0Yy1mzgDi9jAgyEtQnP6DQdYR4RKasI8Gvkfr3f4/axEIBlv+d/S 7pHCRF7NwToYRAu7WQs5OUcCVVSnX4u2KxUWIMpOj6q4CoBFSGvNmzTduI5/jafzzKhn/dWhqih vKnstMmTiqIzjTyM3koLkUHOoNtI= X-Google-Smtp-Source: AGHT+IFLEBrzkcD/EGVYBccpazJdiyZ6O3Tp779hJH3JVMW20mQ83NHJrUCA2prIrp+8i2OEBLStgxR4xu0uYma88jo= X-Received: by 2002:a05:622a:1ba8:b0:471:ce4c:dc3b with SMTP id d75a77b69052e-471ce4cdf90mr939911cf.5.1739473125446; Thu, 13 Feb 2025 10:58:45 -0800 (PST) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Nuno Teixeira Date: Thu, 13 Feb 2025 18:58:33 +0000 X-Gmail-Original-Message-ID: X-Gm-Features: AWEUYZmOvP4q7yMU2-0_BlkZuM9y30BX93NK8B-MtRFs_jRSJ3O5Ri_pPgseuew Message-ID: Subject: Re: cran.mk strange do-test To: Zsolt Udvari Cc: freebsd-ports@freebsd.org Content-Type: multipart/alternative; boundary="000000000000bd272c062e0aa5a6" --000000000000bd272c062e0aa5a6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable (...) MAKE_ENV+=3D LC_ALL=3DC.UTF-8 OK MAKE_ENV+=3D LC_ALL=3DC FAIL Nuno Teixeira escreveu (quinta, 13/02/2025 =C3=A0(s) 18:50): > Hello, > > Just tested OK: > > +MAKE_ENV+=3D LC_ALL=3DC.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 shoul= d > fix tests to work on all values or force it to specific one. > > Cheers > > Zsolt Udvari escreveu (quinta, 13/02/2025 =C3=A0(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 i= n >> > 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: Web: https://FreeBSD.org > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --000000000000bd272c062e0aa5a6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(...)

MAKE_ENV+=3D LC_ALL=3D= C.UTF-8
OK
MAKE_ENV+=3D LC_ALL=3DC=C2=A0
FAIL=

Nuno Teixeira <eduardo@freebsd.org> escreveu (quinta, 13/02/2025 =C3=A0= (s) 18:50):
Hello,

Just tested OK:

+MAKE_ENV+=3D =C2=A0 =C2=A0 =C2=A0 LC_ALL=3DC.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<= /div>

Zsolt Udvari <uzsolt@freebsd.org> escreveu (quinta, 13/02/2025 =C3=A0(s) 16:24)= :
Found the diff= erence: 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,
=C2=A0 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 (2cfb7dfba861db7f6216f8aaa5fa81f114= 8c12f1).
> 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 chec= ked 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 tes= t fails
> (as in github issue)!
>
> Do you have any idea why fails with ports framework and how can fix it= ?
>
> Thanks,
>=C2=A0 =C2=A0Zsolt
>
> [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:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org


--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--000000000000bd272c062e0aa5a6--