Package Details: zdoom-git 2.9pre+2176+gd44976175-1

Git Clone URL: https://aur.archlinux.org/zdoom-git.git (read-only, click to copy)
Package Base: zdoom-git
Description: Advanced Doom source port (git version)
Upstream URL: http://www.zdoom.org/
Licenses: BSD, LGPL, custom:dumb, custom:BUILD, custom:doom
Conflicts: zdoom
Provides: zdoom
Submitter: grubber
Maintainer: None
Last Packager: grubber
Votes: 12
Popularity: 0.000000
First Submitted: 2013-06-25 15:21 (UTC)
Last Updated: 2023-05-27 09:42 (UTC)

Dependencies (32)

Required by (0)

Sources (4)

Latest Comments

1 2 Next › Last »

dreieck commented on 2023-04-24 14:39 (UTC)

Build from source fails for me with
oalsound.cpp:1311:41: error: ‘mem_fn’ is not a member of ‘std’.

I cannot report it upstream because issues are not activated in the github repository, and no email adress is given at the upstream website (and just for reporting a big for them I won't register in the forum -- maybe someone else wants to report the issue to the forum?):

[ 53%] Building CXX object src/CMakeFiles/zdoom.dir/b_bot.cpp.o
In file included from /tmp/makepkg/build/zdoom-git/src/zdoom/src/actor.h:44,
                 from /tmp/makepkg/build/zdoom-git/src/zdoom/src/g_shared/a_sharedglobal.h:5,
                 from /tmp/makepkg/build/zdoom-git/src/zdoom/src/am_map.cpp:34:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/portal.h: In member function ‘void FDisplacementTable::Create(int)’:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/portal.h:50:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct FDisplacement’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
   50 |                 memset(&data[0], 0, numgroups*numgroups*sizeof(data[0]));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/portal.h:29:8: note: ‘struct FDisplacement’ declared here
   29 | struct FDisplacement
      |        ^~~~~~~~~~~~~
In file included from /tmp/makepkg/build/zdoom-git/src/zdoom/src/serializer.h:7,
                 from /tmp/makepkg/build/zdoom-git/src/zdoom/src/am_map.cpp:41:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/r_defs.h: In member function ‘void secspecial_t::Clear()’:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/r_defs.h:584:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct secspecial_t’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  584 |                 memset(this, 0, sizeof(*this));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/r_defs.h:568:8: note: ‘struct secspecial_t’ declared here
  568 | struct secspecial_t
      |        ^~~~~~~~~~~~
In file included from /tmp/makepkg/build/zdoom-git/src/zdoom/src/actor.h:44,
                 from /tmp/makepkg/build/zdoom-git/src/zdoom/src/r_defs.h:39,
                 from /tmp/makepkg/build/zdoom-git/src/zdoom/src/b_bot.h:14,
                 from /tmp/makepkg/build/zdoom-git/src/zdoom/src/b_bot.cpp:8:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/portal.h: In member function ‘void FDisplacementTable::Create(int)’:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/portal.h:50:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct FDisplacement’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
   50 |                 memset(&data[0], 0, numgroups*numgroups*sizeof(data[0]));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/portal.h:29:8: note: ‘struct FDisplacement’ declared here
   29 | struct FDisplacement
      |        ^~~~~~~~~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/r_defs.h: In member function ‘void secspecial_t::Clear()’:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/r_defs.h:584:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct secspecial_t’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  584 |                 memset(this, 0, sizeof(*this));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/r_defs.h:568:8: note: ‘struct secspecial_t’ declared here
  568 | struct secspecial_t
      |        ^~~~~~~~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp: In member function ‘virtual SoundStream* OpenALSoundRenderer::CreateStream(SoundStreamCallback, int, int, int, void*)’:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp:1298:41: error: ‘mem_fn’ is not a member of ‘std’
 1298 |         StreamThread = std::thread(std::mem_fn(&OpenALSoundRenderer::BackgroundProc), this);
      |                                         ^~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp:67:1: note: ‘std::mem_fn’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
   66 | #include "oalload.h"
  +++ |+#include <functional>
   67 | 
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp:1297:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1297 |     if(StreamThread.get_id() == std::thread::id())
      |     ^~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp:1299:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1299 |         OpenALSoundStream *stream = new OpenALSoundStream(this);
      |         ^~~~~~~~~~~~~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp: In member function ‘virtual SoundStream* OpenALSoundRenderer::OpenStream(FileReader*, int)’:
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp:1311:41: error: ‘mem_fn’ is not a member of ‘std’
 1311 |         StreamThread = std::thread(std::mem_fn(&OpenALSoundRenderer::BackgroundProc), this);
      |                                         ^~~~~~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp:1311:41: note: ‘std::mem_fn’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp:1310:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1310 |     if(StreamThread.get_id() == std::thread::id())
      |     ^~
/tmp/makepkg/build/zdoom-git/src/zdoom/src/sound/oalsound.cpp:1312:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1312 |         OpenALSoundStream *stream = new OpenALSoundStream(this);
      |         ^~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/zdoom.dir/build.make:1441: src/CMakeFiles/zdoom.dir/sound/oalsound.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:574: src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Regards!

dreieck commented on 2023-04-24 13:57 (UTC)

Source protocol needs to be changed from git:// to git+https:// due to changes at github.

Please fix.

Regards and thanks for maintaining!

notuxius commented on 2018-03-20 21:12 (UTC)

error upon build

make[2]: [src/CMakeFiles/zdoom.dir/build.make:2388: src/CMakeFiles/zdoom.dir/sound/oalsound.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:640: src/CMakeFiles/zdoom.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build().

grubber commented on 2014-12-26 16:41 (UTC)

GZDoom does this. I provide a patch in my GZDoom packages which should prevent GZDoom from replacing ZDoom's zdoom.ini, but if you have used unpatched GZDoom in past, you may already have your zdoom.ini overwritten by GZDoom.

Trist commented on 2014-12-25 04:26 (UTC)

The zdoom.ini found in ~/.config/zdoom was incorrect for me. This took me awhile to find out because I kept overlooking it I guess. All the results were marked for gzdoom directories. For example, /usr/share/games/gzdoom for zdoom.pk3, something that kept me frustrated for days. After fixing up that and removing the links in the PKGBUILD (though I did this out of preference) the game started working for me. So if zdoom has difficulty finding zdoom.pk3, you need to edit that .ini mentioned earlier and change all the directory lines from gzdoom to zdoom. Not sure if this is a personal problem from previous installations or whatever, just posting in case someone else encounters this.

grubber commented on 2014-09-29 14:56 (UTC)

This is the recommended version for ZDoom. FMOD Ex does not have stable API and ZDoom compiles only with some versions of it. Even if you successfully compiled ZDoom with the fmodex package from the community repo, it would break and have to be recompiled every time the fmodex package is updated.

stevenhoneyman commented on 2014-09-27 13:12 (UTC)

does this specifically need to depend on that version of fmodex? (there's a newer one in the main repos)

alucryd commented on 2013-08-28 10:17 (UTC)

grubber: having SVN version in the pkgdesc of a git package isn't exactly correct.

grubber commented on 2013-05-29 16:58 (UTC)

The way makepkg does automatic pkgver updates has changed (see http://allanmcrae.com/2012/08/changes-to-vcs-packaging-support-in-makepkg/), hence the error. Anyway, the latest revision does not compile successfuly for me, so I'm waiting until it does before updating the package.