Skip to content

learnr install crashes on mutex error #178

Closed

Description

@znmeb

System is Arch Linux, R 3.5.1, gcc 8.2.0, glibc 2.28. Note: this didn't happen with gcc 8,1,1 glibc 2.27!!

> install.packages("learnr")
Installing package into ‘/home/znmeb/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  286k  100  286k    0     0  1777k      0 --:--:-- --:--:-- --:--:-- 1767k
* installing *source* package ‘learnr’ ...
** package ‘learnr’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
terminate called after throwing an instance of 'std::runtime_error'
  what():  Mutex creation failed
/usr/local/lib64/R/bin/INSTALL: line 34: 12146 Done                    echo 'tools:::.install_packages()'
     12147 Aborted                 (core dumped) | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --slave --args ${args}

The downloaded source packages are in
	‘/tmp/RtmprTQo62/downloaded_packages’
Warning message:
In install.packages("learnr") :
  installation of package ‘learnr’ had non-zero exit status
> 

This may be related to r-lib/later#45.

Activity

  1. znmeb commented on Aug 9, 2018

    @znmeb
    Author

    Now that I look at this it may be in the byte compiler, not the package.

  2. znmeb commented on Aug 10, 2018

    @znmeb
    Author

    learnr installs if you have the fixed later installed - closing. If anyone else runs into this, fix is currently at r-lib/later#64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions