Why does tunefish give me a compilation error?

Enabling tunefish, I get:

building Nix...
building the system configuration...
evaluation warning: The option `services.xserver.xkbVariant' defined in `/home/b0ef/ds/platform/conf/etc.nixos.xorg.nix' has been renamed to `services.xserver.xkb.variant'.
evaluation warning: The option `services.xserver.layout' defined in `/home/b0ef/ds/platform/conf/etc.nixos.xorg.nix' has been renamed to `services.xserver.xkb.layout'.
evaluation warning: The option `services.samba.shares' defined in `/home/b0ef/ds/platform/conf/quasar.cifs.nix' has been renamed to `services.samba.settings'.
evaluation warning: The option `services.samba.securityType' defined in `/home/b0ef/ds/platform/conf/quasar.cifs.nix' has been renamed to `services.samba.settings.global.security'.
evaluation warning: The option `services.xserver.displayManager.sddm.enable' defined in `/home/b0ef/ds/platform/conf/etc.nixos.xorg.nix' has been renamed to `services.displayManager.sddm.enable'.
evaluation warning: The option `services.xserver.displayManager.defaultSession' defined in `/home/b0ef/ds/platform/conf/etc.nixos.xorg.nix' has been renamed to `services.displayManager.defaultSession'.
evaluation warning: The option `services.locate.locate' defined in `/home/b0ef/ds/platform/conf/hydra.platform.nix' has been renamed to `services.locate.package'.
evaluation warning: The option `fonts.fonts' defined in `/home/b0ef/ds/platform/conf/hydra.platform.nix' has been renamed to `fonts.packages'.
evaluation warning: The ‘gnome.totem’ was moved to top-level. Please use ‘pkgs.totem’ directly.
evaluation warning: The ‘gnome.gnome-terminal’ was moved to top-level. Please use ‘pkgs.gnome-terminal’ directly.
evaluation warning: transmission-gtk has been renamed to transmission_3-gtk since transmission_4-gtk is also available. Note that upgrade caused data loss for some users so backup is recommended (see NixOS 24.11 release notes for details)
these 18 derivations will be built:
  /nix/store/zgyclcqq6sbynxhlk0c0hn8yh6ni1w37-tunefish-unstable-2020-08-13.drv
  /nix/store/cqkxm1mhgwcydd8xds3iqcaqxss09iy7-system-path.drv
  /nix/store/18cllvxvb7d87c4570sswgyirk9b8vwr-unit-accounts-daemon.service.drv
  /nix/store/xs5qnrhavckq1l53jgj0bk7cp4s18kgy-dbus-1.drv
  /nix/store/mknvi206nvfk4nh4j901l8633sapkmfi-X-Restart-Triggers-dbus.drv
  /nix/store/1k2phdv1yqs6b450apsvdx51r3mxhj7g-unit-dbus.service.drv
  /nix/store/dfaaprszfvdi7li0nvsrqcfphivwsrzp-system-crontab.drv
  /nix/store/62k7kmgca2771v7ny1c12bkzdivb8m0b-crontabs.drv
  /nix/store/wn5yzrgsfd28z4ydzddqabbjinnnk4iw-unit-dbus.service.drv
  /nix/store/g23b7mmvgpbqyjak6az4pvvd10ixzk3b-user-units.drv
  /nix/store/xy45zpdaiykkvqa92av9k7g2vz1x7gyn-X-Restart-Triggers-polkit.drv
  /nix/store/j6c2ljbckb9w13w1pi5gq7bvmwfgshcm-unit-polkit.service.drv
  /nix/store/h5l7qxabxsrwrdrk9hkadssvf2kalark-system-units.drv
  /nix/store/ifs46c268ls49vz7h7yib8206ip16jpk-etc-pam-environment.drv
  /nix/store/z0kwga5may7hq9sm9dvcwyndyr0l2875-set-environment.drv
  /nix/store/ndam42m2ggpyz2x8lca48xnayxmlfcn3-etc-profile.drv
  /nix/store/594ahhpyw0g5gwn3j45jbi3qsjd3srd0-etc.drv
  /nix/store/3dzagwvpkdf08agrdb9p478sfkw89360-nixos-system-quasar-24.11.713895.666e1b3f09c2.drv
