You are not logged in.

#1 2017-03-25 02:01:19

PhoxFyre
Member
Registered: 2017-03-20
Posts: 11

computer froze during build of firefox-kde-opensuse

I went to eat and when I returned the screen had gone blank, I managed to wake it, then it froze for 35 minutes before I force shutdown, unfortunately I have not come across many cases like this and I haven't the idea of where the log files of the install are located in journalctl. Any tips

Offline

#2 2017-03-25 02:03:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: computer froze during build of firefox-kde-opensuse

It was probably eating all your CPU cycles; you should have let it finish compiling, forcing a shutdown (without a REISUB) is never a good idea.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-03-25 02:04:49

PhoxFyre
Member
Registered: 2017-03-20
Posts: 11

Re: computer froze during build of firefox-kde-opensuse

apologies, any idea on how to fix my mistake?

Offline

#4 2017-03-25 02:07:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: computer froze during build of firefox-kde-opensuse

What mistake? Don't interrupt the build.

If you want more specific advice, you'll need to provide a lot more information about what you were doing. Were you building an AUR package? How? What tools? What settings in makepkg.conf? etc...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-03-25 02:10:08

PhoxFyre
Member
Registered: 2017-03-20
Posts: 11

Re: computer froze during build of firefox-kde-opensuse

I was building the AUR package firefox-kde-opensuse (https://aur.archlinux.org/packages/firefox-kde-opensuse) and I followed the instructions on the wiki for [makepkg -si] command

Offline

#6 2017-03-25 02:10:58

PhoxFyre
Member
Registered: 2017-03-20
Posts: 11

Re: computer froze during build of firefox-kde-opensuse

I have already built the kmozillahelper (https://aur.archlinux.org/packages/kmozillahelper/)

Offline

#7 2017-03-25 02:12:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: computer froze during build of firefox-kde-opensuse

Like I said, don't interrupt the build. It will take a lot longer than half an hour, even on a reasonably high spec'ed machine. Just be patient.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2017-03-25 02:14:14

PhoxFyre
Member
Registered: 2017-03-20
Posts: 11

Re: computer froze during build of firefox-kde-opensuse

I have changed nothing about makepkg.conf, it is still the same as it was in the original install

Offline

#9 2017-03-25 02:16:51

PhoxFyre
Member
Registered: 2017-03-20
Posts: 11

Re: computer froze during build of firefox-kde-opensuse

I'm relatively new to arch, I used debian before (albeit shortly). I only have about a month of use with GNU/Linux. But I have been using wikis and forums to learn.

Offline

#10 2017-03-25 02:24:39

PhoxFyre
Member
Registered: 2017-03-20
Posts: 11

Re: computer froze during build of firefox-kde-opensuse

$makepkg -si
==> Making package: firefox-kde-opensuse 52.0.1-1 (Fri Mar 24 21:18:08 CDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found firefox-52.0.1.source.tar.xz
  -> Found mozconfig
  -> Found firefox.desktop
  -> Found firefox-install-dir.patch
  -> Found vendor.js
  -> Found kde.js
  -> Found firefox-fixed-loading-icon.png
  -> Found firefox-branded-icons.patch
  -> Found firefox-kde.patch
  -> Found firefox-no-default-ualocale.patch
  -> Found mozilla-kde.patch
  -> Found mozilla-language.patch
  -> Found mozilla-nongnome-proxies.patch
  -> Found unity-menubar.patch
  -> Found add_missing_pgo_rule.patch
  -> Found pgo_fix_missing_kdejs.patch
  -> Found rb39193.patch
  -> Found fix_mozalloc.patch
  -> Found fix-wifi-scanner.diff
  -> Found rust-i686.patch
==> Validating source files with md5sums...
    firefox-52.0.1.source.tar.xz ... Passed
    mozconfig ... Passed
    firefox.desktop ... Passed
    firefox-install-dir.patch ... Passed
    vendor.js ... Passed
    kde.js ... Passed
    firefox-fixed-loading-icon.png ... Passed
    firefox-branded-icons.patch ... Passed
    firefox-kde.patch ... Passed
    firefox-no-default-ualocale.patch ... Passed
    mozilla-kde.patch ... Passed
    mozilla-language.patch ... Passed
    mozilla-nongnome-proxies.patch ... Passed
    unity-menubar.patch ... Passed
    add_missing_pgo_rule.patch ... Passed
    pgo_fix_missing_kdejs.patch ... Passed
    rb39193.patch ... Passed
    fix_mozalloc.patch ... Passed
    fix-wifi-scanner.diff ... Passed
    rust-i686.patch ... Passed
==> Extracting sources...
  -> Extracting firefox-52.0.1.source.tar.xz with bsdtar
==> Starting prepare()...
patching file config/baseconfig.mk
Hunk #1 succeeded at 4 with fuzz 2.
==> Patching for KDE
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
Hunk #1 succeeded at 54 (offset 1 line).
patching file modules/libpref/Preferences.cpp
patching file modules/libpref/moz.build
patching file python/mozbuild/mozpack/chrome/flags.py
patching file python/mozbuild/mozpack/chrome/manifest.py
patching file toolkit/components/downloads/moz.build
patching file toolkit/components/downloads/nsDownloadManager.cpp
patching file toolkit/content/jar.mn
The next patch would create the file toolkit/content/widgets/dialog-kde.xml,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file toolkit/content/widgets/preferences-kde.xml,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file toolkit/mozapps/downloads/nsHelperAppDlg.js
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file toolkit/xre/moz.build
The next patch would create the file toolkit/xre/nsKDEUtils.cpp,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file toolkit/xre/nsKDEUtils.h,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file uriloader/exthandler/moz.build
The next patch would create the file uriloader/exthandler/unix/nsCommonRegistry.cpp,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsCommonRegistry.h,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsKDERegistry.cpp,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file uriloader/exthandler/unix/nsKDERegistry.h,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
patching file uriloader/exthandler/unix/nsOSHelperAppService.cpp
patching file widget/gtk/moz.build
patching file widget/gtk/nsFilePicker.cpp
patching file widget/gtk/nsFilePicker.h
patching file xpcom/components/ManifestParser.cpp
patching file xpcom/components/moz.build
patching file xpcom/io/nsLocalFileUnix.cpp
==> ERROR: A failure occurred in prepare().
    Aborting...

Offline

#11 2017-03-25 02:28:01

PhoxFyre
Member
Registered: 2017-03-20
Posts: 11

Re: computer froze during build of firefox-kde-opensuse

What I wanna do is scrap the current install and start over, how do I perform this? I see that since it hasn't finished, it wond't compile it, so what must I do to start the pulling of files again?

Offline

#12 2017-03-25 02:28:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: computer froze during build of firefox-kde-opensuse

You are trying to rebuild the same source; you need to remove the src/ and pkg/ dirs to start again.


Also, learn how to use the edit button, there is no need to keep bumping the thread.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2017-03-25 19:45:41

QuackDonkey
Member
Registered: 2017-01-27
Posts: 24

Re: computer froze during build of firefox-kde-opensuse

I think it's more probable that you filled your build directory. Building firefox requires a lot of space and by default makepkg builds it in /tmp which is mounted in ram. When you fill your ram your computer will freeze. You can change your buildir to somewhere in /home in makepkg.conf. Instead of editing original file you can copy it to ~/.config/pacman/ and adjust as needed.

Offline

#14 2017-03-25 20:06:20

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: computer froze during build of firefox-kde-opensuse

QuackDonkey wrote:

by default makepkg builds it in /tmp which is mounted in ram.

man 5 makepkg.conf wrote:

BUILDDIR="/path/to/directory"
           If this value is not set, packages will, by default, be built in
           subdirectories of the directory that makepkg is called from. This
           option allows setting the build location to another directory.
           Incorrect use of $startdir in a PKGBUILD may cause building with
           this option to fail.

https://git.archlinux.org/svntogit/pack … ges/pacman

#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

Offline

#15 2017-03-25 21:05:59

QuackDonkey
Member
Registered: 2017-01-27
Posts: 24

Re: computer froze during build of firefox-kde-opensuse

@loqs You are right, I'm sorry for misinformation. It's still worth to doublecheck if this is not the issue here. Personally I've never seen full system freeze due to CPU only.

Offline

Board footer

Powered by FluxBB