makepkg problem

kordru

New Member
Credits
23
i'm trying to install yay git and i believe a change i made a while ago when installing arch may have messed with makepkg.
here's the debug:

==> Making package: yay 10.0.4-1 (Tue 03 Nov 2020 09:32:13 PM GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found yay-10.0.4.tar.gz
==> Validating source files with sha256sums...
yay-10.0.4.tar.gz ... Passed
==> Extracting sources...
-> Extracting yay-10.0.4.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
go build -v -trimpath -mod=readonly -modcacherw -ldflags '-s -w -extldflags "-Wl,-O1,-
-sort-common,--as-needed,-z,relro,-z,now" -X "main.yayVersion=10.0.4" -X "main.localeP
ath=/usr/share/locale/"' -buildmode=pie -o yay
runtime/cgo
# runtime/cgo
cc1: error: bad value ('native=generic') for '-march=' switch
cc1: note: valid arguments to '-march=' switch are: nocona core2 nehalem corei7 westme
re sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake sky
lake-avx512 cannonlake icelake-client icelake-server cascadelake tigerlake cooperlake
bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano
nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3
athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver
1 znver2 btver1 btver2 native
make: *** [Makefile:127: yay] Error 2
==> ERROR: A failure occurred in build().
Aborting...
please help!
 


Members online


Latest posts

Top