building '/nix/store/zgyclcqq6sbynxhlk0c0hn8yh6ni1w37-tunefish-unstable-2020-08-13.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/w21dd3v32i13bg3c4nahbdd444587gdb-source
source root is source
Running phase: patchPhase
patching script interpreter paths in src/tunefish4/generate-lv2-ttl.py
src/tunefish4/generate-lv2-ttl.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/kjgslpdqchx1sm7a5h9xibi5rrqcqfnl-python3-3.12.8/bin/python"
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
build flags: -j8 SHELL=/nix/store/gwgqdl0242ymlikq9s9s62gkp5cvyal3-bash-5.2p37/bin/bash -C src/tunefish4/Builds/LinuxMakefile CONFIG=Release
make: Entering directory '/build/source/src/tunefish4/Builds/LinuxMakefile'
Compiling include_juce_audio_plugin_client_VST2.cpp
Compiling tfsynthprogram.cpp
Compiling PluginEditor.cpp
Compiling tflookandfeel.cpp
Compiling PluginProcessor.cpp
Compiling tf4.cpp
Compiling tf4fx.cpp
Compiling tfrecorder.cpp
Compiling array.cpp
Compiling random.cpp
Compiling runtime.cpp
Compiling simd.cpp
Compiling include_juce_audio_basics.cpp
In file included from ../../Source/runtime/runtime.cpp:30:
../../Source/runtime/runtime.hpp:210:5: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
  210 |     delete [] ptr;
      |     ^         ~~~
../../Source/runtime/runtime.cpp:97:9: note: in instantiation of function template specialization 'eDeleteArray<void *>' requested here
   97 |         eDeleteArray(realPtr);
      |         ^
1 warning generated.
Compiling include_juce_audio_devices.cpp
Compiling include_juce_audio_formats.cpp
Compiling include_juce_audio_plugin_client_LV2.cpp
Compiling include_juce_audio_plugin_client_utils.cpp
Compiling include_juce_audio_processors.cpp
Compiling include_juce_audio_utils.cpp
In file included from ../../JuceLibraryCode/include_juce_audio_formats.cpp:9:
In file included from ../../../../thirdparty/JUCE/modules/juce_audio_formats/juce_audio_formats.cpp:58:
../../../../thirdparty/JUCE/modules/juce_audio_formats/format/juce_AudioFormatReader.cpp:178:109: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
  178 |                     FloatVectorOperations::convertFixedToFloat (d, reinterpret_cast<const int*> (d), 1.0f / 0x7fffffff, numSamples);
      |                                                                                                           ~ ^~~~~~~~~~
In file included from ../../JuceLibraryCode/include_juce_audio_formats.cpp:9:
In file included from ../../../../thirdparty/JUCE/modules/juce_audio_formats/juce_audio_formats.cpp:60:
../../../../thirdparty/JUCE/modules/juce_audio_formats/format/juce_AudioFormatWriter.cpp:113:94: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
  113 |                     FloatVectorOperations::convertFixedToFloat ((float*) b, (int*) b, 1.0f / 0x7fffffff, numToDo);
      |                                                                                            ~ ^~~~~~~~~~
Compiling include_juce_core.cpp
Compiling include_juce_cryptography.cpp
In file included from ../../JuceLibraryCode/include_juce_core.cpp:9:
In file included from ../../../../thirdparty/JUCE/modules/juce_core/juce_core.cpp:138:
../../../../thirdparty/JUCE/modules/juce_core/maths/juce_Random.cpp:98:47: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion]
   98 |     return static_cast<uint32> (nextInt()) / (std::numeric_limits<uint32>::max() + 1.0f);
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
Compiling include_juce_data_structures.cpp
Compiling include_juce_events.cpp
Compiling include_juce_graphics.cpp
Compiling include_juce_gui_basics.cpp
Compiling include_juce_gui_extra.cpp
Compiling include_juce_opengl.cpp
Compiling include_juce_video.cpp
In file included from ../../JuceLibraryCode/include_juce_graphics.cpp:9:
In file included from ../../../../thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:140:
../../../../thirdparty/JUCE/modules/juce_graphics/native/juce_freetype_Fonts.cpp:356:28: error: cannot initialize a variable of type 'const short *const' with an lvalue of type 'unsigned short *const'
  356 |         const short* const contours = outline.contours;
      |                            ^          ~~~~~~~~~~~~~~~~
../../../../thirdparty/JUCE/modules/juce_graphics/native/juce_freetype_Fonts.cpp:357:27: error: cannot initialize a variable of type 'const char *const' with an lvalue of type 'unsigned char *const'
  357 |         const char* const tags = outline.tags;
      |                           ^      ~~~~~~~~~~~~
