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



>  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 :)

 Stefan


Home | Main Index | Thread Index | Old Index