!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1162 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org187 Servers

Load older messages


SenderMessageTime
20 Jan 2026
@reckenrode:matrix.orgRandy Eckenrode

Using OPT_cxx_isystem got the build farther, but it’s now failing at:


FAILED: source/Utility/CMakeFiles/lldbUtility.dir/AddressableBits.cpp.o
/nix/store/351bpjcf2l1n4vm06nwpq3cdhl6vbhx1-clang-wrapper-21.1.7/bin/clang++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLLDB_ENABLE_SWIFT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/build/lldb/source/Utility -I/bui>
In file included from /build/src/llvm-project/lldb/source/Utility/AddressableBits.cpp:9:
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:25:27: error: unknown type name 'uint32_t'
   25 |   void SetAddressableBits(uint32_t addressing_bits);
      |                           ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:29:27: error: unknown type name 'uint32_t'
   29 |   void SetAddressableBits(uint32_t lowmem_addressing_bits,
      |                           ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:30:27: error: unknown type name 'uint32_t'
   30 |                           uint32_t highmem_addressing_bits);
      |                           ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:32:33: error: unknown type name 'uint32_t'
   32 |   void SetLowmemAddressableBits(uint32_t lowmem_addressing_bits);
      |                                 ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:34:34: error: unknown type name 'uint32_t'
   34 |   void SetHighmemAddressableBits(uint32_t highmem_addressing_bits);
      |                                  ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:39:3: error: unknown type name 'uint32_t'
   39 |   uint32_t m_low_memory_addr_bits;
      |   ^
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:40:3: error: unknown type name 'uint32_t'
   40 |   uint32_t m_high_memory_addr_bits;
      |   ^
/build/src/llvm-project/lldb/source/Utility/AddressableBits.cpp:16:23: error: out-of-line definition of 'SetAddressableBits' does not match any declaration in 'lldb_private::AddressableBits'
   16 | void AddressableBits::SetAddressableBits(uint32_t addressing_bits) {
      |                       ^~~~~~~~~~~~~~~~~~
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:20:7: note: AddressableBits defined here
   20 | class AddressableBits {
      |       ^~~~~~~~~~~~~~~
/build/src/llvm-project/lldb/source/Utility/AddressableBits.cpp:20:23: error: out-of-line definition of 'SetAddressableBits' does not match any declaration in 'lldb_private::AddressableBits'
   20 | void AddressableBits::SetAddressableBits(uint32_t lowmem_addressing_bits,
      |                       ^~~~~~~~~~~~~~~~~~
/build/src/llvm-project/lldb/include/lldb/Utility/AddressableBits.h:20:7: note: AddressableBits defined here
04:37:12
@reckenrode:matrix.orgRandy Eckenrode

mpv built. I’m going to need to fix this to avoid pulling in the whole Swift closure instead of just the stdlib.

Load command 73
          cmd LC_RPATH
      cmdsize 88
         path /nix/store/c9f0k73y1m0a7zglncaraa0sfaz77z6l-swift-6.2.3/lib/swift/macosx (offset 12)
Load command 74
          cmd LC_RPATH
      cmdsize 32
         path /usr/lib/swift (offset 12)
04:39:36
@qyliss:fairydust.spaceAlyssa RossI've been really struggling to get Darwin testing on Meson updates. Should I still be waiting for darwin-core on them?16:10:35
@toonn:matrix.orgtoonn AlyssaRoss: If it's only building/testing you could also ping darwin-maintainers. 16:25:12
@qyliss:fairydust.spaceAlyssa RossI will do that. Looks like before just bootstrap + build was tested so should be easy for others to do.16:33:12
@goldone:nope.chatgoldone joined the room.18:07:35
@sarahec:matrix.orgSarah ClarkI'm building it now on aarch64-darwin.18:23:21
@goldone:nope.chatgoldone changed their display name from goldone [Olaf - Chaotikum] to goldone.20:06:56
@sarahec:matrix.orgSarah Clark Alyssa Ross: Meson builds fine on aarch64-darwin (along with about 150 of its closest friends) 20:50:43
@sarahec:matrix.orgSarah Clark * Alyssa Ross: Meson builds fine on aarch64-darwin (along with about 150 of its closest friends) from your PR 20:51:41
@sarahec:matrix.orgSarah ClarkRemind me how I include CoreFoundation in a build again? (This is using gcc)21:14:00
@emilazy:matrix.orgemily I thought stdenv wasn't building at all on Darwin on staging right now. or did @reckenrode:matrix.org send in a revert? 21:17:01
@sarahec:matrix.orgSarah Clark I'm reviewing https://github.com/NixOS/nixpkgs/pull/464301 on master 21:18:15
@reckenrode:matrix.orgRandy EckenrodeThe failure is non-deferministic.21:22:24
@reckenrode:matrix.orgRandy Eckenrode * 21:22:34
@reckenrode:matrix.orgRandy Eckenrode GCC should pick up the SDKROOT automatically. 21:23:14
@reckenrode:matrix.orgRandy EckenrodeThere’s a chance it’s not compatible with the headers (especially on x86_64-darwin).21:25:36
@reckenrode:matrix.orgRandy Eckenrode * 21:25:51
@emilazy:matrix.orgemily when I checked staging:stdenv had failed like 7 jobs in a row 21:25:57
@emilazy:matrix.orgemilybut perhaps there just weren't any rebuilds then?21:26:15
@reckenrode:matrix.orgRandy Eckenrode It builds for me if I use sudo to not go through the daemon or if I run it interactively. 21:26:37
@reckenrode:matrix.orgRandy EckenrodeThere was a Gentoo issue I linked with the same error that made it around like it doesn’t happen consistently.21:27:14
@reckenrode:matrix.orgRandy Eckenrodehttps://bugs.gentoo.org/95094321:27:36
@emilazy:matrix.orgemilyhttps://hydra.nixos.org/jobset/nixpkgs/staging21:27:58
@emilazy:matrix.orgemilydoesn't look healthy21:28:03
@sarahec:matrix.orgSarah ClarkI'll pass the comment upstream. Thanks.21:28:13
@emilazy:matrix.orgemily that won't stop it blocking -next or testing staging PRs though, right? 21:29:04
@emilazy:matrix.orgemily Meson rebuilds stdenv so it's always staging. you should have seen LLVM rebuild most likely. but I just meant it's hard to test a PR that rebuilds bootstrap when bootstrap is broken 21:30:06
@sarahec:matrix.orgSarah ClarkAh, this isn't the Meson build (that's done, successfully). I was just picking up a PR review21:30:55
@emilazy:matrix.orgemilyah, whoops. I was talking about Meson, yeah.21:32:19

Show newer messages


Back to Room ListRoom Version: 6