Package Details: gforth-git 20180206-1

Git Clone URL: (read-only, click to copy)
Package Base: gforth-git
Description: Gforth is the Forth implementation of the GNU project.
Upstream URL:
Licenses: GPLv3
Conflicts: gforth
Provides: gforth
Submitter: b4283
Maintainer: b4283
Last Packager: b4283
Votes: 1
Popularity: 0.000000
First Submitted: 2018-02-06 16:24 (UTC)
Last Updated: 2018-11-04 16:09 (UTC)

Required by (1)

Sources (1)

Latest Comments

acdw commented on 2021-04-01 03:04 (UTC)

gforth also requires 'tex' binary to for make doc .. does that need to be a build dependency? Or am I missing a common dependency?

alex.shpilkin commented on 2019-02-15 15:11 (UTC)

Also, a minor problem: Gforth now reports the original locations of redefined words, but the way it's built here causes it to report relative paths for its own libraries (usr should be /usr):

condit.fth:35:35: warning: redefined catch with CATCH
usr/share/gforth/0.7.9_20190214/kernel/basics.fs:240:7: warning: original location

alex.shpilkin commented on 2019-02-15 15:07 (UTC)

Need to comment out the chcon call in to make this build properly (I don’t use SELinux). No idea if this is a Gforth problem or an SELinux one, but this “fix” would probably break the build on an SELinux system.

diff -aur -x .git src.old/gforth/ src/gforth/
--- src.old/gforth/ 2019-02-15 18:04:08.167472880 +0300
+++ src/gforth/ 2019-02-15 18:02:27.142686145 +0300
@@ -963,7 +963,7 @@

 #work around SELinux brain damage (from Andrew Haley <>)
 #This magic incantation  seems to be completely undocumented.
-AC_CHECK_PROG([MASSAGE_EXE],[chcon],[chcon -t unconfined_execmem_exec_t],[true])
+dnl AC_CHECK_PROG([MASSAGE_EXE],[chcon],[chcon -t unconfined_execmem_exec_t],[true])

 #Now a little support for DOS/DJGCC

b4283 commented on 2018-11-04 16:09 (UTC)

Great. Let me merge that real quick. Thanks for the inputs!!

backerman commented on 2018-11-04 02:00 (UTC) (edited on 2018-11-04 02:00 (UTC) by backerman)

Needs to build info pages. This patch will do it (mostly - doesn't package non-info formats):

diff --git a/PKGBUILD b/PKGBUILD
index 2b647f8..4f26c3a 100644
@@ -1,12 +1,12 @@
 pkgdesc="Gforth is the Forth implementation of the GNU project."
 arch=(i686 x86_64)
-makedepends=("make" "git" "gforth")
+makedepends=("make" "git" "gforth" "texinfo")
@@ -21,7 +21,9 @@ build() {
        cd "$srcdir/gforth"
        ./configure --prefix=/usr
-       make -j $(nproc)
+       make -j $(nproc) && \
+       make -j $(nproc) doc && \
+  make -j $(nproc) more

 check() {