NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.52k stars 13.7k forks source link

RclusTool installation freezes #87598

Closed pahebert closed 3 years ago

pahebert commented 4 years ago

Describe the bug

The installation of the package RclusTool freezes just after this message:

** byte-compile and prepare package for lazy loading

To Reproduce

Steps to reproduce the behavior:

nix-shell -p pkgs.rPackages.RclusTool

Additional context

I am the main maintainer of this package.

cat RclusTool.Rcheck/00install.out

  • installing source package ‘RclusTool’ ... using staged installation R inst byte-compile and prepare package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘lattice’ Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Exécution arrêtée ERROR: lazy loading failed for package ‘RclusTool’
  • removing ‘/home/hebert/programmation/R/RclusTool/RclusTool.Rcheck/RclusTool’

Metadata Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

jbedo commented 3 years ago

I took a look at this and attached to the R process during the byte compilation. Looks like it's stuck in an infinite loop that continuously looks through the r-tcltk2 package files. Other packages that depend on tcltk2 (PDE) seem to work fine, so something specific to RclusTool is triggering this.

jbedo commented 3 years ago

Yeah it was missing from the list of packages requiring X.

pahebert commented 3 years ago

Thanks for your answer. I will think about giving another chance to Nixos. (I went back to Linux, because I couldn’t use R and its packages properly…)

Regards, Pierre Hébert

Le 7 sept. 2021 à 08:35, Justin Bedő @.***> a écrit :

Yeah it was missing from the list of packages requiring X.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NixOS/nixpkgs/issues/87598#issuecomment-914031467, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSLVX5FC2RMSVFM4PHXV4TUAWXCHANCNFSM4M533CKA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

jbedo commented 3 years ago

No worries, you can always run Nix on top of your current distribution and see if R is suitable for your needs without installing NixOS. A healthy R ecosystem is very important to me as we use R heavily in my lab. Tag me in on any R related issues you might have and I'll do my best to resolve them.