You are not logged in.
New Arch build and looking to install snapd.
Ive tried installing with both yay and makepkg. Both times Ive received the error:
...
config.status: creating config.h
config.status: executing depfiles commands
make: the '-j' option requires a positive integer argument
make: the '-j' option requires a positive integer argument
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
<all make options listed here but removed for readability>
...
This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
==> ERROR: A failure occurred in build().
Aborting...$uname -a
Linux DailyDriver 5.15.7-arch1-1 #1 SMP PREEMPT Wed, 08 Dec 2021 14:33:16 +0000 x86_64 GNU/Linux
Ive also tried installing snapd-git but that gives me a different error. I'm indifferent to which package gets installed, Im just curious what could be the problem and wanted to ask before I started messing with the make file
Last edited by Rayhem (2021-12-13 00:13:49)
Offline
That reads like you misconfigured your MAKEFLAGS in /etc/makepkg.conf
Last edited by V1del (2021-12-12 17:27:09)
Offline
Amazing troubleshooting with how little I was able to provide to you.
Your post reminded me a few days ago I changed my MAKEFLAGS setting to MAKEFLAGS="-j$(nproc)". This causes a race condition and fails to build properly. Changing it back to the default value corrected the problem.
THANK YOU!
Offline
You can also just hardcode the number to what you want it to be. It's unlikely you'll change your processor often enough that you need this to be dynamic.
Offline