build: Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR. #4765

pull randy-waterhouse wants to merge 2 commits into bitcoin:master from randy-waterhouse:config_fixes changing 4 files +34 −36
  1. randy-waterhouse commented at 8:23 AM on August 26, 2014: contributor

    Added warnings and verbosity for autoreconf, should be useful for debugging. AC_CONFIG_SRCDIR argument should actually be a unique file in the src dir, not the dir itself. (http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Input.html) Also moved two AC_CONFIG calls to a more readable (usual) location.

  2. laanwj commented at 9:13 AM on August 26, 2014: member

    Verbose used to be on, and was only recently disabled: 82ccb05. I don't changing things back and forth, so lets leave it like it is. People that need to debug can always enable verbose.

  3. randy-waterhouse commented at 9:20 AM on August 26, 2014: contributor

    What's the practice with the warnings=all flag? There are quite a lot of warnings that needs fixing btw.

  4. laanwj commented at 9:38 AM on August 26, 2014: member

    Showing all warnings seems like a good precaution, unless they're really silly (I haven't tested).

  5. randy-waterhouse force-pushed on Aug 26, 2014
  6. randy-waterhouse commented at 9:42 AM on August 26, 2014: contributor

    Ok updated. No more verbosity. Warnings on, when they are fixed it will quieten back to standard output (not silly at the moment, imo.)

  7. theuni commented at 7:44 PM on August 26, 2014: member

    Mm. I agree with these changes, but they're going to lead to lots of devs scratching their heads and thinking "wtf broke?". See here: https://s3.amazonaws.com/archive.travis-ci.org/jobs/33572253/log.txt and grep for AC_TRY_COMPILE. That's nearly 100 lines of spew that is pretty incomprehensible to anyone but an autotools dev. And every warning but 1 is for deprecated (but working) functions.

    I'd say either:

    • use --warnings=all,no-obsolete and push this in as-is, then fix the deprecations and remove no-obsolete as a next step or
    • fix the deprecated uses in the same PR that turns on the warnings
  8. theuni commented at 8:08 PM on August 26, 2014: member

    It seems autoupdate is able to correctly fix the deprecations for me: autoupdate configure.ac src/m4/bitcoin_find_bdb48.m4 src/m4/bitcoin_qt.m4

    If you'll add those changes here, ACK.

  9. randy-waterhouse commented at 9:28 PM on August 26, 2014: contributor

    I've add the fixes for the warnings (which I intended to do in a subsequent PR anyway). Turning off warnings for bad code is not good practice, regardless of which devs are scratching their heads or otherwise, imho.

  10. randy-waterhouse force-pushed on Aug 26, 2014
  11. randy-waterhouse force-pushed on Aug 27, 2014
  12. randy-waterhouse force-pushed on Aug 28, 2014
  13. laanwj added the label Build system on Aug 28, 2014
  14. randy-waterhouse force-pushed on Aug 29, 2014
  15. randy-waterhouse force-pushed on Aug 30, 2014
  16. randy-waterhouse force-pushed on Sep 1, 2014
  17. randy-waterhouse force-pushed on Sep 1, 2014
  18. randy-waterhouse force-pushed on Sep 2, 2014
  19. randy-waterhouse force-pushed on Sep 2, 2014
  20. randy-waterhouse force-pushed on Sep 3, 2014
  21. randy-waterhouse force-pushed on Sep 6, 2014
  22. randy-waterhouse force-pushed on Sep 8, 2014
  23. randy-waterhouse force-pushed on Sep 10, 2014
  24. randy-waterhouse force-pushed on Sep 11, 2014
  25. sipa commented at 5:35 PM on September 12, 2014: member

    Does this need to be rebased every day?

  26. laanwj commented at 9:22 AM on September 13, 2014: member

    @theuni are you OK with this now?

  27. theuni commented at 8:27 PM on September 13, 2014: member

    Yes. It'll cause a new warning about the GZIP var, but that's fine. I think we can get rid of that now.

  28. randy-waterhouse force-pushed on Sep 13, 2014
  29. randy-waterhouse commented at 11:25 PM on September 13, 2014: contributor

    @sipa wasn't aware constant rebase would have any negative downstream implications? Seems like a good practice to keep up-to-date?

  30. sipa commented at 11:40 PM on September 13, 2014: member

    The only negative downsides are:

    • Prior code review may be invalidated (which seems not very much of an issue here).
    • It causes a mail in my mailbox every time (from pulltester) :)

    In general, keeping code in sync with the main tree is a good practice imho, but only if you're already changing the code, or it did get unmergable.

  31. Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR. e54381117a
  32. Update obsolete AC macros. e2a98d270d
  33. randy-waterhouse force-pushed on Sep 16, 2014
  34. BitcoinPullTester commented at 11:47 AM on September 16, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4765_e2a98d270d511711111a54f350c25733bc15a5b2/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  35. laanwj merged this on Sep 22, 2014
  36. laanwj closed this on Sep 22, 2014

  37. laanwj referenced this in commit cb9871194a on Sep 22, 2014
  38. randy-waterhouse deleted the branch on Sep 23, 2014
  39. DrahtBot 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 21:15 UTC

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