Compiling include_juce_audio_plugin_client_LV2.cpp
2 errors generated.
make: *** [Makefile:253: build/intermediate/Release/include_juce_graphics_f817e147.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../../JuceLibraryCode/include_juce_gui_extra.cpp:9:
In file included from ../../../../thirdparty/JUCE/modules/juce_gui_extra/juce_gui_extra.cpp:140:
../../../../thirdparty/JUCE/modules/juce_gui_extra/native/juce_linux_X11_WebBrowserComponent.cpp:340:41: warning: 'webkit_navigation_policy_decision_get_frame_name' is deprecated: Use 'webkit_navigation_policy_decision_get_navigation_action' instead [-Wdeprecated-declarations]
  340 |                 const char* frameName = webkit_navigation_policy_decision_get_frame_name (navigationDecision);
      |                                         ^
/nix/store/nxfnq1mlc1w3rmh4agang3yp7f57ivbf-webkitgtk-2.46.5+abi=4.0-dev/include/webkitgtk-4.0/webkit/WebKitNavigationPolicyDecision.h:69:1: note: 'webkit_navigation_policy_decision_get_frame_name' has been explicitly marked deprecated here
   69 | WEBKIT_DEPRECATED_FOR(webkit_navigation_policy_decision_get_navigation_action) const gchar *
      | ^
/nix/store/nxfnq1mlc1w3rmh4agang3yp7f57ivbf-webkitgtk-2.46.5+abi=4.0-dev/include/webkitgtk-4.0/webkit/WebKitDefines.h:46:45: note: expanded from macro 'WEBKIT_DEPRECATED_FOR'
   46 | #define WEBKIT_DEPRECATED_FOR(f) WEBKIT_API G_DEPRECATED_FOR(f)
      |                                             ^
/nix/store/xslbksjj97g6nagcx4n5maj9fpvnyhvs-glib-2.82.1-dev/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
      |                                            ^
In file included from ../../JuceLibraryCode/include_juce_gui_extra.cpp:9:
In file included from ../../../../thirdparty/JUCE/modules/juce_gui_extra/juce_gui_extra.cpp:140:
../../../../thirdparty/JUCE/modules/juce_gui_extra/native/juce_linux_X11_WebBrowserComponent.cpp:350:41: warning: 'webkit_navigation_policy_decision_get_frame_name' is deprecated: Use 'webkit_navigation_policy_decision_get_navigation_action' instead [-Wdeprecated-declarations]
  350 |                 const char* frameName = webkit_navigation_policy_decision_get_frame_name (navigationDecision);
      |                                         ^
/nix/store/nxfnq1mlc1w3rmh4agang3yp7f57ivbf-webkitgtk-2.46.5+abi=4.0-dev/include/webkitgtk-4.0/webkit/WebKitNavigationPolicyDecision.h:69:1: note: 'webkit_navigation_policy_decision_get_frame_name' has been explicitly marked deprecated here
   69 | WEBKIT_DEPRECATED_FOR(webkit_navigation_policy_decision_get_navigation_action) const gchar *
      | ^
/nix/store/nxfnq1mlc1w3rmh4agang3yp7f57ivbf-webkitgtk-2.46.5+abi=4.0-dev/include/webkitgtk-4.0/webkit/WebKitDefines.h:46:45: note: expanded from macro 'WEBKIT_DEPRECATED_FOR'
   46 | #define WEBKIT_DEPRECATED_FOR(f) WEBKIT_API G_DEPRECATED_FOR(f)
      |                                             ^
/nix/store/xslbksjj97g6nagcx4n5maj9fpvnyhvs-glib-2.82.1-dev/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
      |                                            ^
2 warnings generated.
2 warnings generated.
1 warning generated.
make: Leaving directory '/build/source/src/tunefish4/Builds/LinuxMakefile'
error: builder for '/nix/store/zgyclcqq6sbynxhlk0c0hn8yh6ni1w37-tunefish-unstable-2020-08-13.drv' failed with exit code 2
error: 1 dependencies of derivation '/nix/store/cqkxm1mhgwcydd8xds3iqcaqxss09iy7-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3dzagwvpkdf08agrdb9p478sfkw89360-nixos-system-quasar-24.11.713895.666e1b3f09c2.drv' failed to build

This is the actual error; file an issue on github about it at https://github.com/NixOS/nixpkgs/issues if no one else did.

Looks like there’s already an issue open for it

also it seems like you havent updated your config after some update. maybe thats why it breaks?

Yes, those warnings should also be fixed, they will become errors in a few months in the next release.

But tunefish is in fact broken on master right now, regardless, it’s just some error in the C code.