Package Details: gforth 0.7.3-6

Git Clone URL: https://aur.archlinux.org/gforth.git (read-only, click to copy)
Package Base: gforth
Description: Fast and portable implementation of the ANS Forth language
Upstream URL: http://www.gnu.org/software/gforth/
Licenses: GPL-3.0-or-later
Submitter: Allan
Maintainer: envolution
Last Packager: envolution
Votes: 53
Popularity: 0.195506
First Submitted: 2008-12-28 12:46 (UTC)
Last Updated: 2025-05-04 11:09 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

envolution commented on 2024-12-29 00:12 (UTC)

Yes please, I'm curious whether the addition of options=(!lto) or the change to make -j1 fixed the build for you. texinfo sounds like a makedepend i missed but not related to your original error.

If you don't mind, try run makepkg -si without the -j1 and with !lto and let me know if it failed/succeeded - I will know what to change based on your response

Thanks for following up mate

mutewave commented on 2024-12-29 00:00 (UTC)

Applied the patch and then entered makepkg -siL. At first there was an error complaining about being unable to find texinfo. So I reinstalled the texinfo package and also installed the texlive-meta (something I've been meaning to do for a bit). After that, it was built and installed.

I can run gforth and get to the text interpreter just fine. Happy to provide any other info if helpful.

mutewave commented on 2024-12-28 23:37 (UTC)

Yup. Running x86_64, with kernel 6.12.6-arch1-1. I'll give that a shot.

envolution commented on 2024-12-28 22:15 (UTC) (edited on 2024-12-28 22:17 (UTC) by envolution)

@mutewave Just to confirm you're on x86_64 right? Can you please try patch the PKGBUILD and try makepkg -siL again?

--- PKGBUILD.orig   2024-12-28 17:13:30.863433726 -0500
+++ PKGBUILD    2024-12-28 17:14:01.336261750 -0500
@@ -13,6 +13,7 @@
 arch=('i686' 'x86_64' 'armv6h')
 license=('GPL-3.0-or-later')
 depends=('libtool' 'texinfo')
+options=(!lto)
 #source=("https://git.savannah.gnu.org/cgit/gforth.git/snapshot/${pkgname}-${pkgver}.tar.gz" #official source
 source=("https://ftp.gnu.org/gnu/gforth/gforth-${pkgver}.tar.gz"
   #source=("$pkgname-$pkgver.tar.gz::https://github.com/forthy42/gforth/archive/refs/tags/${pkgver}.tar.gz" #this is just faster
@@ -73,7 +74,7 @@

 build() {
   cd "$pkgname-$pkgver"
-  make
+  make -j1
   make doc
   make more
 }

mutewave commented on 2024-12-28 21:42 (UTC)

Rog. Here it is

https://pastebin.com/h1jEE4aM

Thanks!

envolution commented on 2024-12-28 21:17 (UTC)

@mutewave I need more info as it's not failing for me:

$ cd /tmp && git clone https://aur.archlinux.org/gforth.git && cd gforth && makepkg -siL
$ ls -tr gforth-*.log | xargs cat > makelog.txt

and upload /tmp/gforth/makelog.txt to pastebin/gist/other and link it here

mutewave commented on 2024-12-28 20:53 (UTC)

Build fails with exit status 4.

In specific:

sleep 1 #should make hpux-workaround unnecessary
You need to configure with a gforth in $PATH to build this part
You need to configure with a gforth in $PATH to build this part
make: *** [Makefile:715: kernl16l.fi-] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:724: kernl32b.fi-] Error 1
You need to configure with a gforth in $PATH to build this part
make: *** [Makefile:727: kernl64l.fi-] Error 1
You need to configure with a gforth in $PATH to build this part
make: *** [Makefile:730: kernl64b.fi-] Error 1
You need to configure with a gforth in $PATH to build this part
make: *** [Makefile:718: kernl16b.fi-] Error 1
You need to configure with a gforth in $PATH to build this part
make: *** [Makefile:721: kernl32l.fi-] Error 1

I believe this is referring to lines 714-730 in the generated makefile.os2.

kernl16b$(EC).fi:   $(KERNLS)
        -$(CP) kernl16b$(EC).fi kernl16b$(EC).fi~
        -$(CP) kernl16b$(EC).fi- kernl16b$(EC).fi

kernl16l$(EC).fi:   $(KERNLS)
        -$(CP) kernl16l$(EC).fi kernl16l$(EC).fi~
        -$(CP) kernl16l$(EC).fi- kernl16l$(EC).fi

kernl32b$(EC).fi:   $(KERNLS)
        -$(CP) kernl32b$(EC).fi kernl32b$(EC).fi~
        -$(CP) kernl32b$(EC).fi- kernl32b$(EC).fi

kernl32l$(EC).fi:   $(KERNLS)
        -$(CP) kernl32l$(EC).fi kernl32l$(EC).fi~
        -$(CP) kernl32l$(EC).fi- kernl32l$(EC).fi

kernl64b$(EC).fi:   $(KERNLS)
        -$(CP) kernl64b$(EC).fi kernl64b$(EC).fi~
        -$(CP) kernl64b$(EC).fi- kernl64b$(EC).fi

kernl64l$(EC).fi:   $(KERNLS)
        -$(CP) kernl64l$(EC).fi kernl64l$(EC).fi~
        -$(CP) kernl64l$(EC).fi- kernl64l$(EC).fi

Let me know if any other information is needed.

okflo commented on 2024-12-15 18:16 (UTC)

yep - installs and runs perfectly fine! many thanks @envolution for that fast fix!

envolution commented on 2024-12-15 17:05 (UTC)

@okflo could you try again? I had to move the source to gnu.org due to a missing release on github

okflo commented on 2024-12-15 15:59 (UTC)

as of today it fails with "Failure while downloading https://github.com/forthy42/gforth/archive/refs/tags/0.7.3.tar.gz" - The requested URL returned error: 404