You are not logged in.

#1 2018-05-02 22:16:38

Batou
Member
Registered: 2017-01-03
Posts: 262

Compiling 4.16.6 in tmpfs fails with "ERROR: A failure occurred..."

Hi all,

I have a strange issue: when I try to compile 4.16.6 in tempfs (/tmp/...) with a custom patch, it now "always" fails with "==> ERROR: A failure occurred in build()." And by "always", I've tried it 3 times... failed two times, then rebooted once before trying again and it also failed.

Specifically, it gets to this and it fails to build:

...
  CC [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.o
  LD [M]  drivers/net/wireless/realtek/rtlwifi/rtl8723be/rtl8723be.o
  CC [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/led.o
  CC [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.o
  CC [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/pwrseq.o
  LD [M]  drivers/net/wireless/ti/wlcore/wlcore_spi.o
  LD [M]  drivers/net/wireless/ti/wlcore/wlcore_sdio.o
  CC [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.o
  CC [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.o
  CC [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/table.o
  CC [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.o
  LD [M]  drivers/net/wireless/ti/wlcore/wlcore.o
  LD [M]  drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.o
  AR      drivers/net/wireless/built-in.o
  AR      drivers/net/built-in.o
  AR      drivers/built-in.o
==> ERROR: A failure occurred in build().
    Aborting...
makepkg -s  9083.42s user 860.44s system 634% cpu 26:07.83 total 

The strange part is this:

  1. I've been compiling the kernel this way for weeks (previous versions) without any issues like this

  2. If I compile it with ABS outside   tempfs, everything works

  3. If I compile it using the traditional way inside  of the tempfs, everything works

  4. But if I compile it with ABS inside a tempfs, it always fails now

Here is my PKGBUILD: https://paste.pound-python.org/show/hJv … XHMHRFDFy/
Custom patch for my sound card: https://paste.pound-python.org/show/wH7 … 1SNR9z4ra/

What could be causing this?


Please vote for all the AUR packages you're using. You can mass-vote for all of them by doing: "pacman -Qqm | xargs aurvote -v" (make sure to run "aurvote --configure"  first)

Offline

#2 2018-05-03 09:18:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,217

Re: Compiling 4.16.6 in tmpfs fails with "ERROR: A failure occurred..."

Try a verbose build, but I'd say: OOM - so you could also just look at your RAM load (where the assumption is that ABS adds extra stuff in the tmpfs, tarballs etc.)

Offline

Board footer

Powered by FluxBB