Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install (Arch Linux) #114

Open
ToaBollua opened this issue Jul 14, 2024 · 1 comment
Open

Can't install (Arch Linux) #114

ToaBollua opened this issue Jul 14, 2024 · 1 comment

Comments

@ToaBollua
Copy link

I tried to install it using an AUR package helper and using makepkg -si for the cloned AUR repo.
None worked.
(Some of the warnings are in spanish btw)

When trying to install using AUR helper it says it needs some sort of manual intervention.

Installing with makepkg -si

Output:

┌[nin@localhost] [/dev/pts/1] [master] [127]
└[~/Documentos/repos/whatscli]> cd whatscli; makepkg -si
cd: no existe el fichero o el directorio: whatscli
cd ==> Creando el paquete: whatscli 1.0.11-1 (dom 14 jul 2024 19:29:52)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
-> Descargando whatscli-1.0.11.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 441k 0 441k 0 0 357k 0 --:--:-- 0:00:01 --:--:-- 357k
==> Validando los archivos source con sha1sums...
whatscli-1.0.11.tar.gz ... Aprobado
==> Extrayendo las fuentes...
-> Extrayendo whatscli-1.0.11.tar.gz con bsdtar
==> Iniciando build()...

command-line-arguments

flag provided but not defined: -Wl,--sort-common
usage: link [options] main.o
-B note
add an ELF NT_GNU_BUILD_ID note when using ELF; use "gobuildid" to generate it from the Go build ID
-E entry
set entry symbol name
-H type
set header type
-I linker
use linker as ELF dynamic linker
-L directory
add specified directory to library path
-R quantum
set address rounding quantum (default -1)
-T int
set the start address of text symbols (default -1)
-V print version and exit
-X definition
add string value definition of the form importpath.name=value
-a no-op (deprecated)
-asan
enable ASan interface
-aslr
enable ASLR for buildmode=c-shared on windows (default true)
-benchmark string
set to 'mem' or 'cpu' to enable phase benchmarking
-benchmarkprofile base
emit phase profiles to base_phase.{cpu,mem}prof
-buildid id
record id as Go toolchain build id
-buildmode mode
set build mode
-c dump call graph
-capturehostobjs string
capture host object files loaded during internal linking to specified dir
-compressdwarf
compress DWARF if possible (default true)
-cpuprofile file
write cpu profile to file
-d disable dynamic executable
-debugnosplit
dump nosplit call graph
-debugtextsize int
debug text section max size
-debugtramp int
debug trampolines
-dumpdep
dump symbol dependency graph
-extar string
archive program for buildmode=c-archive
-extld linker
use linker when linking in external mode
-extldflags flags
pass flags to external linker
-f ignore version mismatch
-g disable go package data checks
-h halt on error
-importcfg file
read import configuration from file
-installsuffix suffix
set package directory suffix
-k symbol
set field tracking symbol
-libgcc string
compiler support lib for internal linking; use "none" to disable
-linkmode mode
set link mode
-linkshared
link against installed Go shared libraries
-memprofile file
write memory profile to file
-memprofilerate rate
set runtime.MemProfileRate to rate
-msan
enable MSan interface
-n no-op (deprecated)
-o file
write output to file
-pluginpath string
full path name for plugin
-pruneweakmap
prune weak mapinit refs (default true)
-r path
set the ELF dynamic linker search path to dir1:dir2:...
-race
enable race detector
-s disable symbol table
-strictdups int
sanity check duplicate symbol contents during object file reading (1=warn 2=err).
-tmpdir directory
use directory for temporary files
-v print link trace
-w disable DWARF generation
==> ERROR: Se produjo un fallo en build().
Cancelando...

