Closed
Bug 1730265
Opened 3 years ago
Closed 3 years ago
Build errors in SandboxTestingChild.cpp, SandboxTestingParent.cpp with --disable-unified-build
Categories
(Core :: Security: Process Sandboxing, defect)
Core
Security: Process Sandboxing
Tracking
()
RESOLVED
FIXED
94 Branch
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
Details
Attachments
(1 file)
STR:
(1) Build on linux with:
ac_add_options --enable-profiling
ac_add_options --disable-unified-build
ac_add_options --enable-debug --disable-optimize
ACTUAL RESULTS:
security/sandbox/common/test/SandboxTestingChild.cpp:58:33: error: implicit instantiation of undefined template 'mozilla::ipc::Endpoint<mozilla::PSandboxTestingChild>'
DebugOnly<bool> ok = aEndpoint.Bind(this);
security/sandbox/common/test/SandboxTestingParent.cpp:36:28: error: implicit instantiation of undefined template 'mozilla::ipc::Endpoint<mozilla::PSandboxTestingParent>'
DebugOnly<bool> ok = aEnd.Bind(this);
security/sandbox/common/test/SandboxTestingParent.cpp:80:18: error: use of undeclared identifier 'nsIObserverService'
nsCOMPtr<nsIObserverService> observerService =
security/sandbox/common/test/SandboxTestingParent.cpp:81:22: error: no member named 'services' in namespace 'mozilla'
mozilla::services::GetObserverService();
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•3 years ago
|
||
These includes provide some types and functionality that these files need. In
the default build environment, there's no issue because they pick up these
includes via piggybacking on neighboring files that they're unified with; but
in a non-unified build, the files need to directly have these includes, to
avoid build errors.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1730265#c0 for the specific
build errors being addressed here.
Assignee | ||
Comment 2•3 years ago
|
||
With the attached patch, my build (with mozconfig from comment 0) completes successfully.
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/792f25f1405d Add includes to SandboxTestingChild.cpp and SandboxTestingParent.cpp to fix build errors with --disable-unified-build. r=handyman
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox94:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•