pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/57994: lang/swi-prolog-lite do not build on NetBSD 10
The following reply was made to PR pkg/57994; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/57994: lang/swi-prolog-lite do not build on NetBSD 10
Date: Mon, 4 Mar 2024 08:02:22 +0100
On Sun, Mar 03, 2024 at 10:56:52PM -0800, Stefan Schaeckeler wrote:
>
> > I tried to build the 9.0.4 version on NetBSD-current and it failed for me:
> >
> > [ 80%] Generating hashstream.tex
> > ERROR: /scratch/lang/swi-prolog-lite/work/swipl-9.0.4/build/home/library/time.pl:124:
> > ERROR: /scratch/lang/swi-prolog-lite/work/swipl-9.0.4/build/home/library/time.pl:124: Initialization goal raised exception:
> > ERROR: '$open_shared_object'/3: /scratch/lang/swi-prolog-lite/work/swipl-9.0.4/build/packages/clib/time.so: Undefined PLT symbol "backtrace_symbols" (symnum = 53)
> [..]
> > Any hints?
>
> The source code of time.c shows that backtrace_symbols() is a c function with headers from /usr/include/execinfo.h. According to its man-page, backtrace_symbols() is implemented in libexecinfo.so
>
> I don't run NetBSD-current. Could it be that its implementation is missing in NetBSD-current?
>
> Here from NetBSD 10:
>
> # nm /usr/lib/libexecinfo.so | grep backtrace_symbols
> 00000000000016bc T backtrace_symbols
>
> Otherwise, it's more complicated :)
No, it is still in the same library. I wonder why it works for you then :)
# nm /usr/lib/libexecinfo.so | grep backtrace_symbols
000000000000196c T backtrace_symbols
0000000000001978 T backtrace_symbols_fd
00000000000018f7 T backtrace_symbols_fd_fmt
0000000000001552 T backtrace_symbols_fmt
Thomas
Home |
Main Index |
Thread Index |
Old Index