Skip to content

Build failure: mrpeach #370862

Closed
Closed

Description

@FliegendeWurst

Steps To Reproduce

  1. build mrpeach

Additionally the source URL 404s.

Build log

As seen on Hydra https://hydra.nixos.org/build/282665543

Additional context

This might fix it. Includes additional cleanup.

diff --git a/pkgs/by-name/mr/mrpeach/package.nix b/pkgs/by-name/mr/mrpeach/package.nix
index 2fa63b5da8ad..18e35e292eb1 100644
--- a/pkgs/by-name/mr/mrpeach/package.nix
+++ b/pkgs/by-name/mr/mrpeach/package.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
 
   hardeningDisable = [ "format" ];
 
-  patchPhase = ''
+  postPatch = ''
     for D in net osc
     do
       sed -i "s@prefix = /usr/local@prefix = $out@g" $D/Makefile
@@ -34,24 +34,30 @@ stdenv.mkDerivation {
   '';
 
   buildPhase = ''
+    runHook preBuild
     for D in net osc
     do
       cd $D
       make
       cd ..
     done
+    runHook postBuild
   '';
 
+  NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
+
   installPhase = ''
+    runHook preInstall
     for D in net osc
     do
       cd $D
       make install
       cd ..
     done
+    runHook postInstall
   '';
 
-  fixupPhase = ''
+  preFixup = ''
     mv $out/lib/pd-externals/net $out
     mv $out/lib/pd-externals/osc $out
     rm -rf $out/lib

Metadata

Notify maintainers

@magnetophon


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

Activity

  1. JohnRTitor commented on Jan 4, 2025

    @JohnRTitor
    Member

    image

    Jokes aside, you could try internet archive if they have a copy. Then there's https://puredata.info/downloads which I haven't got a chance to fully take a look at.

  2. FliegendeWurst commented on Jan 4, 2025

    @FliegendeWurst
    MemberAuthor

    I suppose the issue was more about the missing source. I will PR the fix once I can confirm it works.

  3. added
    2.status: stale
    on Jul 4, 2025
  4. GrimmTheShrimp commented on Jul 5, 2025

    @GrimmTheShrimp
    Contributor

    Apparently fixed by #371495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure2.status: stale

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions