build: Point Guix to the current top of the "version-1.4.0" branch #24042

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:220111-guix changing 1 files +1 −1
  1. hebasto commented at 5:26 PM on January 11, 2022: member

    On master (c561f2f06ed25f08f7776ac41aeb2999ebe79550) the commit in Guix repo from bitcoin/bitcoin#23778 seems unavailable:

    $ git checkout fa17abf1af09570708daa28dd40ffbc932ebe25c
    fatal: reference is not a tree: fa17abf1af09570708daa28dd40ffbc932ebe25c
    

    This PR points Guix to the current top of the "version-1.4.0" branch.

    Fixes #24040.

  2. build: Point Guix to the current top of the "version-1.4.0" branch a229451590
  3. DrahtBot added the label Build system on Jan 11, 2022
  4. DrahtBot added the label Scripts and tools on Jan 11, 2022
  5. achow101 commented at 11:27 PM on January 11, 2022: member

    It seems like that branch might get rebased occasionally until a tag is published. So perhaps we should wait for a tag first? At least that's what I gather from reading https://lists.gnu.org/archive/html/guix-devel/2022-01/msg00170.html

  6. MarcoFalke commented at 11:03 AM on January 12, 2022: member

    I don't think we should wait. It is currently impossible to build at all, so a fix is needed.

  7. MarcoFalke commented at 11:22 AM on January 12, 2022: member

    I assumed an alternative would be to use a commit in the master branch, but it looks like there a quite a few commits missing(? )from master:

    git log --oneline $(git merge-base origin/master origin/version-1.4.0)..origin/version-1.4.0  | wc -l
    154
    
  8. MarcoFalke approved
  9. MarcoFalke commented at 11:23 AM on January 12, 2022: member

    Approach ACK a229451590b2e5ef3c8a22c17f9656d1fb86ae7f

  10. fanquake approved
  11. fanquake commented at 11:46 AM on January 12, 2022: member

    ACK a229451590b2e5ef3c8a22c17f9656d1fb86ae7f - from what I've seen on the mailing list there shouldn't be any more force pushing.

  12. fanquake merged this on Jan 12, 2022
  13. fanquake closed this on Jan 12, 2022

  14. hebasto deleted the branch on Jan 12, 2022
  15. sidhujag referenced this in commit 4cc964f779 on Jan 12, 2022
  16. hebasto commented at 8:05 AM on January 13, 2022: member

    After two attempts I failed to build. The culprit is ruby-stackprof-0.2.17 package:

    $ cat zjrh53cdmrd62d2wn5wpjjvr03b5g8-ruby-stackprof-0.2.17.drv 
    starting phase `set-SOURCE-DATE-EPOCH'
    phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
    starting phase `set-paths'
    environment variable `PATH' set to `/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/bin:/gnu/store/7kkhq11p202m21fdi03bsgaw2nv60cvw-ruby-rake-compiler-1.1.1/bin:/gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34/bin:/gnu/store/iixwcv3k49ks1rf34pjgfzmzyhhgwng3-gzip-1.10/bin:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/bin:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/bin:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin:/gnu/store/ahmmvw21p11ik80lg1f953y7fd8bqkjm-diffutils-3.8/bin:/gnu/store/z39hnrwds1dgcbpfgj8dnv2cngjb2xbl-patch-2.7.6/bin:/gnu/store/39rsx3nl4c31952jybbjb8d6idr5hx7r-findutils-4.8.0/bin:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/bin:/gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8/bin:/gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin:/gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin:/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin:/gnu/store/s2pg5k98fl2g2szg9dykxyd9zl3xihv9-ld-wrapper-0/bin:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/bin:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/sbin'
    environment variable `GEM_PATH' set to `/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/lib/ruby/vendor_ruby:/gnu/store/himqap0pi1rh8lxjigva3v6vjxxw2spb-ruby-mocha-1.13.0/lib/ruby/vendor_ruby:/gnu/store/7kkhq11p202m21fdi03bsgaw2nv60cvw-ruby-rake-compiler-1.1.1/lib/ruby/vendor_ruby'
    environment variable `BASH_LOADABLES_PATH' unset
    environment variable `C_INCLUDE_PATH' set to `/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include'
    environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include/c++:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include'
    environment variable `LIBRARY_PATH' set to `/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/lib:/gnu/store/himqap0pi1rh8lxjigva3v6vjxxw2spb-ruby-mocha-1.13.0/lib:/gnu/store/7kkhq11p202m21fdi03bsgaw2nv60cvw-ruby-rake-compiler-1.1.1/lib:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/lib:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/lib:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/lib:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/lib:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/lib:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib:/gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-glibc-2.33-static/lib:/gnu/store/fnr1z6xsan0437r0yg48d0y8k32kqxby-glibc-utf8-locales-2.33/lib:/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11/lib'
    environment variable `GUIX_LOCPATH' set to `/gnu/store/fnr1z6xsan0437r0yg48d0y8k32kqxby-glibc-utf8-locales-2.33/lib/locale'
    phase `set-paths' succeeded after 0.0 seconds
    starting phase `install-locale'
    using 'en_US.utf8' locale for category "LC_ALL"
    phase `install-locale' succeeded after 0.0 seconds
    starting phase `unpack'
    Unpacked gem: '/tmp/guix-build-ruby-stackprof-0.2.17.drv-0/46lp24a1j43byvib8p72jll17mqz50pp-stackprof-0.2.17'
    phase `unpack' succeeded after 0.1 seconds
    starting phase `patch-usr-bin-file'
    phase `patch-usr-bin-file' succeeded after 0.0 seconds
    starting phase `patch-source-shebangs'
    patch-shebang: ./bin/stackprof: changing `/usr/bin/env ruby' to `/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/bin/ruby'
    patch-shebang: ./bin/stackprof-flamegraph.pl: changing `/usr/bin/env ruby' to `/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/bin/ruby'
    patch-shebang: ./bin/stackprof-gprof2dot.py: changing `/usr/bin/env ruby' to `/gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/bin/ruby'
    patch-shebang: ./vendor/FlameGraph/flamegraph.pl: warning: no binary for interpreter `perl' found in $PATH
    patch-shebang: ./vendor/gprof2dot/gprof2dot.py: warning: no binary for interpreter `python' found in $PATH
    patch-shebang: ./vendor/gprof2dot/hotshotmain.py: warning: no binary for interpreter `python' found in $PATH
    phase `patch-source-shebangs' succeeded after 0.0 seconds
    starting phase `patch-generated-file-shebangs'
    patch-shebang: ./vendor/FlameGraph/flamegraph.pl: warning: no binary for interpreter `perl' found in $PATH
    patch-shebang: ./vendor/gprof2dot/gprof2dot.py: warning: no binary for interpreter `python' found in $PATH
    patch-shebang: ./vendor/gprof2dot/hotshotmain.py: warning: no binary for interpreter `python' found in $PATH
    phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
    starting phase `extract-gemspec'
    phase `extract-gemspec' succeeded after 0.1 seconds
    starting phase `replace-git-ls-files'
    phase `replace-git-ls-files' succeeded after 0.0 seconds
    starting phase `build'
      Successfully built RubyGem
      Name: stackprof
      Version: 0.2.17
      File: stackprof-0.2.17.gem
    phase `build' succeeded after 0.1 seconds
    starting phase `skip-dubious-test'
    phase `skip-dubious-test' succeeded after 0.0 seconds
    starting phase `build-tests'
    mkdir -p tmp/x86_64-linux/stackprof/2.7.4
    cd tmp/x86_64-linux/stackprof/2.7.4
    /gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/bin/ruby -I. ../../../../ext/stackprof/extconf.rb
    checking for rb_postponed_job_register_one()... yes
    checking for rb_profile_frames()... yes
    checking for rb_tracepoint_new()... yes
    checking for RUBY_INTERNAL_EVENT_NEWOBJ... yes
    creating Makefile
    cd -
    cd tmp/x86_64-linux/stackprof/2.7.4
    /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make
    compiling ../../../../ext/stackprof/stackprof.c
    linking shared-object stackprof/stackprof.so
    cd -
    mkdir -p tmp/x86_64-linux/stage/lib/stackprof
    install -c tmp/x86_64-linux/stackprof/2.7.4/stackprof.so lib/stackprof/stackprof.so
    cp tmp/x86_64-linux/stackprof/2.7.4/stackprof.so tmp/x86_64-linux/stage/lib/stackprof/stackprof.so
    phase `build-tests' succeeded after 1.1 seconds
    starting phase `check'
    Mocha deprecation warning at /gnu/store/j4z07lyi1ykk8bc68h1p4bpj1il9dn3f-ruby-2.7.4/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:158:in `require': Require 'mocha/test_unit', 'mocha/minitest' or 'mocha/api' instead of 'mocha/setup'.
    /tmp/guix-build-ruby-stackprof-0.2.17.drv-0/gem/test/test_stackprof.rb:208: warning: assigned but unused variable - raw
    Run options: --seed 2402
    
    # Running:
    
    ..........F.................
    
    Finished in 0.269326s, 103.9631 runs/s, 341.5931 assertions/s.
    
      1) Failure:
    StackProfTest#test_walltime [/tmp/guix-build-ruby-stackprof-0.2.17.drv-0/gem/test/test_stackprof.rb:97]:
    Expected |200 - 77| (123) to be <= 25.
    
    28 runs, 92 assertions, 1 failures, 0 errors, 0 skips
    rake aborted!
    Command failed with status (1)
    
    Tasks: TOP => test
    (See full trace by running task with --trace)
    error: in phase 'check': uncaught exception:
    %exception #<&invoke-error program: "rake" arguments: ("test") exit-status: 1 term-signal: #f stop-signal: #f> 
    phase `check' failed after 0.6 seconds
    command "rake" "test" failed with status 1
    
  17. MarcoFalke referenced this in commit 9ec3991ad3 on Jan 24, 2022
  18. sidhujag referenced this in commit fef1792c82 on Jan 28, 2022
  19. DrahtBot locked this on Jan 13, 2023

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-05-01 15:14 UTC

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