Re: binutils still failing on amd64
Date:Mon, 2 Jan 2023 10:39:45 +0100 From:Martin Husemann Message-ID: <20230102093945.gb...@mail.duskware.de> | Note that the official daily builds also use this (and have been failing | since new binutils have been enabled for x86). They should be back working again now, my build completed without issues. kre
Re: binutils still failing on amd64
On Mon, Jan 02, 2023 at 12:17:11PM +1100, matthew green wrote: > oh yeah - this is only going to break r/o src tree builds, which is > also something i use as much as possible. Note that the official daily builds also use this (and have been failing since new binutils have been enabled for x86). Martin
Re: binutils still failing on amd64
Date:Sun, 1 Jan 2023 19:17:54 -0800 (PST) From:Paul Goyette Message-ID: | FWIW, touch(1)ing all copies of bfd.info gets us past the ``build.sh | tools'' successfully. I have seen no new issues. I just updated to get Matt's changes (no arbitrary touching in the src directory -- I did, as I did the previous time, blow away the tools and OBJDIR directories though), and my build is now well past the tools stage. So all looking good. Matt: the differences I was seeing (which I didn't really look at) were probably just because my build used -j16, and Paul's (that he posted) was -j1 -- I'd initially done the build when Paul asked if no-one else was seeing problems, expecting to not see anything (it had been a day or two since my last build attempt, and that had reached as far as failing with sets list problems, which I had seen being fixed - so I had assumed that all would just be OK, but that prev build might have been from before the binutils switch). When this new one failed, in the tools build, I simply assumed it was the same basic issue as Paul was seeing, without looking very hard, and indeed, that looks to have been the case. Thanks for the quick fix. kre
Re: binutils still failing on amd64
| can you update and post the latest failures? Will do. FWIW, touch(1)ing all copies of bfd.info gets us past the ``build.sh tools'' successfully. I have seen no new issues. ++--+--+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses:| | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com| | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | | & Network Engineer | | pgoyett...@gmail.com | ++--+--+
Re: binutils still failing on amd64
Date:Mon, 02 Jan 2023 12:17:11 +1100 From:matthew green Message-ID: <10634.1672622...@splode.eterna.com.au> | can you update and post the latest failures? Will do. kre
re: binutils still failing on amd64
Robert Elz writes: > I wonder if perhaps part of the reason (or perhaps all of it) that > Paul and I see problems, where others aren't, is that we are both > building from a read only mounted source tree. oh yeah - this is only going to break r/o src tree builds, which is also something i use as much as possible. i recommend r/o src trees for all netbsd src builds. my random build failed issues became far less common when i did that decades ago. > Eg: from Paul's error log: > > Making info in po >GEN > /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi > x86_64--netbsd-install: > /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc: > chown/chmod: Read-only file system > sh: cannot create > /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi: > read-only file system > > which indicates something is trying to make files in the source > tree, instead of the obj tree. this specific instance should now be fixed. > The errors I'm seeing are different, but could have the same underlying > cause. what are you seeing? can you update and post the latest failures? .mrg.
Re: binutils still failing on amd64
Date:Mon, 02 Jan 2023 03:45:16 +1100 From:matthew green Message-ID: <8109.1672591...@splode.eterna.com.au> | it's not seen by most because it depends upon the timestamps of | some files.. I am also having issues (with very recently updated sources). I wonder if perhaps part of the reason (or perhaps all of it) that Paul and I see problems, where others aren't, is that we are both building from a read only mounted source tree. Eg: from Paul's error log: Making info in po GEN /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi x86_64--netbsd-install: /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc: chown/chmod: Read-only file system sh: cannot create /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi: read-only file system which indicates something is trying to make files in the source tree, instead of the obj tree. The errors I'm seeing are different, but could have the same underlying cause. kre
re: binutils still failing on amd64
> > Sources updated to 2022-12-31 at 13:42:04 UTC and all output dirs > > (obj, release, dist, tools) were cleaned. > > Is no-one else seeing this problem with ``build.sh tools'' ? it's not seen by most because it depends upon the timestamps of some files.. my first attempt to fix it failed, i haven't gotten back to looking. try manually touching any of the files the build is trying to update for now. Yeah, that seems to help. For the current failure on bfdver.texi I needed to touch .../bfd.info ++--+--+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses:| | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com| | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | | & Network Engineer | | pgoyett...@gmail.com | ++--+--+
re: binutils still failing on amd64
> > Sources updated to 2022-12-31 at 13:42:04 UTC and all output dirs (obj, > > release, dist, tools) were cleaned. > > Is no-one else seeing this problem with ``build.sh tools'' ? it's not seen by most because it depends upon the timestamps of some files.. my first attempt to fix it failed, i haven't gotten back to looking. try manually touching any of the files the build is trying to update for now. .mrg.
Re: binutils still failing on amd64
On Sat, 31 Dec 2022, Paul Goyette wrote: Sources updated to 2022-12-31 at 13:42:04 UTC and all output dirs (obj, release, dist, tools) were cleaned. Is no-one else seeing this problem with ``build.sh tools'' ? ===> build.sh command:./build.sh -T /build/netbsd-current/tools/x86_64/amd64 -D /build/netbsd-current/dest/amd64 -O /build/netbsd-current/obj/amd64 -R /build/netbsd-current/release -V RELEASEMACHINEDIR=amd64 -V MKDEBUG=yes -V MKDEBUGKERNEL=yes -V MKDEBUGLIB=yes -V KERNEL_DIR=no -U -N2 -m amd64 -j1 tools ===> build.sh started:Sat Dec 31 19:27:16 UTC 2022 ===> NetBSD version: 10.99.2 ===> MACHINE: amd64 ===> MACHINE_ARCH:x86_64 ===> Build platform: NetBSD 9.99.107 amd64 ===> HOST_SH: /bin/sh ===> No $TOOLDIR/bin/nbmake, needs building. ===> Bootstrapping nbmake checking for sh... /bin/sh ... CC libz_a-zutil.o AR libz.a GEN elf64-target.h Making info in po GEN /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi x86_64--netbsd-install: /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc: chown/chmod: Read-only file system sh: cannot create /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi: read-only file system sh: cannot create /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi: read-only file system sh: cannot create /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi: read-only file system sh: cannot create /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi: read-only file system *** Failed target: doc/bfdver.texi *** Failed commands: $(AM_V_GEN) $(MKDIR_P) $(@D); echo "@set VERSION $(VERSION)" > $@; if test -n "$(PKGVERSION)"; then echo "@set VERSION_PACKAGE $(PKGVERSION)" >> $@; fi; echo "@set UPDATED `date '+%B %Y'`" >> $@; if test -n "$(REPORT_BUGS_TEXI)"; then echo "@set BUGURL $(REPORT_BUGS_TEXI)" >> $@; fi => @echo " GEN " /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi; /build/netbsd-current/tools/x86_64/amd64/bin/x86_64--netbsd-install -d -p /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc; echo "@set VERSION 2.39" > /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi; if test -n "(NetBSD Binutils nb1)"; then echo "@set VERSION_PACKAGE (NetBSD Binutils nb1)" >> /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi; fi; echo "@set UPDATED `date '+%B %Y'`" >> /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi; if test -n "@uref{http://www.NetBSD.org/support/send-pr.html}";; then echo "@set BUGURL @uref{http://www.NetBSD.org/support/send-pr.html}"; >> /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist/bfd/doc/bfdver.texi; fi *** [doc/bfdver.texi] Error code 2 nbmake[6]: stopped in /build/netbsd-current/obj/amd64/tools/binutils/build/bfd 1 error nbmake[6]: stopped in /build/netbsd-current/obj/amd64/tools/binutils/build/bfd nbmake[5]: stopped in /build/netbsd-current/obj/amd64/tools/binutils/build/bfd *** Failed target: all-bfd *** Failed command: r=`${PWDCMD-pwd}`; export r; s=`cd /build/netbsd-current/src_ro/tools/binutils/../../external/gpl3/binutils/dist; ${PWDCMD-pwd}`; export s; FLEX="/build/netbsd-current/tools/x86_64/amd64/bin/nblex"; export FLEX; LEX="/build/netbsd-current/tools/x86_64/amd64/bin/nblex"; export LEX; BISON="true"; export BISON; YACC="/build/netbsd-current/tools/x86_64/amd64/bin/nbyacc"; export YACC; M4="/build/netbsd-current/tools/x86_64/amd64/bin/nbm4"; export M4; SED="/usr/pkg/bin/gsed"; export SED; AWK="/build/netbsd-current/tools/x86_64/amd64/bin/nbawk"; export AWK; MAKEINFO="/build/netbsd-current/tools/x86_64/amd64/bin/nbmakeinfo"; export MAKEINFO; CC="cc"; export CC; ADA_CFLAGS=""; export ADA_CFLAGS; CFLAGS="-O "; export CFLAGS; CONFIG_SHELL="/bin/sh"; export CONFIG_SHELL; CXX="c++"; export CXX; CXXFLAGS="-O "; export CXXFLAGS; GFORTRAN=""; export GFORTRAN; GOC=""; export GOC; GDC="@GDC@"; export GDC; AR="ar"; export AR; AS="as"; export AS; CC_FOR_BUILD="cc"; export CC_FOR_BUILD; CPP_FOR_BUILD="@CPP_FOR_BUILD@"; export CPP_FOR_BUILD; CPPFLAGS_FOR_BUILD="@CPPFLAGS_FOR_BUILD@"; export CPPFLAGS_FOR_BUILD; CXX_FOR_BUILD="c++"; export CXX_FOR_BUILD; DLLTOOL="dlltool"; export DLLTOOL; DSYMUTIL="@DSYMUTIL@"; export DSYMUTIL; LD="ld"; export LD; LDFLAGS=" "; export LDFLAGS; NM="nm"; export NM; RANLIB="ranlib"; export RANLIB; WINDRES="windres"; export WINDRES; WINDMC="windmc"; export WINDMC; OBJCOPY=""; export OBJCOPY; OBJDUMP="objdump"; export OBJDUMP; OTOOL="@OTOOL@"; export OTOOL; PKG_CONFIG_PATH=""; export PKG_CONFIG
Re: binutils still failing on amd64
On 31 December 2022 19:44:05 (+00:00), Paul Goyette wrote: > Sources updated to 2022-12-31 at 13:42:04 UTC and all output dirs (obj, > release, dist, tools) were cleaned. > > ``build.sh tools'' fails trying to build bfdver.texi - see attachment > for log details Summary of results: build.sh command:./build.sh -D/home/sysbuild/sysbuild/amd64/destdir -M/home/sysbuild/sysbuild/amd64/obj -N2 -R/home/sysbuild/sysbuild/release -T/home/sysbuild/sysbuild/amd64/tools -U -X/usr/xsrc -j1 -mamd64 -u -x release iso-image build.sh started:Sat Dec 31 15:46:53 GMT 2022 NetBSD version: 10.99.2 MACHINE: amd64 MACHINE_ARCH:x86_64 Build platform: NetBSD 10.99.2 amd64 HOST_SH: /bin/sh MAKECONF file: /etc/mk.conf TOOLDIR path:/home/sysbuild/sysbuild/amd64/tools DESTDIR path:/home/sysbuild/sysbuild/amd64/destdir RELEASEDIR path: /home/sysbuild/sysbuild/release Updated makewrapper: /home/sysbuild/sysbuild/amd64/tools/bin/nbmake-amd64 Successful make release Successful make iso-image build.sh ended: Sat Dec 31 18:33:19 GMT 2022 > > ++--+--+ > | Paul Goyette | PGP Key fingerprint: | E-mail addresses:| > | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com| > | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | > | & Network Engineer | | pgoyett...@gmail.com | > ++--+--+ -- Chavdar Ivanov