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

openjdk8: add libiconv as run dependency #22230

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

breun
Copy link
Member

@breun breun commented Jan 17, 2024

Description

Add libiconv as a run dependency to fix https://trac.macports.org/ticket/68278 for openjdk8.

Type(s)
  • bugfix
Tested on

macOS 14.2.1 23C71 arm64
Xcode 15.2 15C500b

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL?
  • checked your Portfile with port lint --nitpick?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

@macportsbot
Copy link

Notifying maintainers:
@usersxx for port openjdk8.

@macportsbot macportsbot added type: bugfix maintainer: open Affects an openmaintainer port labels Jan 17, 2024
@pmetzger pmetzger merged commit ef79804 into macports:master Jan 17, 2024
3 checks passed
@breun breun deleted the openjdk8-libiconv branch January 17, 2024 16:13
@@ -50,6 +50,7 @@ depends_build port:autoconf \
port:gmake \
port:pkgconfig \
port:bash
depends_run port:libiconv
Copy link
Member

Choose a reason for hiding this comment

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

Should this not be depends_lib?

Copy link
Member Author

Choose a reason for hiding this comment

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

According to other people responding to https://trac.macports.org/ticket/68278 depends_run would be ok, but I don't know if the library just needs to be present at runtime, or if its presence has an effect on the build process.

Copy link
Member

Choose a reason for hiding this comment

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

Normally a library has to be present in order to link with it. Some of the build-time dependencies depend on libiconv, so it would already have been present when building, just not deliberately.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, I've created #22261 for openjdk8. Will do the same for the other major versions later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer: open Affects an openmaintainer port type: bugfix
4 participants