Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

firefox build failure

13 views
Skip to first unread message

Dave

unread,
Jan 11, 2020, 8:30:36 PM1/11/20
to
Hi all,
I am a newbie trying to build mozilla-central on debian/Buster but I am
running into a compiler error. I have run bootstrap.py and have the
pulled and updated as of this email. I am running "./mach -v -log
buildlog build" and I am getting the following

> [1578780962.160171, "build_output", {"line": "\u001b[1m/mozilla-central/security/sandbox/common/test/SandboxTest.cpp:48:21: \u001b[0m\u001b[0;1;31merror: \u001b[0m\u001b[1mno member named 'SendInitSandboxTesting' in 'mozilla::gfx::GPUChild'\u001b[0m"}]
> [1578780962.160445, "build_output", {"line": " Unused << aActor->SendInitSandboxTesting(std::move(sandboxTestingChildEnd));"}]
> [1578780962.160688, "build_output", {"line": "\u001b[0;1;32m ~~~~~~ ^"}]
> [1578780962.160957, "build_output", {"line": "\u001b[0m\u001b[1m/mozilla-central/security/sandbox/common/test/SandboxTest.cpp:82:40: \u001b[0m\u001b[0;1;30mnote: \u001b[0min instantiation of function template specialization 'mozilla::InitializeSandboxTestingActors<mozilla::gfx::GPUChild>' requested here\u001b[0m"}]
> [1578780962.16122, "build_output", {"line": " mSandboxTestingParents[type] = InitializeSandboxTestingActors(gpuChild);"}]
> [1578780962.161462, "build_output", {"line": "\u001b[0;1;32m ^"}]
> [1578780962.237311, "build_output", {"line": "\u001b[0m1 error generated."}]

What am I doing wrong?

thanks,
Dave

Botond Ballo

unread,
Jan 11, 2020, 9:06:19 PM1/11/20
to Dave, Mozilla Product Builds
Hi Dave,

On Sat, Jan 11, 2020 at 8:35 PM Dave <dty...@gmail.com> wrote:
> I am a newbie trying to build mozilla-central on debian/Buster but I am
> running into a compiler error. I have run bootstrap.py and have the
> pulled and updated as of this email. I am running "./mach -v -log
> buildlog build"

I assume you mean "-l" or "--log-file" rather than "-log"

> and I am getting the following
> [...]

Is that the only error in the build output? It might be helpful to
attach the complete build output (preferably, directly from
stdout/stderr rather than the log file, so it's easier to read).

Also, are you specifying any non-default configuration in a .mozconfig
file or elsewhere? The file containing this error (SandboxTest.cpp)
should only be built during a debug build, so are you specifying a
debug build somewhere?

Cheers,
Botond

Dave

unread,
Jan 11, 2020, 9:42:09 PM1/11/20
to
stdout/stderr output attached...
buildlog

Botond Ballo

unread,
Jan 11, 2020, 9:55:31 PM1/11/20
to Dave, Mozilla Product Builds
Could you post the generated header file
mozilla-central/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders/mozilla/gfx/PGPUChild.h
?

Thanks,
Botond

Dave

unread,
Jan 11, 2020, 10:19:20 PM1/11/20
to
The file is attached.
PGPUChild.h

Botond Ballo

unread,
Jan 11, 2020, 10:44:48 PM1/11/20
to Dave, Mozilla Product Builds
Thanks. So, the header file is indeed missing the declaration of the
method InitSandboxTesting(). That suggests that, at the time it was
generated, this condition [1] was false.

Is it possible that you added "--enable-debug" after the build was
first started, such that the header file was generated in release mode
(making the condition false), while later parts of the build are using
debug mode, causing this mismatch?

Cheers,
Botond

[1] https://searchfox.org/mozilla-central/rev/b04e3a28a2ef4dbf957018dbbdc1840d62fdbc32/gfx/ipc/PGPU.ipdl#108

Dave

unread,
Jan 11, 2020, 10:49:15 PM1/11/20
to
Yes, that is probable. I will try clobber and rebuild...
Thanks for your help!
0 new messages