You are not logged in.

#1 2024-09-14 05:49:51

tomonos
Member
Registered: 2024-09-14
Posts: 5

Trouble installing gforth

This is probably a stupid one and maybe I'm just blind and didn't notice, but I tried to install gforth from the AUR and got the following error message (posting the log through a file sharing site for readability).  It seems as if it cannot find/open some C libraries for some reason?

These are my settings -

uname -a
Linux archlinux 6.10.9-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 10 Sep 2024 14:37:32 +0000 x86_64 GNU/Linux
libtool --version
libtool (GNU libtool) 2.5.2.1-2fe3a-dirty
Written by Gordon Matzigkeit, 1996

Copyright (C) 2024 Free Software Foundation, Inc.

and running with

libffi-3.4.6-1

Any tips will be appreciated, and apologies if this question seems redundant or trivial to the community in advance.
Thank you lots!

Offline

#2 2024-09-14 09:23:21

philo
Member
Registered: 2015-01-26
Posts: 272

Re: Trouble installing gforth

This is an AUR package.

The latest version of libtool is here:
https://archlinux.org/packages/core/x86_64/libtool/

Offline

#3 2024-09-14 09:27:59

tomonos
Member
Registered: 2024-09-14
Posts: 5

Re: Trouble installing gforth

philo wrote:

This is an AUR package.

The latest version of libtool is here:
https://archlinux.org/packages/core/x86_64/libtool/

Oh, should I move the issue to a different forum?

Offline

#4 2024-09-14 09:42:51

philo
Member
Registered: 2015-01-26
Posts: 272

Re: Trouble installing gforth

A moderator will do it if necessary.

EDIT - Did you make a full upgrade?

Last edited by philo (2024-09-14 09:44:26)

Offline

#5 2024-09-14 10:17:40

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,532
Website

Re: Trouble installing gforth

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2024-09-14 12:14:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: Trouble installing gforth

FWIW, I'd strongly recommend using one of the recommended file sharing sites, or at least one that doesn't require everyone to download random content just to see your error logs.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2024-09-14 12:52:58

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,150

Re: Trouble installing gforth

file.io wrote:

File will be deleted after download

Also look for one that doesn't limit access to one use.

https://wiki.archlinux.org/title/List_o … n_services


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2024-09-16 08:34:24

tomonos
Member
Registered: 2024-09-14
Posts: 5

Re: Trouble installing gforth

philo wrote:

A moderator will do it if necessary.

EDIT - Did you make a full upgrade?

Apologies for the late reply but yes, I did make a full upgrade via

pacman -Syu

but alas that didn't resolve it.

Offline

#9 2024-09-16 08:42:20

tomonos
Member
Registered: 2024-09-14
Posts: 5

Re: Trouble installing gforth

Lone_Wolf wrote:
file.io wrote:

File will be deleted after download

Also look for one that doesn't limit access to one use.

https://wiki.archlinux.org/title/List_o … n_services

Apologies for that. Thank you for the recommendation, tho. I've uploaded the log file to https://0x0.st/X382.txt. I should probably also add that I'm currently running

find /usr/lib -name "libffi.so*"

/usr/lib/libffi.so
/usr/lib/libffi.so.8
/usr/lib/libffi.so.8.1.4
/usr/lib/debug/usr/lib/libffi.so.7.1.0.debug
/usr/lib/libffi.so.7
/usr/lib/libffi.so.7.1.0

where I installed

libffi7

from the AUR in hopes that downgrading the version of the package would resolve the issue. I've seen some people create a symlink to an older version, but that's generally not recommended.

Offline

#10 2024-09-16 12:30:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,150

Re: Trouble installing gforth

The version that PKGBUILD tries to build is 9 years old, no wonder it doesn't build.

A comment on the gforth aur page has a PKGBUILD build for a recent version, but it has a typo and refers to a gforth.install file that's not posted .
You could use it as a start to update the package .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2024-09-16 15:40:32

tomonos
Member
Registered: 2024-09-14
Posts: 5

Re: Trouble installing gforth

Lone_Wolf wrote:

The version that PKGBUILD tries to build is 9 years old, no wonder it doesn't build.

A comment on the gforth aur page has a PKGBUILD build for a recent version, but it has a typo and refers to a gforth.install file that's not posted .
You could use it as a start to update the package .

Well, never done anything similar but can try. 0.7.3 is the latest stable release of gforth according to its website, with 0.7.9 being a current one. I'll try to look for that gforth.install file they mention.

Offline

#12 2024-09-16 16:09:59

loqs
Member
Registered: 2014-03-06
Posts: 18,180

Re: Trouble installing gforth

tomonos wrote:

I'll try to look for that gforth.install file they mention.

https://aur.archlinux.org/cgit/aur.git/ … l?h=gforth
Or it might be simpler to replace the PKGBUILD of gforth with the comment from https://aur.archlinux.org/packages/gfor … ent-978300 and fix the makedepends entry on line 13.
Edit:
Or adjust the current PKGBUILD to use a source snapshot:

diff --git a/PKGBUILD b/PKGBUILD
index 4b68b4a..127eebc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,18 +4,17 @@
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
 
 pkgname=gforth
-pkgver=0.7.3
+pkgver=0.7.9_20240613
 pkgrel=1
 url="http://www.gnu.org/software/gforth/"
 pkgdesc="Fast and portable implementation of the ANS Forth language"
 arch=('i686' 'x86_64' 'armv6h')
 license=('GPL3')
 depends=('libtool')
-source=("http://www.complang.tuwien.ac.at/forth/$pkgname/$pkgname-$pkgver.tar.gz")
+source=("http://www.complang.tuwien.ac.at/forth/$pkgname/Snapshots/$pkgver/$pkgname-$pkgver.tar.xz")
+md5sums=('e723cef6be6ae68395859b116651d6a9')
 options=('libtool')
 install=$pkgname.install
-md5sums=('96f2354ec8c4005e1a54035586ed683e')
-md5sums=('ff484391e5cdf405867fcf96341820ab')
 
 build() {
     cd "$srcdir/$pkgname-$pkgver"

Last edited by loqs (2024-09-16 16:24:26)

Offline

Board footer

Powered by FluxBB