Created attachment 231614 [details] [patch] be explicit regarding which tcl/tk config script to use math/R (with the TCLTK option) is on fails to install if tcl87 is installed along with tcl86/tk86 (for instance)... ===> Registering installation for R-4.1.2 pkg-static: Unable to access file /z1/local/users/jhein/.nobak/wd/usr/ports/math/R/work/stage/usr/local/lib/R/library/tcltk/R/tcltk.rdb:No such file or directory pkg-static: Unable to access file /z1/local/users/jhein/.nobak/wd/usr/ports/math/R/work/stage/usr/local/lib/R/library/tcltk/R/tcltk.rdx:No such file or directory pkg-static: Unable to access file /z1/local/users/jhein/.nobak/wd/usr/ports/math/R/work/stage/usr/local/lib/R/library/tcltk/libs/tcltk.so:No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/math/R This will be a somewhat rare condition, but the attached patch uses configure options to be explicit about which tcl/tk config script to use. It seems that R gets confused and decides (at 'configure' time) to skip building with tcl support which breaks the plist (noticed later during 'make stage'). QA: - portlint (ok, no new warnings, no errors) - poudriere testport (ok) No need to bump PORTREVISION, IMO.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=440a2e37d269fd244a5bab4fe804bd531daadac5 commit 440a2e37d269fd244a5bab4fe804bd531daadac5 Author: John Hein <jcfyecrayz@liamekaens.com> AuthorDate: 2022-02-19 15:34:48 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2022-02-19 15:37:52 +0000 math/R: Specify tk_config location during configure PR: 261779 math/R/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Committed. Thanks.u