Package Details: vvvvvv-git 20201123.9f5f697-2

Git Clone URL: https://aur.archlinux.org/vvvvvv-git.git (read-only, click to copy)
Package Base: vvvvvv-git
Description: A retro-styled 2D platformer
Upstream URL: https://thelettervsixtim.es/
Licenses: custom
Conflicts: vvvvvv
Provides: vvvvvv
Submitter: Xesxen
Maintainer: Xesxen
Last Packager: Xesxen
Votes: 4
Popularity: 0.154715
First Submitted: 2020-01-10 19:01
Last Updated: 2020-11-30 00:20

Latest Comments

1 2 Next › Last »

Xesxen commented on 2020-11-30 00:21

Fixed, apparently I forgot to clean my own build directory when doing the final compile check. Sorry for that

rien333 commented on 2020-11-30 00:11

The following change to the PKGBUILD seems to break the package() phase on my end:

-   source = http://www.flibitijibibo.com/vvvvvv-mp-11192019-bin
+   source = https://thelettervsixtim.es/makeandplay/data.zip

This results in the error:

yay -Sy vvvvvv-git
...
==> Making package: vvvvvv-git 20201123.9f5f697-1 (Mon 30 Nov 2020 12:58:20 AM CET)
... (all goes well)
[100%] Built target VVVVVV
==> Entering fakeroot environment...
==> Starting package()...
/home/rw/.cache/yay/vvvvvv-git/PKGBUILD: line 60: cd: /tmp/makepkg/vvvvvv-git/src/data: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: vvvvvv-git

I think the problem here is that contrary to what the offending line 60 seems to assume (i.e. cd "${srcdir}/data"), there is no data directory, but only a data.zip file in $srcdir. You should probably ensure this file is unpacked, I guess.

abouvier commented on 2020-10-14 19:35

You should use /usr/lib instead of /opt, just like mame.

abouvier commented on 2020-10-03 14:46

dbus is needed for building.

Xesxen commented on 2020-01-12 00:44

The binary name apparently changed in commit a977f497250ba218e6c8b4722205df22348cc3fc, so I've updated the PKGBUILD to reflect this.

I also ran into an issue where -Werror was always enabled, so I've fixed this in 833b2fbf1d14b6d85b97ddeb3ae830f1988ae2c2. (this fixes the issue with edentity[testeditor])

rien333 commented on 2020-01-11 23:38

I found out that my previous problem came about from the inclusion of -O2 in my CXXFLAGS. Upstream is aware of the offending code.

However, I'm experiencing a different, unrelated problem during the package() stage:

==> Starting package()...
install: cannot stat 'vvvvvv.x86_64': No such file or directory
==> ERROR: A failure occurred in package().

Indeed, there is no such file in ${srcdir}/VVVVVV/desktop_version/build. There is a working binary called VVVVVV in that folder, however.

rien333 commented on 2020-01-11 20:28

@kleintux Upstream says it's more likely a problem with the PKGBUILD. Indeed, if I do everything in build() manually in a fresh repo, it builds fine.

Kind of sounds like a bug in my setup (although my /etc/makepkg.conf is relatively vanilla). In the fresh repo, I've manually exported all env vars in makepkg.conf, and then ran make clean + make, but then it also builds fine. Anyone has an idea whats up? How could only makepkg produce this error?

EDIT: See also the comments in the github thread I linked above. Might be upstream anyway.

rien333 commented on 2020-01-11 18:16

I'm getting the following build error (weird how all warnings are treated as errors apparently, although I'm not familiar with cpp/game development)

/tmp/makepkg/vvvvvv-git/src/VVVVVV/desktop_version/src/editor.cpp: In member function ‘void editorclass::findstartpoint(Game&)’:
/tmp/makepkg/vvvvvv-git/src/VVVVVV/desktop_version/src/editor.cpp:1597:45: error: array subscript -1 is below array bounds of ‘edentities [3000]’ [-Werror=array-bounds]
 1597 |         game.edsavedir=1-edentity[testeditor].p1;
      |                          ~~~~~~~~~~~~~~~~~~~^
/tmp/makepkg/vvvvvv-git/src/VVVVVV/desktop_version/src/editor.cpp:2207:19: note: while referencing ‘edentity’
 2207 | extern edentities edentity[3000];
      |                   ^~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/VVVVVV.dir/build.make:89: CMakeFiles/VVVVVV.dir/src/editor.cpp.o] Error 1

vesath commented on 2020-01-11 02:53

Thanks Xesxen!

Xesxen commented on 2020-01-10 22:49

The license has been added and the data.zip is now fetched from automatically instead, thanks @vesath :)