Skip to content

Build failure: mlv-app #400530

@yawn3k

Description

@yawn3k

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

nix build nixpkgs#mlv-app

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/295300742

Relevant log output

error: builder for '/nix/store/whvx7nx1v6mc1jnaskiw39ghld8dfkw4-mlv-app-1.14.drv' failed with exit code 2;
       last 25 log lines:
       >       |                                       sleep
       > make: *** [Makefile:1743: .obj/frame_caching.o] Error 1
       > make: *** Waiting for unfinished jobs....
       > ../../src/mlv/video_mlv.c: In function 'getMlvRawFrameDebayered':
       > ../../src/mlv/video_mlv.c:433:81: error: implicit declaration of function 'usleep'; did you mean 'sleep'? []
       >   433 |                 while (video->cached_frames[frameIndex] != MLV_FRAME_IS_CACHED) usleep(100);
       >       |                                                                                 ^~~~~~
       >       |                                                                                 sleep
       > ../../src/mlv/video_mlv.c: In function 'openMlvClip':
       > ../../src/mlv/video_mlv.c:1484:44: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument []
       >  1484 |     video->main_file_mutex = calloc(sizeof(pthread_mutex_t), video->filenum);
       >       |                                            ^~~~~~~~~~~~~~~
       > ../../src/mlv/video_mlv.c:1484:44: note: earlier argument should specify number of elements, later size of each element
       > ../../src/mlv/video_mlv.c:1875:54: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument []
       >  1875 |     video->cached_frames = (uint8_t *)calloc( sizeof(uint8_t), video->frames );
       >       |                                                      ^~~~~~~
       > ../../src/mlv/video_mlv.c:1875:54: note: earlier argument should specify number of elements, later size of each element
       > ../../src/mlv/video_mlv.c: In function 'getMlvRawFrameDebayered':
       > ../../src/mlv/video_mlv.c:423:16: warning: this statement may fall through []
       >   423 |             if (isMlvObjectCaching(video) && frameIndex < getMlvRawCacheLimitFrames(video))
       >       |                ^
       > ../../src/mlv/video_mlv.c:429:9: note: here
       >   429 |         case MLV_FRAME_BEING_CACHED:
       >       |         ^~~~
       > make: *** [Makefile:1766: .obj/video_mlv.o] Error 1
       For full logs, run:
         nix log /nix/store/whvx7nx1v6mc1jnaskiw39ghld8dfkw4-mlv-app-1.14.drv

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.14.2, NixOS, 25.05 (Warbler), 25.05pre785698.b024ced1aac2
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.1
  • channels(root): "nixos"
  • nixpkgs: /nix/store/4dz0r22swgqmsy0w450pv0dcdr4c73wq-nixos/nixos

Notify maintainers

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions