Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ros update system results in ros printing no update function for XXX and quitting #578

Open
digikar99 opened this issue Jan 31, 2024 · 1 comment

Comments

@digikar99
Copy link

Environment

$ uname -a
Linux shubhamkar-laptop 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

$ ros --version
roswell 23.10.14.114(NO-GIT-REVISION)

$ ros config
abcl-bin.version=1.9.2
ccl-bin.version=1.12.2
setup.time=3913510268
sbcl-bin.version=2.4.0
default.lisp=sbcl-bin

Possible subcommands:
set
show

We may assign explanatory tags to bad questions instead of replying to it.
See this famous text on how to ask good questions http://catb.org/~esr/faqs/smart-questions.html

How to reproduce the issue

Install any system from github. For example

ros install lisp-maintainers/cl-repl

Then, try updating it

ros update lisp-maintainers/cl-repl

Expected behavior

Going by the documentation from ros help update this should result in a git pull.

...
Update system
       When system are already installed and the system has .git in the system direc‐
       tory it invoke git pull and ros install the system.
...

Actual result

Ros quits printing

$ ros update lisp-maintainers/cl-repl
no update function for lisp-maintainers/cl-repl
@digikar99
Copy link
Author

Going by the code in lisp/update.ros, it seems I should be invoking ros update git XXX, but this results in a component not found error.

$ ros update git lisp-maintainers/cl-repl
Unhandled ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread #<SB-THREAD:THREAD tid=811851 "main thread" RUNNING
                                                             {1002248003}>:
  Component "lisp-maintainers/cl-repl" not found

Backtrace for: #<SB-THREAD:THREAD tid=811851 "main thread" RUNNING {1002248003}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK Component "lisp-maintainers/cl-repl" not found #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* Component "lisp-maintainers/cl-repl" not found)
2: (INVOKE-DEBUGGER Component "lisp-maintainers/cl-repl" not found)
3: (ERROR ASDF/FIND-COMPONENT:MISSING-COMPONENT :REQUIRES "lisp-maintainers/cl-repl")
4: ((LAMBDA NIL :IN ASDF/SYSTEM:FIND-SYSTEM))
5: (ASDF/SESSION:CONSULT-ASDF-CACHE (ASDF/SYSTEM:FIND-SYSTEM "lisp-maintainers/cl-repl") #<FUNCTION (LAMBDA NIL :IN ASDF/SYSTEM:FIND-SYSTEM) {1002508FEB}>)
6: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/SYSTEM:FIND-SYSTEM) {1002508FEB}> :OVERRIDE NIL :KEY (ASDF/SYSTEM:FIND-SYSTEM "lisp-maintainers/cl-repl") :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
7: (ROSWELL.UPDATE.GIT::GIT "lisp-maintainers/cl-repl")
8: (MAIN "git" "lisp-maintainers/cl-repl")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant