Package Details: ohrrpgce gorgonzola.r11914-1

Git Clone URL: https://aur.archlinux.org/ohrrpgce.git (read-only, click to copy)
Package Base: ohrrpgce
Description: A role playing game creation engine
Upstream URL: http://rpg.hamsterrepublic.com/ohrrpgce/Main_Page
Keywords: engine game rpg
Licenses: GPL
Submitter: aussieevil
Maintainer: None
Last Packager: aussieevil
Votes: 4
Popularity: 0.002003
First Submitted: 2016-06-12 06:43 (UTC)
Last Updated: 2020-07-23 12:53 (UTC)

Dependencies (10)

Required by (0)

Sources (1)

Latest Comments

tryst commented on 2021-07-26 22:42 (UTC) (edited on 2021-07-26 22:42 (UTC) by tryst)

currently not working for me, I get this error:

lib/stdc++compat.cpp:184:1: error: conflicting declaration of C function 'void __cxa_throw_bad_array_new_length()'
  184 | __cxa_throw_bad_array_new_length()
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11.1.0/bits/basic_ios.h:516,
                 from /usr/include/c++/11.1.0/ios:44,
                 from /usr/include/c++/11.1.0/ostream:38,
                 from lib/stdc++compat.cpp:7:
/usr/include/c++/11.1.0/bits/basic_ios.tcc:74:75: note: previous declaration 'sizetype __cxa_throw_bad_array_new_length()'
   74 |                              _M_local_word : new _Words[__rhs._M_word_size];
      |                                                                           ^
build/game-common.rbas.c:2360:7: warning: conflicting types for built-in function 'fprintf'; expected 'int(void *, const char *, ...)' [-Wbuiltin-declaration-mismatch]
 2360 | int32 fprintf( void*, uint8*, ... );
      |       ^~~~~~~
build/game-common.rbas.c:1:1: note: 'fprintf' is declared in header '<stdio.h>'
  +++ |+#include <stdio.h>
    1 | typedef   signed char       int8;
gcc -o build/lib/termcap_stub.o -c -Wall -DHAVE_GLIBC -fno-omit-frame-pointer -O3 -DFBCVERSION=1081 -no-pie -m64 --std=gnu11 lib/termcap_stub.c
scons: *** [build/lib/stdc++compat.o] Error 1
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
    Aborting...
error making: ohrrpgce

mattiascibien commented on 2019-08-20 20:21 (UTC) (edited on 2019-08-20 20:35 (UTC) by mattiascibien)

I had to patch the package like this in order to be able to build with scons2 and gcc9:

diff --git a/PKGBUILD b/PKGBUILD_mine
index 1cc0d42..47dc29f 100644
--- a/PKGBUILD
+++ b/PKGBUILD_mine
@@ -1,13 +1,13 @@
 # Maintainer: Matthias Lamers <aussieevil@hotmail.com>
 pkgname=ohrrpgce
-pkgver=etheldreme.r9869
+pkgver=etheldreme.r11277
 pkgrel=1
 pkgdesc="A role playing game creation engine"
 arch=(i686 x86_64)
 license=(GPL)
 url="http://rpg.hamsterrepublic.com/ohrrpgce/Main_Page"
 depends=('sdl_mixer' 'openeuphoria' 'libxpm' 'libxrandr' 'ncurses' 'xterm')
-makedepends=('subversion' 'freebasic' 'scons' 'openeuphoria' 'dos2unix')
+makedepends=('subversion' 'freebasic' 'python2-scons' 'openeuphoria' 'dos2unix')
 optdepends=('timidity-freepats: midi music support')
 source=(svn+https://rpg.hamsterrepublic.com/source/rel/etheldreme)

@@ -21,6 +21,8 @@ prepare() {
    cd "${srcdir}/etheldreme"
    sed 's|env python|env python2|' -i reloadbasic/reloadbasic.py
     sed 's|env python|env python2|' -i SConscript
+    #https://sourceforge.net/p/fbc/bugs/904/
+    sed 's|gcc_flags = \[\]|gcc_flags = ["-Wno-format"]|' -i SConscript
    chmod +x reloadbasic/reloadbasic.py
    dos2unix -o *.rbas
    PATH=$PATH:/usr/share/openeuphoria/bin/
@@ -30,9 +32,9 @@ prepare() {
 build() {
    cd "${srcdir}/etheldreme"
    if [ "$CARCH" = "x86_64" ]; then
-       scons arch=64 game custom hspeak unlump relump debug=0 install destdir='../release'
+       scons2 arch=64 game custom hspeak unlump relump debug=0 install destdir='../release'
    else
-       scons game custom hspeak unlump relump debug=0 install destdir='../release'
+       scons2 game custom hspeak unlump relump debug=0 install destdir='../release'
    fi
    cd vikings
    "${srcdir}/release/usr/share/games/ohrrpgce/relump" vikings.rpgdir vikings.rpg

aussieevil commented on 2017-10-27 03:41 (UTC)

@rjt Okay, this build worked on my test VM, so try it now.

rjt commented on 2017-10-23 06:16 (UTC) (edited on 2024-01-31 16:14 (UTC) by rjt)

@aussieevil Still getting a couple of warnings, I'm afraid:

==> Making package: ohrrpgce callipygous.r8062-2 (Mon Oct 23 17:11:39 AEDT 2017)
==> Retrieving sources...
  -> Updating dwimmercrafty svn repo...
Skipped '.'
svn: E155007: None of the targets are working copies
==> WARNING: Failure while updating dwimmercrafty svn repo
==> Validating source files with md5sums...
    dwimmercrafty ... Skipped
:: Building ohrrpgce package(s)...
==> Making package: ohrrpgce callipygous.r8062-2 (Mon Oct 23 17:11:40 AEDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
~/.cache/pacaur/ohrrpgce/PKGBUILD: line 15: cd: ~/.cache/pacaur/ohrrpgce/src/callipygous: No such file or directory
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version: 
:: failed to build ohrrpgce package(s)

[~the tildes were inserted by me~]

aussieevil commented on 2017-10-21 22:59 (UTC)

@rjt: The source URL has been fixed.

rjt commented on 2017-10-19 11:41 (UTC) (edited on 2024-01-31 16:14 (UTC) by rjt)

Thanks for fixing the last error! But now I'm getting the following:

:: Checking ohrrpgce integrity...
==> Making package: ohrrpgce callipygous.r8062-1 (Thu Oct 19 22:03:51 AEDT 2017)
==> Retrieving sources...
  -> Cloning dwimmercrafty svn repo...
svn: E170013: Unable to connect to a repository at URL 'svn://gilgamesh.hamsterrepublic.com/ohrrpgce/rel/dwimmercrafty'
svn: E000110: Can't connect to host 'gilgamesh.hamsterrepublic.com': Connection timed out
==> ERROR: Failure while downloading dwimmercrafty svn repo
    Aborting...
:: failed to verify ohrrpgce integrity

rjt commented on 2017-10-02 06:17 (UTC) (edited on 2024-01-31 16:15 (UTC) by rjt)

Getting the following error:

==> ERROR: pkgver is not allowed to contain colons, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: callipygous.r