NetBSD-Bugs archive

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

Re: port-amd64/58982: NetBSD 10.1 install image (amd64) failed to boot on J3455-ITX board (ASRock)



HI again - the relevant Makefile is only once inside the tgz files and it has this block:

# Install include files in ${TOOLDIR}/include/compat
includes: .PHONY ${HOST_INCINSTDIRS} .WAIT ${HOST_INCINSTFILES}
        @(cd include && find . -name '*.h' -print | while read f ; do \
            ${HOST_INSTALL_FILE} $$f ${HOST_INCSDIR}/compat/$$f ; \
        done)

No .CURDIR used here ....

I tried to compile on NetBSD 7.1 but this runs into compilation problems.
- first reports that it need -std=gnu99,
- but setting HOST_CFLAGS='-O -std=gnu99' does not help: next error intptr_t and uintptr_t are unknown types
-> no way to get to the relevant point on this 7.1 (amd64) system

I have also a try on 9.3 (amd64)  system .
Here it run through - so same as your test Martin.

But it definitly fails on the i386 system I have setup with 10.1 for compilation. I'm currently running release build there to see if it now works (with my .CURDIR patch) - will run for hours if not for days on this slow system. I forget to setup network login on it - so console only and that is blocked with release build ....

But I saw some error messages during tools builds under 9.3:

cleandir ===> installboot
sh: /nsw-data/nsw/ttt-10.1/usr/src/obj/tooldir.NetBSD-9.3-amd64/bin/nbsed: not found nbmake[2]: "/nsw-data/nsw/ttt-10.1/usr/src/tools/libprop/../Makefile.nbincludes" line 27: warning: "/nsw-data/nsw/ttt-10.1/usr/src/obj/tooldir.NetBSD- 9.3-amd64/bin/nbsed -e 's/^#.*//' /nsw-data/nsw/ttt-10.1/usr/src/tools/libprop/../headerlist" returned non-zero status

nbsed is compiled later - this is last message before it is build.
There are also some (not only a few) messages like this during objdir creation:

obj ===> tools/ctfmerge
sh: /nsw-data/nsw/ttt-10.1/usr/src/obj/tooldir.NetBSD-9.3-amd64/bin/nbsed: not found nbmake[3]: "/nsw-data/nsw/ttt-10.1/usr/src/tools/libctf/../Makefile.nbincludes" line 27: warning: "/nsw-data/nsw/ttt-10.1/usr/src/obj/tooldir.NetBSD-9 .3-amd64/bin/nbsed -e 's/^#.*//' /nsw-data/nsw/ttt-10.1/usr/src/tools/libctf/../headerlist" returned non-zero status


not sure if this hurts, but this is ugly.

As soon as my i386 build is done I will setup network login, create second src-tree and run this under screen with log-file so that you can see that it is failing and also what I have done.





Am 17.01.2025 13:30, schrieb wgstuken%grimme-reitenspezial.de@localhost:
I have extracted all files - including xsrc
I will extract all of them again into different folders - and check
the suspect Makefile.
It was definitly not working here and when I add ${.CURDIR}/ to the cd
command it starts working.

will come back when done new extraction.


Am 17.01.2025 13:20, schrieb Martin Husemann via gnats:
The following reply was made to PR port-amd64/58982; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-amd64/58982: NetBSD 10.1 install image (amd64) failed to
 boot on J3455-ITX board (ASRock)
Date: Fri, 17 Jan 2025 13:18:36 +0100

 On Fri, Jan 17, 2025 at 11:05:01AM +0000,
wgstuken%grimme-reitenspezial.de@localhost via gnats wrote:
> I have reinstalled source tree and had a try with './build.sh tools'
 >  after everything else was failing before.
 >
 >  But not even this is working !!!!
 >
 >  Has anybody ever build the sources from the tgz files found in
 >  /pub/NetBSD/NetBSD-10.1/source/sets ?

 I just tried it and it worked fine. Did you extract all the files?
 I left out xsrc, but you definitively need {share,gnu,sys,}src.tgz.

 ===> Summary of results:
          build.sh command:    ./build.sh -U -j 8 tools
          build.sh started:    Fri Jan 17 13:05:17 CET 2025
          NetBSD version:      10.1
          MACHINE:             amd64
          MACHINE_ARCH:        x86_64
          Build platform:      NetBSD 10.99.12 amd64
          HOST_SH:             /bin/sh
          No $TOOLDIR/bin/nbmake, needs building.
          Bootstrapping nbmake
          MAKECONF file:       /etc/mk.conf
          TOOLDIR path:
/tmp/src-10.1/usr/src/obj/tooldir.NetBSD-10.99.12-amd64
          DESTDIR path:        /tmp/src-10.1/usr/src/obj/destdir.amd64
          RELEASEDIR path:     /tmp/src-10.1/usr/src/obj/releasedir
          Created
/tmp/src-10.1/usr/src/obj/tooldir.NetBSD-10.99.12-amd64/bin/nbmake
          Updated makewrapper:
/tmp/src-10.1/usr/src/obj/tooldir.NetBSD-10.99.12-amd64/bin/nbmake-amd64
Tools built to /tmp/src-10.1/usr/src/obj/tooldir.NetBSD-10.99.12-amd64
          build.sh ended:      Fri Jan 17 13:14:11 CET 2025

 Martin



Home | Main Index | Thread Index | Old Index