Closed nasyxx closed 3 years ago
I tried which fails to build
diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix
index e4fbe8a7f2de..724910c876ba 100644
--- a/pkgs/applications/science/math/R/default.nix
+++ b/pkgs/applications/science/math/R/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, bzip2, gfortran, libX11, libXmu, libXt, libjpeg, libpng
, libtiff, ncurses, pango, pcre2, perl, readline, tcl, texLive, tk, xz, zlib
, less, texinfo, graphviz, icu, pkgconfig, bison, imake, which, jdk, blas, lapack
-, curl, Cocoa, Foundation, libobjc, libcxx, tzdata, fetchpatch
+, curl, Cocoa, Foundation, libobjc, libcxx, libiconv, tzdata, fetchpatch
, withRecommendedPackages ? true
, enableStrictBarrier ? false
# R as of writing does not support outputting both .so and .a files; it outputs:
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
bzip2 gfortran libX11 libXmu libXt libXt libjpeg libpng libtiff ncurses
pango pcre2 perl readline texLive xz zlib less texinfo graphviz icu
pkgconfig bison imake which blas lapack curl tcl tk jdk
- ] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ];
+ ] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx libiconv ];
patches = [
./no-usr-local-search-paths.patch
with
Testing examples for package 'graphics' comparing 'graphics-Ex.Rout' to 'graphics-Ex.Rout.save' ... OK Testing examples for package 'stats' comparing 'stats-Ex.Rout' to 'stats-Ex.Rout.save' ... OK Testing examples for package 'datasets' comparing 'datasets-Ex.Rout' to 'datasets-Ex.Rout.save' ... OK Testing examples for package 'methods' Testing examples for package 'grid' comparing 'grid-Ex.Rout' to 'grid-Ex.Rout.save' ... OK Testing examples for package 'splines' comparing 'splines-Ex.Rout' to 'splines-Ex.Rout.save' ... OK Testing examples for package 'stats4' comparing 'stats4-Ex.Rout' to 'stats4-Ex.Rout.save' ... OK Testing examples for package 'tcltk' /private/tmp/nix-build-R-4.0.3.drv-0/R-4.0.3/bin/BATCH: line 60: 20571 Illegal instruction: 4 ${R_HOME}/bin/R -f ${in} ${opts} ${R_BATCH_OPTIONS} > ${out} 2>&1 Error: testing 'tcltk' failed Execution halted make[3]: *** [Makefile:37: test-Examples-Base] Error 1 make[3]: Leaving directory '/private/tmp/nix-build-R-4.0.3.drv-0/R-4.0.3/tests/Examples' make[2]: *** [Makefile.common:187: test-Examples] Error 2 make[2]: Leaving directory '/private/tmp/nix-build-R-4.0.3.drv-0/R-4.0.3/tests' make[1]: *** [Makefile.common:173: test-all-basics] Error 1 make[1]: Leaving directory '/private/tmp/nix-build-R-4.0.3.drv-0/R-4.0.3/tests' make: *** [Makefile:306: check] Error 2 builder for '/nix/store/b1jhhc8p9mknp9lmdzjsv7d1924ik0f6-R-4.0.3.drv' failed with exit code 2 cannot build derivation '/nix/store/kdf0939ys5hzgiivgwqjyj3l075gaq7l-r-hexbin-1.28.1.drv': 1 dependencies couldn't be built error: build of '/nix/store/kdf0939ys5hzgiivgwqjyj3l075gaq7l-r-hexbin-1.28.1.drv' failed
I marked this as stale due to inactivity. → More info
Seems to be resolved on master, do you still have this issue @nasyxx?
Seems to be resolved on master, do you still have this issue @nasyxx?
Hi, yes, it solved.
Describe the bug
r hexbin package install error.
Metadata Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."x86_64-darwin"
Darwin 19.6.0, macOS 10.15.7
no
no
nix-env (Nix) 2.4pre20201102_550e11f