libelf: disable parallel installs

Without the change parallel installs sometimes fails as:

    installing
    install flags: -j16
    bash ./mkinstalldirs ...-libelf-0.8.13/lib/pkgconfig
    making install in lib
    make[1]: Entering directory '/build/libelf-0.8.13/lib'
    dirs="...-libelf-0.8.13/lib ...-libelf-0.8.13/include ...-libelf-0.8.13/include/libelf"; for dir in $dirs; do \
        bash ../mkinstalldirs $dir; \
    done
    mkdir ...-libelf-0.8.13/lib
    mkdir ...-libelf-0.8.13/lib
    mkdir: cannot create directory '...-libelf-0.8.13/lib': File exists
    mkdir ...-libelf-0.8.13/lib/pkgconfig
    make: *** [Makefile:85: install-local] Error 1 shuffle=2796832402
    make: *** Waiting for unfinished jobs....
This commit is contained in:
Sergei Trofimovich 2023-03-27 10:07:01 +01:00
parent 862c972cc6
commit 5fb0535e03

View file

@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
];
enableParallelBuilding = true;
# Lacks dependencies:
# mkdir ...-libelf-0.8.13/lib
# mkdir ...-libelf-0.8.13/lib
# mkdir: cannot create directory '...-libelf-0.8.13/lib': File exists
enableParallelInstalling = false;
doCheck = true;