diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2021-10-22 10:41:40 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2021-10-22 10:43:14 +0100 |
commit | 10ead2681239192330bce32330debe1f75c43c44 (patch) | |
tree | a45239c924a1018fde506ac8dd3e8804dbb63f04 /pkgs/applications/audio/cdparanoia | |
parent | 992ecc024f8eb68ee59eed8e347b738e43f5ebf0 (diff) |
cdparanoiaIII: disable parallel building
Manually written makefile relies on inplace re-execution to build shared and static libraries. Then built in parallel it occasionally causes build failures when partially overwritten file gets used by linker. Let's disable parallel builds.
Diffstat (limited to 'pkgs/applications/audio/cdparanoia')
-rw-r--r-- | pkgs/applications/audio/cdparanoia/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/audio/cdparanoia/default.nix b/pkgs/applications/audio/cdparanoia/default.nix index 36686655f3696..10ff66de77ed4 100644 --- a/pkgs/applications/audio/cdparanoia/default.nix +++ b/pkgs/applications/audio/cdparanoia/default.nix @@ -35,6 +35,15 @@ stdenv.mkDerivation rec { cp ${gnu-config}/config.guess configure.guess ''; + # Build system reuses the same object file names for shared and static + # library. Occasionally fails in the middle: + # gcc -O2 -fsigned-char -g -O2 -c scan_devices.c + # rm -f *.o core *~ *.out + # gcc -O2 -fsigned-char -g -O2 -fpic -c scan_devices.c + # gcc -fpic -shared -o libcdda_interface.so.0.10.2 ... scan_devices.o ... + # scan_devices.o: file not recognized: file format not recognized + enableParallelBuilding = false; + meta = with lib; { homepage = "https://xiph.org/paranoia"; description = "A tool and library for reading digital audio from CDs"; |