You are not logged in.
Hiya,
Every time I try to install the xboxdrv package so I can use my ds3 controller I get this error at the end;
==> Starting build()...
usage: scons [OPTION] [TARGET] ...
SCons Error: option -j: invalid integer value: '9 -l8'
==> ERROR: A failure occurred in build().
Aborting...
Error making: xboxdrv
full install log: https://pastebin.com/cUrPGYpv
I have tried removing SCons and then trying the build, no luck. I am new to using arch linux so I am not really sure on what the issue is exactly.
Sorry for the trouble :c
Offline
Welcome to the archlinux forums Niaseer
scons -j9-l8
usage: scons [OPTION] [TARGET] ...
SCons Error: option -j: invalid integer value: '9-l8'
scons -j9 -l8
Warning: the -l option is not yet implemented
What is MAKEFLAGS set to in /etc/makepkg.conf ?
Offline
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j9 -l8"
is what I found c:
Do you want me to post the whole conf file in a pastebin as well?
Offline
Does the following build function work for you?
build() {
cd ${pkgname}-${pkgver}
scons \
LINKFLAGS="${LDFLAGS}" \
CXXFLAGS="${CPPFLAGS} ${CXXFLAGS}" \
${MAKEFLAGS}
}
Offline
Wait sorry, what do I do with this? o:
Offline
Edit the PKGBUILD for xboxdrv remove the " from around ${MAKEFLAGS} then build the package with the edited PKGBUILD.
git clone https://aur.archlinux.org/xboxdrv.git
cd xboxdrv
Edit PKGBUILD at this point.
makepkg -rsi
Offline
EDIT: Removed my reply. @logs already found the same thing.
Last edited by hpmachining (2019-04-06 00:57:11)
Offline
==> Finished making: xboxdrv 0.8.8-4 (Sat 06 Apr 2019 01:53:44 UTC)
==> Installing package xboxdrv with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) xboxdrv-0.8.8-4
Total Installed Size: 1.67 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [####################################################] 100%
(1/1) checking package integrity [####################################################] 100%
(1/1) loading package files [####################################################] 100%
(1/1) checking for file conflicts [####################################################] 100%
(1/1) checking available disk space [####################################################] 100%
:: Processing package changes...
(1/1) installing xboxdrv [####################################################] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
[chloe@archnia xboxdrv]$
oooooh I think it worked! Thankies for helping me! ^w^
if you don't mind could you explain what the issue was and why this fixed it? c:
Offline
Scons is not parsing options based on spaces but the separation applied by the shell/makepkg with quoting the command becomes
'scons' '-j9 -l8'
scons will only accept
'scons' '-j9' '-l8'
Offline
ooooooooh okay, I gotcha c:
Last edited by Niaseer (2019-04-06 03:43:46)
Offline