-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken
Description
Describe the bug
...
[ 94%] Built target OpenImageDenoise
[ 96%] Building CXX object apps/CMakeFiles/oidnTest.dir/oidnTest.cpp.o
[ 96%] Building CXX object apps/CMakeFiles/oidnBenchmark.dir/oidnBenchmark.cpp.o
[ 97%] Building CXX object apps/CMakeFiles/oidnDenoise.dir/oidnDenoise.cpp.o
In file included from /nix/store/4grm35slwd5il8v9sfkibl164ays38hp-glibc-2.35-224-dev/include/signal.h:328,
from /build/source/apps/catch.hpp:7978,
from /build/source/apps/oidnTest.cpp:12:
/build/source/apps/catch.hpp:10763:58: error: call to non-'constexpr' function 'long int sysconf(int)'
10763 | static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| ^~~~~~~~~~~
In file included from /nix/store/4grm35slwd5il8v9sfkibl164ays38hp-glibc-2.35-224-dev/include/bits/sigstksz.h:24:
/nix/store/4grm35slwd5il8v9sfkibl164ays38hp-glibc-2.35-224-dev/include/unistd.h:640:17: note: 'long int sysconf(int)' declared here
640 | extern long int sysconf (int __name) __THROW;
| ^~~~~~~
/build/source/apps/catch.hpp:10822:45: error: size of array 'altStackMem' is not an integral constant-expression
10822 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
| ^~~~~~~~~~~~
[ 98%] Linking CXX executable ../oidnDenoise
[ 98%] Built target oidnDenoise
make[2]: *** [apps/CMakeFiles/oidnTest.dir/build.make:76: apps/CMakeFiles/oidnTest.dir/oidnTest.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:278: apps/CMakeFiles/oidnTest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Linking CXX executable ../oidnBenchmark
[ 99%] Built target oidnBenchmark
make: *** [Makefile:156: all] Error 2
Steps To Reproduce
Steps to reproduce the behavior:
nix-build . -A openimagedenoise_1_2_x
Expected behavior
successful build
Additional context
Was already broken at c69ebeb. Unrelated to #216580.
Notify maintainers
Metadata
- system:
"x86_64-linux" - host os:
Linux 6.1.11, NixOS, 22.11 (Raccoon), 22.11.2568.c43f676c938 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.11.1 - channels(root):
"home-manager-22.11.tar.gz, nixos-22.11, nixos-hardware, nixos-unstable" - nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken