JakeWharton / JakeWharton/plex-orphaned-files

Brew Install hanging up on openJDK

Open
#15 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
123
Forks
6
Avg merge
1h 52m
Merged PRs (30d)
18

Description

Not sure what I'm doing wrong, tried a few times to install and it gets stuck and eventually errors when trying to install openjdk:

🍺 /usr/local/Cellar/m4/1.4.18: 13 files, 631.3KB, built in 1 minute 33 seconds
==> Installing jakewharton/repo/plex-orphaned-files dependency: autoconf
==> ./configure --prefix=/usr/local/Cellar/autoconf/2.71 --with-lispdir=/usr/local/Cellar/autoconf/2.71/share/emacs/site-lisp/autoconf
==> make install
🍺 /usr/local/Cellar/autoconf/2.71: 75 files, 3.2MB, built in 16 seconds
==> Installing jakewharton/repo/plex-orphaned-files dependency: openjdk
==> ./configure --disable-warnings-as-errors --with-boot-jdk-jvmargs=-Duser.home=/Users/JeffEd/Library/Caches/Homebrew/java_cache --with-boot-jdk=/private/tmp/openjdk-20210608-29156-1swk0p1/jdk16u-jdk-16.0.1-
==> make images
Last 15 lines from /Users/[myusername]/Library/Logs/Homebrew/openjdk/02.make:
watchos(1.0, API_TO_BE_DEPRECATED),
^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h:357:47: error: expected a version of the form 'major[.minor[.subminor]]'
tvos(2.0, API_TO_BE_DEPRECATED));
... (rest of output omitted)

* All command lines available in /private/tmp/openjdk-20210608-29156-1swk0p1/jdk16u-jdk-16.0.1-ga/build/macosx-x86_64-server-release/make-support/failure-logs.
=== End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.

make[1]: *** [main] Error 2
make: *** [images] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
OpenJDK is somewhat broken on newer MacOS instances, console is flooded with errors when using JMeter, AdoptOpenJDK has no issues https://github.com/Homebrew/homebrew-core/issues/66953

Error: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Homebrew log at /Users/[myusername]/Library/Logs/Homebrew/openjdk/02.make and the referenced doc/building.html troubleshooting section. Check whether the failure is specific to the project's installation or to unsupported macOS 10.13 tooling; done means producing an actionable project-level fix or a clear, documented explanation that no project change is warranted.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, macos
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.