Hey Everyone,

I'm trying to build an openbsd iso based on this commit: https://github.com/openbsd/src/tree/a8e222352f

For a lab exercise.

So far It keeps failing when I'm trying to manually build it from source, right now I have installed a fresh version of openbsd 6.6 and i'm trying to build it with:

git clonehttps://github.com/openbsd/src
cd  src/
git checkout a8e222352f
cd ../ && zip -r src.zip src/
then copy to the 6.6 mv and unzip in the /usr/src dir
then I run
make obj, this works
make build, this fails with the message:
===> libexec/getty
install -c -S -s  -o root -g bin  -m 555 getty /usr/libexec/getty
install -c -o root -g bin -m 444  /usr/src/libexec/getty/getty.8 /usr/share/man/
man8/getty.8
install -c -o root -g bin -m 444  /usr/src/libexec/getty/gettytab.5 /usr/share/m
an/man5/gettytab.5
install -c -o root -g bin -m 444  /usr/src/libexec/getty/ttys.5 /usr/share/man/m
an5/ttys.5
===> libexec/ld.so
install -c -S   -o root -g bin  -m 444 ld.so /usr/libexec/ld.so
install: ld.so: No such file or directory
*** Error 1 in libexec/ld.so (<bsd.prog.mk>:152 'realinstall')
*** Error 1 in libexec (<bsd.subdir.mk>:48 'realinstall')
*** Error 1 in /usr/src (<bsd.subdir.mk>:48 'realinstall')
6.6vm#


Does anyone have any good idea on how I can compile openbsd from this commit?

Thanks!

Reply via email to