NetBSD Problem Report #54987
From www@netbsd.org Wed Feb 19 16:40:07 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 912F71A9213
for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Feb 2020 16:40:07 +0000 (UTC)
Message-Id: <20200219164006.8E1791A9217@mollari.NetBSD.org>
Date: Wed, 19 Feb 2020 16:40:06 +0000 (UTC)
From: bapabooiee@gmail.com
Reply-To: bapabooiee@gmail.com
To: gnats-bugs@NetBSD.org
Subject: lang/gforth fails to build on Linux due to libffa.la missing in PLIST
X-Send-Pr-Version: www-1.0
>Number: 54987
>Category: pkg
>Synopsis: lang/gforth fails to build on Linux due to libffa.la missing in PLIST
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bsiegert
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 19 16:45:00 +0000 2020
>Last-Modified: Sun Sep 28 13:05:01 +0000 2025
>Originator: Dean Matzkov
>Release: 2019-Q4
>Organization:
>Environment:
Ubuntu 18.04
>Description:
lang/gforth fails to build on my Ubuntu 18.04 installation as such:
----SNIP----
=> Checking file-check results for gforth-0.7.3nb5
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /home/bapa/pkgsrc_stuff/work/lang/gforth/work.x86_64/.destdir/opt/pkg:
ERROR: /home/bapa/pkgsrc_stuff/work/lang/gforth/work.x86_64/.destdir/opt/pkg/lib/gforth/0.7.3/libcc-named/fflib.la
ERROR: /home/bapa/pkgsrc_stuff/work/lang/gforth/work.x86_64/.destdir/opt/pkg/lib/gforth/0.7.3/libcc-named/libffi.la
*** Error code 1
Stop.
----/SNIP----
I also get this in the build output, if it's related:
libtool: error: 'lib/gforth/0.7.3/libcc-named/libffi.la' is not a valid libtool archive
Thanks.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->linux-pkg-people
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 15 Mar 2020 20:11:10 +0000
Responsible-Changed-Why:
Linux issue.
Responsible-Changed-From-To: linux-pkg-people->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 06 Jan 2024 17:32:42 +0000
Responsible-Changed-Why:
take
From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/54987
Date: Sun, 28 Sep 2025 15:03:46 +0200
I tried reproducing this on Linux (Fedora on aarch64), but ran into
another bit of build breakage:
cc -c -I./../arch/generic -I. -Wall -O2 -Dunix -I/usr/pkg/include
-I/usr/include -DHAVE_CONFIG_H
-DDEFAULTPATH='".:/usr/pkg/lib/gforth/site-forth:/usr/pkg/share/gforth/site-forth:/usr/pkg/lib/gforth/0.7.3:/usr/pkg/share/gforth/0.7.3"'
-I/usr/pkg/include -I/usr/include -o signals.o signals.c
In file included from signals.c:24:
forth.h:279:2: warning: #warning flush-icache probably will not work
(see manual) [-Wcpp]
279 | #warning flush-icache probably will not work (see manual)
| ^~~~~~~
forth.h:281:2: warning: #warning no FLUSH_ICACHE, turning off dynamic
native code by default [-Wcpp]
281 | #warning no FLUSH_ICACHE, turning off dynamic native code by
default
| ^~~~~~~
signals.c: In function 'install_signal_handlers':
signals.c:402:29: error: initialization of 'void (*)(void)' from
incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
402 | void (*throw_handler)() = die_on_signal ? graceful_exit :
signal_throw;
| ^~~~~~~~~~~~~
signals.c:429:34: error: passing argument 2 of 'bsd_signal' from
incompatible pointer type [-Wincompatible-pointer-types]
429 | bsd_signal(sigs_to_throw[i], throw_handler);
| ^~~~~~~~~~~~~
| |
| void (*)(void)
signals.c:74:41: note: expected 'void (*)(int)' but argument is of type
'void (*)(void)'
74 | Sigfunc *bsd_signal(int signo, Sigfunc *func)
| ~~~~~~~~~^~~~
signals.c:432:47: error: pointer type mismatch in conditional expression
[-Wincompatible-pointer-types]
432 | ignore_async_signals ? SIG_IGN : throw_handler);
| ^
In file included from /usr/include/signal.h:30,
from signals.c:34:
signals.c:432:39: note: first expression has type 'void (*)(int)'
432 | ignore_async_signals ? SIG_IGN : throw_handler);
| ^~~~~~~
signals.c:432:49: note: second expression has type 'void (*)(void)'
432 | ignore_async_signals ? SIG_IGN : throw_handler);
| ^~~~~~~~~~~~~
*** Error code 1
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.