Current-Users archive

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

Re: -current build.sh install-image failure



On Thu, 29 Apr 2021 at 22:20, Paul Goyette <paul%whooppee.com@localhost> wrote:
>
> On Thu, 29 Apr 2021, Chavdar Ivanov wrote:
>
> > ...
> > Populating `work.efi'
> > Image `work.efi' complete
> > cat  work.mbr.truncated work.efi imgroot.fs work.gpt > work.img
> > /home/sysbuild/amd64/tools/bin/nbgpt  work.img biosboot -i 2
> >  -c /home/sysbuild/amd64/obj/home/sysbuild/src/distrib/amd64/installimage/work/usr/mdec/gptmbr.bin
> > nbgpt: work.img: No secondary GPT header; run recover
> > *** Failed target:  NetBSD-9.99.82-amd64-install.img
> > *** Failed command: /home/sysbuild/amd64/tools/bin/nbgpt work.img
> > biosboot -i 2 -c
> > /home/sysbuild/amd64/obj/home/sysbuild/src/distrib/amd64/installimage/work/usr/mdec/gptmbr.bin
> > *** Error code 1
> > Stop.
> > nbmake[4]: stopped in /home/sysbuild/src/distrib/amd64/installimage
> > .....
>
> This is due to a stale installation file.  There is ongoing discussion
> of this problem for PR 56132.  Please look there!  As a work-around,
>
>         rm -rf /build/netbsd-local/obj/amd64/distrib/amd64/installimage/

Thanks, removing the directory let me complete the build. My usual
first reaction to a build failure is to 'make cleandir' in the source
directories and remove the old obj directory completely; in most cases
if there were a real problem it has already been addressed by NetBSD
developers and the build is OK; in this case I had removed all the
obj, tools and destdir directories just three days ago and didn't
expect an early fallout...

>
>
>
> +--------------------+--------------------------+-----------------------+
> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
> +--------------------+--------------------------+-----------------------+


Chavdar

-- 
----


Home | Main Index | Thread Index | Old Index