Ok! So somehow I had a version of the makepkg.conf in my home directory with an invalid -j argument. I just fixed that and it worked. I don't know how the file got created, but there's no problem with the AUR package.
Thank you!
Git Clone URL: | https://aur.archlinux.org/onedrive-abraunegg.git (read-only, click to copy) |
---|---|
Package Base: | onedrive-abraunegg |
Description: | Free OneDrive client written in D - abraunegg's fork. Follows the releases on https://github.com/abraunegg/onedrive/releases |
Upstream URL: | https://github.com/abraunegg/onedrive |
Keywords: | onedrive |
Licenses: | GPL |
Conflicts: | onedrive, onedrive-abraunegg-git, onedrive-bin, onedrive-fork-git, onedrive-git |
Provides: | onedrive |
Submitter: | Pete |
Maintainer: | Matr1x-101 (yogeshm.007) |
Last Packager: | yogeshm.007 |
Votes: | 113 |
Popularity: | 4.20 |
First Submitted: | 2019-03-29 10:46 (UTC) |
Last Updated: | 2024-11-23 16:02 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 13 Next › Last »
Ok! So somehow I had a version of the makepkg.conf in my home directory with an invalid -j argument. I just fixed that and it worked. I don't know how the file got created, but there's no problem with the AUR package.
Thank you!
Ok, I tried to set MAKEFLAGS as an environment variable with the '-j 8' argument, and to export the MAKEFLAGS at the beginning of the build process by adding export MAKEFLAGS='-j 8'
at the start of the build{}
command in the PKGBUILD with no luck!... If anyone has any ideas it would be greatly appreciated. I think I'm out of my depth, here.
@FabioLolix I have a MAKEFLAGS option in my /etc/makepkg.conf, but it is commented, so I think it is ignored. Anyway, I have never edited this file, when should it have changed? But it is MAKEFLAGS="j2". I tried to uncomment it and add the "j8" argument and it did not work.
#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto"
#RUSTFLAGS="-C opt-level=2"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j8"
#-- Debugging flags
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
#DEBUG_RUSTFLAGS="-C debuginfo=2"
Any other ideas?
@padro89 what is the value of MAKEFLAGS="
in your makepkg.conf
? I've seen that error on https://aur.archlinux.org/packages/qt5-webkit
Hello! Since the last update I find this error:
==> S'inicia build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for dmd... dmd
checking version of D compiler... 2.104.0
checking for curl... yes
checking for sqlite... yes
checking for notify... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/pacman/PKGBUILD
config.status: creating contrib/spec/onedrive.spec
config.status: creating onedrive.1
config.status: creating contrib/systemd/onedrive.service
config.status: creating contrib/systemd/onedrive@.service
make: the '-j' option requires a positive integer argument
After which the make help usage is printed and building is halted. I cannot find anything in the make file
I have tried cleaning the cache, installing it through an AUR helper and installing it manually with makepkg. I have also tried to find if I may have any environment variables set accidentally, but I can't find anything. Any pointers?
Thank you!
@firebone If you use makepkg, just use a fresh directory to compile or make sure to remove file named 'v2.4.24.tar.gz' from the directory before running makepkg. If you use a helper, make sure to use clean build option.
@Ste74 pkgconfig is in base-devel and an AUR pre-requisite, you should know that
Please add pkgconfig into makedepends
Pinned Comments
Pete commented on 2019-03-29 10:51 (UTC)
This package can be used as a replacement for onedrive-abraunegg-git. It will be updated on every release from https://github.com/abraunegg/onedrive/releases .