Merge pull request #157264 from FliegendeWurst/disable-broken-parallel

This commit is contained in:
Artturi 2022-02-03 16:04:57 +02:00 committed by GitHub
commit 0f491bd7a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 46 additions and 0 deletions

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
CFLAGS = "-D_DARWIN_C_SOURCE";
makeFlags = [ "DESTDIR=$(out)" ];
buildInputs = [ libX11 libXi libXt libXft ];
# build fails when run in parallel
enableParallelBuilding = false;
postInstall = ''
mkdir -p $out/share/applications

View file

@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ libtool automake autoconf flex ];
buildInputs = [ xorgproto motif libX11 libXt libXpm bison ];
# Disable parallel build, errors:
# ./pat_decl_y.y:736:5: error: expected '=', ...
enableParallelBuilding = false;
ALLIANCE_TOP = placeholder "out";
configureFlags = [

View file

@ -46,6 +46,8 @@ in stdenv.mkDerivation rec {
bison ncompress gawk autoPatchelfHook makeWrapper fakeroot
rpcsvc-proto
];
# build fails otherwise
enableParallelBuilding = false;
makeFlags = [
"World"

View file

@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
buildInputs = [ gmp ];
# Disable parallel build, errors:
# *** No rule to make target 'patscc.dats', needed by 'patscc_dats.c'. Stop.
enableParallelBuilding = false;
setupHook = with lib;
let
hookFiles =

View file

@ -45,6 +45,10 @@ stdenv.mkDerivation rec {
]
++ lib.optionals withQt [ libqt5pas qtbase ];
# Disable parallel build, errors:
# Fatal: (1018) Compilation aborted
enableParallelBuilding = false;
nativeBuildInputs = [
makeWrapper
] ++ lib.optional withQt wrapQtAppsHook;

View file

@ -21,6 +21,9 @@ stdenv.mkDerivation {
buildInputs = [mltonBootstrap gmp];
# build fails otherwise
enableParallelBuilding = false;
preBuild = ''
find . -type f | grep -v -e '\.tgz''$' | xargs sed -i "s@/usr/bin/env bash@$(type -p bash)@"
sed -i "s|/tmp|$TMPDIR|" bin/regression

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [ ocaml findlib ];
# build fails otherwise
enableParallelBuilding = false;
configureFlags = "--libdir=$(OCAMLFIND_DESTDIR)";

View file

@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
buildInputs = [ ocaml ];
# build fails otherwise
enableParallelBuilding = false;
preBuild = ''
mv config/Makefile.unix config/Makefile
substituteInPlace config/Makefile --replace BINDIR=/usr/local/bin BINDIR=$out

View file

@ -55,6 +55,9 @@ stdenv.mkDerivation rec {
buildInputs = [ which ocaml ocamlbuild ];
# build fails otherwise
enableParallelBuilding = false;
dontAddPrefix = true;
preConfigure = ''

View file

@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libnl popt ];
# Disable parallel build, errors:
# *** No rule to make target 'libipvs/libipvs.a', needed by 'ipvsadm'. Stop.
enableParallelBuilding = false;
preBuild = ''
makeFlagsArray+=(
INCLUDE=$(pkg-config --cflags libnl-genl-3.0)

View file

@ -87,6 +87,10 @@ stdenv.mkDerivation {
openldap # optional
pam # optional
];
# Disable parallel build, errors:
# *** No rule to make target '../util/libfaxutil.so.7.0.4', needed by 'faxmsg'. Stop.
enableParallelBuilding = false;
postPatch = ". ${postPatch}";
dontAddPrefix = true;
postInstall = ". ${postInstall}";

View file

@ -89,6 +89,10 @@ stdenv.mkDerivation rec {
sed -i '/ENV{PATH}/d' node/lib/Munin/Node/Service.pm
'';
# Disable parallel build, errors:
# Can't locate Munin/Common/Defaults.pm in @INC ...
enableParallelBuilding = false;
# DESTDIR shouldn't be needed (and shouldn't have worked), but munin
# developers have forgotten to use PREFIX everywhere, so we use DESTDIR to
# ensure that everything is installed in $out.

View file

@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
# Disable parallel build, errors:
# link: `parseopt.lo' is not a valid libtool object
enableParallelBuilding = false;
meta = with lib; {
description = "Mini PXE server";
maintainers = [ maintainers.raskin ];

View file

@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
buildInputs = [ perl ] ++ extraBuildInputs;
hardeningDisable = [ "format" ];
# tests fail when building in parallel
enableParallelBuilding = false;
postInstall = ''
for bin in $out/bin/{splitdiff,rediff,editdiff,dehtmldiff}; do
wrapProgram "$bin" \