-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin6.topic: stdenvStandard environmentStandard environment
Description
Initial support for builds on Big Sur was added in #98541 but the initial bootstrapping stages in the stdenv still link against the libSystem library that's part of bootstrap tools. This means builds depend on having a cached stdenv built by 11.15 or earlier available.
checking whether to build debug libraries... no
checking whether to build release libraries... yes
checking whether the C compiler works... no
configure: error: in `/private/tmp/nix-build-ICU-osx-10.10.5.drv-7/ICU-531.48/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
./runConfigureICU: ./configure failed
make: *** [makefile:964: /private/tmp/nix-build-ICU-osx-10.10.5.drv-7/ICU-531.48/build/Makefile] Error 1
configure:2913: checking whether the C compiler works
configure:2935: cc -DU_SHOW_CPLUSPLUS_API=1 -DU_SHOW_INTERNAL_API=1 -DU_TIMEZONE=timezone -DICU_DATA_DIR="\"/usr/share/icu/\"" -g -Os -Wglobal-constructors -fno-exceptions -fvisibility=hidden -O2 -DSTD_INSPIRED -DMAC_OS_X_VERSION_MIN_REQUIRED=1070 conftest.c >&5
ld: warning: passed two min versions (10.12.0, 10.12) for platform macOS. Using 10.12.
ld: file not found: /usr/lib/system/libcache.dylib for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
To Reproduce
On macOS 11.0 run
nix-build -A stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.darwin.ICU
nix-build -A stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.darwin.ICU --check
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin6.topic: stdenvStandard environmentStandard environment
Type
Projects
Status
Big Sur