On 2025/01/04 12:27, Ricardo Albarracin B. wrote: > Hello OpenBSD Team, > > I recently performed a fresh installation of OpenBSD 7.6. After the system > booted, I noticed the kernel relinking process (relink) failed with the > following error in /usr/share/relink/kernel/GENERIC.MP/relink.log: > > (SHA256) /bsd: OK > LD="ld" sh makegap.sh 0xcccccccc gapdummy.o > sh: makegap.sh: No such file or directory > *** Error 1 in /usr/share/relink/kernel/GENERIC.MP (Makefile:2229 'newbsd') > This indicates that makegap.sh could not be found. I verified that > /usr/libexec/reorder_kernel/makegap.sh does not exist on my system. > Everything else installed without issues, and all default sets (base76.tgz, > etc.) seemed to extract normally during installation. > > Here are the steps/observations: > > Fresh installation of OpenBSD 7.6 (amd64). > After first reboot, relink failed with the error shown above. > Attempting a manual relink or re-executing /usr/libexec/reorder_kernel.sh -r > also fails due to makegap.sh missing. > I confirmed /usr is mounted read-write and that other typical files are > present, but makegap.sh is not found in /usr/libexec/reorder_kernel/ or > anywhere else on the system. > If you have any suggestions or if this is known to be a distribution or set > extraction issue, please let me know. I’m open to providing logs, setup > details, or reinstallation steps as needed.
makegap.sh normally comes from /usr/share/relink/kernel.tgz which is distributed in base*.tgz and extracted under /usr/share/relink/kernel by /usr/libexec/reorder_kernel. Are you tight on space in /usr? That could be one reason (i.e. wasn't enough space to fully unpack).
