You are not logged in.

#1 2017-12-25 13:01:03

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

kernel/irq/.affinity.o.cmd:1: *** missing separator. Stop.

kernel/irq/.affinity.o.cmd:1: *** missing separator.  Stop.
make[2]: *** [scripts/Makefile.build:573: kernel/irq] Error 2
make[1]: *** [Makefile:1029: kernel] Error 2
make: *** [Makefile:994: vmlinux_prereq] Error 2

Anyone any hints?

Offline

#2 2017-12-25 18:47:54

seth
Member
Registered: 2012-09-03
Posts: 50,016

Re: kernel/irq/.affinity.o.cmd:1: *** missing separator. Stop.

This is a broken makefile (usually spaces instead of tabs) and there's a gazillion answers to this on stackoverflow, but why that makefile is broken is impossible to say as you provided zero context on the failing build. (What, patches, how, contextual make output)

Online

#3 2017-12-26 02:01:27

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

Re: kernel/irq/.affinity.o.cmd:1: *** missing separator. Stop.

@seth, thanks for quick reply. Zero context is because I didn't know what I should provide. The error came fresh compilation of kernel 4.14.8.
kernel/irq/.affinity.o.cmd is probably auto-generated (attached here: https://pastebin.com/raw/sUy5QS7Y)

Actually I searched over stackoverflow, but i didn't believe it was due to 'usually spaces instead of tabs', because other *.o.cmd files also had spaces instead of tabs but they actually worked. Since the error was in first line, probably it was caused by the utf-8 BOM characters at the beginning of the makefile. I just didn't know why this happened or where was the control?

Last edited by enihcam (2017-12-26 02:21:39)

Offline

#4 2017-12-26 09:28:22

seth
Member
Registered: 2012-09-03
Posts: 50,016

Re: kernel/irq/.affinity.o.cmd:1: *** missing separator. Stop.

rather look at scripts/Makefile.build

"fresh compilation of kernel 4.14.8" how? AUR? re-using a build cache? Did you apply any patches?
Seems odd to me that the vanilla kernel fails to compile with a broken makefile.

Online

#5 2017-12-26 11:03:54

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

Re: kernel/irq/.affinity.o.cmd:1: *** missing separator. Stop.

seth wrote:

rather look at scripts/Makefile.build

"fresh compilation of kernel 4.14.8" how? AUR? re-using a build cache? Did you apply any patches?
Seems odd to me that the vanilla kernel fails to compile with a broken makefile.

Alright, it was linux-ck, but my another machine compiled totally fine. No i didn't use ccache.

I went through the patches used by https://aur.archlinux.org/packages/linux-ck, but i didn't find any related changes.

Offline

#6 2017-12-26 13:54:13

seth
Member
Registered: 2012-09-03
Posts: 50,016

Re: kernel/irq/.affinity.o.cmd:1: *** missing separator. Stop.

but my another machine compiled totally fine

Same make & gcc versions?
Same kernel config?

Did you check the section around scripts/Makefile.build:573 ?

Online

#7 2017-12-26 15:13:33

loqs
Member
Registered: 2014-03-06
Posts: 17,199

Re: kernel/irq/.affinity.o.cmd:1: *** missing separator. Stop.

Please run makepkg -C for the package and post the complete output probably to a pastebin if the failure is not early in the build.

Offline

#8 2017-12-27 00:11:57

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 220

Re: kernel/irq/.affinity.o.cmd:1: *** missing separator. Stop.

Thanks all for help. I have re-installed the system (changed from xfs to ext4, although i don't know if this is the root cause) and everything is back to normal now.

Offline

Board footer

Powered by FluxBB