Giter Site home page Giter Site logo

Make fails about owl HOT 13 CLOSED

owl-lisp avatar owl-lisp commented on August 14, 2024
Make fails

from owl.

Comments (13)

aoh avatar aoh commented on August 14, 2024

That means the build succeeded, but one of the unit tests failed. That particular test may well fail on operating systems other than the ones I have access to. Which OS are you using and what is the output of $ tests/hashbang.sh bin/vm fasl/bootp.fasl?

from owl.

alem0lars avatar alem0lars commented on August 14, 2024

GNU/Linux

Alessandro Molari

On 18 Sep 2015, at 18:53, Aki Helin [email protected] wrote:

That means the build succeeded, but one of the unit tests failed. That particular test may well fail on operating systems other than the ones I have access to. Which OS are you using and what is the output of $ tests/hashbang.sh bin/vm fasl/bootp.fasl?


Reply to this email directly or view it on GitHub.

from owl.

aoh avatar aoh commented on August 14, 2024

That's odd. Which distribution? How about the manual run output? Does this also happen in trunk?

from owl.

alem0lars avatar alem0lars commented on August 14, 2024

Gentoo.

If I run it manually I get:

echo: resource temporary unavailable 

from owl.

aoh avatar aoh commented on August 14, 2024

How about currently in trunk.

from owl.

alem0lars avatar alem0lars commented on August 14, 2024

I'm getting the same error.

If I try to manually run the failing test:

# tests/run all bin/vm fasl/bootp.fasl

I get:

Running tests/ against bin/vm fasl/bootp.fasl: o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o oERROR: tests/hashbang.sh
1d0
< ohai
ERROR: tests/hashbang.sh

from owl.

aoh avatar aoh commented on August 14, 2024

Can you check the script that the test generates and tries to run from owl-lisp/tmp. Does it work? What's in it.

from owl.

alem0lars avatar alem0lars commented on August 14, 2024

It just returns 1 (i.e. error). It doesn't print anything.

The script is: ./tmp/script-19147 and it contains:

#!/var/tmp/portage/dev-lang/owl-lisp-0.1.7/work/owl-lisp/bin/vm /var/tmp/portage/dev-lang/owl-lisp-0.1.7/work/owl-lisp/fasl/bootp.fasl
(print "ohai")

from owl.

alem0lars avatar alem0lars commented on August 14, 2024

I don't know if this means something but running:

# ./bin/vm fasl/bootp.fasl '(print "ohai")'

Outputs:

Could not find any of ((print "ohai") fasl/(print "ohai")) for loading.

And returns 1

from owl.

aoh avatar aoh commented on August 14, 2024

Ok, I was able to reproduce the bug. Turns out the kernel sets a fairly small limit for maximum hashbang line lengths, so the test failed even though there was nothing wrong in the build. The test now fakes success if the length would be over 127. Let me know it the issue persists.

If you want to run an expression from command line, you need to use ol -e (print "ohai"). Otherwise owl will try to load a file. ol --help shows the options.

Thanks for the bug!

from owl.

alem0lars avatar alem0lars commented on August 14, 2024

Can you release a new version for the bugfix? I'm creating an ebuild (gentoo package) for owl-lisp and I need to use a release.

Thanks :)

from owl.

aoh avatar aoh commented on August 14, 2024

Done :)

from owl.

alem0lars avatar alem0lars commented on August 14, 2024

It works correctly.

Thanks your support has been awesome! :)

btw, the ebuilds are available here (my personal repository):

hopefully in the future they will be included in the gentoo official repository if they'll find a maintainer.

from owl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.