Description
Describe the bug
I'm trying to build/package the 0.4.6 release of V on openSUSE. I'm following packaging_v_for_distributions.md It appears I can produce a v
binary and I'm trying to do v build-tools
. That was failing, so I tried v self-test
. I'm getting this error:
[ 53s] + ./vlang-stage1 -prod -no-parallel -o vlang-stage2 cmd/v
[ 98s] + ./vlang-stage2 -prod -o vlang cmd/v
[ 143s] + echo 'println('\''Use your package manager to update V'\'')'
[ 143s] + echo 'println('\''v self is disabled for the packaged versions of V'\'')'
[ 143s] + export VEXE=/home/abuild/rpmbuild/BUILD/vlang
[ 143s] + VEXE=/home/abuild/rpmbuild/BUILD/vlang
[ 143s] + export VTEST_SANDBOXED_PACKAGING=
[ 143s] + VTEST_SANDBOXED_PACKAGING=
[ 143s] + ./vlang test-self
[ 153s] > error while executing: /home/abuild/rpmbuild/BUILD/cmd/tools/vtest-self ['test-self']
[ 153s] V panic: No such file or directory; code: 2
[ 153s] v hash: c412b9f
[ 153s] | 0x5620ee8db5fc | ./vlang(+0x2215fc)
[ 153s] | 0x5620ee6bd61e | ./vlang(+0x361e)
[ 153s] | 0x7fb9c1a2a1f0 | /lib64/libc.so.6(+0x2a1f0)
[ 153s] | 0x7fb9c1a2a2b9 | /lib64/libc.so.6(__libc_start_main+0x8b)
[ 153s] | 0x5620ee6bd655 | ./vlang(+0x3655)
[ 153s] error: Bad exit status from /var/tmp/rpm-tmp.K1BGeO (%build)
It does not give me enough information to proceed further. Is there a way to figure out what file it cannot find?
Reproduction Steps
Here is the project with the .spec
file if that can be helpful:
https://build.opensuse.org/package/show/home:bberberov/vlang
Expected Behavior
A more verbose output so I can figure out what is missing and correct it.
Current Behavior
[ 143s] + ./vlang test-self
[ 153s] > error while executing: /home/abuild/rpmbuild/BUILD/cmd/tools/vtest-self ['test-self']
[ 153s] V panic: No such file or directory; code: 2
[ 153s] v hash: c412b9f
[ 153s] | 0x5620ee8db5fc | ./vlang(+0x2215fc)
[ 153s] | 0x5620ee6bd61e | ./vlang(+0x361e)
[ 153s] | 0x7fb9c1a2a1f0 | /lib64/libc.so.6(+0x2a1f0)
[ 153s] | 0x7fb9c1a2a2b9 | /lib64/libc.so.6(__libc_start_main+0x8b)
[ 153s] | 0x5620ee6bd655 | ./vlang(+0x3655)
Possible Solution
No response
Additional Information/Context
No response
V version
0.4.6
Environment details (OS name and version, etc.)
If I cannot run self-test
can I run doctor
? I didn't even know that existed until now.
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.