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

rnp reference updated to 0.16.3 #32

Merged
merged 2 commits into from
Apr 15, 2023
Merged

rnp reference updated to 0.16.3 #32

merged 2 commits into from
Apr 15, 2023

Conversation

maxirmx
Copy link
Member

@maxirmx maxirmx commented Apr 13, 2023

No description provided.

This was linked to issues Apr 13, 2023
@ronaldtse
Copy link
Contributor

Curerent failure:

==> Running TapSyntax#run!
[10](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:11)
==> brew style rnpgp/rnp
[11](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:12)
==> brew readall --aliases rnpgp/rnp
[12](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:13)
==> brew audit --tap=rnpgp/rnp
[13](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:14)
==> FAILED
[14](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:15)
Full audit --tap=rnpgp/rnp output
[15](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:16)
  rnpgp/rnp/rnp:
[16](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:17)
    * fully scope test shell_output calls, e.g. shell_output "#{bin}/rnp"
[17](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:18)
  Error: fully scope test shell_output calls, e.g. shell_output "#{bin}/rnp"
[18](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:19)
  Error: 1 problem in 1 formula detected
[19](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:21)
Error: 1 failed step!
[20](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:22)
brew audit --tap=rnpgp/rnp
[21](https://github.com/rnpgp/homebrew-rnp/actions/runs/4693384831/jobs/8320297136?pr=32#step:7:23)

@maxirmx maxirmx force-pushed the maxirmx-update branch 4 times, most recently from 80db2dc to 14f2052 Compare April 14, 2023 05:52
@maxirmx maxirmx marked this pull request as ready for review April 14, 2023 06:06
@maxirmx maxirmx requested a review from ronaldtse April 14, 2023 06:07
@maxirmx
Copy link
Member Author

maxirmx commented Apr 14, 2023

I believe we should not publish bottle. It will contain rnp binary with direct reference to specific version of botan
If botan is updated in homebrew rnp bottle will refer to outdated botan library version as we see in #31

@ronaldtse
Copy link
Contributor

@maxirmx can't we specify a bottle dependency on the particular botan version? The benefit of the bottle is to allow people not to go through compilation, and it is an important benefit.

@maxirmx
Copy link
Member Author

maxirmx commented Apr 14, 2023

@maxirmx can't we specify a bottle dependency on the particular botan version? The benefit of the bottle is to allow people not to go through compilation, and it is an important benefit.

My understanding is that botan provides a formula to install only the latest version. Thus, even if we specify a dependency on some other version of botan, it will not be installed.

I believe we can

  • make a formula that uses bottle if botan version matches and builds from source if botan version does not match
  • link botan as static library in homebrew formula. It will eliminate run-time dependency
  • link rnp agains more generic reference (botan-2.dylib instead of botan-2.19.dylib). This will probably work but it is something to be done in core rnp build scripts

Also I guess we will need several bottles to make it effective. Botan provides seven:

  • arm64_ventura
  • arm64_monterey
  • arm64_big_sur
  • ventura
  • monterey
  • big_sur
  • catalina

This may require cross-compile options that will also go to core rnp build scripts

I suggest we release a simple fix first since keeping the bottle does not look like a one-liner fix

@ronaldtse
Copy link
Contributor

Agree that a simple fix is desired here. We can fix the bottle after. Thanks.

@ronaldtse
Copy link
Contributor

@maxirmx Feel free to merge when ready, thanks.

@maxirmx maxirmx merged commit fd68e82 into main Apr 15, 2023
@maxirmx maxirmx added the pr-pull Publish PR (see: https://brew.sh/2020/11/18/homebrew-tap-with-bottles-uploaded-to-github-releases/) label Apr 15, 2023
maxirmx added a commit that referenced this pull request Apr 15, 2023
@maxirmx maxirmx removed the pr-pull Publish PR (see: https://brew.sh/2020/11/18/homebrew-tap-with-bottles-uploaded-to-github-releases/) label Apr 15, 2023
@maxirmx
Copy link
Member Author

maxirmx commented Apr 15, 2023

Needs to be recreated to apply pr-pull workflow

@maxirmx maxirmx deleted the maxirmx-update branch April 15, 2023 09:30
maxirmx added a commit that referenced this pull request Apr 15, 2023
@maxirmx maxirmx restored the maxirmx-update branch April 15, 2023 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fresh installed rnp on macOS fails Update Homebrew for v0.16.3
3 participants