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: Stefan Schaeckeler <schaecsn%gmx.net@localhost>
To: gnats-bugs%netbsd.org@localhost, pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/57994: lang/swi-prolog-lite do not build on NetBSD 10
Date: Sun, 3 Mar 2024 22:56:52 -0800
> 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/librar=
y/time.pl:124:
> ERROR: /scratch/lang/swi-prolog-lite/work/swipl-9.0.4/build/home/lib=
rary/time.pl:124: Initialization goal raised exception:
> ERROR: '$open_shared_object'/3: /scratch/lang/swi-prolog-lite/work/s=
wipl-9.0.4/build/packages/clib/time.so: Undefined PLT symbol "backtrace_sy=
mbols" (symnum =3D 53)
[..]
> Any hints?
The source code of time.c shows that backtrace_symbols() is a c function w=
ith headers from /usr/include/execinfo.h. According to its man-page, backt=
race_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 :)
Stefan
Home |
Main Index |
Thread Index |
Old Index