Package Base Details: dxx-rebirth-git

Git Clone URL: https://aur.archlinux.org/dxx-rebirth-git.git (read-only, click to copy)
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 3
Popularity: 0.000000
First Submitted: 2018-03-17 13:47 (UTC)
Last Updated: 2024-03-17 14:29 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

dbermond commented on 2022-08-21 13:55 (UTC)

@a172 Upstream is having some problems with compilers. It started giving problem with gcc, then I switched to clang for fixing the build. Now it fails with clang, and I've switched back to gcc, as it's currently building fine with it again.

a172 commented on 2022-08-20 20:40 (UTC) (edited on 2022-08-20 20:51 (UTC) by a172)

I'm sure that I'm doing something wrong, but I can't figure out what it is. I built 0.60.0.beta2.r1861.gd1ed53ebd-1 on 2022-06-21, and it works great. However, I'm unable to build it now. Here is what I'm getting (edit: mucked with the line wrapping a bit to make it easier to read here):

[a lot of output that probably isn't relevant]
CXX d1x ./build/ similar/main/multi.cpp
In file included from similar/main/multi.cpp:39:
In file included from common/main/game.h:32:
In file included from common/main/robot.h:34:
In file included from common/main/object.h:40:
common/include/valptridx.h:229:2: error: call to
unsigned int valptridx<dcx::player>::check_index_range_size<valptridx<dcx::player>::index_range_exception, std::less>(char const*, unsigned int, unsigned long, valptridx<dcx::player>::array_managed_type const*)::DXX_ALWAYS_ERROR_FUNCTION::dxx_trap_handle_index_range_error()
declared with 'error' attribute: invalid index used in array subscript
    DXX_VALPTRIDX_CHECK(Compare<std::size_t>()(s, array_size), handle_index_range_error, "invalid index used in array subscript", a, s);
    ^
common/include/valptridx.h:37:3: note: expanded from macro 'DXX_VALPTRIDX_CHECK'
        DXX_VALPTRIDX_STATIC_CHECK(dxx_valptridx_check_success_condition, dxx_trap_##ERROR, FAILURE_STRING);    \
        ^
common/include/valptridx.h:20:5: note: expanded from macro 'DXX_VALPTRIDX_STATIC_CHECK'
            (DXX_ALWAYS_ERROR_FUNCTION(FAILURE_FUNCTION, FAILURE_STRING), 0)    \
             ^
build/dxxsconf.h:81:2: note: expanded from macro 'DXX_ALWAYS_ERROR_FUNCTION'
    DXX_ALWAYS_ERROR_FUNCTION::F(); \
    ^
1 error generated.
scons: *** [build/similar/main/.d1x-rebirth.multi.o] Error 1
scons: building terminated because of errors.
Failed target count: total=1; targets with enable_build_failure_summary=1: 1
Failed node list:
        build/similar/main/.d1x-rebirth.multi.o
Failed command list:
 clang++ \
   -c \
   -g \
   -O2 \
   -ftabstop=4 \
   -Wall \
   -Wextra \
   -Wformat=2 \
   -Wmissing-braces \
   -Wmissing-include-dirs \
   -Wuninitialized \
   -Wundef \
   -Wpointer-arith \
   -Wcast-qual \
   -Wmissing-declarations \
   -Wvla \
   -pthread \
   -funsigned-char \
   -march=x86-64 \
   -mtune=generic \
   -O2 \
   -pipe \
   -fno-plt \
   -fexceptions \
   -Wp,-D_FORTIFY_SOURCE=2 \
   -Wformat \
   -Werror=format-security \
   -fstack-clash-protection \
   -fcf-protection \
   -Wp,-D_GLIBCXX_ASSERTIONS \
   -std=gnu++20 \
   -Werror=unused \
   -Wno-unused-lambda-capture \
   -Wno-gnu-string-literal-operator-template \
   -fvisibility=hidden \
   -Wredundant-decls \
   -Wno-sign-compare \
   -DPHYSFS_DEPRECATED= \
   -DNDEBUG \
   -DRELEASE \
   -D_REENTRANT \
   -DDXX_BUILD_DESCENT_I \
   -D__STDC_FORMAT_MACROS \
   -DDXX_USE_SHAREPATH=1 \
   -Icommon/include \
   -Icommon/main \
   -I. \
   -Ibuild \
   -I/usr/include/libpng16 \
   -I/usr/include/SDL2 \
   -Id1x-rebirth/main "similar/main/multi.cpp" \
   -o "build/similar/main/.d1x-rebirth.multi.o"
==> ERROR: A failure occurred in build().
    Aborting...

dbermond commented on 2022-05-28 22:12 (UTC)

@hl037 Fixed.

hl037 commented on 2022-05-25 22:16 (UTC)

Hi, I got some problems trying to compile it... Seems like the archlinux sdl is not opengl eneble but that's weird :

scons: Entering directory `/home/leo/.cache/yay/dxx-rebirth-git/src/dxx-rebirth'
scons: Reading SConscript files ...
===== D1X-Rebirth v0.61.0 0.60.0-beta2-1819-ga8e7f6ad597d a8e7f6ad597d5036adb738a784dc15f50266dab6 =====
DXX-Archive.2: compiling on 'linux'/'x86_64' for 'linux' into ./build/
DXX-Archive.2: checking version of C++ compiler 'x86_64-pc-linux-gnu-g++' ... 'x86_64-pc-linux-gnu-g++ (GCC) 12.1.0'
DXX-Archive.2: checking path to assembler ... b'as'
DXX-Archive.2: checking version of assembler b'as' ... 'Assembleur GNU (GNU Binutils) 2.38'
DXX-Archive.2: checking path to linker ... b'ld'
DXX-Archive.2: checking version of linker b'ld' ... 'GNU ld (GNU Binutils) 2.38'
DXX-Archive.2: CHOST: 'x86_64-pc-linux-gnu'
DXX-Archive.2: CXX: 'x86_64-pc-linux-gnu-g++'
DXX-Archive.2: CPPDEFINES: [('PHYSFS_DEPRECATED', '')]
DXX-Archive.2: CPPPATH: ['common/include', 'common/main', '.', './build/']
DXX-Archive.2: CPPFLAGS: ['-Wno-sign-compare', '-D_FORTIFY_SOURCE=2']
DXX-Archive.2: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=vla', '-pthread', '-funsigned-char', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fstack-protector-strong', '-fno-plt', '-flto']
DXX-Archive.2: LIBS: None
DXX-Archive.2: LINKFLAGS: ['-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now']
DXX-Archive.2: $CCACHE_PREFIX: None
DXX-Archive.2: $DISTCC_HOSTS: None
DXX-Archive.2: checking whether C++ compiler and linker work...yes
DXX-Archive.2: checking whether C++ compiler accepts -std=gnu++17...yes
DXX-Archive.2: checking endian to use...little
DXX-Archive.2: checking whether to enable word alignment fixups...no
DXX-Archive.2: building with OpenGL
DXX-Archive.2: checking whether to enable release options...yes
DXX-Archive.2: checking whether to enable memory allocation tracking...no
DXX-Archive.2: checking whether to enable level editor...no
DXX-Archive.2: checking whether to enable IPv6 support...yes
DXX-Archive.2: checking whether to enable multiplayer over UDP...yes
DXX-Archive.2: checking whether to enable UDP game tracker...yes
DXX-Archive.2: checking how to handle ADL MIDI...disabled
DXX-Archive.2: checking how to format screenshots...png
DXX-Archive.2: checking libpng pkg-config libpng
DXX-Archive.2: using pkg-config at discovered path /usr/bin/x86_64-pc-linux-gnu-pkg-config
DXX-Archive.2: reading libpng version from ('/usr/bin/x86_64-pc-linux-gnu-pkg-config', '--modversion', 'libpng')
DXX-Archive.2: libpng version: b'1.6.37'
DXX-Archive.2: reading libpng settings from ('/usr/bin/x86_64-pc-linux-gnu-pkg-config', '--cflags', '--libs', 'libpng')
DXX-Archive.2: libpng settings: {'CPPPATH': ['/usr/include/libpng16'], 'LIBS': ['png16', 'z']}
DXX-Archive.2: checking for usable library png...yes
DXX-Archive.2: checking physfs pkg-config physfs
DXX-Archive.2: reading physfs version from ('/usr/bin/x86_64-pc-linux-gnu-pkg-config', '--modversion', 'physfs')
DXX-Archive.2: physfs version: b'3.0.2'
DXX-Archive.2: reading physfs settings from ('/usr/bin/x86_64-pc-linux-gnu-pkg-config', '--cflags', '--libs', 'physfs')
DXX-Archive.2: physfs settings: {'LIBS': ['physfs']}
DXX-Archive.2: checking for usable library physfs...yes
DXX-Archive.2: checking for usable library ['GL', 'GLU']...yes
DXX-Archive.2: checking SDL pkg-config sdl
DXX-Archive.2: reading sdl version from ('/usr/bin/x86_64-pc-linux-gnu-pkg-config', '--modversion', 'sdl')
DXX-Archive.2: SDL version: b'1.2.52'
DXX-Archive.2: reading SDL settings from ('/usr/bin/x86_64-pc-linux-gnu-pkg-config', '--cflags', '--libs', 'sdl')
DXX-Archive.2: SDL settings: {'CPPDEFINES': [['_GNU_SOURCE', '1'], '_REENTRANT'], 'CPPPATH': ['/usr/include/SDL'], 'LIBS': ['SDL']}
DXX-Archive.2: checking whether to enable joystick support...yes
DXX-Archive.2: checking for usable library SDL with OpenGL...no
DXX-Archive.2: checking for usable header SDL.h...no
DXX-Archive.2: checking whether compiler can parse header SDL.h...yes
DXX-Archive.2: checking for usable library SDL without OpenGL...yes
scons: *** Rebirth configured with OpenGL enabled, but SDL configured with OpenGL disabled.  Disable Rebirth OpenGL or install an SDL with OpenGL enabled.  See build/sconf.log for details.  Stop.

dbermond commented on 2020-01-03 21:56 (UTC)

@SanskritFritz Thanks for appreciating the package. Please enjoy :)

SanskritFritz commented on 2019-12-29 21:21 (UTC)

Perfect :D

SanskritFritz commented on 2019-12-28 11:28 (UTC)

Interesting, you're right. I don't know why we don't have access to a deleted repo, but anyway, write to the mailing list and they'll help you with that.

blip commented on 2019-12-28 09:47 (UTC)

It appears someone allready created a repo named dxx-rebirth-git. I can't find it when searching for it in the packages, but you can clone it. I'm trying to submit a merge request anyway.

SanskritFritz commented on 2019-11-26 11:04 (UTC)

Just create the new package with the new name and then submit a merge request from here (there is a link here under Package actions.

blip commented on 2019-11-26 08:54 (UTC)

Hey SanskritFritz, good idea, I just don't know how to do that :-/