error: toolkit/library/../../dom/ipc/Unified_cpp_dom_ipc0.o: file is empty

UNCONFIRMED
Unassigned

Status

()

Core
Build Config
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: archit, Unassigned, NeedInfo)

Tracking

39 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

2 years ago
Created attachment 8636117 [details]
error

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150629114848

Steps to reproduce:

I executed the following commands in order:
1. installing all system dependencies
wget -q https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py

2. getting the source code
hg clone https://hg.mozilla.org/mozilla-central

3. building firefox
./mach build




Actual results:

The build process encountered an error as displayed in file attached.


Expected results:

The build should have been successful

Updated

2 years ago
Component: Untriaged → Build Config
Product: Firefox → Core

Comment 1

2 years ago
Interesting errors when linking libxul.so:

 6:13.19 ../../build/unix/gold/ld: error: /home/archit/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../dom/ipc/Unified_cpp_dom_ipc0.o: file is empty
 6:13.19 ../../build/unix/gold/ld: error: /home/archit/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../dom/ipc/Unified_cpp_dom_ipc1.o: section name section has wrong type: 0
 6:13.19 ../../build/unix/gold/ld: error: /home/archit/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../layout/base/Unified_cpp_layout_base1.o: file is empty
 6:13.19 ../../build/unix/gold/ld: error: /home/archit/mozilla-central/obj-x86_64-unknown-linux-gnu/toolkit/library/../../dom/ipc/Unified_cpp_dom_ipc1.o: bad section name offset for section 1: 0

An empty dom/ipc/Unified_cpp_dom_ipc0.o file is weird.

The log indicates this is an incremental build. Can you reproduce with a build from scratch (`mach clobber && mach build`)? If so, uploading the entire log from the full build may be helpful. Especially things referencing "Unified_cpp_dom_ipc0."
Flags: needinfo?(arctgarg)
Summary: Error building Firefox for first time → error: toolkit/library/../../dom/ipc/Unified_cpp_dom_ipc0.o: file is empty
(Reporter)

Comment 2

2 years ago
Created attachment 8638001 [details]
build_log : after building from scratch
Flags: needinfo?(arctgarg)

Comment 3

2 years ago
I don't see any errors in this build log. Did you not upload the complete file?

Also, did you put your machine to sleep in the middle of the build? The times jump by several minutes between log entries.
Flags: needinfo?(arctgarg)
You need to log in before you can comment on or make changes to this bug.