Package Details: widelands-bzr 19.r8984-1

Git Clone URL: (read-only)
Package Base: widelands-bzr
Description: A realtime strategy game with emphasis on economy and transport - development version
Upstream URL:
Licenses: GPL2
Conflicts: widelands, widelands-data
Provides: widelands=19.r8984
Submitter: matthiaskrgr
Maintainer: gamag
Last Packager: gamag
Votes: 6
Popularity: 0.001450
First Submitted: 2012-04-21 17:53
Last Updated: 2019-02-16 23:00

Required by (3)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

weedfreak commented on 2019-07-14 11:50

Fails to build with -

/bin/ld: ../../graphic/libgraphic_gl_utils.a( undefined reference to symbol 'glDrawBuffer' /bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../lib/ error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: [src/economy/test/CMakeFiles/test_economy.dir/build.make:499: src/economy/test/test_economy] Error 1 make[1]: [CMakeFiles/Makefile2:10123: src/economy/test/CMakeFiles/test_economy.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build widelands-bzr.

Found on widelands forum - The build fails because you're building with GLVND rather than the legacy OpenGL library. Setting OpenGL_GL_PREFERENCE=LEGACY in CMake should fix it.

Is it also possible to run this using a launchpad password as that downloads so much quicker?

gamag commented on 2019-02-16 23:10

Thank you for your suggestions. As you can see, I adapted and implemented some of them. Sorry it took me that long to reply.

dreieck commented on 2018-09-04 07:47

Those development builds are advancements of the latest release. I suggest that $pkgver reflects this, like pkgver=19+r8807 (also epoch should be incremented in that case because of change of versioning scheme; i.e. epoch=1). And provides=('widelands') can be enhanced to provides=("widelands=${pkgver}").

Here is a pkgver()-function that fulfills this. Also, I have updated the bzr revno-call to the local source tree, instead of querying online:

pkgver() {
    _get_build_ver() {
        grep -E -e '^[[:space:]]*#define[[:space:]]+VER_BUILD[[:space:]]+' "${srcdir}/${pkgname}/utils/win32/mingw/Widelands_win.h" | sed -E -e 's|^.*VER_BUILD[[:space:]]*||' | sed -E -e 's|[[:space:]]+.*$||'

    _get_svn_rev() {
        cd "${srcdir}/${pkgname}"
        printf "%s" "$(bzr revno -q)"


    if [ -z ${_ver} ]; then
        error "Failed to determine build version. Aborting."
        return 11
    if [ -z ${_rev} ]; then
        error "Failed to determine bazaar revision. Aborting."
        return 12

    printf "%s" "${_ver}+r${_rev}"

A PKGBUILD-patch incorporating all those changes (and some tuned build options):, and the modified PKGBUILD (patch applied): (WARNING: Uses ccache. If you want to use that PKGBUILD for the AUR-package, hand-pick the changes before and e.g. do not include ccache.)

dreieck commented on 2018-09-04 07:27

Building this package requires internet acces not only during download (makepkg -o), but during each build (even makepkg -e, in build(), during the call to cmake), to determine version/ SVN revision. I suggest adding a pinned comment about this.

dreieck commented on 2018-09-02 21:42

You should adding the .. as the last argument to cmake, not as the first one, as it will expect the directory argument as the last one.

gamag commented on 2017-11-27 22:42

Thanks, should be fixed now.

Tmk commented on 2017-11-27 19:33

Hi Gamag! The PKGBUILD needs an adjustment, for now otherwise it crashes. You can get more info at Cheers!

weedfreak commented on 2017-09-06 09:26

In the last week I start getting this error -

-> Updating bzr checkout
bzr: ERROR: Invalid http response for Unable to handle http code 506: Failure To Connect To Web Server
==> ERROR: A failure occurred in prepare().

gamag commented on 2017-08-02 20:33

Good point. I've added the option.

kaputtnik commented on 2017-08-02 17:38

I think the website related executables aren't needed for a normal installation. So some compile time could be saved if the cmake option:


is added to the PKGBUILD :-)

See also the widelands compile script line 30 and line 119 for comparison :