build: Bump guix time-machine to unlock riscv64 metal #29078

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2312-riscv64-metal- changing 1 files +1 −1
  1. maflcko commented at 10:44 AM on December 14, 2023: member
  2. build: Bump guix time-machine to unlock riscv64 metal fa87a2072b
  3. DrahtBot commented at 10:44 AM on December 14, 2023: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK fanquake

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #28880 (build: switch to using LLVM 17.x for macOS builds by fanquake)
    • #21778 (build: LLD based macOS toolchain by fanquake)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  4. DrahtBot added the label Build system on Dec 14, 2023
  5. maflcko commented at 10:45 AM on December 14, 2023: member

    Is there an easy way to print all affected/changed/bumped dependencies in the Bitcoin Core build graph?

  6. maflcko added the label DrahtBot Guix build requested on Dec 14, 2023
  7. maflcko marked this as ready for review on Dec 14, 2023
  8. DrahtBot commented at 10:56 PM on December 14, 2023: contributor

    <!--9cd9c72976c961c55c7acef8f6ba82cd-->

    Guix builds (on x86_64)

    File commit 9f0f83d6509a214b827f5110c0f857b494ae854c<br>(master) commit ad3febfeee6f5fcb632c0a107054a64063a81f45<br>(master and this pull)
    SHA256SUMS.part 492b81f27c405c59... 166b764083ca1d67...
    *-aarch64-linux-gnu-debug.tar.gz dfd701a11b2d7218... 8455461c304b2cc0...
    *-aarch64-linux-gnu.tar.gz 527f1a8aad48a1a0... 0548a826beaca8d2...
    *-arm-linux-gnueabihf-debug.tar.gz 9f65cfbffb3fd76d... 072bb1392c5df734...
    *-arm-linux-gnueabihf.tar.gz ef07cef385c8b473... b823cceba48112d2...
    *-arm64-apple-darwin-unsigned.tar.gz a5e7489f91b42aff... d06d1ee0422c99ba...
    *-arm64-apple-darwin-unsigned.zip 6a4057ddf8db7d18... 6411a631b469db20...
    *-arm64-apple-darwin.tar.gz 8d95a59a2f35d8d7... 4f87ac1773262c24...
    *-powerpc64-linux-gnu-debug.tar.gz 48897b03d746fd5b... b233e3f4372c0dad...
    *-powerpc64-linux-gnu.tar.gz a4b94e4cd25bd225... 46270c6306ed9f08...
    *-powerpc64le-linux-gnu-debug.tar.gz 44a52907ed3f32a7... 4947315ee701edf4...
    *-powerpc64le-linux-gnu.tar.gz 91a0a0c55ed07eef... b3eda9812ef33bcc...
    *-riscv64-linux-gnu-debug.tar.gz 1085f187e959bdd4... 24c126c1dcddf0b4...
    *-riscv64-linux-gnu.tar.gz a86097b02cbfddaf... 1563e2f225813255...
    *-x86_64-apple-darwin-unsigned.tar.gz ff0ef24b7f8f7067... ae1a94f408481456...
    *-x86_64-apple-darwin-unsigned.zip 4ffb34ffd4fd04ab... 96d6fc2952bfa4ce...
    *-x86_64-apple-darwin.tar.gz e0b0bab6afa64b4d... 509e22f68f32b933...
    *-x86_64-linux-gnu-debug.tar.gz fed46269a5093230... 14b1b995e209f6cc...
    *-x86_64-linux-gnu.tar.gz 03ea6522ee6313e7... 89835e01370adbaa...
    *.tar.gz 28a93c9a6c54f6ae... 57f5f9cd0b80e9ee...
    guix_build.log 9785598cf35ac4ce... 5842e7492ab30257...
    guix_build.log.diff 6cb6c4d2ea76a262...
  9. DrahtBot removed the label DrahtBot Guix build requested on Dec 14, 2023
  10. maflcko commented at 12:19 PM on December 15, 2023: member

    Looks like it just built the first host and hopped over to the next. 🥹

    + echo /outdir-base/dist-archive/bitcoin-fa87a2072b91.tar.gz
    + find /outdir-base/x86_64-linux-gnu -type f
    + xargs realpath --relative-base=/outdir-base
    + xargs sha256sum
    + sponge /outdir-base/x86_64-linux-gnu/SHA256SUMS.part
    + sort -k2
    INFO: Building fa87a2072b91 for platform triple arm-linux-gnueabihf:
          ...using reference timestamp: 1702550613
          ...running at most 4 jobs
          ...from worktree directory: '/root/bitcoin-core'
              ...bind-mounted in container to: '/bitcoin'
          ...in build directory: '/root/bitcoin-core/guix-build-fa87a2072b91/distsrc-fa87a2072b91-arm-linux-gnueabihf'
              ...bind-mounted in container to: '/distsrc-base/distsrc-fa87a2072b91-arm-linux-gnueabihf'
          ...outputting in: '/root/bitcoin-core/guix-build-fa87a2072b91/output/arm-linux-gnueabihf'
              ...bind-mounted in container to: '/outdir-base/arm-linux-gnueabihf'
    substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
    substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
    substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
    The following derivations will be built:
      /gnu/store/sx1scwsdlkncdqv0c892p8xkm8rib0h3-gcc-cross-arm-linux-gnueabihf-10.5.0.drv
      /gnu/store/0bacrxrk8897qahchlqrpvn6zrbw26k7-linux-libre-headers-cross-arm-linux-gnueabihf-6.1.67.drv
      /gnu/store/6kmr3y08dicyl249ijp9jvy2rmlyi77h-gcc-cross-sans-libc-arm-linux-gnueabihf-10.5.0.drv
      /gnu/store/yacv2gc5a8y9wszf6zbxnfpbsj9scsz8-glibc-cross-arm-linux-gnueabihf-2.27.drv
      /gnu/store/bl71f8g6agxrravffmqblv840nwrc3cj-arm-linux-gnueabihf-toolchain-10.5.0.drv
    
    building /gnu/store/6kmr3y08dicyl249ijp9jvy2rmlyi77h-gcc-cross-sans-libc-arm-linux-gnueabihf-10.5.0.drv...
    - 'build' phase
    
  11. fanquake commented at 11:49 AM on December 18, 2023: member

    Is there an easy way to print all affected/changed/bumped dependencies in the Bitcoin Core build graph?

    A quick check is to compare the manifests of master vs the change, i.e:

    diff guix-build-3695ecbf680a/var/profiles/x86_64-linux-gnu/manifest guix-build-fa87a2072b91/var/profiles/x86_64-linux-gnu/manifest 
    60c60
    <       "0.67"
    ---
    >       "0.68"
    62c62
    <       "/gnu/store/4ck57lp0wdcslrc106c649yfm3fclmsl-moreutils-0.67")
    ---
    >       "/gnu/store/09jzmmg2h8cxf75imk0r1c3j0cx20zkn-moreutils-0.68")
    171c171
    <       "/gnu/store/zjsygsszp9v5i5gz8kqxxfrl50xwzl44-git-minimal-2.41.0"
    ---
    >       "/gnu/store/w6bbaal18axhsyy3r418isll33qzz2jb-git-minimal-2.41.0"
    186c186
    <       "/gnu/store/ch86qkh3qz2701wy7p1r4s7r7i2jyqjl-python-lief-0.13.2")
    ---
    >       "/gnu/store/lkq1x15862rgch435k6cici1yi8anwas-python-lief-0.13.2")
    190c190
    <       "/gnu/store/6a7rbkaisfwfz54k8b90ns54kra314cp-x86_64-linux-gnu-toolchain-10.5.0"
    ---
    >       "/gnu/store/my917igzlinspc0fp6zl827nzmyl4wgb-x86_64-linux-gnu-toolchain-10.5.0"
    199c199
    <           "/gnu/store/6308la3gb2r344sp8prvk058qvzq14lq-glibc-cross-x86_64-linux-gnu-2.27"
    ---
    >           "/gnu/store/glkb9x9h6s0zxia3ywd1y55jg80w1ai5-glibc-cross-x86_64-linux-gnu-2.27"
    202c202
    <               "6.1.61"
    ---
    >               "6.1.67"
    204c204
    <               "/gnu/store/av2i6y23kmrnhgfqwhgmh24f12l2qvvv-linux-libre-headers-cross-x86_64-linux-gnu-6.1.61")))
    ---
    >               "/gnu/store/v80d0b41laxz2i6mhik0nz8ikya0b6hi-linux-libre-headers-cross-x86_64-linux-gnu-6.1.67")))
    210c210
    <           "/gnu/store/g5g7j5xlw132s1rbabx7h1yvgn321985-gcc-cross-x86_64-linux-gnu-10.5.0")
    ---
    >           "/gnu/store/bjrf468hxqnzymddr6xxs3vairk46ypr-gcc-cross-x86_64-linux-gnu-10.5.0")
    214c214
    <           "/gnu/store/jn08byk4gwcd1k8xilcm2x7z660l3lfd-glibc-cross-x86_64-linux-gnu-2.27-static"
    ---
    >           "/gnu/store/fncrsxpss8l8aj4qvmymkkksm6bb4ar4-glibc-cross-x86_64-linux-gnu-2.27-static"
    218,219c218,219
    <                "6.1.61"
    <                "/gnu/store/av2i6y23kmrnhgfqwhgmh24f12l2qvvv-linux-libre-headers-cross-x86_64-linux-gnu-6.1.61")))
    ---
    >                "6.1.67"
    >                "/gnu/store/v80d0b41laxz2i6mhik0nz8ikya0b6hi-linux-libre-headers-cross-x86_64-linux-gnu-6.1.67")))
    225c225
    <           "/gnu/store/xsl44lhvxircf1ffqh3iyrrzgprf57cx-gcc-cross-x86_64-linux-gnu-10.5.0-lib")))
    ---
    >           "/gnu/store/yjqqr10hl10aqjmkdsr3dzvqsw0h6nkw-gcc-cross-x86_64-linux-gnu-10.5.0-lib")))
    

    Depending on how much you want to see, you could also do something with guix graph: https://guix.gnu.org/manual/en/html_node/Invoking-guix-graph.html.

  12. fanquake approved
  13. fanquake commented at 11:50 AM on December 18, 2023: member

    ACK fa87a2072b91c591d2714bc70488b395c22df95d

    Guix build (aarch64):

    d137d8dc94b3d734965b7e50fac273f704e122f969430e1b43bfe21c9af31bbe  guix-build-fa87a2072b91/output/aarch64-linux-gnu/SHA256SUMS.part
    42d66d0daf6067a74c3ba4e55c012712ae5cca02c9123ed3ef7fd9a8f09c16d4  guix-build-fa87a2072b91/output/aarch64-linux-gnu/bitcoin-fa87a2072b91-aarch64-linux-gnu-debug.tar.gz
    3ccda6af99c1dd4b54533d073dca82d5f252759cede55a335220065dfe24ee7c  guix-build-fa87a2072b91/output/aarch64-linux-gnu/bitcoin-fa87a2072b91-aarch64-linux-gnu.tar.gz
    ea3a9d6ef4ee4a83ad2aa95b667a38473c971e74c8ec599a353a16678642c211  guix-build-fa87a2072b91/output/arm-linux-gnueabihf/SHA256SUMS.part
    a4d41469855a143a16b591b78ce04842ed597fdb50f26b5c4ee97aca137275ee  guix-build-fa87a2072b91/output/arm-linux-gnueabihf/bitcoin-fa87a2072b91-arm-linux-gnueabihf-debug.tar.gz
    97f91c7c3776d218e0e4b9c3b0d7fcb9e47aef9414c12874f390ecd42538baf7  guix-build-fa87a2072b91/output/arm-linux-gnueabihf/bitcoin-fa87a2072b91-arm-linux-gnueabihf.tar.gz
    0b06e5eb3c0c67f075406cd568e6afb45914fff4c5135b597639d869acb4b93c  guix-build-fa87a2072b91/output/arm64-apple-darwin/SHA256SUMS.part
    4ee72078a82351ea81cb9ad7cbccc0c30a0420f16da5efd9121ffa7f69744ea3  guix-build-fa87a2072b91/output/arm64-apple-darwin/bitcoin-fa87a2072b91-arm64-apple-darwin-unsigned.tar.gz
    c3204e997966993bed355072ef4ea6e8b4708d80f67d53ce1d01a0398e4a6fee  guix-build-fa87a2072b91/output/arm64-apple-darwin/bitcoin-fa87a2072b91-arm64-apple-darwin-unsigned.zip
    764c7de0291c3caa15584bc730ad7166cc87d44526a460da35f43831cf342743  guix-build-fa87a2072b91/output/arm64-apple-darwin/bitcoin-fa87a2072b91-arm64-apple-darwin.tar.gz
    b5325393a05c4452c6695103a33bcfa221df48c65df0cccbf8d5eadba58b181f  guix-build-fa87a2072b91/output/dist-archive/bitcoin-fa87a2072b91.tar.gz
    d8ba9241a6058116eabe017a2fa9c7aa62430de33aa875022a79dadc3dc8478b  guix-build-fa87a2072b91/output/powerpc64-linux-gnu/SHA256SUMS.part
    bcd1aeac764f5fe9485f6a84d1e417bb066bcc7c3973bcb83802a999964b8de2  guix-build-fa87a2072b91/output/powerpc64-linux-gnu/bitcoin-fa87a2072b91-powerpc64-linux-gnu-debug.tar.gz
    ad345dddbea6285cc31ac4a295ae115cf41b2cc2e2315914aef32206cad10b4e  guix-build-fa87a2072b91/output/powerpc64-linux-gnu/bitcoin-fa87a2072b91-powerpc64-linux-gnu.tar.gz
    5ee29851afae46e124cbf1bc11027e876d789509a73da7e553e89bdbb2ecd4d0  guix-build-fa87a2072b91/output/powerpc64le-linux-gnu/SHA256SUMS.part
    30d944c57922d75e5d530c98daa5d472d8ae9e4d281270d23f5e8389d9ac6353  guix-build-fa87a2072b91/output/powerpc64le-linux-gnu/bitcoin-fa87a2072b91-powerpc64le-linux-gnu-debug.tar.gz
    276f0db360cecad6dc9f58c738f82f3499bd7f360c99711165efcaf2ef26c30a  guix-build-fa87a2072b91/output/powerpc64le-linux-gnu/bitcoin-fa87a2072b91-powerpc64le-linux-gnu.tar.gz
    62c84dbca74e6f3f0a8434437e885eef96c8faf1df7cd966f380323ea87d0bd3  guix-build-fa87a2072b91/output/riscv64-linux-gnu/SHA256SUMS.part
    86cb0971a5151fc922c2b627e8860d550fd453cc909b017b2f293dd388b16717  guix-build-fa87a2072b91/output/riscv64-linux-gnu/bitcoin-fa87a2072b91-riscv64-linux-gnu-debug.tar.gz
    8e227432a0d3542855293592c0a448f3af3bd6215da00d63586f082e4ea26dba  guix-build-fa87a2072b91/output/riscv64-linux-gnu/bitcoin-fa87a2072b91-riscv64-linux-gnu.tar.gz
    b276c06a5b3e04dc39726147fda30919af97ca6c843809aeeeb3e0d760e24917  guix-build-fa87a2072b91/output/x86_64-apple-darwin/SHA256SUMS.part
    e41219c0cd0fedeb8646ba866a779112594e5c608542bb5530cd0e94184bcba9  guix-build-fa87a2072b91/output/x86_64-apple-darwin/bitcoin-fa87a2072b91-x86_64-apple-darwin-unsigned.tar.gz
    af186305d4b09094f19976701071861d7fcaf0b187bb957825ecb7e2bcffb30f  guix-build-fa87a2072b91/output/x86_64-apple-darwin/bitcoin-fa87a2072b91-x86_64-apple-darwin-unsigned.zip
    fabf02c5fc54013acb2dacfff63b252a402e78991e4f8784de5ccbb9ed5e4fc0  guix-build-fa87a2072b91/output/x86_64-apple-darwin/bitcoin-fa87a2072b91-x86_64-apple-darwin.tar.gz
    a722a013353047f4046dc5ddf0856dfd1785a976e625b33d574bd9a84b1358ba  guix-build-fa87a2072b91/output/x86_64-linux-gnu/SHA256SUMS.part
    516f926f87caa2f1b5069d96c46756a7bcbdb81a05b1886c3a32fd7b679179a3  guix-build-fa87a2072b91/output/x86_64-linux-gnu/bitcoin-fa87a2072b91-x86_64-linux-gnu-debug.tar.gz
    f2dd02a2511dcb5747a101c3aeecd58142d3f109c1ac9e89da90ef0703496055  guix-build-fa87a2072b91/output/x86_64-linux-gnu/bitcoin-fa87a2072b91-x86_64-linux-gnu.tar.gz
    150cc09da44026c02a3b52b6fb92d7a5f684653c924d6166003787d609afbea4  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/SHA256SUMS.part
    9b369e281123a99568f52f2e82c995a84bbddf3632514c6141c0ee583ff91926  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/bitcoin-fa87a2072b91-win64-debug.zip
    03fb87437fae6146c561512ea9c15c938bed2aa90445c7823c1813bd36683203  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/bitcoin-fa87a2072b91-win64-setup-unsigned.exe
    fe24419fd384b3c9d5729041e9ea685d9d7c672db92587016a8b44631ed5254c  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/bitcoin-fa87a2072b91-win64-unsigned.tar.gz
    e651b8f174253cb8dc49aefff3f3d5c3d99a63c0b8f38b9874e2e0b5a8e58810  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/bitcoin-fa87a2072b91-win64.zip
    
  14. fanquake merged this on Dec 18, 2023
  15. fanquake closed this on Dec 18, 2023

  16. maflcko deleted the branch on Dec 18, 2023
  17. maflcko commented at 11:11 PM on December 19, 2023: member

    Looks like this fails with:

    <details><summary>macOS cross compile</summary>

    make[4]: Leaving directory '/bitcoin/depends/work/build/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/build'
    Built target install-tapi-headers
    make[3]: Leaving directory '/bitcoin/depends/work/build/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/build'
    /gnu/store/r5r4kqn2qmh1c4x0jq92z8zan5m0xwl4-cmake-minimal-3.24.2/bin/cmake -E cmake_progress_start /bitcoin/depends/work/build/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/build/CMakeFiles 0
    make[2]: Leaving directory '/bitcoin/depends/work/build/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/build'
    make[1]: Leaving directory '/bitcoin/depends/work/build/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/build'
    rm -rf /bitcoin/depends/work/build/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5
    touch /bitcoin/depends/work/staging/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/.stamp_staged
    echo Postprocessing native_libtapi...
    Postprocessing native_libtapi...
    cd /bitcoin/depends/work/staging/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/bitcoin/depends/x86_64-apple-darwin/native; 
    touch /bitcoin/depends/work/staging/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/bitcoin/depends/x86_64-apple-darwin/native/.stamp_postprocessed
    echo Caching native_libtapi...
    Caching native_libtapi...
    cd /bitcoin/depends/work/staging/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5//bitcoin/depends/x86_64-apple-darwin; find . ! -name '.stamp_postprocessed' -print0 | TZ=UTC xargs -0r touch -h -m -t 200001011200; find . ! -name '.stamp_postprocessed' | LC_ALL=C sort | tar --numeric-owner --no-recursion -czf /bitcoin/depends/work/staging/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/native_libtapi-eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5.tar.gz -T -
    mkdir -p /bitcoin/depends/built/x86_64-apple-darwin/native_libtapi
    rm -rf /bitcoin/depends/built/x86_64-apple-darwin/native_libtapi && mkdir -p /bitcoin/depends/built/x86_64-apple-darwin/native_libtapi
    mv /bitcoin/depends/work/staging/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5/native_libtapi-eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5.tar.gz /bitcoin/depends/built/x86_64-apple-darwin/native_libtapi/native_libtapi-eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5.tar.gz
    rm -rf /bitcoin/depends/work/staging/x86_64-apple-darwin/native_libtapi/eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5
    if test -f /bitcoin/depends/native_libtapi-eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5.log; then mv /bitcoin/depends/native_libtapi-eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5.log /bitcoin/depends/built/x86_64-apple-darwin/native_libtapi; fi
    cd /bitcoin/depends/built/x86_64-apple-darwin/native_libtapi; sha256sum native_libtapi-eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5.tar.gz > /bitcoin/depends/built/x86_64-apple-darwin/native_libtapi/native_libtapi-eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5.tar.gz.hash
    echo Extracting native_cctools...
    Extracting native_cctools...
    mkdir -p /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0
    cd /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0; mkdir -p /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0 && echo "e2c1588d505a69c32e079f4e616e0f117d5478429040e394f624f43f2796e6bc  /bitcoin/depends/sources/c74fafe86076713cb8e6f937af43b6df6da1f42d.tar.gz" > /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/.c74fafe86076713cb8e6f937af43b6df6da1f42d.tar.gz.hash &&  sha256sum -c /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/.c74fafe86076713cb8e6f937af43b6df6da1f42d.tar.gz.hash && tar --no-same-owner --strip-components=1 -xf /bitcoin/depends/sources/c74fafe86076713cb8e6f937af43b6df6da1f42d.tar.gz
    /bitcoin/depends/sources/c74fafe86076713cb8e6f937af43b6df6da1f42d.tar.gz: OK
    touch /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/.stamp_extracted
    echo Preprocessing native_cctools...
    Preprocessing native_cctools...
    mkdir -p /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0 /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/.patches-59a70be38f0
    { cd /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0;   mkdir -p /bitcoin/depends/work/staging/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/bitcoin/depends/x86_64-apple-darwin/native/lib && cp /gnu/store/39rjvd59iffv7ban17vxqwkil7g2c3pi-llvm-15.0.7/lib/libLTO.so /bitcoin/depends/work/staging/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/bitcoin/depends/x86_64-apple-darwin/native/lib/; } 
    touch /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/.stamp_preprocessed
    echo Configuring native_cctools...
    Configuring native_cctools...
    rm -rf /bitcoin/depends/x86_64-apple-darwin; mkdir -p /bitcoin/depends/x86_64-apple-darwin/lib; cd /bitcoin/depends/x86_64-apple-darwin;  tar --no-same-owner -xf /bitcoin/depends/built/x86_64-apple-darwin/native_libtapi/native_libtapi-eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9-dd025396ec5.tar.gz; 
    mkdir -p /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools
    { cd /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools; export  PKG_CONFIG_LIBDIR=/bitcoin/depends/x86_64-apple-darwin/native/lib/pkgconfig PKG_CONFIG_PATH=/bitcoin/depends/x86_64-apple-darwin/native/share/pkgconfig PKG_CONFIG_SYSROOT_DIR=/ CMAKE_MODULE_PATH=/bitcoin/depends/x86_64-apple-darwin/native/lib/cmake PATH=/bitcoin/depends/x86_64-apple-darwin/native/bin:/root/.guix-profile/bin:/root/.guix-profile/sbin;   ./configure --build=riscv64-unknown-linux-gnu --host=riscv64-unknown-linux-gnu --prefix=/bitcoin/depends/x86_64-apple-darwin/native --target=x86_64-apple-darwin --enable-lto-support --with-llvm-config=/root/.guix-profile/bin/llvm-config        CC="/root/.guix-profile/bin/clang" CXX="/root/.guix-profile/bin/clang++" NM="nm" RANLIB="ranlib" AR="ar" CPPFLAGS="  -I/bitcoin/depends/x86_64-apple-darwin/native/include" LDFLAGS="  -L/bitcoin/depends/x86_64-apple-darwin/native/lib -Wl,-rpath=\\$\$ORIGIN/../lib"; } 
    checking build system type... riscv64-unknown-linux-gnu
    checking host system type... riscv64-unknown-linux-gnu
    checking target system type... x86_64-apple-darwin
    checking for a BSD-compatible install... /root/.guix-profile/bin/install -c
    checking whether build environment is sane... yes
    checking for a race-free mkdir -p... /root/.guix-profile/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether UID '0' is supported by ustar format... yes
    checking whether GID '0' is supported by ustar format... yes
    checking how to create a ustar tar archive... gnutar
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking how to print strings... printf
    checking for riscv64-unknown-linux-gnu-gcc... /root/.guix-profile/bin/clang
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether the compiler supports GNU C... yes
    checking whether /root/.guix-profile/bin/clang accepts -g... yes
    checking for /root/.guix-profile/bin/clang option to enable C11 features... none needed
    checking whether /root/.guix-profile/bin/clang understands -c and -o together... yes
    checking for a sed that does not truncate output... /root/.guix-profile/bin/sed
    checking for grep that handles long lines and -e... /root/.guix-profile/bin/grep
    checking for egrep... /root/.guix-profile/bin/grep -E
    checking for fgrep... /root/.guix-profile/bin/grep -F
    checking for ld used by /root/.guix-profile/bin/clang... /root/.guix-profile/bin/ld
    checking if the linker (/root/.guix-profile/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... nm
    checking the name lister (nm) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /root/.guix-profile/bin/ld option to reload object files... -r
    checking for riscv64-unknown-linux-gnu-objdump... no
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for riscv64-unknown-linux-gnu-dlltool... no
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for riscv64-unknown-linux-gnu-ar... ar
    checking for archiver [@FILE](/bitcoin-bitcoin/contributor/file/) support... @
    checking for riscv64-unknown-linux-gnu-strip... no
    checking for strip... strip
    checking for riscv64-unknown-linux-gnu-ranlib... ranlib
    checking command to parse nm output from /root/.guix-profile/bin/clang object... ok
    checking for sysroot... no
    checking for a working dd... /root/.guix-profile/bin/dd
    checking how to truncate binary pipes... /root/.guix-profile/bin/dd bs=4096 count=1
    checking for riscv64-unknown-linux-gnu-mt... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for stdio.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for strings.h... yes
    checking for sys/stat.h... yes
    checking for sys/types.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if /root/.guix-profile/bin/clang supports -fno-rtti -fno-exceptions... yes
    checking for /root/.guix-profile/bin/clang option to produce PIC... -fPIC -DPIC
    checking if /root/.guix-profile/bin/clang PIC flag -fPIC -DPIC works... yes
    checking if /root/.guix-profile/bin/clang static flag -static works... yes
    checking if /root/.guix-profile/bin/clang supports -c -o file.o... yes
    checking if /root/.guix-profile/bin/clang supports -c -o file.o... (cached) yes
    checking whether the /root/.guix-profile/bin/clang linker (/root/.guix-profile/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for riscv64-unknown-linux-gnu-clang... (cached) /root/.guix-profile/bin/clang
    checking whether the compiler supports GNU C... (cached) yes
    checking whether /root/.guix-profile/bin/clang accepts -g... (cached) yes
    checking for /root/.guix-profile/bin/clang option to enable C11 features... (cached) none needed
    checking whether /root/.guix-profile/bin/clang understands -c and -o together... (cached) yes
    checking whether the compiler supports GNU C++... yes
    checking whether /root/.guix-profile/bin/clang++ accepts -g... yes
    checking for /root/.guix-profile/bin/clang++ option to enable C++11 features... none needed
    checking how to run the C++ preprocessor... /root/.guix-profile/bin/clang++ -E
    checking for ld used by /root/.guix-profile/bin/clang++... /root/.guix-profile/bin/ld
    checking if the linker (/root/.guix-profile/bin/ld) is GNU ld... yes
    checking whether the /root/.guix-profile/bin/clang++ linker (/root/.guix-profile/bin/ld) supports shared libraries... yes
    /root/.guix-profile/bin/grep: warning: stray \ before -
    checking for /root/.guix-profile/bin/clang++ option to produce PIC... -fPIC -DPIC
    checking if /root/.guix-profile/bin/clang++ PIC flag -fPIC -DPIC works... yes
    checking if /root/.guix-profile/bin/clang++ static flag -static works... yes
    checking if /root/.guix-profile/bin/clang++ supports -c -o file.o... yes
    checking if /root/.guix-profile/bin/clang++ supports -c -o file.o... (cached) yes
    checking whether the /root/.guix-profile/bin/clang++ linker (/root/.guix-profile/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for riscv64-unknown-linux-gnu-ranlib... no
    checking for ranlib... ranlib
    checking for riscv64-unknown-linux-gnu-ar... no
    checking for ar... ar
    checking for dlopen in -ldl... yes
    checking for pthread_create in -lpthread... yes
    checking for execinfo.h... yes
    checking for backtrace in -lexecinfo... no
    checking for uuid_generate_random in -luuid... no
    checking for strmode... no
    checking for utimens... no
    checking for utimensat... yes
    checking for bcopy... yes
    checking for bcmp... yes
    checking for bzero... yes
    checking for index... yes
    checking for rindex... yes
    checking for st_mtimespec.tv_nsec in struct stat... no
    checking for st_mtim.tv_nsec in struct stat... yes
    checking for log2 in -lm... yes
    checking for bsd/stdlib.h... no
    checking for reallocf in -lc... no
    checking for reallocf in -lbsd... no
    checking for clock_gettime... yes
    checking for write64... no
    checking for __cxa_demangle in -lc++abi... no
    checking for __cxa_demangle in -lc++... no
    checking for __cxa_demangle in -lsupc++... yes
    checking for __gcc_personality_v0 in -lgcc... yes
    checking whether /root/.guix-profile/bin/clang supports -Wno-shift-negative-value... yes
    checking whether /root/.guix-profile/bin/clang supports -Wno-misleading-indentation... yes
    checking whether /root/.guix-profile/bin/clang supports -Wno-gnu-folding-constant... yes
    checking whether /root/.guix-profile/bin/clang supports -Wno-unused-but-set-variable... yes
    checking whether /root/.guix-profile/bin/clang supports -Wno-deprecated-non-prototype... yes
    checking whether ld supports -rpath,<path>,--enable-new-dtags... yes
    checking for lto_get_version in -lLTO... yes
    checking for dispatch_once in -ldispatch... no
    checking for dispatch_sync in -lc... no
    checking for fts_open in -lfts... no
    checking for xar_prop_create in -lxar... no
    checking tapi/tapi.h and libtapi support... yes
    checking whether byte ordering is bigendian... no
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating libstuff/Makefile
    config.status: creating libmacho/Makefile
    config.status: creating ar/Makefile
    config.status: creating as/Makefile
    config.status: creating as/arm/Makefile
    config.status: creating as/i386/Makefile
    config.status: creating as/x86_64/Makefile
    config.status: creating as/ppc/Makefile
    config.status: creating as/ppc64/Makefile
    config.status: creating man/Makefile
    config.status: creating misc/Makefile
    config.status: creating otool/Makefile
    config.status: creating efitools/Makefile
    config.status: creating ld64/Makefile
    config.status: creating ld64/doc/man/Makefile
    config.status: creating ld64/src/Makefile
    config.status: creating ld64/src/3rd/Makefile
    config.status: creating ld64/src/3rd/BlocksRuntime/Makefile
    config.status: creating ld64/src/ld/Makefile
    config.status: creating ld64/src/ld/parsers/Makefile
    config.status: creating ld64/src/ld/passes/Makefile
    config.status: creating ld64/src/other/Makefile
    config.status: executing libtool commands
    touch /bitcoin/depends/x86_64-apple-darwin/.native_cctools_stamp_configured
    echo Building native_cctools...
    Building native_cctools...
    mkdir -p /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools
    { cd /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools; export PATH=/bitcoin/depends/x86_64-apple-darwin/native/bin:/root/.guix-profile/bin:/root/.guix-profile/sbin;   make; } 
    make[1]: Entering directory '/bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools'
    Making all in libstuff
    make[2]: Entering directory '/bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools/libstuff'
    /bin/sh ../libtool  --tag=CC   --mode=compile /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX="\"x86_64-apple-darwin-\"" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks -c -o libstuff_la-allocate.lo `test -f 'allocate.c' || echo './'`allocate.c
    /bin/sh ../libtool  --tag=CC   --mode=compile /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX="\"x86_64-apple-darwin-\"" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks -c -o libstuff_la-apple_version.lo `test -f 'apple_version.c' || echo './'`apple_version.c
    /bin/sh ../libtool  --tag=CC   --mode=compile /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX="\"x86_64-apple-darwin-\"" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks -c -o libstuff_la-arch.lo `test -f 'arch.c' || echo './'`arch.c
    /bin/sh ../libtool  --tag=CC   --mode=compile /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX="\"x86_64-apple-darwin-\"" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks -c -o libstuff_la-arch_usage.lo `test -f 'arch_usage.c' || echo './'`arch_usage.c
    libtool: compile:  /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX=\"x86_64-apple-darwin-\" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -c apple_version.c  -fPIC -DPIC -o .libs/libstuff_la-apple_version.o
    libtool: compile:  /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX=\"x86_64-apple-darwin-\" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -c arch_usage.c  -fPIC -DPIC -o .libs/libstuff_la-arch_usage.o
    libtool: compile:  /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX=\"x86_64-apple-darwin-\" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -c arch.c  -fPIC -DPIC -o .libs/libstuff_la-arch.o
    libtool: compile:  /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX=\"x86_64-apple-darwin-\" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -c allocate.c  -fPIC -DPIC -o .libs/libstuff_la-allocate.o
    In file included from arch_usage.c:24:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:67:
    In file included from ../include/foreign/mach/boolean.h:73:
    ../include/foreign/mach/machine/boolean.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from arch_usage.c:24:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:68:
    In file included from ../include/foreign/mach/kern_return.h:70:
    ../include/foreign/mach/machine/kern_return.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from arch_usage.c:24:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    In file included from ../include/foreign/mach/port.h:92:
    ../include/foreign/mach/machine/vm_types.h:39:/bin/sh ../libtool  --tag=CC   --mode=compile /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" -DPACKAGE_STRING=\"cctools\ 986\" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I.   -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX="\"x86_64-apple-darwin-\"" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include  -DLD64_VERSION_NUM=711 -fblocks -c -o libstuff_la-best_arch.lo `test -f 'best_arch.c' || echo './'`best_arch.c
    2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from arch_usage.c:24:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:106:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_name_t;
            ^
    ../include/foreign/mach/port.h:190:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_right_t;
            ^
    ../include/foreign/mach/port.h:200:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_type_t;
            ^
    ../include/foreign/mach/port.h:233:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_urefs_t;
            ^
    ../include/foreign/mach/port.h:234:9: error: unknown type name 'integer_t'; did you mean 'intptr_t'?
    typedef integer_t mach_port_delta_t;                    /* change in urefs */
            ^~~~~~~~~
            intptr_t
    /gnu/store/wzppyny7ab1q9ssfydfwq1f8ddjjq8ka-gcc-toolchain-10.5.0/include/stdint.h:87:19: note: 'intptr_t' declared here
    typedef long int                intptr_t;
                                    ^
    In file included from arch_usage.c:24:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:238:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_seqno_t;            /* sequence number */
            ^
    ../include/foreign/mach/port.h:239:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_mscount_t;          /* make-send count */
            ^
    ../include/foreign/mach/port.h:240:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_msgcount_t;         /* number of msgs */
            ^
    ../include/foreign/mach/port.h:241:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_rights_t;           /* number of rights */
            ^
    ../include/foreign/mach/port.h:257:2: error: unknown type name 'boolean_t'
            boolean_t               mps_srights;    /* do send rights exist? */
            ^
    ../include/foreign/mach/port.h:258:2: error: unknown type name 'boolean_t'
            boolean_t               mps_pdrequest;  /* port-deleted requested? */
            ^
    ../include/foreign/mach/port.h:259:2: error: unknown type name 'boolean_t'
            boolean_t               mps_nsrequest;  /* no-senders requested? */
            ^
    ../include/foreign/mach/port.h:260:2: error: unknown type name 'natural_t'
            natural_t               mps_flags;              /* port flags */
            ^
    ../include/foreign/mach/port.h:277:9: error: unknown type name 'integer_t'; did you mean 'intptr_t'?
    typedef integer_t *mach_port_info_t;            /* varying array of natural_t */
            ^~~~~~~~~
            intptr_t
    /gnu/store/wzppyny7ab1q9ssfydfwq1f8ddjjq8ka-gcc-toolchain-10.5.0/include/stdint.h:87:19: note: 'intptr_t' declared here
    typedef long int                intptr_t;
                                    ^
    In file included from arch_usage.c:24:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:298:2: error: unknown type name 'boolean_t'
            boolean_t               pad1:30;
            ^
    ../include/foreign/mach/port.h:299:2: error: unknown type name 'natural_t'
            natural_t               len;
            ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    In file included from arch.c:28:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:67:
    In file included from ../include/foreign/mach/boolean.h:73:
    ../include/foreign/mach/machine/boolean.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from arch.c:28:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:68:
    In file included from ../include/foreign/mach/kern_return.h:70:
    ../include/foreign/mach/machine/kern_return.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from arch.c:28:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    In file included from ../include/foreign/mach/port.h:92:
    ../include/foreign/mach/machine/vm_types.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from arch.c:28:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:106:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_name_t;
            ^
    ../include/foreign/mach/port.h:190:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_right_t;
            ^
    ../include/foreign/mach/port.h:200:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_type_t;
            ^
    ../include/foreign/mach/port.h:233:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_urefs_t;
            ^
    ../include/foreign/mach/port.h:234:9: error: unknown type name 'integer_t'; did you mean 'intptr_t'?
    typedef integer_t mach_port_delta_t;                    /* change in urefs */
            ^~~~~~~~~
            intptr_t
    /gnu/store/wzppyny7ab1q9ssfydfwq1f8ddjjq8ka-gcc-toolchain-10.5.0/include/stdint.h:87:19: note: 'intptr_t' declared here
    typedef long int                intptr_t;
                                    ^
    In file included from arch.c:28:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:238:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_seqno_t;            /* sequence number */
            ^
    ../include/foreign/mach/port.h:239:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_mscount_t;          /* make-send count */
            ^
    ../include/foreign/mach/port.h:240:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_msgcount_t;         /* number of msgs */
            ^
    ../include/foreign/mach/port.h:241:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_rights_t;           /* number of rights */
            ^
    ../include/foreign/mach/port.h:257:2: error: unknown type name 'boolean_t'
            boolean_t               mps_srights;    /* do send rights exist? */
            ^
    ../include/foreign/mach/port.h:258:2: error: unknown type name 'boolean_t'
            boolean_t               mps_pdrequest;  /* port-deleted requested? */
            ^
    ../include/foreign/mach/port.h:259:2: error: unknown type name 'boolean_t'
            boolean_t               mps_nsrequest;  /* no-senders requested? */
            ^
    ../include/foreign/mach/port.h:260:2: error: unknown type name 'natural_t'
            natural_t               mps_flags;              /* port flags */
            ^
    In file included from allocate.c:26:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:67:
    In file included from ../include/foreign/mach/boolean.h:73:
    ../include/foreign/mach/machine/boolean.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    ../include/foreign/mach/port.h:277:9: error: unknown type name 'integer_t'; did you mean 'intptr_t'?
    typedef integer_t *mach_port_info_t;            /* varying array of natural_t */
            ^~~~~~~~~
            intptr_t
    /gnu/store/wzppyny7ab1q9ssfydfwq1f8ddjjq8ka-gcc-toolchain-10.5.0/include/stdint.h:87:19: note: 'intptr_t' declared here
    typedef long int                intptr_t;
                                    ^
    In file included from allocate.c:26:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:68:
    In file included from ../include/foreign/mach/kern_return.h:70:
    ../include/foreign/mach/machine/kern_return.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from allocate.c:26:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    In file included from ../include/foreign/mach/port.h:92:
    ../include/foreign/mach/machine/vm_types.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from arch.c:28:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:298:2: error: unknown type name 'boolean_t'
            boolean_t               pad1:30;
            ^
    ../include/foreign/mach/port.h:299:2: error: unknown type name 'natural_t'
            natural_t               len;
            ^
    In file included from allocate.c:26:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:106:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_name_t;
            ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    ../include/foreign/mach/port.h:190:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_right_t;
            ^
    ../include/foreign/mach/port.h:200:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_type_t;
            ^
    ../include/foreign/mach/port.h:233:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_urefs_t;
            ^
    ../include/foreign/mach/port.h:234:9: error: unknown type name 'integer_t'; did you mean 'intptr_t'?
    typedef integer_t mach_port_delta_t;                    /* change in urefs */
            ^~~~~~~~~
            intptr_t
    /gnu/store/wzppyny7ab1q9ssfydfwq1f8ddjjq8ka-gcc-toolchain-10.5.0/include/stdint.h:87:19: note: 'intptr_t' declared here
    typedef long int                intptr_t;
                                    ^
    In file included from allocate.c:26:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:238:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_seqno_t;            /* sequence number */
            ^
    ../include/foreign/mach/port.h:239:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_mscount_t;          /* make-send count */
            ^
    ../include/foreign/mach/port.h:240:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_msgcount_t;         /* number of msgs */
            ^
    ../include/foreign/mach/port.h:241:9: error: unknown type name 'natural_t'
    typedef natural_t mach_port_rights_t;           /* number of rights */
            ^
    ../include/foreign/mach/port.h:257:2: error: unknown type name 'boolean_t'
            boolean_t               mps_srights;    /* do send rights exist? */
            ^
    ../include/foreign/mach/port.h:258:2: error: unknown type name 'boolean_t'
            boolean_t               mps_pdrequest;  /* port-deleted requested? */
            ^
    ../include/foreign/mach/port.h:259:2: error: unknown type name 'boolean_t'
            boolean_t               mps_nsrequest;  /* no-senders requested? */
            ^
    ../include/foreign/mach/port.h:260:2: error: unknown type name 'natural_t'
            natural_t               mps_flags;              /* port flags */
            ^
    ../include/foreign/mach/port.h:277:9: error: unknown type name 'integer_t'; did you mean 'intptr_t'?
    typedef integer_t *mach_port_info_t;            /* varying array of natural_t */
            ^~~~~~~~~
            intptr_t
    /gnu/store/wzppyny7ab1q9ssfydfwq1f8ddjjq8ka-gcc-toolchain-10.5.0/include/stdint.h:87:19: note: 'intptr_t' declared here
    typedef long int                intptr_t;
                                    ^
    In file included from allocate.c:26:
    In file included from ../include/foreign/mach/mach.h:65:
    In file included from ../include/foreign/mach/std_types.h:69:
    ../include/foreign/mach/port.h:298:2: error: unknown type name 'boolean_t'
            boolean_t               pad1:30;
            ^
    ../include/foreign/mach/port.h:299:2: error: unknown type name 'natural_t'
            natural_t               len;
            ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    make[2]: *** [Makefile:461: libstuff_la-allocate.lo] Error 1
    make[2]: *** Waiting for unfinished jobs....
    20 errors generated.
    20 errors generated.
    make[2]: *** [Makefile:470: libstuff_la-arch_usage.lo] Error 1
    make[2]: *** [Makefile:467: libstuff_la-arch.lo] Error 1
    libtool: compile:  /root/.guix-profile/bin/clang -DPACKAGE_NAME=\"cctools\" -DPACKAGE_TARNAME=\"cctools\" -DPACKAGE_VERSION=\"986\" "-DPACKAGE_STRING=\"cctools 986\"" -DPACKAGE_BUGREPORT=\"t.poechtrager@gmail.com\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DEMULATED_HOST_CPU_TYPE=16777223 -DEMULATED_HOST_CPU_SUBTYPE=3 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -DHAVE_EXECINFO_H=1 -DHAVE_UTIMENSAT=1 -DHAVE_BCOPY=1 -DHAVE_BCMP=1 -DHAVE_BZERO=1 -DHAVE_INDEX=1 -DHAVE_RINDEX=1 -DHAVE_STAT_ST_MTIM=1 -DHAVE_CLOCK_GETTIME=1 -I. -I/bitcoin/depends/x86_64-apple-darwin/native/include -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DLTO_SUPPORT -DPROGRAM_PREFIX=\"x86_64-apple-darwin-\" -D__LITTLE_ENDIAN__=1 -O3 -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=711 -fblocks -c best_arch.c  -fPIC -DPIC -o .libs/libstuff_la-best_arch.o
    In file included from best_arch.c:27:
    In file included from ../include/mach-o/fat.h:45:
    In file included from ../include/mach/machine.h:83:
    ../include/foreign/mach/machine/vm_types.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from best_arch.c:27:
    In file included from ../include/mach-o/fat.h:45:
    In file included from ../include/mach/machine.h:84:
    In file included from ../include/foreign/mach/boolean.h:73:
    ../include/foreign/mach/machine/boolean.h:39:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from best_arch.c:27:
    In file included from ../include/mach-o/fat.h:45:
    ../include/mach/machine.h:100:2: error: unknown type name 'vm_size_t'
            vm_size_t       memory_size;    /* size of memory in bytes */
            ^
    ../include/mach/machine.h:108:9: error: unknown type name 'integer_t'; did you mean 'intptr_t'?
    typedef integer_t       cpu_threadtype_t;
            ^~~~~~~~~
            intptr_t
    /gnu/store/wzppyny7ab1q9ssfydfwq1f8ddjjq8ka-gcc-toolchain-10.5.0/include/stdint.h:87:19: note: 'intptr_t' declared here
    typedef long int                intptr_t;
                                    ^
    In file included from best_arch.c:27:
    In file included from ../include/mach-o/fat.h:45:
    ../include/mach/machine.h:117:2: error: unknown type name 'boolean_t'
            boolean_t       is_cpu;         /* is there a cpu in this slot? */
            ^
    ../include/mach/machine.h:120:11: error: unknown type name 'boolean_t'
            volatile boolean_t running;     /* is cpu running */
                     ^
    In file included from best_arch.c:27:
    In file included from ../include/mach-o/fat.h:46:
    In file included from ../include/foreign/architecture/byte_order.h:38:
    In file included from ../include/foreign/libkern/OSByteOrder.h:33:
    In file included from ../include/foreign/libkern/_OSByteOrder.h:40:
    In file included from ../include/foreign/sys/_types.h:36:
    ../include/foreign/machine/_types.h:41:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from best_arch.c:27:
    In file included from ../include/mach-o/fat.h:46:
    In file included from ../include/foreign/architecture/byte_order.h:38:
    In file included from ../include/foreign/libkern/OSByteOrder.h:33:
    In file included from ../include/foreign/libkern/_OSByteOrder.h:40:
    ../include/foreign/sys/_types.h:110:9: error: unknown type name '__darwin_natural_t'
    typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
            ^
    8 errors generated.
    make[2]: *** [Makefile:473: libstuff_la-best_arch.lo] Error 1
    make[2]: Leaving directory '/bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools/libstuff'
    make[1]: *** [Makefile:415: all-recursive] Error 1
    make[1]: Leaving directory '/bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools'
    make: *** [funcs.mk:291: /bitcoin/depends/work/build/x86_64-apple-darwin/native_cctools/c74fafe86076713cb8e6f937af43b6df6da1f42d-59a70be38f0/cctools/.stamp_built] Error 2
    make: Leaving directory '/bitcoin/depends'
    
    

    </details>

  18. maflcko commented at 11:16 PM on December 19, 2023: member

    Other than that:

    # uname --machine && find guix-build-$(git rev-parse --short=12 HEAD)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
    riscv64
    d137d8dc94b3d734965b7e50fac273f704e122f969430e1b43bfe21c9af31bbe  guix-build-fa87a2072b91/output/aarch64-linux-gnu/SHA256SUMS.part
    42d66d0daf6067a74c3ba4e55c012712ae5cca02c9123ed3ef7fd9a8f09c16d4  guix-build-fa87a2072b91/output/aarch64-linux-gnu/bitcoin-fa87a2072b91-aarch64-linux-gnu-debug.tar.gz
    3ccda6af99c1dd4b54533d073dca82d5f252759cede55a335220065dfe24ee7c  guix-build-fa87a2072b91/output/aarch64-linux-gnu/bitcoin-fa87a2072b91-aarch64-linux-gnu.tar.gz
    ea3a9d6ef4ee4a83ad2aa95b667a38473c971e74c8ec599a353a16678642c211  guix-build-fa87a2072b91/output/arm-linux-gnueabihf/SHA256SUMS.part
    a4d41469855a143a16b591b78ce04842ed597fdb50f26b5c4ee97aca137275ee  guix-build-fa87a2072b91/output/arm-linux-gnueabihf/bitcoin-fa87a2072b91-arm-linux-gnueabihf-debug.tar.gz
    97f91c7c3776d218e0e4b9c3b0d7fcb9e47aef9414c12874f390ecd42538baf7  guix-build-fa87a2072b91/output/arm-linux-gnueabihf/bitcoin-fa87a2072b91-arm-linux-gnueabihf.tar.gz
    b5325393a05c4452c6695103a33bcfa221df48c65df0cccbf8d5eadba58b181f  guix-build-fa87a2072b91/output/dist-archive/bitcoin-fa87a2072b91.tar.gz
    d8ba9241a6058116eabe017a2fa9c7aa62430de33aa875022a79dadc3dc8478b  guix-build-fa87a2072b91/output/powerpc64-linux-gnu/SHA256SUMS.part
    bcd1aeac764f5fe9485f6a84d1e417bb066bcc7c3973bcb83802a999964b8de2  guix-build-fa87a2072b91/output/powerpc64-linux-gnu/bitcoin-fa87a2072b91-powerpc64-linux-gnu-debug.tar.gz
    ad345dddbea6285cc31ac4a295ae115cf41b2cc2e2315914aef32206cad10b4e  guix-build-fa87a2072b91/output/powerpc64-linux-gnu/bitcoin-fa87a2072b91-powerpc64-linux-gnu.tar.gz
    5ee29851afae46e124cbf1bc11027e876d789509a73da7e553e89bdbb2ecd4d0  guix-build-fa87a2072b91/output/powerpc64le-linux-gnu/SHA256SUMS.part
    30d944c57922d75e5d530c98daa5d472d8ae9e4d281270d23f5e8389d9ac6353  guix-build-fa87a2072b91/output/powerpc64le-linux-gnu/bitcoin-fa87a2072b91-powerpc64le-linux-gnu-debug.tar.gz
    276f0db360cecad6dc9f58c738f82f3499bd7f360c99711165efcaf2ef26c30a  guix-build-fa87a2072b91/output/powerpc64le-linux-gnu/bitcoin-fa87a2072b91-powerpc64le-linux-gnu.tar.gz
    62c84dbca74e6f3f0a8434437e885eef96c8faf1df7cd966f380323ea87d0bd3  guix-build-fa87a2072b91/output/riscv64-linux-gnu/SHA256SUMS.part
    86cb0971a5151fc922c2b627e8860d550fd453cc909b017b2f293dd388b16717  guix-build-fa87a2072b91/output/riscv64-linux-gnu/bitcoin-fa87a2072b91-riscv64-linux-gnu-debug.tar.gz
    8e227432a0d3542855293592c0a448f3af3bd6215da00d63586f082e4ea26dba  guix-build-fa87a2072b91/output/riscv64-linux-gnu/bitcoin-fa87a2072b91-riscv64-linux-gnu.tar.gz
    a722a013353047f4046dc5ddf0856dfd1785a976e625b33d574bd9a84b1358ba  guix-build-fa87a2072b91/output/x86_64-linux-gnu/SHA256SUMS.part
    516f926f87caa2f1b5069d96c46756a7bcbdb81a05b1886c3a32fd7b679179a3  guix-build-fa87a2072b91/output/x86_64-linux-gnu/bitcoin-fa87a2072b91-x86_64-linux-gnu-debug.tar.gz
    f2dd02a2511dcb5747a101c3aeecd58142d3f109c1ac9e89da90ef0703496055  guix-build-fa87a2072b91/output/x86_64-linux-gnu/bitcoin-fa87a2072b91-x86_64-linux-gnu.tar.gz
    150cc09da44026c02a3b52b6fb92d7a5f684653c924d6166003787d609afbea4  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/SHA256SUMS.part
    9b369e281123a99568f52f2e82c995a84bbddf3632514c6141c0ee583ff91926  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/bitcoin-fa87a2072b91-win64-debug.zip
    03fb87437fae6146c561512ea9c15c938bed2aa90445c7823c1813bd36683203  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/bitcoin-fa87a2072b91-win64-setup-unsigned.exe
    fe24419fd384b3c9d5729041e9ea685d9d7c672db92587016a8b44631ed5254c  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/bitcoin-fa87a2072b91-win64-unsigned.tar.gz
    e651b8f174253cb8dc49aefff3f3d5c3d99a63c0b8f38b9874e2e0b5a8e58810  guix-build-fa87a2072b91/output/x86_64-w64-mingw32/bitcoin-fa87a2072b91-win64.zip
    
  19. fanquake commented at 10:12 AM on December 20, 2023: member

    Looks like this fails with:

    Given that the problem here is compiling cctools on RISC-V, I think this will ultimately be solved by switching to LLVM/LLD (#21778).

  20. TheCharlatan commented at 12:18 PM on January 1, 2024: contributor

    Post-merge ACK, reproduced @fanquake's hashes and ran into the same macOS build issue.

  21. kwvg referenced this in commit 740bf2cbea on Nov 4, 2024
  22. kwvg referenced this in commit 5c180a0acf on Nov 5, 2024
  23. kwvg referenced this in commit a701b06435 on Nov 10, 2024
  24. PastaPastaPasta referenced this in commit be97bfeedc on Nov 12, 2024
  25. knst referenced this in commit 09af7b78c9 on Dec 26, 2024
  26. bitcoin locked this on Dec 31, 2024

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-22 18:13 UTC

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