Skip to content

Commit

Permalink
disable native build on macos
Browse files Browse the repository at this point in the history
this fails with:

  [error] Error: No instances of org.apache.fontbox.ttf.BufferedRandomAccessFile are allowed in the image heap as this
  class should be initialized at image runtime. Object has been initialized without the native-image initialization
  instrumentation and the stack trace can't be tracked.

when i add `org.apache.fontbox.ttf.BufferedRandomAccessFile` to `--initialize-at-run-time` i get the following error:

  [error] Error: Classes that should be initialized at run time got initialized during image building:
  [error]  org.apache.fontbox.ttf.BufferedRandomAccessFile the class was requested to be initialized at run time
           (from the command line). org.apache.fontbox.ttf.BufferedRandomAccessFile has been initialized without
           the native-image initialization instrumentation and the stack trace can't be tracked.
           Try avoiding to initialize the class that caused initialization of org.apache.fontbox.ttf.BufferedRandomAccessFile

this is a bug in pdfbox:

  - https://issues.apache.org/jira/browse/TIKA-2862
  - apache/pdfbox#69
  • Loading branch information
j-keck committed Jun 21, 2020
1 parent 37c414b commit 5aa39f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/native-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest]
os: [ ubuntu-latest ]
include:
- os: ubuntu-latest
artifact: reno-linux-x64
Expand Down

0 comments on commit 5aa39f3

Please sign in to comment.