You are not logged in.

#1 2018-10-22 13:03:01

TeDz002
Member
Registered: 2018-10-22
Posts: 2

[SOLVED] Error: A failure occured in build()

I'm trying to install yay, but I just can't seem to do so because I keep receiving this error:
make: *** [Makefile:44: build] Error 2
==> ERROR: A failure occurred in build()
I'm completely new to arch and a novice to linux in general - though I know the basics of terminal code.
It goes as follows:

[theo@archlinux ~]$ git clone https://aur.archlinux.org/yay.git
Cloning into 'yay'...
remote: Enumerating objects: 220, done.
remote: Counting objects: 100% (220/220), done.
remote: Compressing objects: 100% (155/155), done.
remote: Total 220 (delta 63), reused 220 (delta 63)
Receiving objects: 100% (220/220), 44.03 KiB | 883.00 KiB/s, done.
Resolving deltas: 100% (63/63), done.
[theo@archlinux ~]$ cd yay
[theo@archlinux yay]$ makepkg -si
==> Making package: yay 8.1173.0-1 (Mon 22 Oct 2018 08:47:38 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading yay-8.1173.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   120    0   120    0     0    248      0 --:--:-- --:--:-- --:--:--   247
100  340k  100  340k    0     0   222k      0  0:00:01  0:00:01 --:--:--  657k
==> Validating source files with sha1sums...
    yay-8.1173.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-8.1173.0.tar.gz with bsdtar
==> Starting build()...
go build -v -ldflags '-s -w -X main.version=8.1173.0' -o yay
github.com/jguer/go-alpm
# github.com/jguer/go-alpm
exec: "gcc": executable file not found in $PATH
make: *** [Makefile:44: build] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Thanks in advance for any suggestions! smile

Last edited by TeDz002 (2018-10-22 13:21:58)

Offline

#2 2018-10-22 13:07:18

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] Error: A failure occured in build()

exec: "gcc": executable file not found in $PATH

https://wiki.archlinux.org/index.php/Ar … Repository
check prerequisites.

Last edited by Lone_Wolf (2018-10-22 13:08:49)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2018-10-22 13:15:29

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Error: A failure occured in build()


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2018-10-22 13:22:25

TeDz002
Member
Registered: 2018-10-22
Posts: 2

Re: [SOLVED] Error: A failure occured in build()

Lone_Wolf wrote:
exec: "gcc": executable file not found in $PATH

https://wiki.archlinux.org/index.php/Ar … Repository
check prerequisites.

Thanks! smile

Offline

Board footer

Powered by FluxBB