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

GH-38861: [C++] Add missing "-framework Security" to Libs.private in arrow.pc #38869

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

kou
Copy link
Member

@kou kou commented Nov 23, 2023

Rationale for this change

It's required only when:

  • We use bundled aws-sdk-cpp.
  • We use static library for Apache Arrow C++.

Because bundled aws-sdk-cpp uses Security framework.

What changes are included in this PR?

Add -framework Security to Libs.private only on the condition.

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

Copy link

⚠️ GitHub issue #38861 has been automatically assigned in GitHub to PR creator.

@kou
Copy link
Member Author

kou commented Nov 23, 2023

@github-actions crossbow submit r-binary-packages

This comment was marked as outdated.

…te in arrow.pc

It's required only when:

* We use bundled aws-sdk-cpp.
* We use static library for Apache Arrow C++.

Because bundled aws-sdk-cpp uses Security framework.
@kou
Copy link
Member Author

kou commented Nov 23, 2023

@github-actions crossbow submit r-binary-packages

Copy link

Revision: 8b50d33

Submitted crossbow builds: ursacomputing/crossbow @ actions-9680384154

Task Status
r-binary-packages Github Actions

@kou
Copy link
Member Author

kou commented Nov 24, 2023

@jeroen Could you try this? You can download binaries from https://github.com/ursacomputing/crossbow/actions/runs/6971635888#artifacts .
I think that r-lib__libarrow__bin__darwin-x86_64-openssl-1.1 will have binaries for your case.

@jeroen
Copy link
Contributor

jeroen commented Nov 24, 2023

Thanks, lgtm

@kou
Copy link
Member Author

kou commented Nov 24, 2023

@github-actions crossbow submit -g cpp

This comment was marked as outdated.

@kou
Copy link
Member Author

kou commented Nov 24, 2023

Thanks for confirming this.
I'll merge this after we confirm that additional CI jobs are also passed.

Copy link

Revision: 8b50d33

Submitted crossbow builds: ursacomputing/crossbow @ actions-ef38e34475

Task Status
test-alpine-linux-cpp Github Actions
test-build-cpp-fuzz Github Actions
test-conda-cpp Github Actions
test-conda-cpp-valgrind Azure
test-cuda-cpp Github Actions
test-debian-11-cpp-amd64 Github Actions
test-debian-11-cpp-i386 Github Actions
test-fedora-38-cpp Github Actions
test-ubuntu-20.04-cpp Github Actions
test-ubuntu-20.04-cpp-bundled Github Actions
test-ubuntu-20.04-cpp-minimal-with-formats Github Actions
test-ubuntu-20.04-cpp-thread-sanitizer Github Actions
test-ubuntu-22.04-cpp Github Actions
test-ubuntu-22.04-cpp-20 Github Actions
test-ubuntu-22.04-cpp-no-threading Github Actions

Copy link
Member

@assignUser assignUser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test-conda-cpp-valgrind has been failing for a month so not relevant here. 👍

@assignUser assignUser merged commit eb5de18 into apache:main Nov 25, 2023
35 checks passed
@assignUser assignUser removed the awaiting committer review Awaiting committer review label Nov 25, 2023
Copy link

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit eb5de18.

There were 2 benchmark results indicating a performance regression:

The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them.

@kou kou deleted the cpp-pc-aws-macos branch November 26, 2023 20:44
raulcd pushed a commit that referenced this pull request Nov 28, 2023
…arrow.pc (#38869)

### Rationale for this change

It's required only when:

* We use bundled aws-sdk-cpp.
* We use static library for Apache Arrow C++.

Because bundled aws-sdk-cpp uses Security framework.

### What changes are included in this PR?

Add `-framework Security` to `Libs.private` only on the condition.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: #38861

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…te in arrow.pc (apache#38869)

### Rationale for this change

It's required only when:

* We use bundled aws-sdk-cpp.
* We use static library for Apache Arrow C++.

Because bundled aws-sdk-cpp uses Security framework.

### What changes are included in this PR?

Add `-framework Security` to `Libs.private` only on the condition.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: apache#38861

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[C++] Static pkg-config file needs -framework Security on MacOS
3 participants