v up does not work with prebuilt binary releases

Created on 24 Nov 2020  路  9Comments  路  Source: vlang/v

image

after doing v up the v binary got removed,then have to reinstall

image

after re-install back in business

Bug

All 9 comments

@despiegk - does the same thing happen if you symlink your v binary?
Also, when things go wrong - depending on how the homebrew tap is setup you may want to try to run make in the root v directory (don't know where homebrew put it)

I can get it to work I guess, e.g. doing from source, but just wanted to inform that a novice user will get stuck by following the instructions for updating V, will check it later today

How package maintainers choose to setup V is beyond our control - so until we have some sort official support - users will have to use the current recommended way which is to clone it from github and build it from source. This will of course be improved upon in the future.

Maybe it'd help all parties if you file a bug with the tap maintainer?

@despiegk brew has a very old (~3 months) version. In V world that's eternity :)

In any case, v up doesn't work right now with prebuilt binaries, that's a very important issue to fix, since most users will be using them, not building from source.

It should stay open until it's fixed.

or decide not to support v up when prebuilt, and just tell the user that this is not supported like this
good for now I guess.

I can get it to work I guess, e.g. doing from source, but just wanted to inform that a novice user will get stuck by following the instructions for updating V, will check it later today

Thanks. I wondered why I had the following problem on windows:

v up Updating V... V panic: exec failed (CreateProcess): The system cannot find the file specified. cmd: git init 8 : v_panic ?? : address = 0xe9491be6f8 7 : v__util__ensure_modules_for_all_tools_are_installed ?? : address = 0xe9491be6f8 6 : wmain ?? : address = 0xe9491be6f8 5 : invoke_main d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:91 4 : __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 3 : __scrt_common_main d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331 2 : wmainCRTStartup d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_wmain.cpp:17 1 : BaseThreadInitThunk ?? : address = 0xe9491be6f8 0 : RtlUserThreadStart ?? : address = 0xe9491be6f8

Also, I don't know if that's linked but, on windows

  • it seems standard libs are missing (hence the panic on modules?)
  • using [live] does not seem to do anything

Do you want me to open a new issue or post anywhere else?

@whitetigle this is an issue about v up with prebuilt releases.

Everything else should be in separate issues.

There's no way standard libs are missing. Use git clone and make for now.

How package maintainers choose to setup V is beyond our control

This is about the prebuilts from github, not third party packages, no?

How package maintainers choose to setup V is beyond our control

This is about the prebuilts from github, not third party packages, no?

@ChildishGiant OPs screenshot shows homebrew in operation.

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clpo13 picture clpo13  路  3Comments

radare picture radare  路  3Comments

penguindark picture penguindark  路  3Comments

jtkirkpatrick picture jtkirkpatrick  路  3Comments

oleg-kachan picture oleg-kachan  路  3Comments