Package Details: vvvvvv-git 20230402.c88f249f-1

Git Clone URL: (read-only, click to copy)
Package Base: vvvvvv-git
Description: A retro-styled 2D platformer
Upstream URL:
Licenses: custom
Conflicts: vvvvvv
Provides: vvvvvv
Submitter: Xesxen
Maintainer: Xesxen
Last Packager: Xesxen
Votes: 4
Popularity: 0.000001
First Submitted: 2020-01-10 19:01 (UTC)
Last Updated: 2023-04-03 20:08 (UTC)

Latest Comments

1 2 Next › Last »

lithium_sulfate commented on 2022-04-13 08:32 (UTC) (edited on 2022-04-13 12:29 (UTC) by lithium_sulfate)

On March 14, 2022, upstream has migrated the external 3rd party libraries to git submodules, which has broken compilation with the current PKGBUILD. I modified it to accommodate the upstream change and fix the build (on my end, at least):

--- PKGBUILD.old        2022-04-13 10:22:21.891833693 +0200
+++ PKGBUILD    2022-04-13 10:27:50.464368320 +0200
@@ -3,9 +3,9 @@

pkgdesc='A retro-styled 2D platformer'
arch=('i686' 'x86_64')
@@ -16,12 +16,22 @@
+    "git+"
+    "git+"
+    "git+"
+    "git+"
+    "git+"
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    'SKIP'
@@ -34,7 +44,15 @@

prepare() {
-  cd VVVVVV/desktop_version
+  # Initialize submodules
+  cd VVVVVV
+  git submodule init
+  for submod in FAudio lodepng physfs tinyxml2 utfcpp; do
+    git config submodule.$submod.url "$srcdir/$submod"
+  done
+  git submodule update
+  cd desktop_version

echo "Please note: the retrieved is for personal use only without redistribution"
echo "See also: /usr/share/licenses/vvvvvv-git/ and"

Xesxen commented on 2020-11-30 00:21 (UTC)

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 (UTC) (edited on 2020-11-30 00:11 (UTC) by rien333)

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

-   source =
+   source =

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().
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 file in $srcdir. You should probably ensure this file is unpacked, I guess.

abouvier commented on 2020-10-14 19:35 (UTC)

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

abouvier commented on 2020-10-03 14:46 (UTC)

dbus is needed for building.

Xesxen commented on 2020-01-12 00:44 (UTC) (edited on 2020-01-12 00:59 (UTC) by Xesxen)

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 (UTC) (edited on 2020-01-11 23:38 (UTC) by rien333)

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 (UTC) (edited on 2020-01-11 22:25 (UTC) by rien333)

@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 (UTC) (edited on 2020-01-11 18:17 (UTC) by rien333)

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