Giter Site home page Giter Site logo

Build failing after #98 about common-lisp HOT 8 CLOSED

exercism avatar exercism commented on July 28, 2024
Build failing after #98

from common-lisp.

Comments (8)

verdammelt avatar verdammelt commented on July 28, 2024

Hmm could there be some issue with an updated dependency between the last good build and this one? (I kicked off a rebuild before seeing this - i'm assuming it is going to fail). Perhaps SBCL and/or lisp-unit updated?

from common-lisp.

verdammelt avatar verdammelt commented on July 28, 2024

(scene: a SLIME SBCL REPL)

CL-USER> (ql:update-all-dists)
...
172,166 bytes in 0.28 seconds (606.97KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/lisp-unit/2016-02-08/lisp-unit-20160208-git.tgz">
; 17.48KB
...
CL-USER> (load "robot-name-test.lisp")

To load "lisp-unit":
Load 1 ASDF system:
lisp-unit
; Loading "lisp-unit"

; in: LAMBDA ()
; (LISP-UNIT:ASSERT-TRUE
; (AND (= (LENGTH ROBOT-NAME-TEST::NAME) 5)
; (EVERY #'ROBOT-NAME-TEST::IS-UPPER-ALPHA-P
; (SUBSEQ ROBOT-NAME-TEST::NAME 0 2))
; (EVERY #'ROBOT-NAME-TEST::IS-DIGIT-P
; (SUBSEQ ROBOT-NAME-TEST::NAME 2 5))))
; --> LISP-UNIT::EXPAND-T-OR-F LET
; ==>
; #'AND
;
; caught ERROR:
; The macro name AND was found as the argument to FUNCTION.
;
; compilation unit finished
; caught 1 ERROR condition
| Execution error:
| Execution of a form compiled with errors.
Form:
#'AND
Compile-time error:
The macro name AND was found as the argument to FUNCTION.

Looks like the problem is reproducable with the new version of lisp-unit. Happy Valentine's Day!

from common-lisp.

wobh avatar wobh commented on July 28, 2024

Ha! Jinx!

from common-lisp.

verdammelt avatar verdammelt commented on July 28, 2024

Quick scan of lisp-unit makes it look like there has been some "refactoring" done - and now it assumes that the argument to assert-true (and others) is a functional call form (e.g. (fn arg1 arg2...) if it is not an atom.

sigh

We should have snapshotted lisp-unit and checked it into the repo.

from common-lisp.

wobh avatar wobh commented on July 28, 2024

I wondered if we could specify a version of lisp-unit to use between quicklisp and travisci, but based on what I've gleaned, no.

from common-lisp.

wobh avatar wobh commented on July 28, 2024

Sorry to keep closing and reopening. On a phone.

from common-lisp.

wobh avatar wobh commented on July 28, 2024

Ugh.

from common-lisp.

verdammelt avatar verdammelt commented on July 28, 2024

I think I have a fix. Workaround really. Going to try to spend a little time with lisp-unit to figure out what changed and perhaps even why. Perhaps send a pull request etc. etc.

from common-lisp.

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.