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.
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-
randy-waterhouse commented at 8:23 AM on August 26, 2014: contributor
-
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.
-
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.
-
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).
- randy-waterhouse force-pushed on Aug 26, 2014
-
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.)
-
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
-
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.m4If you'll add those changes here, ACK.
-
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.
- randy-waterhouse force-pushed on Aug 26, 2014
- randy-waterhouse force-pushed on Aug 27, 2014
- randy-waterhouse force-pushed on Aug 28, 2014
- laanwj added the label Build system on Aug 28, 2014
- randy-waterhouse force-pushed on Aug 29, 2014
- randy-waterhouse force-pushed on Aug 30, 2014
- randy-waterhouse force-pushed on Sep 1, 2014
- randy-waterhouse force-pushed on Sep 1, 2014
- randy-waterhouse force-pushed on Sep 2, 2014
- randy-waterhouse force-pushed on Sep 2, 2014
- randy-waterhouse force-pushed on Sep 3, 2014
- randy-waterhouse force-pushed on Sep 6, 2014
- randy-waterhouse force-pushed on Sep 8, 2014
- randy-waterhouse force-pushed on Sep 10, 2014
- randy-waterhouse force-pushed on Sep 11, 2014
-
sipa commented at 5:35 PM on September 12, 2014: member
Does this need to be rebased every day?
-
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.
- randy-waterhouse force-pushed on Sep 13, 2014
-
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?
-
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.
-
Add warnings for autogen.sh. Fix AC_CONFIG_SRCDIR. e54381117a
-
Update obsolete AC macros. e2a98d270d
- randy-waterhouse force-pushed on Sep 16, 2014
-
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.
- laanwj merged this on Sep 22, 2014
- laanwj closed this on Sep 22, 2014
- laanwj referenced this in commit cb9871194a on Sep 22, 2014
- randy-waterhouse deleted the branch on Sep 23, 2014
- DrahtBot locked this on Sep 8, 2021