Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: amd64-current live image build failure
I made some changes to the live image which is probably triggering this
behaviour, but it's working on releng's builds - I expect that there's a
stale object that the live-image target isn't re-creating despite it
needing changes.
You could take the easy-for-human approach and do a clean build, but if
you are impatient you could delete the objects work.img is made from
and have them re-created.
On Sat, Apr 20, 2024 at 05:49:32PM +0100, Chavdar Ivanov wrote:
> Hi,
>
> I am presently getting:
> ....
>
> mv work.rootfs imgroot.fs
> create EFI system partition...
> /dumps/sysbuild/amd64/tools/bin/x86_64--netbsd-install -c -m 0644
> work/usr/mdec/bootx64.efi work.efidir/EFI/boot/`basename
> work/usr/mdec/bootx64.efi`
> /dumps/sysbuild/amd64/tools/bin/x86_64--netbsd-install -c -m 0644
> work/usr/mdec/bootia32.efi work.efidir/EFI/boot/`basename
> work/usr/mdec/bootia32.efi`
> rm -f work.efi
> /dumps/sysbuild/amd64/tools/bin/nbmakefs -M 128m -m 128m
> -B 1234
> -t
> msdos -o F=32,c=1 work.efi work.efidir
> Creating `work.efi'
> work.efi: 258078 sectors in 258078 FAT32 clusters (512 bytes/cluster)
> MBR type: 11
> bps=512 spc=1 res=32 nft=2 mid=0xf0 spt=63 hds=255 hid=0 bsec=262144
> bspf=2017 rdcl=2 infs=1 bkbs=2
> Populating `work.efi'
> Image `work.efi' complete
> cat work.mbr.truncated work.efi imgroot.fs work.gpt > work.img
> /dumps/sysbuild/amd64/tools/bin/nbgpt work.img biosboot -i 2
> -c /dumps/sysbuild/amd64/obj/home/sysbuild/src/distrib/amd64/liveimage/emuimage/work/usr/mdec/gptmbr.bin
> nbgpt: work.img: No primary GPT header; run create or recover
> *** Failed target: NetBSD-10.99.10-amd64-live.img
> *** Failed commands:
> ${CAT} ${TARGET_BLOCKS} > ${WORKIMG}
> => cat work.mbr.truncated work.efi imgroot.fs work.gpt > work.img
> ${TOOL_GPT} ${GPT_TIMESTAMP} ${WORKIMG} biosboot -i 2
> -c ${.OBJDIR}/${WORKDIR}/usr/mdec/gptmbr.bin
> => /dumps/sysbuild/amd64/tools/bin/nbgpt work.img biosboot -i
> 2 -c
> /dumps/sysbuild/amd64/obj/home/sysbuild/src/distrib/amd64/liveimage/emuimage/work/usr/md
> ec/gptmbr.bin
> ${TOOL_GPT} ${GPT_TIMESTAMP} ${WORKIMG} set -a bootme -i 2
> => /dumps/sysbuild/amd64/tools/bin/nbgpt work.img set -a bootme -i 2
> mv ${WORKIMG} ${.TARGET}
> => mv work.img NetBSD-10.99.10-amd64-live.img
> *** [NetBSD-10.99.10-amd64-live.img] Error code 1
> ....
>
>
> No idea why...
>
>
> Chavdar
>
>
> --
> ----
Home |
Main Index |
Thread Index |
Old Index