Remove custom pkg.m4 script. #4963

pull randy-waterhouse wants to merge 1 commits into bitcoin:master from randy-waterhouse:pkg_fix changing 2 files +0 −221
  1. randy-waterhouse commented at 8:10 AM on September 23, 2014: contributor

    As per previous discussion in #4719

  2. laanwj added the label Build system on Sep 23, 2014
  3. laanwj commented at 8:51 AM on September 25, 2014: member

    From what I remember from discussion in #4719 @theuni didn't agree with this change because it breaks compatibility with OSX 10.6.

    Can you do this in a way that does not break that compatibility, for example one that conditionally uses the included pkg.m4 in case it is missing in the system?

  4. randy-waterhouse force-pushed on Sep 25, 2014
  5. BitcoinPullTester commented at 10:40 PM on September 25, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4963_897e18f67cdb94853645a0021323bdc8831a70e2/ 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.

  6. theuni commented at 8:05 PM on October 2, 2014: member

    Let's wait here and make an official decision for what's supported for build/run and what's not. I have some change I've been working on that will allow us to target any SDK, so for that we'll want to evaluate a reasonable minimum for both. Until then, I'd rather not knowingly break anything that the docs say we support.

  7. Remove pkg.m4 script. 6c800fe4f9
  8. randy-waterhouse force-pushed on Oct 8, 2014
  9. laanwj commented at 9:50 AM on October 8, 2014: member

    But isn't it possible to just use pkg.m4 when a system copy cannot be found (as the comment already says, but doesn't seem to be the case in practice according to discussion in #4719)?

  10. theuni commented at 7:07 PM on October 8, 2014: member

    I really could've sworn that I tested and verified this behavior when it was added, but it's not working that way at the moment, so I suppose I was wrong on that. @randy-waterhouse Is there any m4 magic that could help us with that?

  11. randy-waterhouse commented at 8:19 PM on October 8, 2014: contributor

    I had a quick look at using some m4 to use our pkg.m4 only if the system copy doesn't exist but it will be messy.

    My take on it is pkg-config is a hard build dependency like autoconf, automake, g++ or clang, etc. As such, it is a hard requirement that pkg-config needs to be installed correctly for a user to build bitcoin, i.e., we can't be expected to have fixes to work around for poor installs of these other build deps either.

    I see nothing special about OSX 10.6 versus 10.7, 8 and 9 that would make the pkg-config install behave functionally any different. Therefore most likely it is that around that time linux package installers for Darwin switched from primarily using Fink or Macports to Homebrew, and Fink uses different locations for base and build system installing. A mixture of base packages installed by Fink and Ports and Brew on the same system is a user choice/error.

    Maybe we could put the fix in as is and try to help the few users that might be affected to repair their old OSX 10.6 systems properly? I can hang-out on #bitcoin-build for support if necessary.

  12. laanwj commented at 12:08 PM on October 9, 2014: member

    To me that sounds like extra work without clear gain.

  13. theuni commented at 3:37 PM on October 9, 2014: member

    There's no gain to be had here. I'm tired of arguing it and I don't want to start all over again. Please just drop this. We'll nuke it when we drop support for 10.6.

  14. laanwj closed this on Oct 9, 2014

  15. randy-waterhouse deleted the branch on Oct 21, 2014
  16. theuni commented at 10:00 PM on January 20, 2015: member

    @randy-waterhouse: feel free to revive this now, since #5684 has been merged.

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

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