Skip to content

Error compiling the AUR package #49

Description

@Dominiquini

Error when trying to install on ARCH using the AUR: https://aur.archlinux.org/packages/yup#comment-1051493

==> Making package: yup 1.1.8-3 (sáb 13 dez 2025 15:47:10)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning yup git repo...
Cloning into bare repository '/home/rafaeldominiquini/PKGs/yup/yup'...
remote: Enumerating objects: 1613, done.
remote: Counting objects: 100% (240/240), done.
remote: Compressing objects: 100% (132/132), done.
remote: Total 1613 (delta 105), reused 234 (delta 104), pack-reused 1373 (from 1)
Receiving objects: 100% (1613/1613), 7.39 MiB | 32.08 MiB/s, done.
Resolving deltas: 100% (757/757), done.
==> Validating source files with sha256sums...
    yup ... Skipped
==> Extracting sources...
  -> Creating working copy of yup git repo...
Cloning into 'yup'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
go get
go install
# github.com/Jguer/go-alpm/v2
../../../../.go/pkg/mod/github.com/!jguer/go-alpm/v2@v2.0.6/db.go:148:103: cannot use _cgo0 (variable of type *_Ctype_struct___alpm_list_t) as *_Ctype_struct__alpm_list_t value in argument to _Cfunc_alpm_find_group_pkgs
../../../../.go/pkg/mod/github.com/!jguer/go-alpm/v2@v2.0.6/deps.go:22:75: cannot use _cgo0 (variable of type *_Ctype_struct___alpm_handle_t) as *_Ctype_struct__alpm_handle_t value in argument to _Cfunc_alpm_find_dbs_satisfier
../../../../.go/pkg/mod/github.com/!jguer/go-alpm/v2@v2.0.6/deps.go:22:75: cannot use _cgo1 (variable of type *_Ctype_struct___alpm_list_t) as *_Ctype_struct__alpm_list_t value in argument to _Cfunc_alpm_find_dbs_satisfier
../../../../.go/pkg/mod/github.com/!jguer/go-alpm/v2@v2.0.6/deps.go:38:78: cannot use _cgo0 (variable of type *_Ctype_struct___alpm_list_t) as *_Ctype_struct__alpm_list_t value in argument to _Cfunc_alpm_find_satisfier
../../../../.go/pkg/mod/github.com/!jguer/go-alpm/v2@v2.0.6/package.go:69:53: cannot use _cgo0 (variable of type *_Ctype_struct___alpm_list_t) as *_Ctype_struct__alpm_list_t value in argument to _Cfunc_alpm_list_count
../../../../.go/pkg/mod/github.com/!jguer/go-alpm/v2@v2.0.6/package.go:70:34: cannot use _cgo0 (variable of type *_Ctype_struct___alpm_list_t) as *_Ctype_struct__alpm_list_t value in argument to _Cfunc_alpm_list_msort
make: *** [Makefile:11: build] Error 1
==> ERROR: A failure occurred in prepare().
    Aborting...

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions