Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2022 17:11:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261779] math/R: TCLTK option fails when extra tcl package installed
Message-ID:  <bug-261779-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261779

            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=3D231614&action=
=3Dedit
[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)...

=3D=3D=3D>   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 configu=
re
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261779-7788>