Skip to content

investigate getting rid of java from bootstrap/base #204

Description

@nieder

It would be nice to get rid of the (unused) java check/requirement during bootstrap.

Currently, bootstrap checks for javac, but nothing actually uses it in fink. In base packages, libgettext8-shlibs sets JAVA and JAVAC, but I don't see any difference in libintl.8.dylib whether or not --disable-java is explicitly set.

gettext-tools explicitly disables java but plays some symlink games to hide %p/bin/gcj (gcc5) by pointing a buildtime symlink to /usr/bin/java. This is supposed to stop a compile hang from gcj. Since we don't actually use java here, it might be better to make a shadow miniscript in %b/bin for each problematic java program (java/javac/gcj) that fails to really make configure not catch them.

%b/bin/java:
#!/bin/sh
exit 1

dpkg sets JAVA=/usr/bin/java GCJ=/usr/bin/javac, but it's unclear whether any of the code actually uses the results. If we're not using java, then a solution similar to that proposed for gettext-tools might be good to really block java detection.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BootstrapIssues affecting bootstrap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions