pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/smlnj11072 not building on NetBSD 10/x86_64



Hi!

lang/smlnj11072 doesn't build in the official TNF bulk builds on
NetBSD 10/x86_64:

http://shadow.netbsd.org/pub/pkgsrc/packages/reports/HEAD/NetBSD-10.0-x86_64/20250128.0609/smlnj-110.72nb1/build.log

gcc -ansi -c -O2  -m32 -I../config -I../objs -I../include ../config/gen-common.c
gcc -ansi -O2  -m32 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_NETBSD -DDLOPEN -I../config -I../objs -I../include -o gen-sizes ../config/gen-sizes.c gen-common.o
./gen-sizes
/usr/pkgbulk/lib/libkver.so: invalid ELF class 2; expected 1
gmake[3]: *** [makefile:141: ml-sizes.h] Error 1
gmake[3]: Leaving directory '/pbulk/work/lang/smlnj11072/work/base/runtime/objs'

This looks like it's a problem in libkver.so.  I'm not sure why that's
used on shadow.netbsd.org, since I think that is a 10.0/x86_64 system
anyway. Does anyone know?

However, it also doesn't build for on NetBSD 10.99.12/x86_64:

make[2]: Leaving directory '/scratch/lang/smlnj11072/work/base/runtime/objs'
/scratch/lang/smlnj11072/work/config/unpack: Un-GZIP-ing and un-TAR-ing bootfiles archive.
./config/install.sh: CM metadata directory name is ".cm"
/scratch/lang/smlnj11072/work/bin/.run/run.x86-netbsd: Error -- unable to map 393216 bytes, errno = 13
/scratch/lang/smlnj11072/work/bin/.run/run.x86-netbsd: Fatal error -- unable to allocate memory object for BIBOP
./config/install.sh !!! Boot code failed, no heap image (sml.x86-bsd).
*** Error code 1

Does anyone have a fix for that?
 Thomas


Home | Main Index | Thread Index | Old Index