Closed Bug 493648 Opened 15 years ago Closed 15 years ago

build errors due to mozce_shunt.h is in dist/include.

Categories

(Firefox Build System :: General, defect)

ARM
Windows CE
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: hiro, Assigned: hiro)

References

Details

(Keywords: regression)

Attachments

(1 file)

      No description provided.
Oops! I posted without comments.

The errors are:

make[7]: Entering directory `/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-t
est1/xulrunner/nsprpub/pr/src/io'
/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-test1/xulrunner/dist/sdk/bin/a
rm-wince-gcc -Foprfdcach.obj -c      -Zi   -UNDEBUG -DDEBUG_user  -DMOZILLA_CLIE
NT=1 -DDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWINCE=1 -D_PR_GLOBAL_THREADS_ONLY=1  -DFORC
E_PR_LOG -D_NSPR_BUILD_ -I/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-test
1/xulrunner/dist/include/nspr -I/c/cygwin/home/user/hg/mozilla-central/nsprpub/p
r/include -I/c/cygwin/home/user/hg/mozilla-central/nsprpub/pr/include/private  /
c/cygwin/home/user/hg/mozilla-central/nsprpub/pr/src/io/prfdcach.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm\cl.exe /I"c:/cygw
in/home/user/hg/mozilla-central/objdir-wm6-test1/xulrunner/dist/include/mozce_sh
unt" /FI"mozce_shunt.h" /DMOZ_MEMORY /DMOZCE_STATIC_BUILD /DUNICODE /D_UNICODE_
/DARM /D_ARM_ /DWINCE /D_WIN32_WCE=0x502 /DUNDER_CE /DWIN32_PLATFORM_PSPC /D_WIN
DOWS /DNO_ERRNO /GS- /GR- -Foprfdcach.obj -c -Zi -UNDEBUG -DDEBUG_user -DMOZILLA
_CLIENT=1 -DDEBUG=1 -DXP_PC=1 -DWIN32=1 -DWINCE=1 -D_PR_GLOBAL_THREADS_ONLY=1 -D
FORCE_PR_LOG -D_NSPR_BUILD_ -Ic:/cygwin/home/user/hg/mozilla-central/objdir-wm6-
test1/xulrunner/dist/include/nspr -Ic:/cygwin/home/user/hg/mozilla-central/nsprp
ub/pr/include -Ic:/cygwin/home/user/hg/mozilla-central/nsprpub/pr/include/privat
e c:/cygwin/home/user/hg/mozilla-central/nsprpub/pr/src/io/prfdcach.c
Microsoft (R) C/C++ Optimizing Compiler Version 15.00.20720 for ARM
Copyright (C) Microsoft Corporation.  All rights reserved.

prfdcach.c
c:/cygwin/home/user/hg/mozilla-central/nsprpub/pr/src/io/prfdcach.c : fatal erro
r C1083: Cannot open include file: 'mozce_shunt.h': No such file or directory
make[7]: *** [prfdcach.obj] Error 2
make[7]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-te
st1/xulrunner/nsprpub/pr/src/io'
make[6]: *** [export] Error 2
make[6]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-te
st1/xulrunner/nsprpub/pr/src'
make[5]: *** [export] Error 2
make[5]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-te
st1/xulrunner/nsprpub/pr'
make[4]: *** [export] Error 2
make[4]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-te
st1/xulrunner/nsprpub'
make[3]: *** [tier_nspr] Error 2
make[3]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-te
st1/xulrunner'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central/objdir-wm6-te
st1/xulrunner'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/c/cygwin/home/user/hg/mozilla-central'
make: *** [build] Error 2

We need to move shunt headers into dist/include/shunt?

I guess this issue is caused by bug 488175.

CCing Benjamin.
Attached patch Proposed patchSplinter Review
Install shunt headers into dist/include/mozce_shunt used by EXPORTS_NAMESAPCES.
Attachment #378206 - Flags: review?(bugmail)
Attachment #378206 - Flags: review?(benjamin)
Attachment #378206 - Flags: review?(benjamin) → review+
the shunt headers are already in dist/include/mozce_shunt:

> blassey@MINI-WIN7 /c/mozilla-central
> $ ls objdir-wm5-prof/xulrunner/dist/include/mozce_shunt/
> direct.h  fcntl.h  jemalloc.h  mozce_shunt.h  signal.h  sys        ymath.h
> errno.h   io.h     mbstring.h  process.h      stdlib.h  windows.h


I don't understand the need for this patch
(In reply to comment #3)
> the shunt headers are already in dist/include/mozce_shunt:
> 
> > blassey@MINI-WIN7 /c/mozilla-central
> > $ ls objdir-wm5-prof/xulrunner/dist/include/mozce_shunt/
> > direct.h  fcntl.h  jemalloc.h  mozce_shunt.h  signal.h  sys        ymath.h
> > errno.h   io.h     mbstring.h  process.h      stdlib.h  windows.h
> 
Is this clean build?
Blocks: 488175
In bug 488175 headers are no longer installed to dist/include/$(MODULE), which is why this patch is needed.
Attachment #378206 - Flags: review?(bugmail) → review+
pushed http://hg.mozilla.org/mozilla-central/rev/9e97a6eb4ead
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee: nobody → ikezoe
Flags: in-testsuite-
Keywords: regression
Target Milestone: --- → mozilla1.9.2a1
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: