Re: binutils still failing on amd64

2023-01-01 Thread Robert Elz
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

2023-01-01 Thread Paul Goyette

 | 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 |
++--+--+


daily CVS update output

2023-01-01 Thread NetBSD source update


Updating src tree:
P src/external/gpl3/binutils/dist/bfd/Makefile.in
P src/external/gpl3/binutils/dist/bfd/doc/local.mk
P src/external/gpl3/binutils/dist/ld/Makefile.in
P src/external/gpl3/binutils.old/dist/bfd/doc/Makefile.am
P src/external/gpl3/binutils.old/dist/bfd/doc/Makefile.in
P src/usr.bin/make/main.c
P src/usr.bin/make/make.1
P src/usr.sbin/makemandb/makemandb.c

Updating xsrc tree:


Killing core files:



Updating release-8 src tree (netbsd-8):

Updating release-8 xsrc tree (netbsd-8):



Updating release-9 src tree (netbsd-9):
U doc/CHANGES-9.4
P usr.sbin/sysinst/disklabel.c
P usr.sbin/sysinst/label.c

Updating release-9 xsrc tree (netbsd-9):



Updating release-10 src tree (netbsd-10):
U doc/CHANGES-10.0
P usr.sbin/sysinst/bsddisklabel.c

Updating release-10 xsrc tree (netbsd-10):




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  48824497 Jan  2 03:13 ls-lRA.gz


Re: binutils still failing on amd64

2023-01-01 Thread Robert Elz
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

2023-01-01 Thread matthew green
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

2023-01-01 Thread Robert Elz
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

2023-01-01 Thread Paul Goyette
> > 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

2023-01-01 Thread matthew green
> > 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

2023-01-01 Thread Paul Goyette

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 

Re: 10.0 BETA modular X11: amdgpu_dri.so not found

2023-01-01 Thread Mayuresh
On Sun, Jan 01, 2023 at 12:56:31AM +0530, Mayuresh wrote:
> Does base X11 provide and is it advisable to use the base X11 for this
> hardware?

Installed native X11 sets and it seems to work fine.

Wonder what `magic' native X11 sets have that cannot be replicated with
native...

-- 
Mayuresh