pkgsrc-Users archive

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

Re: Bootstrapping on KISS GNU/Linux



On 10-11-2023 03:17, Jason Bacon wrote:
On 11/9/23 16:41, Julius Schwartzenberg wrote:
On 09-11-2023 16:30, Jason Bacon wrote:
Somehow it seems that bootstrap is failing to create directories like
bin and etc under ${PREFIX} on this distro.

Installing gawk allows this to work. In addition fixing /dev using
Michael Forney's suggestion solved the issues fully. (You could possibly
add a check for /dev/null working properly to the script, but I imagine
this case might be a relatively rare one.)

I think the lack of /dev should be considered an OS bug, so I'm not
inclined to add a check for it.  If you can demonstrate that this is an
intentional feature that exists for good reason, I'd consider it.

Yes that seems right to me.


I guess most systems will have gawk or a comparable tool available or
the busybox implementation doesn't cut it?

I think the /dev fix is probably sufficient.  Based on the error
messages I saw, it looks like bootstrap will install nawk itself if
necessary, but couldn't because of the /dev problem.

After fixing /dev with a new Linux build, it still did not work for me without installing gawk first. Let me know if you'd want to check, I can provide an updated VM with a correct kernel and without gawk.

Best regards,
Julius


Home | Main Index | Thread Index | Old Index