Package Details: gforth-docs 0.7.3-7

Git Clone URL: https://aur.archlinux.org/gforth.git (read-only, click to copy)
Package Base: gforth
Description: Documentation for gforth
Upstream URL: http://www.gnu.org/software/gforth/
Licenses: GPL-3.0-or-later
Submitter: Allan
Maintainer: envolution
Last Packager: envolution
Votes: 54
Popularity: 0.21
First Submitted: 2008-12-28 12:46 (UTC)
Last Updated: 2025-08-23 22:09 (UTC)

Latest Comments

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

mutewave commented on 2024-12-29 04:51 (UTC)

No problem, thanks for your timely assistance. Happy holidays!

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

@mutewave I should have said

makepkg -Csi

though i generally do it manually by

rm -f *zst && rm -rf ./src && makepkg -si

Thanks for the report and detail you provided. It seems as though options=(!lto) is unfortunately needed for this package in certain circumstances. I'll update the package a little later today

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

I took out the -j1, hence

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

As instructed, !lto was retained:

pkgname=gforth
pkgver=0.7.3
pkgrel=3
url="http://www.gnu.org/software/gforth/"
pkgdesc="Fast and portable implementation of the ANS Forth language"
arch=('i686' 'x86_64' 'armv6h')
license=('GPL-3.0-or-later')
depends=('libtool' 'texinfo')
options=(!lto)

do you mean makepkg -si or makepkg -sif to overwrite the existing build? makepkg -si just installs the existing package. however makepkg -sif yields a build failure. Here are three pastebins:

makelog.txt.2 = https://pastebin.com/umNLu9Zv

vmgen.log = https://pastebin.com/NYxmxDs0

the actual part I saw where build craps out = https://pastebin.com/fU1zWuPB

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.