You are not logged in.
Good morning all,
I'm trying to install firefox-gtk2 with pacaur and I'm failing towards the end. I had tried to download the clone with git and then use
makepkg -si and that failed too so I'm a little baffled. I'm guessing this is something to do with dependencies but tbh I'm not sure where to start. I've run
pacman -Syu to update my kernal stuffs so I will try again. Below is the last few lines when I tried to make.
" ERROR : A failure has occured in build().
Aborting...
: : failed to build firefox-gtk2 package (s)"So this package has all these dependencies, so I'm wondering if there's a way to query against the firefox package to determine if I meet all the dependency requirements, or if I just need to query each dependency one by one to see if they're installed?
Many thanks.
Last edited by ArchNoobYo (2017-01-03 13:49:58)
Offline
What is it actually failing on? Post the output.
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
So this package has all these dependencies, so I'm wondering if there's a way to query against the firefox package to determine if I meet all the dependency requirements
This doesn't make any sense. With the -s flag, makepkg installs dependencies. That's it.
As noted above, we need to see the actual error. Please use code tags, and please type carefully: `make -si` != `makepkg -si`.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
Ok I will get the output. I had to re-run the command and output to .txt so it's taking a while. Actually it's possibly crashing right lol but will update as soon as I'm able. #1gB ram life
Last edited by ArchNoobYo (2016-12-23 14:48:43)
Offline
ArchNoobYo wrote:So this package has all these dependencies, so I'm wondering if there's a way to query against the firefox package to determine if I meet all the dependency requirements
This doesn't make any sense. With the -s flag, makepkg installs dependencies. That's it.
As noted above, we need to see the actual error. Please use code tags, and please type carefully: `make -si` != `makepkg -si`.
Sorry that was just a typo. I did use
makepkg -si . Well I guess this isn't a dependency issue then. Currently trying to get an output to post . Thanks for the replies.
Last edited by ArchNoobYo (2016-12-23 14:52:09)
Offline
You can also get a built package here if you want: http://repo.archlinuxcn.org/
Offline
What is it actually failing on? Post the output.
Mod note: Moving to AUR Issues.
here is the output.
Offline
virtual memory exhausted: Cannot allocate memory virtual memory exhausted: Cannot allocate memory make[5]: *** [/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/config/rules.mk:936: Unified_cpp_dom_cellbroadcast0.o] Error 1 make[5]: Leaving directory '/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/obj-x86_64-pc-linux-gnu/dom/cellbroadcast' make[4]: *** [/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/config/recurse.mk:71: dom/cellbroadcast/target] Error 2 make[4]: *** Waiting for unfinished jobs....
Looks like you don't have enough RAM.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I don't think you'll be able to compile modern Firefox with 1GB of RAM. Since quite some time now Firefox uses what they call a "unified build system", where several files are merged into one big file which is then compiled. This speeds up the process a lot and allows the compiler to create more optimized binaries, but it requires way more memory than compiling each file individually. It used to be possible to turn off unified compilation, but that's not the case anymore. So if you can't add more RAM to your machine, your only option are prebuilt packages.
Offline
I build firefox myself, with 2GB RAM. And I still had to disable debug symbols and tests in my mozconfig, or else I eventually error out trying to link libxul.so with not enough memory. (And I still barely squeak by, I can't imagine trying that on half the memory!)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
virtual memory exhausted: Cannot allocate memory virtual memory exhausted: Cannot allocate memory make[5]: *** [/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/config/rules.mk:936: Unified_cpp_dom_cellbroadcast0.o] Error 1 make[5]: Leaving directory '/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/obj-x86_64-pc-linux-gnu/dom/cellbroadcast' make[4]: *** [/home/dan/.cache/pacaur/firefox-gtk2/src/firefox-50.0.2/config/recurse.mk:71: dom/cellbroadcast/target] Error 2 make[4]: *** Waiting for unfinished jobs....Looks like you don't have enough RAM.
Hey thanks, so simple yet I had no idea!
Thanks for the responses guys. I'll try opening her up to see if I can add another stick.
Last edited by ArchNoobYo (2017-01-03 13:51:30)
Offline
Hey sorry to necro here. But I was talking with someone and they suggested that my RAM shouldn't be the issue. They suggested that things should spill over into swap and just take a lot longer. What do you think?
Offline
Might work in theory, but in practice... don't go there. Seriously. You wouldn't believe how much slower a disk is compared to ram. We're talking hours of disk thrashing. Don't do that to the poor disk. And forget about using the machine while this is going down, it will be completely impossible. metak in post #6 gave you a link where you can get pre-compiled gtk2 firefox, just use that.
Offline
Might work in theory, but in practice... don't go there. Seriously. You wouldn't believe how much slower a disk is compared to ram. We're talking hours of disk thrashing. Don't do that to the poor disk. And forget about using the machine while this is going down, it will be completely impossible. metak in post #6 gave you a link where you can get pre-compiled gtk2 firefox, just use that.
Hey thanks for the help. I'm officionaly running the prebuilt package now ![]()
Offline