X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C82621.569356E2@onstor-exch02.onstor.net>; Tue, 13 Nov 2007 10:16:40 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: Compilation failure in dev branch
Date: Tue, 13 Nov 2007 10:16:40 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E030E39CC@onstor-exch02.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E02F3DB5B@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Compilation failure in dev branch
Thread-Index: AcgmAB6asZfecqjGT5K9eiKpXDSBLwAHHvvGAAEp/qA=
From: "Mike Lee" <mike.lee@onstor.com>
To: "Ken Renshaw" <ken.renshaw@onstor.com>,
	"dl-Cougar" <dl-Cougar@onstor.com>

Rendell has a fix.  He had been waiting for me to review it, which I =
just did.
Sorry for the wait.
-Mike

-----Original Message-----
From: Ken Renshaw=20
Sent: Tuesday, November 13, 2007 9:49 AM
To: dl-Cougar
Subject: FW: Compilation failure in dev branch


Mornin' guys. There was a build break for the cg target last night ( =
email was turned off to you last night since the script is still in a =
debugging mode as it were ). The file in question hasn't changed in the =
merge, chassisd-bc.c, but has been hit a couple times in the last day or =
so. Here's the compiler output and recent p4 state for the file:

/usr/bin/mipsel-linux-gnu-gcc-4.1 -fPIC -fms-extensions =
-Wno-pointer-sign  -DCOUGAR -Wall -Wmissing-prototypes -Wall -Wno-unused =
-Werror -DEXTENDED_SECURITY -DNFX_KERBEROS -DNETEEE_FRAGMENT  -G 0  =
-DONSTOR_CHANGE -DLDAP_DEPRECATED -DOS_INCL=3D\"linux.h\"  -I./linux =
-I../../Includes/cg/SSC -I../../Includes/cg -I../../Includes/linux =
-I../../Includes -I. -I../../Build/cg/dbg -DLANGUAGE_C -DLINUX_TEST  =
-DFS_DEBUG -DLANGUAGE_C  -DFS_DEBUG -DSSC  -I./linux =
-I../../Includes/cg/SSC -I../../Includes/cg -I../../Includes/linux =
-I../../Includes -I. -I../../Build/cg/dbg -D_FILE_OFFSET_BITS=3D64 -g =
-DSSC -DSSC_mips -DNFX_MOD_SSC -c chassisd-bc.c -o =
../../Build/cg/dbg/Objects/SSC/sm-chassis/chassisd-bc.o
chassisd-bc.c:1169: error: expected identifier or '(' before '}' token
make[2]: *** [../../Build/cg/dbg/Objects/SSC/sm-chassis/chassisd-bc.o] =
Error 1
make[2]: Leaving directory =
`/perforce/trees/dev/nfx-tree/code/sm-chassis'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/perforce/trees/dev/nfx-tree'
make: *** [ssc] Error 2


[build@k2 Tuesday]$ p4 changes =
//depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c
Change 26313 on 2007/11/12 by rendellf@rendellf 'Temporary patches for =
Cougar to'
Change 26307 on 2007/11/12 by maximk@maximk-13 'Add a device allowing =
the user '
Change 25915 on 2007/10/18 by jeffm@jeffm-dev '       These are changes =
to mak'
Change 25799 on 2007/10/10 by timg@timg-work 'seep file unification. =
seep rel'
Change 25623 on 2007/09/25 by maximk@maximk-5 'add #include dmalloc.h  =
in the '
Change 25526 on 2007/09/20 by maximk@maximk-5 'support for switching =
boot flas'
Change 24783 on 2007/07/30 by kenr@kenr-linux-depot 'Creation of dev =
branch, superce'

[build@k2 Tuesday]$ p4 filelog =
//depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c
//depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c
... #7 change 26313 edit on 2007/11/12 by rendellf@rendellf (text) =
'Temporary patches for Cougar to'
... ... copy into =
//depot/zb-1st-install/nfx-tree/code/sm-chassis/chassisd-bc.c#4
... #6 change 26307 edit on 2007/11/12 by maximk@maximk-13 (text) 'Add a =
device allowing the user '
... #5 change 25915 edit on 2007/10/18 by jeffm@jeffm-dev (text) '       =
These are changes to mak'
... ... copy into =
//depot/zb-1st-install/nfx-tree/code/sm-chassis/chassisd-bc.c#3
... #4 change 25799 edit on 2007/10/10 by timg@timg-work (text) 'seep =
file unification. seep rel'
... #3 change 25623 edit on 2007/09/25 by maximk@maximk-5 (text) 'add =
#include dmalloc.h  in the '
... ... copy into //depot/main/nfx-tree/code/sm-chassis/chassisd-bc.c#18
... ... copy into =
//depot/zb-1st-install/nfx-tree/code/sm-chassis/chassisd-bc.c#2
... #2 change 25526 edit on 2007/09/20 by maximk@maximk-5 (text) =
'support for switching boot flas'
... #1 change 24783 branch on 2007/07/30 by kenr@kenr-linux-depot (text) =
'Creation of dev branch, superce'
... ... branch from =
//depot/main/nfx-tree/code/sm-chassis/chassisd-bc.c#1,#17
... ... branch into =
//depot/zb-1st-install/nfx-tree/code/sm-chassis/chassisd-bc.c#1

[build@k2 Tuesday]$ p4 diff2 =
//depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c#5 =
//depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c#6
=3D=3D=3D=3D //depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c#5 (text) =
- //depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c#6 (text) =
=3D=3D=3D=3D content
1134,1140c1134
<     if (cm_init_i2c_access() =3D=3D NFX_OK) {
<         if (cm_unlock_i2c_access() !=3D NFX_OK) {
<             E_LOG(class_1, err_s, eee_getApplicationId("cm"), 0, 0, 0,
<                  ("CM: Couldn't unlock i2c semaphore.\n"));
<         }
<     }
<     else {
---
>     if (cm_init_i2c_access() !=3D NFX_OK) {

[build@k2 Tuesday]$ p4 diff2 =
//depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c#6 =
//depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c#7
=3D=3D=3D=3D //depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c#6 (text) =
- //depot/dev/nfx-tree/code/sm-chassis/chassisd-bc.c#7 (text) =
=3D=3D=3D=3D content
1145a1146,1147
> /* @@@ Temporary patch to disable monitoring for Cougar*/
> #ifndef COUGAR
1157a1160
> #endif
[build@k2 Tuesday]$

The linux kernel build also failed but I haven't checked into that yet. =
The full output of the logfile for a cg-dbg kernel build is:

make -C linux/rootfs DESTDIR=3D/var/nfsroot/cougar =
TFTPDIR=3D/var/nfsroot/cougar PROD=3Dcg kernel
make[1]: Entering directory `/perforce/trees/dev/linux/rootfs'
make -C ../kernel kernel kernel-install \
ROOTFS=3D/var/nfsroot/cougar PROD=3Dcg PLATFORM=3Dcougar
make[2]: Entering directory `/perforce/trees/dev/linux/kernel'
Makefile:29: Using /var/nfsroot/cougar as root directory
make -C linux-mips-2.6 -j4
make[3]: Entering directory =
`/perforce/trees/dev/linux/kernel/linux-mips-2.6'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  MODPOST vmlinux
  Building modules, stage 2.
  MODPOST 83 modules
