[Vm-dev] Errored: OpenSmalltalk/opensmalltalk-vm#1818 (dtl/vm-module-load-error-messages - c7171f4)

Travis CI builds at travis-ci.org
Sun Oct 13 18:02:20 UTC 2019


Build Update for OpenSmalltalk/opensmalltalk-vm
-------------------------------------

Build: #1818
Status: Errored

Duration: 9 mins and 17 secs
Commit: c7171f4 (dtl/vm-module-load-error-messages)
Author: David T. Lewis
Message: Ensure readable error message for VM module dlopen failures.
If a module such as vm-display-X11 fails to load due to dynamic linking
errors such as symbol not found or missing runtime libary on the target
machine, then provide a meaningful error message.
Eliminate unnecessary check for if (strstr(why,"undefined symbol")) {...}
because it eats errors, e.g. in the case of missing xRender runtime
and VM compiled with xRender dev libaries.
Improve the error message for readability. Add fflush() for stderr
output to prevent messages being lost or mixed with stdout. Remove
redundant and unreachable code.

Note, duplicate error messages on for load failures may occur due
to path setup issues in the /bin/squeak start script, are are not
a VM issue per se.

Example error message for VM compiled with xRender library for large
cursor support, and run on a machine with missing runtime library:

vm-display-X11 tryLoading /usr/local/lib/squeak/5.0-201910110209/vm-display-X11.so: dlopen: libXrender.so.1: cannot open shared object file: No such file or directory

View the changeset: https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/c7171f4ac443

View the full build log and details: https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/597321212?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the OpenSmalltalk/opensmalltalk-vm repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=8795279&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191013/86da3a08/attachment.html>


More information about the Vm-dev mailing list