From 11ee22d797016be02743a9973fe09e0362bcb91b Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Sun, 29 May 2022 12:10:05 +0200 Subject: [PATCH] treewide: pkgs/development: mark broken for aarch64-linux --- pkgs/development/compilers/cmdstan/default.nix | 2 +- pkgs/development/compilers/inform7/default.nix | 1 + pkgs/development/compilers/mkcl/default.nix | 1 + pkgs/development/compilers/myrddin/default.nix | 3 ++- pkgs/development/compilers/osl/default.nix | 3 ++- pkgs/development/compilers/yap/default.nix | 3 ++- pkgs/development/interpreters/picoc/default.nix | 1 + pkgs/development/interpreters/picolisp/default.nix | 3 ++- pkgs/development/interpreters/starlark/default.nix | 3 ++- pkgs/development/interpreters/unicon-lang/default.nix | 1 + pkgs/development/libraries/cmrt/default.nix | 1 + pkgs/development/libraries/libagar/libagar_test.nix | 1 + pkgs/development/libraries/libhugetlbfs/default.nix | 1 + pkgs/development/libraries/libportal/default.nix | 1 + pkgs/development/libraries/libqalculate/default.nix | 1 + pkgs/development/libraries/libsnark/default.nix | 1 + pkgs/development/libraries/libtorrent-rasterbar/1.1.nix | 3 ++- pkgs/development/libraries/libxsmm/default.nix | 1 + pkgs/development/libraries/neardal/default.nix | 1 + pkgs/development/libraries/pangomm/2.42.nix | 2 +- pkgs/development/libraries/physics/geant4/default.nix | 1 + pkgs/development/libraries/qt-6/modules/qtwebengine.nix | 1 + pkgs/development/libraries/qtscriptgenerator/default.nix | 1 + pkgs/development/libraries/science/math/liblbfgs/default.nix | 1 + pkgs/development/libraries/science/networking/ns-3/default.nix | 1 + pkgs/development/libraries/vc/0.7.nix | 1 + pkgs/development/libraries/xed/default.nix | 1 + pkgs/development/tools/build-managers/fac/default.nix | 1 + pkgs/development/tools/misc/igprof/default.nix | 1 + pkgs/development/tools/rbspy/default.nix | 3 ++- pkgs/development/web/kcgi/default.nix | 1 + 31 files changed, 38 insertions(+), 9 deletions(-) diff --git a/pkgs/development/compilers/cmdstan/default.nix b/pkgs/development/compilers/cmdstan/default.nix index b0d056679b2..369828ff102 100644 --- a/pkgs/development/compilers/cmdstan/default.nix +++ b/pkgs/development/compilers/cmdstan/default.nix @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { preFixup = "rm -rf $(pwd)"; meta = { - broken = stdenv.isDarwin; + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; description = "Command-line interface to Stan"; longDescription = '' Stan is a probabilistic programming language implementing full Bayesian diff --git a/pkgs/development/compilers/inform7/default.nix b/pkgs/development/compilers/inform7/default.nix index 80349b7e6da..c61b6eee9df 100644 --- a/pkgs/development/compilers/inform7/default.nix +++ b/pkgs/development/compilers/inform7/default.nix @@ -22,6 +22,7 @@ in stdenv.mkDerivation { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "A design system for interactive fiction"; homepage = "http://inform7.com/"; license = licenses.artistic2; diff --git a/pkgs/development/compilers/mkcl/default.nix b/pkgs/development/compilers/mkcl/default.nix index 95fdd6935bf..dc89fa60366 100644 --- a/pkgs/development/compilers/mkcl/default.nix +++ b/pkgs/development/compilers/mkcl/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "ANSI Common Lisp Implementation"; homepage = "https://common-lisp.net/project/mkcl/"; license = licenses.lgpl2Plus; diff --git a/pkgs/development/compilers/myrddin/default.nix b/pkgs/development/compilers/myrddin/default.nix index a7aa84a1aa8..9ac2ed36be2 100644 --- a/pkgs/development/compilers/myrddin/default.nix +++ b/pkgs/development/compilers/myrddin/default.nix @@ -48,11 +48,12 @@ stdenv.mkDerivation rec { doCheck = true; meta = with lib; { + # darwin: never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/myrddin.x86_64-darwin + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; description = "Systems language that is both powerful and fun to use"; homepage = "https://myrlang.org/"; license = licenses.mit; maintainers = with maintainers; [ luc65r ]; platforms = platforms.all; - broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/myrddin.x86_64-darwin }; } diff --git a/pkgs/development/compilers/osl/default.nix b/pkgs/development/compilers/osl/default.nix index 53b05c16d9a..b7c78e5870c 100644 --- a/pkgs/development/compilers/osl/default.nix +++ b/pkgs/development/compilers/osl/default.nix @@ -1,4 +1,4 @@ -{ clangStdenv, lib, fetchFromGitHub, cmake, zlib, openexr, +{ stdenv, clangStdenv, lib, fetchFromGitHub, cmake, zlib, openexr, openimageio, llvm, boost165, flex, bison, partio, pugixml, util-linux, python3 }: @@ -38,6 +38,7 @@ in clangStdenv.mkDerivation rec { ]; # TODO: How important is partio? CMake doesn't seem to find it meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "Advanced shading language for production GI renderers"; homepage = "http://opensource.imageworks.com/?p=osl"; maintainers = with maintainers; [ hodapp ]; diff --git a/pkgs/development/compilers/yap/default.nix b/pkgs/development/compilers/yap/default.nix index 10ba3c55901..c933456afd1 100644 --- a/pkgs/development/compilers/yap/default.nix +++ b/pkgs/development/compilers/yap/default.nix @@ -20,11 +20,12 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = "-fpermissive -fcommon"; meta = { + # the linux 32 bit build fails. + broken = (stdenv.isLinux && stdenv.isAarch64) || !stdenv.is64bit; homepage = "http://www.dcc.fc.up.pt/~vsc/Yap/"; description = "A ISO-compatible high-performance Prolog compiler"; license = lib.licenses.artistic2; platforms = lib.platforms.linux; - broken = !stdenv.is64bit; # the linux 32 bit build fails. }; } diff --git a/pkgs/development/interpreters/picoc/default.nix b/pkgs/development/interpreters/picoc/default.nix index 47e18cbdcd8..e6e87f2b8a7 100644 --- a/pkgs/development/interpreters/picoc/default.nix +++ b/pkgs/development/interpreters/picoc/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "Very small C interpreter for scripting"; longDescription = '' PicoC is a very small C interpreter for scripting. It was originally diff --git a/pkgs/development/interpreters/picolisp/default.nix b/pkgs/development/interpreters/picolisp/default.nix index 623eefec416..9df5d1f8d50 100644 --- a/pkgs/development/interpreters/picolisp/default.nix +++ b/pkgs/development/interpreters/picolisp/default.nix @@ -50,11 +50,12 @@ stdenv.mkDerivation rec { ''; meta = { + # darwin: build times out + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; description = "A simple Lisp with an integrated database"; homepage = "https://picolisp.com/"; license = licenses.mit; platforms = platforms.all; - broken = stdenv.isDarwin; # times out maintainers = with maintainers; [ raskin tohl ]; }; diff --git a/pkgs/development/interpreters/starlark/default.nix b/pkgs/development/interpreters/starlark/default.nix index aa77ceba33b..10059b34dc2 100644 --- a/pkgs/development/interpreters/starlark/default.nix +++ b/pkgs/development/interpreters/starlark/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, buildGoModule }: +{ stdenv, lib, fetchFromGitHub, buildGoModule }: buildGoModule rec { pname = "starlark"; version = "unstable-2022-03-02"; @@ -15,6 +15,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); homepage = "https://github.com/google/starlark-go"; description = "An interpreter for Starlark, implemented in Go"; license = licenses.bsd3; diff --git a/pkgs/development/interpreters/unicon-lang/default.nix b/pkgs/development/interpreters/unicon-lang/default.nix index c399ef223de..6d7088a11cb 100644 --- a/pkgs/development/interpreters/unicon-lang/default.nix +++ b/pkgs/development/interpreters/unicon-lang/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "A very high level, goal-directed, object-oriented, general purpose applications language"; maintainers = with maintainers; [ vrthra ]; platforms = platforms.linux; diff --git a/pkgs/development/libraries/cmrt/default.nix b/pkgs/development/libraries/cmrt/default.nix index 5b2895a3f17..87c692b42ce 100644 --- a/pkgs/development/libraries/cmrt/default.nix +++ b/pkgs/development/libraries/cmrt/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { buildInputs = [ libdrm libva ]; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); homepage = "https://01.org/linuxmedia"; description = "Intel C for Media Runtime"; longDescription = "Media GPU kernel manager for Intel G45 & HD Graphics family"; diff --git a/pkgs/development/libraries/libagar/libagar_test.nix b/pkgs/development/libraries/libagar/libagar_test.nix index 2b31da7aa53..d4712efd6f1 100644 --- a/pkgs/development/libraries/libagar/libagar_test.nix +++ b/pkgs/development/libraries/libagar/libagar_test.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation { buildInputs = [ perl bsdbuild libagar libjpeg libpng openssl ]; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "Tests for libagar"; homepage = "http://libagar.org/index.html"; license = with licenses; bsd3; diff --git a/pkgs/development/libraries/libhugetlbfs/default.nix b/pkgs/development/libraries/libhugetlbfs/default.nix index 061fe51ed5b..bd99e4d84a5 100644 --- a/pkgs/development/libraries/libhugetlbfs/default.nix +++ b/pkgs/development/libraries/libhugetlbfs/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { installTargets = [ "install" "install-docs" ]; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "library and utilities for Linux hugepages"; maintainers = with maintainers; [ qyliss ]; license = licenses.lgpl21Plus; diff --git a/pkgs/development/libraries/libportal/default.nix b/pkgs/development/libraries/libportal/default.nix index cb0da5c560d..b5563d2a980 100644 --- a/pkgs/development/libraries/libportal/default.nix +++ b/pkgs/development/libraries/libportal/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "Flatpak portal library"; homepage = "https://github.com/flatpak/libportal"; license = licenses.lgpl3Plus; diff --git a/pkgs/development/libraries/libqalculate/default.nix b/pkgs/development/libraries/libqalculate/default.nix index d83a4e0a707..fea387b6ee7 100644 --- a/pkgs/development/libraries/libqalculate/default.nix +++ b/pkgs/development/libraries/libqalculate/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "An advanced calculator library"; homepage = "http://qalculate.github.io"; license = licenses.gpl2Plus; diff --git a/pkgs/development/libraries/libsnark/default.nix b/pkgs/development/libraries/libsnark/default.nix index 37352bf5e3c..0eb0045fbe6 100644 --- a/pkgs/development/libraries/libsnark/default.nix +++ b/pkgs/development/libraries/libsnark/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { }; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "C++ library for zkSNARKs"; homepage = "https://github.com/scipr-lab/libsnark"; license = licenses.mit; diff --git a/pkgs/development/libraries/libtorrent-rasterbar/1.1.nix b/pkgs/development/libraries/libtorrent-rasterbar/1.1.nix index 470b9137f6e..6f63ebce165 100644 --- a/pkgs/development/libraries/libtorrent-rasterbar/1.1.nix +++ b/pkgs/development/libraries/libtorrent-rasterbar/1.1.nix @@ -41,11 +41,12 @@ in stdenv.mkDerivation { ]; meta = with lib; { + # darwin: never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/libtorrent-rasterbar-1_1_x.x86_64-darwin + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; homepage = "https://libtorrent.org/"; description = "A C++ BitTorrent implementation focusing on efficiency and scalability"; license = licenses.bsd3; maintainers = [ ]; platforms = platforms.unix; - broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/libtorrent-rasterbar-1_1_x.x86_64-darwin }; } diff --git a/pkgs/development/libraries/libxsmm/default.nix b/pkgs/development/libraries/libxsmm/default.nix index 849aee854e2..893fb4697ac 100644 --- a/pkgs/development/libraries/libxsmm/default.nix +++ b/pkgs/development/libraries/libxsmm/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "Library targeting Intel Architecture for specialized dense and sparse matrix operations, and deep learning primitives"; license = licenses.bsd3; homepage = "https://github.com/hfp/libxsmm"; diff --git a/pkgs/development/libraries/neardal/default.nix b/pkgs/development/libraries/neardal/default.nix index 1d726ed7b19..29f2bed7ecf 100644 --- a/pkgs/development/libraries/neardal/default.nix +++ b/pkgs/development/libraries/neardal/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation { configureFlags = [ "--disable-dependency-tracking" "--disable-traces" ]; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "C APIs to exchange datas with the NFC daemon 'Neard'"; license = licenses.lgpl2; homepage = "https://01.org/linux-nfc"; diff --git a/pkgs/development/libraries/pangomm/2.42.nix b/pkgs/development/libraries/pangomm/2.42.nix index aeda7c182d3..33cc40c9684 100644 --- a/pkgs/development/libraries/pangomm/2.42.nix +++ b/pkgs/development/libraries/pangomm/2.42.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { }; meta = with lib; { - broken = stdenv.isDarwin; + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; description = "C++ interface to the Pango text rendering library"; homepage = "https://www.pango.org/"; license = with licenses; [ lgpl2 lgpl21 ]; diff --git a/pkgs/development/libraries/physics/geant4/default.nix b/pkgs/development/libraries/physics/geant4/default.nix index 6f29b590981..9b2fb80e3fe 100644 --- a/pkgs/development/libraries/physics/geant4/default.nix +++ b/pkgs/development/libraries/physics/geant4/default.nix @@ -119,6 +119,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "A toolkit for the simulation of the passage of particles through matter"; longDescription = '' Geant4 is a toolkit for the simulation of the passage of particles through matter. diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix index 81782144c75..6a424218978 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix @@ -233,6 +233,7 @@ qtModule rec { requiredSystemFeatures = [ "big-parallel" ]; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "A web engine based on the Chromium web browser"; platforms = platforms.linux; # This build takes a long time; particularly on slow architectures diff --git a/pkgs/development/libraries/qtscriptgenerator/default.nix b/pkgs/development/libraries/qtscriptgenerator/default.nix index ad1f73cc9e8..dc7cab8d4d5 100644 --- a/pkgs/development/libraries/qtscriptgenerator/default.nix +++ b/pkgs/development/libraries/qtscriptgenerator/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { hardeningDisable = [ "format" ]; meta = { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "QtScript bindings generator"; homepage = "https://code.qt.io/cgit/qt-labs/qtscriptgenerator.git/"; inherit (qt4.meta) platforms; diff --git a/pkgs/development/libraries/science/math/liblbfgs/default.nix b/pkgs/development/libraries/science/math/liblbfgs/default.nix index 3c194648c2a..26a1932bd19 100644 --- a/pkgs/development/libraries/science/math/liblbfgs/default.nix +++ b/pkgs/development/libraries/science/math/liblbfgs/default.nix @@ -10,6 +10,7 @@ stdenv.mkDerivation rec { }; meta = { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "Library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS)"; homepage = "http://www.chokkan.org/software/liblbfgs/"; license = lib.licenses.mit; diff --git a/pkgs/development/libraries/science/networking/ns-3/default.nix b/pkgs/development/libraries/science/networking/ns-3/default.nix index 3f0d50fd32b..b9f7946f716 100644 --- a/pkgs/development/libraries/science/networking/ns-3/default.nix +++ b/pkgs/development/libraries/science/networking/ns-3/default.nix @@ -101,6 +101,7 @@ stdenv.mkDerivation rec { hardeningDisable = [ "fortify" "strictoverflow"]; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); homepage = "http://www.nsnam.org"; license = licenses.gpl3; description = "A discrete time event network simulator"; diff --git a/pkgs/development/libraries/vc/0.7.nix b/pkgs/development/libraries/vc/0.7.nix index 310635d9cbf..2e13f2f46ff 100644 --- a/pkgs/development/libraries/vc/0.7.nix +++ b/pkgs/development/libraries/vc/0.7.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "Library for multiprecision complex arithmetic with exact rounding"; homepage = "https://github.com/VcDevel/Vc"; license = licenses.bsd3; diff --git a/pkgs/development/libraries/xed/default.nix b/pkgs/development/libraries/xed/default.nix index d8994581913..18e5b27d9b8 100644 --- a/pkgs/development/libraries/xed/default.nix +++ b/pkgs/development/libraries/xed/default.nix @@ -37,6 +37,7 @@ in stdenv.mkDerivation rec { dontInstall = true; # already installed during buildPhase meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "Intel X86 Encoder Decoder (Intel XED)"; homepage = "https://intelxed.github.io/"; license = licenses.asl20; diff --git a/pkgs/development/tools/build-managers/fac/default.nix b/pkgs/development/tools/build-managers/fac/default.nix index ae5a5b30146..bb9be13ef0f 100644 --- a/pkgs/development/tools/build-managers/fac/default.nix +++ b/pkgs/development/tools/build-managers/fac/default.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec { ''; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); description = '' A build system that uses ptrace to handle dependencies automatically ''; diff --git a/pkgs/development/tools/misc/igprof/default.nix b/pkgs/development/tools/misc/igprof/default.nix index 47f41f130be..91d78d0f5fd 100644 --- a/pkgs/development/tools/misc/igprof/default.nix +++ b/pkgs/development/tools/misc/igprof/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { CXXFLAGS = ["-fPIC" "-O2" "-w" "-fpermissive"]; meta = { + broken = (stdenv.isLinux && stdenv.isAarch64); description = "The Ignominous Profiler"; longDescription = '' diff --git a/pkgs/development/tools/rbspy/default.nix b/pkgs/development/tools/rbspy/default.nix index 32c10a1bf5d..beb4df0f168 100644 --- a/pkgs/development/tools/rbspy/default.nix +++ b/pkgs/development/tools/rbspy/default.nix @@ -1,4 +1,4 @@ -{rustPlatform, fetchFromGitHub, lib}: +{ stdenv, rustPlatform, fetchFromGitHub, lib}: rustPlatform.buildRustPackage rec { pname = "rbspy"; version = "0.11.1"; @@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec { doCheck = true; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); homepage = "https://rbspy.github.io/"; description = '' A Sampling CPU Profiler for Ruby. diff --git a/pkgs/development/web/kcgi/default.nix b/pkgs/development/web/kcgi/default.nix index f00d40044d0..8845924d886 100644 --- a/pkgs/development/web/kcgi/default.nix +++ b/pkgs/development/web/kcgi/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { installFlags = [ "DESTDIR=$(out)" ]; meta = with lib; { + broken = (stdenv.isLinux && stdenv.isAarch64); homepage = "https://kristaps.bsd.lv/kcgi"; description = "Minimal CGI and FastCGI library for C/C++"; license = licenses.isc;