pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56696
The following reply was made to PR pkg/56696; it has been noted by GNATS.
From: "Dr. Thomas Orgis" <thomas.orgis%uni-hamburg.de@localhost>
To: <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/56696
Date: Sat, 18 Jun 2022 15:14:31 +0200
Some more detail: This happens when X11 is not accessible. Empty
DISPLAY is enough. Demonstrator:
# Bad.
$ mkdir -p /dev/shm/R; DISPLAY=3D LANG=3DC R --no-save --no-restore <<< 'in=
stall.packages("tcltk2", repos=3D"http://cran.ch.r-project.org", dependenci=
es=3DTRUE, lib=3D"/dev/shm/R")'
R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-debian-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages("tcltk2", repos=3D"http://cran.ch.r-project.org", depend=
encies=3DTRUE, lib=3D"/dev/shm/R")
trying URL 'http://cran.ch.r-project.org/src/contrib/tcltk2_1.2-11.tar.gz'
Content type 'application/x-gzip' length 833846 bytes (814 KB)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
downloaded 814 KB
* installing *source* package 'tcltk2' ...
** package 'tcltk2' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning message:
no DISPLAY variable so Tk is not available=20
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Terminated
[pkill R in other terminal]
# Good.
$ mkdir -p /dev/shm/R; DISPLAY=3D:0 LANG=3DC R --no-save --no-restore <<< '=
install.packages("tcltk2", repos=3D"http://cran.ch.r-project.org", dependen=
cies=3DTRUE, lib=3D"/dev/shm/R")'
R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-debian-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages("tcltk2", repos=3D"http://cran.ch.r-project.org", depend=
encies=3DTRUE, lib=3D"/dev/shm/R")
trying URL 'http://cran.ch.r-project.org/src/contrib/tcltk2_1.2-11.tar.gz'
Content type 'application/x-gzip' length 833846 bytes (814 KB)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
downloaded 814 KB
* installing *source* package 'tcltk2' ...
** package 'tcltk2' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation pa=
th
* DONE (tcltk2)
The downloaded source packages are in
'/tmp/Rtmp02UZg8/downloaded_packages'
>=20
I have to wonder if the current value of DISPLAY should leak into
pkgsrc builds at all.
--=20
Dr. Thomas Orgis
HPC @ Universit=C3=A4t Hamburg
Home |
Main Index |
Thread Index |
Old Index