Package Details: gmchess 0.29.6.4-1

Git Clone URL: https://aur.archlinux.org/gmchess.git (read-only, click to copy)
Package Base: gmchess
Description: Play Chinese chess (Xiangqi) against a human opponent or the computer
Upstream URL: https://salsa.debian.org/chinese-team/gmchess
Licenses: GPL2
Conflicts: convert-pgn-bin, eleeye-bin, gmchess-bin
Submitter: None
Maintainer: mrxx
Last Packager: mrxx
Votes: 32
Popularity: 0.000000
First Submitted: 2009-03-26 05:03 (UTC)
Last Updated: 2025-06-04 09:13 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

1 2 3 Next › Last »

d_fajardo commented on 2025-06-20 12:53 (UTC)

Likewise i'm getting the same error in build: configure:4149: error: possibly undefined macro: AM_NLS If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /usr/bin/autoconf failed with exit status: 1 ==> ERROR: A failure occurred in build().

Duter2016 commented on 2025-06-09 00:33 (UTC)

Part2:

lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: GLIB_LC_MESSAGES is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:57: the top level
configure.ac:57: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:57: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:57: the top level
configure.ac:57: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:57: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:57: the top level
configure.ac:57: warning: The macro 'AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:57: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
aclocal.m4:172: GLIB_WITH_NLS is expanded from...
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:57: the top level
configure:4149: error: possibly undefined macro: AM_NLS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gmchess-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
gmchess - exit status 4

Duter2016 commented on 2025-06-09 00:33 (UTC)

Part 1:

==> Making package: gmchess 0.29.6.4-1 (2025年06月09日 星期一 08时29分32秒)
==> Retrieving sources...
  -> Found gmchess-0.29.6.4.tar.gz
  -> Found board-fix-segfault.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha1sums...
    gmchess-0.29.6.4.tar.gz ... Passed
    board-fix-segfault.patch ... Passed
:: (1/1) Parsing SRCINFO: gmchess
==> Making package: gmchess 0.29.6.4-1 (2025年06月09日 星期一 08时29分33秒)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found gmchess-0.29.6.4.tar.gz
  -> Found board-fix-segfault.patch
==> Validating source files with sha1sums...
    gmchess-0.29.6.4.tar.gz ... Passed
    board-fix-segfault.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting gmchess-0.29.6.4.tar.gz with bsdtar
==> Starting prepare()...
patching file src/Board.cc
==> Sources are ready.
==> Making package: gmchess 0.29.6.4-1 (2025年06月09日 星期一 08时29分36秒)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
configure.ac:12: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:12: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:1736: AM_CONFIG_HEADER is expanded from...
configure.ac:12: the top level
configure.ac:16: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:513: IT_PROG_INTLTOOL is expanded from...
configure.ac:16: the top level
configure.ac:17: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:17: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:17: the top level
configure.ac:57: warning: The macro 'GLIB_GNU_GETTEXT' is obsolete.
configure.ac:57: You should run autoupdate.
aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:57: the top level
configure.ac:57: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:57: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...

mrxx commented on 2021-02-02 11:05 (UTC)

Thank you, d_fajardo. I've included the patch.

d_fajardo commented on 2021-02-02 08:56 (UTC)

There has been a discussion here in the Arch forum: https://bbs.archlinux.org/viewtopic.php?id=263151 We have traced the origin of the segmentation fault and there's a working patch. You might want to update the package with this patch.

hosiet commented on 2018-11-04 17:58 (UTC)

Okay it is also crashing for me... It looks weird. Will dig into it later.

mrxx commented on 2018-11-04 17:36 (UTC)

Thanks hosiet, I've updated the source to your repository and now it compiles again.

Unfortunately, starting gmchess seems to segfault (at least on my machine). Any ideas?

hosiet commented on 2018-11-04 16:12 (UTC)

Just FYI, I made some improvements to the source code and the project is available here:

https://salsa.debian.org/chinese-team/gmchess

Although gmchess is no longer maintained in Debian, I think this repo will be kept and available for you to use.

japernilater commented on 2018-03-02 18:32 (UTC)

I apologize to all who have wanted this package updated. Due to life circumstances I no longer have the time or desire to keep this package maintained. Hosiet your orphan request was justified. Thank you all