!UNVBThoJtlIiVwiDjU:nixos.org

Staging

404 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen131 Servers

Load older messages


SenderMessageTime
2 Jul 2026
@emilazy:matrix.orgemilyyeah, I mean… what's actually up :)14:07:53
@emilazy:matrix.orgemily since it is getting gmp as a build input 14:07:59
@emilazy:matrix.orgemilyI'm looking now14:08:01
@hexa:lossy.networkhexahah, no :D14:08:05
@hexa:lossy.networkhexaI can quickly try to repro outside build infra14:08:35
@hexa:lossy.networkhexarepros on community builder14:09:23
@emilazy:matrix.orgemily
require gmp gmp.h mpz_export -lgmp
check_lib gmp gmp.h mpz_export -lgmp
check_func_headers gmp.h mpz_export -lgmp
test_ld cc -lgmp
test_cc
BEGIN /nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.c
    1   #include <gmp.h>
    2   #include <stdint.h>
    3   long check_mpz_export(void) { return (long) mpz_export; }
    4   int main(void) { int ret = 0;
    5    ret |= ((intptr_t)check_mpz_export) & 0xFFFF;
    6   return ret; }
END /nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.c
clang -D_ISOC11_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I$(SRC_PATH)/compat/dispatch_semaphore -DPIC -std=c17 -Werror=partial-availability -fno-common -fomit-frame-pointer -fPIC -pthread -I/nix/store/mvi0pf50rpq1qcwv8alh9hsrsa86xwxj-zlib-1.3.2-dev/include -c -o /nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.o /nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.c
/nix/var/nix/b/2jhhaiigz9c8m64wblda3zpr95/ffconf.tcUHOpjW/test.c:1:10: fatal error: 'gmp.h' file not found
    1 | #include <gmp.h>
      |          ^~~~~~~
1 error generated.
ERROR: gmp not found
14:09:40
@emilazy:matrix.orgemily that sure does look like gmp.h isn't present 14:09:50
@emilazy:matrix.orgemilyand yet14:10:00
@emilazy:matrix.orgemily /nix/store/z7qzk6341cl0rdxa3p040fd35gxwa77w-gmp-with-cxx-6.3.0-dev is in build inputs, and /nix/store/z7qzk6341cl0rdxa3p040fd35gxwa77w-gmp-with-cxx-6.3.0-dev/include/gmp.h exists 14:10:08
@emilazy:matrix.orgemilyso what the hell14:10:14
@hexa:lossy.networkhexayeah14:10:20
@emilazy:matrix.orgemilyuhhh14:18:00
@emilazy:matrix.orgemilyit seems to be using an unwrapped clang14:18:04
@emilazy:matrix.orgemilyoh.14:18:07
@emilazy:matrix.orgemilythis is going to be Randy's fix isn't it14:18:10
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/pull/53196014:18:29
@emilazy:matrix.orgemilytbh this seems like it'll break compiling FFmpeg with LLVM on Linux too14:18:49
@emilazy:matrix.orgemily Sergei Zimmerman (xokdvium): ^ 14:19:04
@emilazy:matrix.orgemily https://github.com/NixOS/nixpkgs/pull/518519/changes/817b0e1338faca6deebeb9fca8beeef8409dbeea clobbers wrapped clang in FFmpeg build env 14:19:25
@emilazy:matrix.orgemilywill merge Randy's PR for now but that probably deserves a proper fix14:19:41
@emilazy:matrix.orgemilyok, hit the button. next eval should pick up lots of Darwin work.14:20:35
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Right, yeah. Ideally it we could specify the cuda compiler directly without the configure script finding it14:22:12
@emilazy:matrix.orgemily we could also potentially tell FFmpeg to use cc instead of clang 14:22:34
@emilazy:matrix.orgemily we explicitly --cc=clang --cxx=clang++ 14:22:40
@emilazy:matrix.orgemilynot sure if that's necessary14:22:43
@emilazy:matrix.orgemilyand if everything even consistently uses it14:22:47
@emilazy:matrix.orgemily
    ++ optionals stdenv.cc.isClang [
      "--cc=${stdenv.cc.targetPrefix}clang"
      "--cxx=${stdenv.cc.targetPrefix}clang++"
    ]
14:23:01
@emilazy:matrix.orgemilymaybe it does some dumb sniffing14:23:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah the cuda compiler is found separately iirc14:23:23

Show newer messages


Back to Room ListRoom Version: 6