I’m trying to finalize this PR by running: nix run nixpkgs#nixpkgs-review – pr 475883
The problem is that it fails to build on my computer but it seems to build just fine in CI.
Should I be worried that it fails to build on my computer, but builds just fine in CI?
The only way I could test on my computer while developing was to target the 25.11 branch and that was fine. It would fail against unstable and master.
Any help would be appreciated.
The exact error is a c++ compilation error:
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from /nix/store/qarrb8yfby1yyypm32vabzgxgq3w41ma-gcc-15.2.0/include/c++/15.2.0/cassert:46,
from external/com_google_absl/absl/container/internal/container_memory.h:18,
from external/com_google_absl/absl/container/flat_hash_map.h:40,
from external/com_google_absl/absl/flags/reflection.h:29,
from external/com_google_absl/absl/flags/reflection.cc:16:
external/com_google_absl/absl/container/internal/container_memory.h: In function ‘void* absl::lts_20240116::container_internal::Allocate(Alloc*, size_t)’:
external/com_google_absl/absl/container/internal/container_memory.h:66:27: error: ‘uintptr_t’ does not name a type [-Wtemplate-body]
66 | assert(reinterpret_cast<uintptr_t>(p) % Alignment == 0 &&
| ^~~~~~~~~
external/com_google_absl/absl/container/internal/container_memory.h:31:1: note: ‘uintptr_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
30 | #include “absl/utility/utility.h”
+++ |+#include
31 |
Target //generator:protoc-gen-js failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 18.347s, Critical Path: 10.07s
INFO: 933 processes: 542 internal, 391 linux-sandbox.
ERROR: Build did NOT complete successfully
```