stan-dev / stan-dev/rstan

2.26.3 doesn't install on Debian testing

Open
#961 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Summary:

2.26.3 doesn't install on Debian testing (core i5 + 8 GB RAM + 8 GB swap)

Description:

The installation seems to run fine, but the R session crashes when checking the loadig of the installed packages.

Reproducible Steps:

Please report steps to reproduce the issue. If it's not possible to reproduce, please include a description of how you discovered the issue.

remove.packages("rstan")
install.packages("rstan", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
Current Output:
...
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location


#
# Fatal error in ../src/platform-linux.cc, line 782
# CHECK_EQ(0, result) failed
#   Expected: 0
#   Found: 22
#

Trace/breakpoint trap
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/rstan’

Les packages source téléchargés sont dans
	‘/tmp/RtmpbUGx6r/downloaded_packages’
Warning message:
In install.packages("rstan", repos = c("https://mc-stan.org/r-packages/",  :
  l'installation du package ‘rstan’ a eu un statut de sortie non nul
RStan Version:

N/A (2.26.3 doesn't install).

R Version:
> sessionInfo()
R version 4.0.4 (2021-02-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux bookworm/sid

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.17.so

locale:
 [1] LC_CTYPE=fr_FR.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=fr_FR.UTF-8        LC_COLLATE=fr_FR.UTF-8    
 [5] LC_MONETARY=fr_FR.UTF-8    LC_MESSAGES=fr_FR.UTF-8   
 [7] LC_PAPER=fr_FR.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.0.4 tools_4.0.4   
Operating System:
root@p-202-021:~# uname -a
Linux p-202-021 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the install.packages commands on Debian testing with the reported R 4.0.4 environment. Inspect the crash reported at ../src/platform-linux.cc:782 and compare the package load test output. Done means rstan installs successfully and loads from its temporary installation location without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.