Installing with an AUR helper (I'm using yay for this specific output)

Output:

yay -S whatscli
AUR Explicit (1): whatscli-1.0.11-1
:: PKGBUILD actualizado, omitiendo descarga: whatscli
1 whatscli (Archivos de compilación existen)
==> ¿Paquetes a limpiar antes de compilar?
==> [N]inguno [A]Todos [Ab]ortar [I]nstalados [No]Instalados o (1 2 3, 1-3, ^4)
==> a
:: Borrando (1/1): /home/nin/.cache/yay/whatscli
HEAD está ahora en f27bb30 v1.0.11
advertencia: no se pudo abrir el directorio 'pkg/': Permiso denegado
Borrando pkg/
Borrando src/
Borrando whatscli-1.0.11.tar.gz
1 whatscli (Archivos de compilación existen)
==> ¿Diffs a mostrar?
==> [N]inguno [A]Todos [Ab]ortar [I]nstalados [No]Instalados o (1 2 3, 1-3, ^4)
==> a
-> whatscli: Sin cambios -- ignorando

:: ¿Proceder con la instalación? [S/n]
==> Creando el paquete: whatscli 1.0.11-1 (dom 14 jul 2024 19:34:35)
==> Recibiendo las fuentes...
-> Descargando whatscli-1.0.11.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 441k 0 441k 0 0 193k 0 --:--:-- 0:00:02 --:--:-- 542k
==> ADVERTENCIA: Omitiendo la verificación de las firmas PGP de las fuentes.
==> Validando los archivos source con sha1sums...
whatscli-1.0.11.tar.gz ... Aprobado
:: (1/1) Analizando SRCINFO: whatscli
==> Creando el paquete: whatscli 1.0.11-1 (dom 14 jul 2024 19:34:42)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> Recibiendo las fuentes...
-> whatscli-1.0.11.tar.gz ha sido encontrado
==> Validando los archivos source con sha1sums...
whatscli-1.0.11.tar.gz ... Aprobado
==> Eliminando el directorio $srcdir/...
==> Extrayendo las fuentes...
-> Extrayendo whatscli-1.0.11.tar.gz con bsdtar
==> Las fuentes están listas.
==> Creando el paquete: whatscli 1.0.11-1 (dom 14 jul 2024 19:34:51)
==> Comprobando dependencias mientras se ejecuta...
==> Comprobando dependencias mientras se compila...
==> ADVERTENCIA: Usando el árbol existente $srcdir/
==> Iniciando build()...

command-line-arguments

flag provided but not defined: -Wl,--sort-common
usage: link [options] main.o
-B note
add an ELF NT_GNU_BUILD_ID note when using ELF; use "gobuildid" to generate it from the Go build ID
-E entry
set entry symbol name
-H type
set header type
-I linker
use linker as ELF dynamic linker
-L directory
add specified directory to library path
-R quantum
set address rounding quantum (default -1)
-T int
set the start address of text symbols (default -1)
-V print version and exit
-X definition
add string value definition of the form importpath.name=value
-a no-op (deprecated)
-asan
enable ASan interface
-aslr
enable ASLR for buildmode=c-shared on windows (default true)
-benchmark string
set to 'mem' or 'cpu' to enable phase benchmarking
-benchmarkprofile base
emit phase profiles to base_phase.{cpu,mem}prof
-buildid id
record id as Go toolchain build id
-buildmode mode
set build mode
-c dump call graph
-capturehostobjs string
capture host object files loaded during internal linking to specified dir
-compressdwarf
compress DWARF if possible (default true)
-cpuprofile file
write cpu profile to file
-d disable dynamic executable
-debugnosplit
dump nosplit call graph
-debugtextsize int
debug text section max size
-debugtramp int
debug trampolines
-dumpdep
dump symbol dependency graph
-extar string
archive program for buildmode=c-archive
-extld linker
use linker when linking in external mode
-extldflags flags
pass flags to external linker
-f ignore version mismatch
-g disable go package data checks
-h halt on error
-importcfg file
read import configuration from file
-installsuffix suffix
set package directory suffix
-k symbol
set field tracking symbol
-libgcc string
compiler support lib for internal linking; use "none" to disable
-linkmode mode
set link mode
-linkshared
link against installed Go shared libraries
-memprofile file
write memory profile to file
-memprofilerate rate
set runtime.MemProfileRate to rate
-msan
enable MSan interface
-n no-op (deprecated)
-o file
write output to file
-pluginpath string
full path name for plugin
-pruneweakmap
prune weak mapinit refs (default true)
-r path
set the ELF dynamic linker search path to dir1:dir2:...
-race
enable race detector
-s disable symbol table
-strictdups int
sanity check duplicate symbol contents during object file reading (1=warn 2=err).
-tmpdir directory
use directory for temporary files
-v print link trace
-w disable DWARF generation
==> ERROR: Se produjo un fallo en build().
Cancelando...
-> error compilando: whatscli-exit status 4
-> Ha fallado al instalar los siguientes paquetes. Una intervención manual es requerida:
whatscli - exit status 4

@oguzdeler
Copy link

I have the same issue. Tried installing go-whatsapp but that threw the same exit status 4. I'm guessing this was built on top of that and go-whatsapp is causing the issue. Still haven't found anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants