Failure running CI locally: “#0 15.01 Error: Unable to find a match: glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686” #27910

issue pinheadmz openend this issue on June 17, 2023
  1. pinheadmz commented at 4:07 pm on June 17, 2023: member

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    I’m following the guide in ci/README.md but I can’t get any of the environments to run successfully.

    Expected behaviour

    Run CI locally

    Steps to reproduce

    macOS:

    0--> docker -v
    1Docker version 24.0.2, build cb74dfc
    2--> uname -a
    3Darwin   21.6.0 Darwin Kernel Version 21.6.0: Thu Mar  9 20:10:19 PST 2023; root:xnu-8020.240.18.700.8~1/RELEASE_ARM64_T8101 arm64
    

    command: FILE_ENV="./ci/test/00_setup_env_i686_centos.sh" ./ci/test_run_all.sh

    Relevant log output

    Full log: https://gist.github.com/pinheadmz/912bbb8dc55bc9e95ca8dda660f3800b

    end of log:

    0[#0](/bitcoin-bitcoin/0/) 7.735 + bash -c 'dnf -y --allowerasing install gcc-c++ glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686 ccache libtool make git python3 python3-pip which patch lbzip2 xz procps-ng dash rsync coreutils bison util-linux '
    1[#0](/bitcoin-bitcoin/0/) 25.06 Extra Packages for Enterprise Linux 9 - aarch64 1.0 MB/s |  18 MB     00:17    
    2[#0](/bitcoin-bitcoin/0/) 30.34 Extra Packages for Enterprise Linux 9 - Next -  448 kB/s | 606 kB     00:01    
    3[#0](/bitcoin-bitcoin/0/) 30.75 Last metadata expiration check: 0:00:01 ago on Sat Jun 17 16:06:48 2023.
    4[#0](/bitcoin-bitcoin/0/) 31.46 No match for argument: glibc-devel.x86_64
    5[#0](/bitcoin-bitcoin/0/) 31.47 No match for argument: libstdc++-devel.x86_64
    6[#0](/bitcoin-bitcoin/0/) 31.47 No match for argument: glibc-devel.i686
    7[#0](/bitcoin-bitcoin/0/) 31.48 No match for argument: libstdc++-devel.i686
    8[#0](/bitcoin-bitcoin/0/) 31.48 Package python3-3.9.16-2.el9.aarch64 is already installed.
    9[#0](/bitcoin-bitcoin/0/) 31.53 Error: Unable to find a match: glibc-devel.x86_64 libstdc++-devel.x86_64 glibc-devel.i686 libstdc++-devel.i686
    

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    master f0758d8a6696657269d9c057e7aa079ffa9e1c16

    Operating system and version

    macOS 12.6.5

    Machine specifications

    No response

  2. pinheadmz commented at 4:23 pm on June 17, 2023: member

    macos env failure:

    --> FILE_ENV="./ci/test/00_setup_env_mac.sh" ./ci/test_run_all.sh

    full log: https://gist.github.com/pinheadmz/cb57f51857812b9e78360648f5431c28

    error:

    02 warnings and 1 error generated.
    1make[1]: *** [Makefile:1814: mut_pthread.o] Error 1
    2make[1]: *** Waiting for unfinished jobs....
    3make[1]: *** [Makefile:1514: bt_compare.o] Error 1
    4In file included from ../dist/./../btree/bt_compress.c:9:
    5In file included from ./db_int.h:884:
    6In file included from ../dist/./../dbinc/mutex.h:15:
    7../dist/./../dbinc/mutex_int.h:932:2: error: unknown type name 'pthread_rwlock_t'
    
  3. pinheadmz commented at 5:33 pm on June 17, 2023: member
    This one succeeded: --> FILE_ENV="./ci/test/00_setup_env_native_asan.sh" ./ci/test_run_all.sh
  4. maflcko commented at 11:36 am on June 18, 2023: member
    I don’t think you can cross-compile from aarch64 to i686, at least on CentOS. For now, I’d recommend to use a x86 machine.
  5. maflcko added the label Tests on Jun 18, 2023
  6. maflcko added the label Questions and Help on Jun 18, 2023
  7. fanquake commented at 10:41 am on June 19, 2023: member

    macos env failure: ../dist/./../dbinc/mutex_int.h:932:2: error: unknown type name ‘pthread_rwlock_t’

    Does the change from #26073 fix this for you?

  8. maflcko commented at 10:50 am on June 19, 2023: member

    Does the change from #26073 fix this for you?

    The changes are already merged and should already be included, no?

  9. fanquake commented at 10:51 am on June 19, 2023: member

    are already merged and should already be included, no?

    They are only applied when building for *BSD

  10. fanquake commented at 11:05 am on June 19, 2023: member

    I don’t think you can cross-compile from aarch64 to i686, at least on CentOS. For now, I’d recommend to use a x86 machine.

    Yea. CentOS doesn’t ship libstdc++-devel.x86_64/i686 or glibc-devel.i686/x86_64 packages for aarch64, so there’s nothing we can (easily) do here.

  11. pinheadmz commented at 8:11 pm on June 19, 2023: member

    I’d recommend to use a x86 machine.

    Ok thanks, I’m having better luck on Ubuntu on x86 I’ll open a new issue if I run into problems there.

  12. pinheadmz closed this on Jun 19, 2023

  13. bitcoin locked this on Jun 18, 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: 2024-07-01 10:13 UTC

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