TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
133 stars 50 forks source link

libedemangle not found when attempting to build smartos on an omnios pkgsrc zone #297

Closed papertigers closed 3 years ago

papertigers commented 3 years ago

mail_msg points out:

No Java compiler found
*** Error code 1
The following command caused the error:
if [ -x "/opt/local/java/openjdk11/bin/javac" ]; then                   \
        echo /opt/local/java/openjdk11/bin/javac;                       \
        /opt/local/java/openjdk11/bin/java -fullversion 2>&1 | head -1; \
else                                            \
        echo No Java compiler found;            \
        exit 1;                                 \
fi

And when one tries to manually install that version of java:

$ pfexec pkgin in openjdk11
calculating dependencies...done.
/usr/lib/amd64/libdemangle.so.1, needed by openjdk11-11.0.2 is not present in this system.

0 to refresh, 0 to upgrade, 0 to install
195M to download, 320M to install
the following packages have unmet requirements:   openjdk11-11.0.2

proceed ? [Y/n]
jperkin commented 3 years ago

Fixed as part of https://github.com/joyent/pkgsrc-joyent/commit/70723573186bcea7c3d1dc0429c3179ed8d27b52, thanks!

This is in the process of being merged back to all the current LTS releases.