Subject: Re: updating devel/bmake to 3.1.18
To: None <tech-pkg@netbsd.org>
From: Klaus Heinz <k.heinz.apr.drei@onlinehome.de>
List: tech-pkg
Date: 04/28/2003 22:20:09
Simon J. Gerraty wrote:
> Unless anyone objects I plan to update devel/bmake to the latest
> version 3.1.18 which is synced with the latest make.

Not commenting on the update itself...

Did you try to build devel/bmake 3.1.15 on NetBSD? While it works fine
for me on Solaris 8 the build failed on a NetBSD/i386 1.5.4_ALPHA box:

  ...
  cc *.o lst.lib/*.o -o bmake.boot
  rm -f *.[ado] */*.[ado]
  MAKESYSPATH=./mk:.k:/usr/pkg/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
  ./bmake.boot -f Makefile
  cc -O2 -I. -I. -DHAVE_CONFIG_H "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror   -c arch.c
  cc1: warnings being treated as errors
  arch.c: In function `ArchStatMember':
  arch.c:589: warning: passing arg 4 of `ArchFindMember' discards `const' from pointer target type
  arch.c: In function `Arch_Touch':
  arch.c:1002: warning: passing arg 1 of `Var_Value' discards `const' from pointer target type
  arch.c:1003: warning: passing arg 1 of `Var_Value' discards `const' from pointer target type
  arch.c:1004: warning: passing arg 4 of `ArchFindMember' discards `const' from pointer target type
  arch.c: In function `Arch_TouchLib':
  arch.c:1043: warning: passing arg 2 of `ArchFindMember' discards `const' from pointer target type
  arch.c:1043: warning: passing arg 4 of `ArchFindMember' discards `const' from pointer target type
  arch.c: In function `Arch_MTime':
  arch.c:1080: warning: passing arg 1 of `Var_Value' discards `const' from pointer target type
  arch.c:1081: warning: passing arg 1 of `Var_Value' discards `const' from pointer target type
  arch.c: In function `Arch_FindLib':
  arch.c:1195: warning: passing arg 1 of `Var_Set' discards `const' from pointer target type
  arch.c: In function `Arch_LibOODate':
  arch.c:1257: warning: passing arg 2 of `ArchStatMember' discards `const' from pointer target type
  *** Error code 1

  Stop.
  bmake.boot: stopped in
  /var/tmp2/workobj-pkgsrc/devel/bmake/work.i386/bmake
  *** Error code 1

  Stop.
  *** Error code 1

  Stop.
  *** Error code 1

  Stop.

ciao
     Klaus