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

issue hebasto openend 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:
    0$ gmake -C depends capnp MULTIPROCESS=1 CC=/usr/pkg/gcc12/bin/gcc CXX=/usr/pkg/gcc12/bin/g++
    1<snip>
    2In 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:
    3/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."
    4   39 |     #error "Fibers cannot be enabled when exceptions are disabled."
    5      |      ^~~~~
    6gmake[3]: *** [src/kj/CMakeFiles/kj-async.dir/build.make:76: src/kj/CMakeFiles/kj-async.dir/async.c++.o] Error 1
    7<snip>
    
    • with GCC 14.2.0:
     0$ gmake -C depends capnp MULTIPROCESS=1 CC=/usr/pkg/gcc14/bin/gcc CXX=/usr/pkg/gcc14/bin/g++
     1<snip>
     2In 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,
     3                 from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/exception.h:24,
     4                 from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async-prelude.h:27,
     5                 from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async.h:24,
     6                 from /home/hebasto/dev/bitcoin/depends/work/build/x86_64-unknown-netbsd10.0/capnp/1.0.2-b73bfb1607d/src/kj/async-io.h:24,
     7                 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:
     8/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:
     9/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
    10 1243 |       hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG;
    11      |                        ^~~~~~~~~~~
    12gmake[3]: *** [src/kj/CMakeFiles/kj-async.dir/build.make:146: src/kj/CMakeFiles/kj-async.dir/async-io-unix.c++.o] Error 1
    13<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.


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: 2024-12-21 12:12 UTC

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