[Bug 261779] math/R: TCLTK option fails when extra tcl package installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Feb 2022 17:11:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261779
Bug ID: 261779
Summary: math/R: TCLTK option fails when extra tcl package
installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jrm@freebsd.org
Reporter: jcfyecrayz@liamekaens.com
Assignee: jrm@freebsd.org
Flags: maintainer-feedback?(jrm@freebsd.org)
Created attachment 231614
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231614&action=edit
[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.
--
You are receiving this mail because:
You are the assignee for the bug.