-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
Closed
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
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.drvAdditional 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
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
yawn3k
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to buildA package fails to build