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



Hello Thomas,

>  > >  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?

I installed netbsd-current from http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202403032320Z/amd64/installation/cdrom/boot.iso in a VM and I can build swi-prolog-lite 9.0.4 with pkgsrc-2023Q4 as well as with pkgsrc current.

- - - snip - - -
# LD_LIBRARY_PATH=/mnt/hdb1/pkgsrc/lang/swi-prolog-lite/work/swipl-9.0.4/build/src/ /mnt/hdb1/pkgsrc/lang/swi-prolog-lite/work/swipl-9.0.4/build/src/swipl -s /mnt/hdb1/pkgsrc/lang/swi-prolog-lite/work/swipl-9.0.4/demo/likes.pl
Welcome to SWI-Prolog (threaded, 64 bits, version 9.0.4)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.

    CMake built from "/mnt/hdb1/pkgsrc/lang/swi-prolog-lite/work/swipl-9.0.4/build"

For online help and background, visit https://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).

?- likes(sam,dahl).
true .

?- halt.
- - - snip - - -

- - - snip - - -
# uname -a
NetBSD netbsd-current 10.99.10 NetBSD 10.99.10 (GENERIC) #0: Sun Mar  3 21:05:47 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
- - - snip - - -

My /etc/mk.conf is basically empty:
- - - snip - - -
.ifdef BSD_PKG_MK       # begin pkgsrc settings

# directory layout
PKG_DBDIR=              /var/db/pkg
WRKOBJDIR=              /mnt/hdb1/pkgsrc

.endif
- - - snip - - -

 Stefan



Home | Main Index | Thread Index | Old Index