Package Details: 0ad-git 18291-1

Git Clone URL: https://aur.archlinux.org/0ad-git.git (read-only)
Package Base: 0ad-git
Description: Cross-platform, 3D and historically-based real-time strategy game — built from git source tree. WARNING: the 0ad git repo is 2.7 GB in size!
Upstream URL: http://play0ad.com/
Licenses: GPL2, CCPL
Conflicts: 0ad
Provides: 0ad
Submitter: fusion809
Maintainer: fusion809
Last Packager: fusion809
Votes: 4
Popularity: 0.011174
First Submitted: 2016-09-09 11:31
Last Updated: 2017-02-05 21:51

Latest Comments

JeromeS commented on 2017-05-20 04:24

Build fails since the update of icu, with an error in Fcollada. I get plenty of error like this message:
/usr/include/unicode/umachine.h:347:13: error: « char16_t » is not a type
typedef char16_t UChar;

Any idea what I'm doing wrong?

jamincollins commented on 2017-02-05 22:49

@fusion809, if you don't have the tools to properly maintain the package(s) please consider orphaning the package or recruiting a co-maintainer that does have the tools.

fusion809 commented on 2017-02-05 21:52

@jamincollins I would if I still had an Arch Linux system to do this on. I can still do routine maintenance (like bumping package versions, making adjustments to the PKGBUILD, etc.) on my AUR packages but I can't do what you're mentioning as I don't have the tools to build.

jamincollins commented on 2017-02-05 21:37

This package fails to successfully build in a clean chroot.

==8<==========================================================================
...
==> Validating source files with md5sums...
0ad ... Skipped
==> ERROR: Cannot find the git package needed to handle git sources.

==> ERROR: An unknown error has occurred. Exiting...
ERROR: Build failed: exit status 1
==8<==========================================================================

The following changes correct this:

==8<==========================================================================
diff --git a/PKGBUILD b/PKGBUILD
index f4af7da..fe169d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ license=('GPL2' 'CCPL')
depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu'
'gloox' 'miniupnpc' 'icu' 'nspr')
-makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm' 'git')
source=("git+https://github.com/0ad/0ad.git")
md5sums=('SKIP')
==8<==========================================================================


Please consider testing new package versions by building them in a clean chroot[1], with something like the following:

==8<==========================================================================
#!/bin/bash
BUILD_CHROOT=~/.local/build-chroot
test -d ${BUILD_CHROOT} || \
mkdir -p ${BUILD_CHROOT}
test -d ${BUILD_CHROOT}/root && \
arch-nspawn ${BUILD_CHROOT}/root pacman -Syu || \
mkarchroot ${BUILD_CHROOT}/root base-devel
makechrootpkg -c -n -T -u -r ${BUILD_CHROOT} -- --cleanbuild
==8<==========================================================================

[1] - https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

fusion809 commented on 2016-11-09 07:42

@cRaZy-bisCuiT git packages shouldn't be flagged as out of date because they are automatically updated to the latest version whenever you build them!

fusion809 commented on 2016-10-21 18:04

@Imat, never heard of it. Guessin' it clones the repo with only the top-level contents? If it omits any part of the repo's contents my guess is no. Most git repos try to only include vital components, so if you strip anything from them it will likely lead to problems.

lmat commented on 2016-10-21 17:59

Is it possible to use a shallow clone? (git clone --depth 1; or whatever)