build: explicitly disable libsecp256k1 openssl based tests #23314

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:libsecp256k1_subtree_update changing 1 files +1 −1
  1. fanquake commented at 2:20 AM on October 20, 2021: member

    These tests are failing when run against OpenSSL 3, and have been removed upstream, bitcoin-core/secp256k1#983, so disabled them for now to avoid make check failures.

    Note that this will also remove warning output from our build, due to the use of deprecated OpenSSL API functions. See bitcoin#23048.

  2. fanquake added the label Upstream on Oct 20, 2021
  3. fanquake added the label DrahtBot Guix build requested on Oct 20, 2021
  4. fanquake commented at 2:20 AM on October 20, 2021: member
  5. fanquake referenced this in commit 1483a9c579 on Oct 20, 2021
  6. fanquake cross-referenced this on Oct 20, 2021 from issue [22.x] build: explicitly disable libsecp256k1 openssl based tests by fanquake
  7. sipa commented at 3:06 AM on October 20, 2021: member

    No objection to updating to the current master branch.

    Do be aware that due to bitcoin-core/secp256k1#956 a table that was previously built at runtime, is now precomputed as part of the source code. That's 2.4 MB of C code being added to the repository, and 0.5 MiB added to the binary size.

    I don't expect that to be a problem, but if the binary size increase is an issue, it can be reduced with a configure flag (with a mild validation performance reduction).

  8. MarcoFalke commented at 7:12 AM on October 20, 2021: member

    If you are going to backport a --disable-openssl-tests to 22.x, wouldn't a cleaner first patch be to submit --disable-openssl-tests to master? This would also avoid a successive bump in a short time.

  9. fanquake commented at 7:28 AM on October 20, 2021: member

    If you are going to backport a --disable-openssl-tests to 22.x

    It wasn't going be to a backport, as I would rather make the subtree update here, but we can always include that commit here, and then do a subtree update after.

    This would also avoid a successive bump in a short time.

    It's not clear how soon that bump would be, and it could well be too late for 23.0.

  10. MarcoFalke commented at 7:31 AM on October 20, 2021: member

    Is there anything in the bump that we need, assuming the test issue is fixed with a configure flag? Especially, since you are planning another bump after bitcoin-core/secp256k1#988 (soon?).

  11. real-or-random commented at 8:05 AM on October 20, 2021: contributor

    No objection to updating to the current master branch.

    Same here.

    Is there anything in the bump that we need, assuming the test issue is fixed with a configure flag?

    I don't think so.

  12. MarcoFalke commented at 8:13 AM on October 20, 2021: member

    Also, there was discussion about a 1.0 release of libsecp256k1, so I am wondering if we should wait for that as well

  13. build: explicitly disable libsecp256k1 openssl based tests
    These tests are failing when run against OpenSSL 3, and have been
    removed upstream, https://github.com/bitcoin-core/secp256k1/pull/983, so
    disabled them for now to avoid `make check` failures.
    
    Note that this will also remove warning output from our build, due to
    the use of deprecated OpenSSL API functions. See #23048.
    d7524546ab
  14. fanquake force-pushed on Oct 20, 2021
  15. fanquake commented at 8:18 AM on October 20, 2021: member

    Ok. I've changed this to just disable the tests for now, as I would like to get this merged and backported into 22.x. I'll update #23315 to be a proper backport after this has been merged.

  16. MarcoFalke commented at 8:32 AM on October 20, 2021: member

    cr ACK d7524546abf1fa5be8e6317ee50585e966ae6b4c

    Didn't test on Alpine or elsewhere.

  17. MarcoFalke renamed this:
    upstream: libsecp256k1 subtree update
    build: explicitly disable libsecp256k1 openssl based tests
    on Oct 20, 2021
  18. elichai commented at 8:41 AM on October 20, 2021: contributor

    Code review ACK d7524546abf1fa5be8e6317ee50585e966ae6b4c

  19. real-or-random commented at 9:04 AM on October 20, 2021: contributor

    Ok. I've changed this to just disable the tests for now,

    Concept ACK

  20. real-or-random commented at 9:09 AM on October 20, 2021: contributor

    Also, there was discussion about a 1.0 release of libsecp256k1, so I am wondering if we should wait for that as well

    This would be a nice goal in order to create pressure on us to do a release. But my more pessimistic internal voice tells me that https://github.com/bitcoin-core/secp256k1/pull/988 will be in before we have a release. Anyway, we should seriously do a release!

  21. laanwj merged this on Oct 20, 2021
  22. laanwj closed this on Oct 20, 2021

  23. laanwj added the label Needs backport (22.x) on Oct 20, 2021
  24. laanwj removed the label Needs backport (22.x) on Oct 20, 2021
  25. MarcoFalke removed the label DrahtBot Guix build requested on Oct 20, 2021
  26. sidhujag referenced this in commit f02b55f4d1 on Oct 20, 2021
  27. fanquake deleted the branch on Oct 20, 2021
  28. fanquake referenced this in commit e959b46aa9 on Oct 20, 2021
  29. fanquake commented at 11:51 PM on October 20, 2021: member

    Backported in #23315.

  30. MarcoFalke referenced this in commit 56156a1f08 on Oct 21, 2021
  31. sipa cross-referenced this on Oct 28, 2021 from issue Update libsecp256k1 subtree to current master by sipa
  32. luke-jr referenced this in commit 14eac26e30 on Dec 14, 2021
  33. fanquake referenced this in commit c06cda3e48 on Dec 18, 2021
  34. knst referenced this in commit 6f1d324aa0 on Jul 27, 2022
  35. knst cross-referenced this on Jul 27, 2022 from issue Merge bitcoin#23315: [22.x] build: explicitly disable libsecp256k1... by knst
  36. UdjinM6 referenced this in commit a6e9e50845 on Jul 27, 2022
  37. bitcoin locked this on Oct 30, 2022

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-19 06:53 UTC