make[3]: Leaving directory =
`/perforce/trees/dev/linux/kernel/linux-mips-2.6'
make kernel-build
make[3]: Entering directory `/perforce/trees/dev/linux/kernel'
Makefile:29: Using /var/nfsroot/cougar as root directory
make -C linux-mips-2.6 -j4
make[4]: Entering directory =
`/perforce/trees/dev/linux/kernel/linux-mips-2.6'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  MODPOST vmlinux
  Building modules, stage 2.
  MODPOST 83 modules
make[4]: Leaving directory =
`/perforce/trees/dev/linux/kernel/linux-mips-2.6'
make[3]: Leaving directory `/perforce/trees/dev/linux/kernel'
/usr/local/sde4/bin/conv -f bin -o linux-mips-2.6/vmlinux.bin =
linux-mips-2.6/vmlinux.32
linux-mips-2.6/vmlinux.32: No such file or directory
make[2]: *** [linux-mips-2.6/vmlinux.bin] Error 1
make[2]: Leaving directory `/perforce/trees/dev/linux/kernel'
make[1]: *** [/var/nfsroot/cougar/boot/vmlinux.bin] Error 2
make[1]: Leaving directory `/perforce/trees/dev/linux/rootfs'
make: *** [kernel] Error 2

-Ken


-----Original Message-----
From: Build Admin [mailto:build@localhost.localdomain]
Sent: Tue 11/13/2007 6:17 AM
To: Ken Renshaw
Subject: Compilation failure in dev branch
=20
/perforce/buildlogs/dev/Tuesday/cg-dbg-compile.log:make[2]: *** =
[../../Build/cg/dbg/Objects/SSC/sm-chassis/chassisd-bc.o] Error 1
/perforce/buildlogs/dev/Tuesday/cg-dbg-compile.log:make[1]: *** =
[default] Error 1
/perforce/buildlogs/dev/Tuesday/cg-dbg-compile.log:make: *** [ssc] Error =
2
/perforce/buildlogs/dev/Tuesday/cg-opt-compile.log:make[2]: *** =
[../../Build/cg/opt/Objects/SSC/sm-chassis/chassisd-bc.o] Error 1
/perforce/buildlogs/dev/Tuesday/cg-opt-compile.log:make[1]: *** =
[default] Error 1
/perforce/buildlogs/dev/Tuesday/cg-opt-compile.log:make: *** [ssc] Error =
2

Please check compilation logs at http://liszt for today for the dev =
branch

