Friday, November 10, 2017

compilation/testing as root goes ok but compilation/ŧesting as non-root does not

Dear community,

I'm not an experienced "compiler" but this issue is puzzling me:

When I build vim as root with sudo everything goes well and `make test` happens
flawlessly.

If I build vim as as regular user with $PREFIX = '/tmp/' I can build, the
executables are generated and seemingly work but `make test` fails on the first
opportunity.

Can you give me a hint on this problem? I suspect that the lack of admin
privileges is creating a hindrance but I'm not sure.

I'm on an Arch Linux OS. Let me know what kind of information I shall provide
to narrow down the error possibilities.

Details on the error test:

~~~~~~
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && /usr/bin/make test
make[1]: Entering directory '/tmp/tmpighvuewc/vim/src'
/usr/bin/make -f Makefile vim
make[2]: Entering directory '/tmp/tmpighvuewc/vim/src'
make[2]: 'vim' is up to date.
make[2]: Leaving directory '/tmp/tmpighvuewc/vim/src'
if test -n "yes" -a -f po/Makefile; then \
cd po; /usr/bin/make -f Makefile check VIM=../vim; \
fi
make[2]: Entering directory '/tmp/tmpighvuewc/vim/src/po'
../vim -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq af.po
make[2]: Leaving directory '/tmp/tmpighvuewc/vim/src/po'
make[1]: Leaving directory '/tmp/tmpighvuewc/vim/src'
make[2]: *** [Makefile:153: af.ck] Error 1
make[1]: *** [Makefile:2061: scripttests] Error 2
make: *** [Makefile:39: test] Error 2
~~~~~~

Last messages from compilation:

~~~~~~
cd /tmp/share/vim/vim80/ftplugin; chmod 644 *.vim README.txt
cd ../runtime/compiler; cp *.vim README.txt /tmp/share/vim/vim80/compiler
cd /tmp/share/vim/vim80/compiler; chmod 644 *.vim README.txt
make[1]: Leaving directory '/tmp/tmpighvuewc/vim/src'
~~~~~~

Thanks again for providing me with your expertise :)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: