univalue: Pull subtree #8863

pull MarcoFalke wants to merge 2 commits into bitcoin:master from MarcoFalke:Mf1610-univalue changing 3 files +7 −7
  1. Squashed 'src/univalue/' changes from daf1285..16a1f7f
    16a1f7f Merge #3: Pull upstream
    3f03bfd Merge pull request #27 from laanwj/2016_09_const_refs
    5668ca3 Return const references from getKeys, getValues, get_str
    cedda14 Merge pull request #28 from MarcoFalke/patch-1
    9f0b997 [travis] Work around osx libtool issue
    
    git-subtree-dir: src/univalue
    git-subtree-split: 16a1f7f6e9ed932bec7c7855003affea1e165fb5
    2ca7faab42
  2. Merge commit '2ca7faab4205822b06dc2ab2bbda0a9a70fce7e0' into HEAD e757115164
  3. MarcoFalke added the label Upstream on Oct 2, 2016
  4. laanwj commented at 5:47 PM on October 2, 2016: member
    $ contrib/devtools/git-subtree-check.sh src/univalue
    src/univalue in HEAD was last updated to upstream commit 16a1f7f6e9ed932bec7c7855003affea1e165fb5 (tree fe714bb1bdfbd52842107b54c590cfe5d4c58b3c)
    src/univalue in HEAD currently refers to tree fe714bb1bdfbd52842107b54c590cfe5d4c58b3c
    GOOD
    

    ACK 2ca7faa

  5. in src/univalue/.travis.yml:None in e757115164
      24 | @@ -26,6 +25,7 @@ addons:
      25 |        - pkg-config
      26 |  
      27 |  before_script:
      28 | +  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall libtool; brew install libtool; fi
    


    paveljanik commented at 5:49 PM on October 2, 2016:

    What you are trying to workaround? Where can I read more about this?


    MarcoFalke commented at 8:37 PM on October 2, 2016:

    See the upstream repo :)


    paveljanik commented at 5:34 AM on October 3, 2016:

    The upstream issue (https://github.com/jgarzik/univalue/pull/28) is of a somewhat discutable quality. Another reference to the outside source. I just want to know what is the source of the problem that is solved by uninstall/install round...


    laanwj commented at 6:42 AM on October 3, 2016:

    The install will install a newer/different version of libtool which doesn't have an issue that prevented compiling the univalue project on macosx. I'd expect it to be a temporary workaround. Has this been reported meta-upstream to Travis?


    MarcoFalke commented at 8:25 AM on October 3, 2016:

    @paveljanik The issue with homebrew was considered "mostly fixed" (https://github.com/Homebrew/legacy-homebrew/issues/43874#issuecomment-238809893) by some of the workarounds. If the maintainers of that project don't consider it that imporatnt, I think it is fine to just apply a trivial and low risk workaround to fix a travis issue.

    Also note that the content of this .travis.yml is of no relevance in the bitcoin repo.

  6. paveljanik commented at 5:53 PM on October 2, 2016: contributor

    utack

  7. laanwj merged this on Oct 3, 2016
  8. laanwj closed this on Oct 3, 2016

  9. laanwj referenced this in commit eafc5f4fae on Oct 3, 2016
  10. MarcoFalke deleted the branch on Oct 3, 2016
  11. laanwj commented at 1:05 PM on October 3, 2016: member

    !!IMPORTANT!!

    If you end up here with the following error in test_bitcoin:

    Running 210 test cases...
    unknown location(0): fatal error in "base58_EncodeBase58": memory access violation at address: 0x00000016: no mapping at fault address
    /home/orion/projects/bitcoin/bitcoin/src/test/base32_tests.cpp(21): last checkpoint
    

    You need to clean your tree and build from scratch. Apparently changes to univalue are not detected by the build system, so files that depend on univalue.h will be rebuilt but not the library itself. This causes ABI conflicts.

  12. codablock referenced this in commit 92af058098 on Sep 19, 2017
  13. codablock referenced this in commit 10127ae80b on Jan 12, 2018
  14. lateminer referenced this in commit 2d43ec0a04 on Jan 5, 2019
  15. andvgal referenced this in commit 697766b89b on Jan 6, 2019
  16. MarcoFalke locked this on Sep 8, 2021

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-17 00:15 UTC

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