Closed Bug 924964 Opened 11 years ago Closed 11 years ago

IPDL Test build breakage, SandboxValidationError

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 930350

People

(Reporter: gfritzsche, Unassigned)

Details

I ran into this due to additional .cpp files that were not listed in CPP_SOURCES:

> 0:31.66 Reticulating splines...
> 0:33.44 Traceback (most recent call last):
> 0:33.44   File "./config.status", line 919, in <module>
> 0:33.44     config_status(**args)
> 0:33.44   File "[...]/build/ConfigStatus.py", line 126, in config_status
> 0:33.45     summary = backend.consume(definitions)
> 0:33.45   File "[...]/mozilla-central/python/mozbuild/mozbuild/backend/base.py", line 188, in consume
> 0:33.45     for obj in objs:
> 0:33.45   File "[...]/python/mozbuild/mozbuild/frontend/emitter.py", line 77, in emit
> 0:33.45     for o in self.emit_from_sandbox(out):
> 0:33.45   File "[...]/python/mozbuild/mozbuild/frontend/emitter.py", line 134, in emit_from_sandbox
> 0:33.45     % (symbol, src, sandbox['RELATIVEDIR']))
> 0:33.45 mozbuild.frontend.reader.SandboxValidationError: Reference to a file that doesn't exist in CPP_SOURCES ($(IPDLTESTSRCS)) in ipc/ipdl/test/cxx
> 0:33.48 *** Fix above errors and then restart with "/usr/bin/make -f client.mk build"


... this could be much more helpful by listing the offending files.
(In reply to Georg Fritzsche [:gfritzsche] from comment #0)
> I ran into this due to additional .cpp files that were not listed in

Sorry, scratch that. I'm not entirely sure what the actual issue is. Looking at where the error is thrown it apparently does print helpful information - as long as it's not some $VARIABLE.
OS: All → Mac OS X
Also, this is with "ac_add_options --enable-ipdl-tests".
Summary: mozbuild SandboxValidation should list the offending files → IPDL Test build breakage
Same issue on Windows and latest m-c.
Gregory, it looks like this was just missed when transitioning between build-files - do you know what this *should* be?
Flags: needinfo?(gps)
OS: Mac OS X → All
Summary: IPDL Test build breakage → IPDL Test build breakage, SandboxValidationError
We now require every entry in CPP_SOURCES in the moz.build files to be a file in the source directory. ipc/ipdl/test/cxx/moz.build contains $(IPDLTESTSRCS), which isn't a file.

Simply add the following to ipc/ipdl/test/cxx/Makefile.in:

CPPSRCS += $(IPDLTESTSRCS)

and remove the offending line from the moz.build and you should be set.
Flags: needinfo?(gps)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.