Thursday, January 30, 2025

vim build tests require xz?

I build vim from source using:

./configure \
    --disable-gui \
    --enable-largefile \
    --enable-multibyte \
    --enable-python3interp \
    --prefix=/usr/local \
    --with-compiledby='Brian Matthews <blmatthews+vim@gmail.com>' &&
    make &&
    make test

I did a git pull this morning, getting:

$ git rev-parse HEAD
8297e2cee337c626c6691e81b25e1f1897c71b86

The make and make test worked just fine on one machine. I then tried it
on my main development machine and it ended with:

01:58 Executing Test_glvs_default_tar_xz()
/bin/bash: unxz: command not found
tar: dumpx.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
mv: rename dumpx.tar to
/Users/blm/src/3rdparty/vim9/src/testdir/XfakeHOME/.vim/GetLatest/Installed/dumpx.tar:
No such file or directory

On the machine the build worked on:

01:20 Executing Test_glvs_default_tar_xz()
x dumpx/
x dumpx/README.md
x dumpx/LICENSE
x dumpx/plugin/
x dumpx/plugin/dumpx.vim
x dumpx/plugin/autoycm.pl
x dumpx/syntax/
x dumpx/syntax/dumpx.vim
x dumpx/doc/
x dumpx/doc/dumpx.txt

On the machine it fails:

$ type unxz
-bash: type: unxz: not found

And where it works:

$ type unxz
unxz is /usr/local/bin/unxz

I'm still on macOS Monterey, so maybe xz/unxz come standard with Xcode
for a newer macOS? Although I do an awful lot of development on a
machine with neither installed. :-)

There's an obvious workaround, although I kind of hate installing extra
stuff if I can avoid it, but thought someone would want to know.

Thanks,
Brian

--
--
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.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/ffafc666-6b93-4d5c-8d47-dd99bcd2f90c%40gmail.com.

No comments: