GNU bug report logs -
#43821
Vlang REPL broken
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Guix,
Commit 84fa2ced47e16de66674ca169845a6f08cb5ef6c broke the vlang
REPL (‘v repl’ or simply ‘v’ without arguments) in a new way:
[Message part 2 (text/plain, inline)]
~ λ v
For usage information, quit V REPL and run `v help`
cannot compile
`/gnu/store/zf80y1bfdvpc6s3lrs33vlc6d1d745la-vlang-0.1.29/bin/cmd/tools/vrepl.v`:
builder error: folder
`/gnu/store/zf80y1bfdvpc6s3lrs33vlc6d1d745la-vlang-0.1.29/bin/cmd/tools`
is not writable
[Message part 3 (text/plain, inline)]
The compiler works fine.
The REPL didn't work before so this isn't a regression per se, but
it still needs to be fixed.
[Message part 4 (text/plain, inline)]
λ guix install vlang
The following package will be downgraded:
vlang 0.1.29 → 0.1.27
[...]
~ λ v
For usage information, quit V REPL using `exit` and use `v help`
cannot compile
‘/gnu/store/1f5nzwf1jhn5iikhfpxjdxcbmj24zdf5-vlang-0.1.27/bin/cmd/tools/vrepl.v:
/gnu/store/1f5nzwf1jhn5iikhfpxjdxcbmj24zdf5-vlang-0.1.27/bin/cmd/tools/vrepl.v:64:1:
warning: function `repl_help` in module main cannot be declared
public
62 | }
63 |
64 | pub fn repl_help() {
| ~~~~~~~~~~~~~~~~~~
65 | println(util.full_v_version())
66 | println('
/gnu/store/1f5nzwf1jhn5iikhfpxjdxcbmj24zdf5-vlang-0.1.27/bin/cmd/tools/vrepl.v:73:1:
warning: function `run_repl` in module main cannot be declared
public
71 | }
72 |
73 | pub fn run_repl(workdir string, vrepl_prefix string)
[]string {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
74 | println(util.full_v_version())
75 | println('Use Ctrl-C or `exit` to exit')
/gnu/store/1f5nzwf1jhn5iikhfpxjdxcbmj24zdf5-vlang-0.1.27/bin/cmd/tools/vrepl.v:240:1:
warning: function `rerror` in module main cannot be declared
public
238 | }
239 |
240 | pub fn rerror(s string) {
| ~~~~~~~~~~~~~~~~~~~~~~~
241 | println('V repl error: $s')
242 | os.flush()
builder error: C compiler error, while attempting to run:
-----------------------------------------------------------
cc -std=gnu11 -Wall -Wextra -Wno-unused-variable
-Wno-unused-parameter -Wno-unused-result -Wno-unused-function
-Wno-missing-braces -Wno-unused-label
-Werror=implicit-function-declaration -o
"/gnu/store/1f5nzwf1jhn5iikhfpxjdxcbmj24zdf5-vlang-0.1.27/bin/cmd/tools/vrepl"
"/home/nckx/.cache/v/vrepl.tmp.c" -lm -lpthread -ldl
-----------------------------------------------------------
Probably your C compiler is missing.
Please reinstall it, or make it available in your PATH.
On Debian/Ubuntu, run `sudo apt install build-essential`‘
[Message part 5 (text/plain, inline)]
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.