Error while building firefox on linux : .o doesn't exist

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while building firefox on linux : .o doesn't exist

victor.fontaine95
Hello, I have some errors when I try to build firefox on my linux laptop (I'm trying to contribute to mozilla) and I tried to fix but it's still doesn't working:

I'm on an ubuntu 16.04 (250Go free on the disk) x86_64 with clang version 7.0.0- (trunk) ; Python 2.7.12

I've downloaded bootstrap.py and executed it ("python bootstrap.py") with success, then I cloned the repository ("hg clone https://hg.mozilla.org/mozilla-central") also with success, but then when I'm trying to make "./mach build", an error (not only one but many similar) occured :


[many "INPUT(...)" before]

30:45.73     INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")
30:45.73
30:45.73 /usr/bin/ld.gold.real : erreur : /home/utilisateur/src/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu/toolkit/library/../../dom/base/Unified_cpp_dom_base5.o : file is empty

[and then the same type of errror for many .o files]

and at the end : (sorry it's in french)

30:47.30 collect2: error: ld returned 1 exit status
30:49.19 /home/utilisateur/src/mozilla/mozilla-central/config/rules.mk:699 : la recette pour la cible « libxul.so » a échouée (fail)
30:49.19 make[4]: *** [libxul.so] Erreur 1
30:49.33 /home/utilisateur/src/mozilla/mozilla-central/config/recurse.mk:73 : la recette pour la cible « toolkit/library/target » a échouée (fail)
30:49.33 make[3]: *** [toolkit/library/target] Erreur 2
30:49.83 /home/utilisateur/src/mozilla/mozilla-central/config/recurse.mk:32 : la recette pour la cible « compile » a échouée (fail)
30:49.83 make[2]: *** [compile] Erreur 2
30:50.06 /home/utilisateur/src/mozilla/mozilla-central/config/rules.mk:434 : la recette pour la cible « default » a échouée (fail)
30:50.06 make[1]: *** [default] Erreur 2
30:50.50 client.mk:168 : la recette pour la cible « build » a échouée (fail)
30:50.50 make: *** [build] Erreur 2
30:51.04 0 compiler warnings present.
30:54.27 /usr/bin/notify-send --app-name=Mozilla Build System Mozilla Build System Build failed


Does anyone can help me ?

Thank you for your time,
Victor.
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Error while building firefox on linux : .o doesn't exist

Sylvestre Ledru
Hello,

On 22/03/2018 16:26, [hidden email] wrote:

> Hello, I have some errors when I try to build firefox on my linux laptop (I'm trying to contribute to mozilla) and I tried to fix but it's still doesn't working:
>
> I'm on an ubuntu 16.04 (250Go free on the disk) x86_64 with clang version 7.0.0- (trunk) ; Python 2.7.12
>
> I've downloaded bootstrap.py and executed it ("python bootstrap.py") with success, then I cloned the repository ("hg clone https://hg.mozilla.org/mozilla-central") also with success, but then when I'm trying to make "./mach build", an error (not only one but many similar) occured :
>
>
> [many "INPUT(...)" before]
>
> 30:45.73     INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")
> 30:45.73
> 30:45.73 /usr/bin/ld.gold.real : erreur : /home/utilisateur/src/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu/toolkit/library/../../dom/base/Unified_cpp_dom_base5.o : file is empty
I had a conversation with Victor in private (we met each other a few weeks ago).

His issue was caused trying to build Firefox without enough space. Removing the Unified_cpp_dom_base5.o 
file and rebuild was enough.

Sylvestre
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds