Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost: fix arm64 build #59257

Closed
wants to merge 1 commit into from
Closed

boost: fix arm64 build #59257

wants to merge 1 commit into from

Conversation

aumuell
Copy link
Contributor

@aumuell aumuell commented Aug 6, 2020

Patch Boost build system, so that it does inject '-arch arm64' instead
of '-arch arm'. This patch is already submitted to Boost: boostorg/build#642
This fixes the boost problem mentioned here: Homebrew/brew#7857

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

@stale
Copy link

stale bot commented Aug 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label Aug 29, 2020
@gunchleoc
Copy link

I'm hoping it will fix an issue for us, but I don't own a Mac, so I can't help really.

@stale stale bot removed the stale No recent activity label Aug 29, 2020
@aumuell
Copy link
Contributor Author

aumuell commented Aug 29, 2020

As the patch has been applied upstream, I pushed a slightly updated formula, which pulls in the patch from the boostorg/build repository.

@aumuell
Copy link
Contributor Author

aumuell commented Aug 30, 2020

The failed CI test seems to result from a conflict between miniupnpc and wownero, which apparently includes and installs its own copy of miniupnpc. So the brew link step fails during the install for wownero.

The CI test for the first iteration of this PR failed because of a similar issue: a conflict between eigen and another formula which included its own copy of eigen.

I don't really know how to proceed here. Any help is appreciated.

@claui
Copy link
Contributor

claui commented Aug 30, 2020

@aumuell Thanks for your PR and for researching the CI failures.

Let’s wait on #60391 and #60392 to be merged, then re-run CI.

BrewTestBot pushed a commit that referenced this pull request Aug 31, 2020
Add a `conflicts_with` directive to indicate that the newly-added
`wownero` formula [1] also installs a `libminiupnpc.a` library.

This currently blocks CI on PR #59257 [2]. To get this out of the
way quickly, use `conflicts_with` for now instead of making
`miniupnpc` a dependency of `wownero`.

[1]: #59687

[2]: #59257

Closes #60391.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
BrewTestBot pushed a commit that referenced this pull request Aug 31, 2020
Add a `conflicts_with` directive to indicate that both this formula
and `miniupnpc` install a `libminiupnpc.a` library.

This currently blocks CI on PR #59257 [1]. To get this out of the
way quickly, use `conflicts_with` for now instead of making
`miniupnpc` a dependency of `wownero`.

[1]: #59257

Closes #60392.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
Patch Boost build system, so that it does inject '-arch arm64' instead
of '-arch arm'. This patch is already applied upstream.
@claui
Copy link
Contributor

claui commented Aug 31, 2020

Force-pushed to (hopefully) let CI know that the issues with the other formulae are fixed.

@claui claui added the 11 Big Sur is specifically affected label Sep 1, 2020
@aumuell
Copy link
Contributor Author

aumuell commented Sep 1, 2020

Many thanks for helping me here!

@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@claui
Copy link
Contributor

claui commented Sep 1, 2020

Many thanks for helping me here!

Thank you @aumuell for your contribution! You rock 🍻

andysan added a commit to andysan/homebrew-core that referenced this pull request Jan 4, 2021
Patch Boost's build system to build cleanly on Apple silicon. This is
a port of PR Homebrew#59257 that fixes the main boost package.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
andysan added a commit to andysan/homebrew-core that referenced this pull request Jan 4, 2021
Patch Boost's build system to build cleanly on Apple silicon. This is
a port of PR Homebrew#59257 that fixes the main boost package.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
andysan added a commit to andysan/homebrew-core that referenced this pull request Jan 4, 2021
Patch Boost's build system to build cleanly on Apple silicon. This is
a port of PR Homebrew#59257 that fixes the main boost package.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
BrewTestBot pushed a commit that referenced this pull request Jan 5, 2021
Patch Boost's build system to build cleanly on Apple silicon. This is
a port of PR #59257 that fixes the main boost package.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
BrewTestBot pushed a commit that referenced this pull request Jan 5, 2021
Patch Boost's build system to build cleanly on Apple silicon. This is
a port of PR #59257 that fixes the main boost package.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
BrewTestBot pushed a commit that referenced this pull request Jan 5, 2021
Patch Boost's build system to build cleanly on Apple silicon. This is
a port of PR #59257 that fixes the main boost package.

Closes #68272.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11 Big Sur is specifically affected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants