Skip to content

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

Merged
assignUser merged 1 commit into
apache:mainfrom
kou:cpp-pc-aws-macos
Nov 25, 2023
Merged

assignUser merged 1 commit into
apache:mainfrom
kou:cpp-pc-aws-macos

Conversation

@kou

@kou kou commented Nov 23, 2023 •

Copy link
Copy Markdown
Member

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.

@github-actions

Copy link
Copy Markdown

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

@kou

kou commented Nov 23, 2023

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit r-binary-packages

@github-actions

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
kou force-pushed the cpp-pc-aws-macos branch from 5de4a48 to 8b50d33 Compare November 23, 2023 15:23
@kou

kou commented Nov 23, 2023

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit r-binary-packages

@github-actions

Copy link
Copy Markdown

Revision: 8b50d33

Submitted crossbow builds: ursacomputing/crossbow @ actions-9680384154

Task Status
r-binary-packages Github Actions

@kou

kou commented Nov 24, 2023

Copy link
Copy Markdown
Member Author

@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

jeroen commented Nov 24, 2023

Copy link
Copy Markdown
Contributor

Thanks, lgtm

@kou

kou commented Nov 24, 2023 •

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit -g cpp

@github-actions

This comment was marked as outdated.

@kou

kou commented Nov 24, 2023

Copy link
Copy Markdown
Member Author

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

@github-actions

Copy link
Copy Markdown

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

@assignUser assignUser left a comment

Copy link
Copy Markdown
Member

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
@conbench-apache-arrow

Copy link
Copy Markdown

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