Monday, January 31, 2022

Re: Failing to compile custom 6.6 based on git commit id

On 2022-01-30, flipchan <flipchan@riseup.net> wrote:
> 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:

Generally you need to build a source tree on a system that is running
on a fairly nearby commit. At the very least you'll need a nearby release
(but might need to step through some intermediate builds, possibly
following extra steps depending on what changed).

For the commit you mention the closest would be 6.3.

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


--
Please keep replies on the mailing list.

No comments:

Post a Comment