depends: `capnp` package fails to build on NetBSD 10.0 #31499

issue hebasto opened this issue on December 14, 2024
  1. hebasto commented at 11:52 AM on December 14, 2024: member

    On the master branch @ b042c4f0538c6f9cdf8efbcef552796851e38a85:

    • with GCC 12.4.0:
    $ gmake -C depends capnp MULTIPROCESS=1 CC=/usr/pkg/gcc12/bin/gcc CXX=/usr/pkg/gcc12/bin/g++
    <snip>
    In file included from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-93b376fc421/src/kj/async.c++:42:
    /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-93b376fc421/src/kj/async.h:39:6: error: #error "Fibers cannot be enabled when exceptions are disabled."
       39 |     #error "Fibers cannot be enabled when exceptions are disabled."
          |      ^~~~~
    gmake[3]: *** [src/kj/CMakeFiles/kj-async.dir/build.make:76: src/kj/CMakeFiles/kj-async.dir/async.c++.o] Error 1
    <snip>
    
    • with GCC 14.2.0:
    $ gmake -C depends capnp MULTIPROCESS=1 CC=/usr/pkg/gcc14/bin/gcc CXX=/usr/pkg/gcc14/bin/g++
    <snip>
    In file included from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/memory.h:24,
                     from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/exception.h:24,
                     from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async-prelude.h:27,
                     from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async.h:24,
                     from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async-io.h:24,
                     from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async-io-unix.c++:35:
    /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async-io-unix.c++: In lambda function:
    /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async-io-unix.c++:1243:24: error: 'AI_V4MAPPED' was not declared in this scope
     1243 |       hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG;
          |                        ^~~~~~~~~~~
    gmake[3]: *** [src/kj/CMakeFiles/kj-async.dir/build.make:146: src/kj/CMakeFiles/kj-async.dir/async-io-unix.c++.o] Error 1
    <snip>
    
  2. hebasto added the label Build system on Dec 14, 2024
  3. hebasto added the label Upstream on Dec 14, 2024
  4. hebasto commented at 11:52 AM on December 14, 2024: member
  5. bitcoin deleted a comment on Dec 14, 2024
  6. Sjors commented at 11:47 AM on December 16, 2024: member

    cc @vasild

  7. fanquake commented at 11:50 AM on December 16, 2024: member

    Shouldn't this be an upstream bug report, given that's where the issue is?

  8. fanquake commented at 11:57 AM on December 20, 2024: member

    Nothing for us to do here, so could be reopened/linked from a PR once a proper issue is filed upstream.

  9. fanquake closed this on Dec 20, 2024

  10. hebasto commented at 4:42 PM on December 20, 2024: member

    Shouldn't this be an upstream bug report, given that's where the issue is?

    https://github.com/capnproto/capnproto/issues/2201.

  11. bitcoin locked this on Dec 20, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 00:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me