List Info

Thread: build.sh -x fails with 2007.01.24 netbsd-4 tree




build.sh -x fails with 2007.01.24 netbsd-4 tree
user name
2007-01-25 12:21:00
Hello,

when trying to build distribution with X11 for hpcsh
(jornada) with
2007.01.24 netbsd-4
tree (src + xsrc), I get the following error:

===> build.sh command: ./build.sh -D _destdir -T _tooldir
-O _objdir
-R _reldir -m hpcsh -x -u tools kernel=GENERIC distribution
===> build.sh started: Wed Jan 24 21:36:26 CET 2007
===> HOST_SH:          /bin/sh
===> MACHINE:          hpcsh
===> MACHINE_ARCH:     sh3el
===> TOOLDIR path:    
/maxtor200gb_0/usr_firefly/src/_tooldir
===> DESTDIR path:    
/maxtor200gb_0/usr_firefly/src/_destdir
===> RELEASEDIR path: 
/maxtor200gb_0/usr_firefly/src/_reldir
===> makewrapper:     
/maxtor200gb_0/usr_firefly/src/_tooldir/bin/nbmake-hpcsh
===> Updated
/maxtor200gb_0/usr_firefly/src/_tooldir/bin/nbmake-hpcsh
...
#   compile  xkbprint/psgeom.o
/maxtor200gb_0/usr_firefly/src/_tooldir/bin/shle--netbsdelf-
gcc -O
-pipe -pipe  -fno-strict-aliasing   -Werror   -DCSRG_BASED
-DFUNC
cc1: warnings being treated as errors
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c: In function
'FindKeysymsByName':
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1392: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1392: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1392: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1393: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1393: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1393: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1393: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1394: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1394: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1394: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1394: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1395: warning:
case
label value is less than minimum value for type
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1395: warning:
case
label value is less than minimum value for type

*** Failed target:  psgeom.o
*** Failed command:
/maxtor200gb_0/usr_firefly/src/_tooldir/bin/shle--netbsdelf-
gcc -O
-pipe -pipe -fno-strict-aliasing -Werror -DCS
*** Error code 1

Stop.


and effectively fails. Any ideas?

thx,
Michai

Re: build.sh -x fails with 2007.01.24 netbsd-4 tree
user name
2007-01-25 14:12:10
On Thu, Jan 25, 2007 at 19:21:00 +0100, Michai Ramakers
wrote:

> when trying to build distribution with X11 for hpcsh
(jornada) with
> 2007.01.24 netbsd-4
> tree (src + xsrc), I get the following error:
[...]
> /usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1392:
warning: case
> label value is less than minimum value for type

Hmm, do you ahve up to date xsrc?

Revision 1.2 of psgeom.c had the fix for that:

revision 1.2
date: 2006/05/14 06:51:06;  author: christos;  state: Exp; 
lines: +28 -16
Add casts to match the type of the switch variable.


And that revision should be on the -4 branch:

	netbsd-4-base: 1.2


SY, Uwe
-- 
uweptc.spbu.ru                         |       Zu Grunde
kommen
http://snark.ptc.spbu.
ru/~uwe/          |       Ist zu Grunde gehen

Re: build.sh -x fails with 2007.01.24 netbsd-4 tree
user name
2007-01-26 11:58:06
Hello,

> >
/usr/xsrc/xfree/xc/programs/xkbprint/psgeom.c:1392: warning:
case
> > label value is less than minimum value for type
>
> Hmm, do you ahve up to date xsrc?
>
> Revision 1.2 of psgeom.c had the fix for that:
>
> revision 1.2
> date: 2006/05/14 06:51:06;  author: christos;  state:
Exp;  lines: +28 -16
> Add casts to match the type of the switch variable.

right, thx, but that fix is present here (I have 1.2).
Looking into the
cvs log for that file, I find

  rootroy:/usr_firefly/xsrc/xfree/xc/programs/xkbprint# cvs
log
psgeom.c |grep netbsd-4
          abandoned-netbsd-4-base: 1.2
          abandoned-netbsd-4: 1.2.0.2
          netbsd-4: 1.2.0.4
          netbsd-4-base: 1.2

although 1.2.0.2 is not present. Is this correct? I didn't
even know
of netbsd-4-base label, perhaps I should have. I am
currently getting
and then building netbsd-4-base for hpcsh.

thx,
Michai

Re: build.sh -x fails with 2007.01.24 netbsd-4 tree
user name
2007-01-26 11:59:08
Hello,

>   rootroy:/usr_firefly/xsrc/xfree/xc/programs/xkbprint# cvs
log
> psgeom.c |grep netbsd-4
>           abandoned-netbsd-4-base: 1.2
>           abandoned-netbsd-4: 1.2.0.2
>           netbsd-4: 1.2.0.4
>           netbsd-4-base: 1.2
>
> although 1.2.0.2 is not present. Is this correct? I
didn't even know
> of netbsd-4-base label, perhaps I should have. I am
currently getting
> and then building netbsd-4-base for hpcsh.

I meant 1.2.0.4 there, sorry.

Michai

Re: build.sh -x fails with 2007.01.24 netbsd-4 tree
user name
2007-01-26 14:58:34
On Fri, Jan 26, 2007 at 18:59:08 +0100, Michai Ramakers
wrote:

> >psgeom.c |grep netbsd-4
> >          abandoned-netbsd-4-base: 1.2
> >          abandoned-netbsd-4: 1.2.0.2
> >          netbsd-4: 1.2.0.4
> >          netbsd-4-base: 1.2
> >
> >although 1.2.0.2 is not present. Is this correct? I
didn't even know
> >of netbsd-4-base label, perhaps I should have. I am
currently getting
> >and then building netbsd-4-base for hpcsh.
> 
> I meant 1.2.0.4 there, sorry.

That's correct.  That's how cvs does branches.

As for the -base tags, they are not branch tags (like e.g.
netbsd-4),
but rather they tag the snapshot of the trunk where the
release branch
was branched.

SY, Uwe
-- 
uweptc.spbu.ru                         |       Zu Grunde
kommen
http://snark.ptc.spbu.
ru/~uwe/          |       Ist zu Grunde gehen

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )