ericm / yup

Arch Linux AUR Helper with ncurses functionality and better searching and sorting
https://aur.archlinux.org/packages/yup
GNU General Public License v3.0
139 stars 7 forks source link

Cannot Install via yay on Manjaro ARM (Raspberry Pi 4b) #36

Closed johntdavis84 closed 3 years ago

johntdavis84 commented 3 years ago

Are you on latest version of yup?

Yes

Steps to Reproduce the Problem

Meanwhile, on my new 8GB Raspberry Pi 4b running 64-bit Manjaro Linux...

  1. ] yay yup
  2. Choose 1 --> aur/yup
  3. Yay attempts to install yup and fails with this error:
Cloning into 'yup'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
go get
go: downloading github.com/Jguer/go-alpm v0.0.0-20191122171459-5cffc6e8fc69
go: downloading github.com/ericm/goncurses v0.0.0-20190629180204-4f42246a7bb5
go: downloading github.com/mikkeloscar/aur v0.0.0-20190424180024-f956f121b3fa
go: downloading github.com/Morganamilo/go-srcinfo v1.0.0
# github.com/Jguer/go-alpm
../../../../../go/pkg/mod/github.com/!jguer/go-alpm@v0.0.0-20191122171459-5cffc6e8fc69/handle.go:430:10: could not determine kind of name for C.alpm_option_get_arch
../../../../../go/pkg/mod/github.com/!jguer/go-alpm@v0.0.0-20191122171459-5cffc6e8fc69/handle.go:436:10: could not determine kind of name for C.alpm_option_set_arch
make: *** [Makefile:10: build] Error 2
==> ERROR: A failure occurred in prepare().
    Aborting...
error making: yup

Other Details

  1. Running sudo yay failed with an error. Apparently you're not supposed to do this.
  2. I'm new to yay, since the cli version of pamac is not an option on this Pi, and I'm not sure how to tell if I'm actually supposed to be able to build this on an ARMv8 (64-bit) device.

Thanks!

ericm commented 3 years ago

The yup aur package is only complied for x86-64. Could you try install yup-git from the aur?

On Sun 29 Aug 2021, 00:04 johntdavis84, @.***> wrote:

Are you on latest version of yup?

Yes Steps to Reproduce the Problem

Meanwhile, on my new 8GB Raspberry Pi 4b running 64-bit Manjaro Linux...

  1. ] yay yup
  2. Choose 1 --> aur/yup
  3. Yay attempts to install yup and fails with this error:

Cloning into 'yup'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... go get go: downloading github.com/Jguer/go-alpm v0.0.0-20191122171459-5cffc6e8fc69 go: downloading github.com/ericm/goncurses v0.0.0-20190629180204-4f42246a7bb5 go: downloading github.com/mikkeloscar/aur v0.0.0-20190424180024-f956f121b3fa go: downloading github.com/Morganamilo/go-srcinfo v1.0.0

github.com/Jguer/go-alpm

..@./handle.go:430:10: could not determine kind of name for C.alpm_option_get_arch ..@./handle.go:436:10: could not determine kind of name for C.alpm_option_set_arch make: *** [Makefile:10: build] Error 2 ==> ERROR: A failure occurred in prepare(). Aborting... error making: yup

Other Details

  1. Running sudo yay failed with an error. Apparently you're not supposed to do this.
  2. I'm new to yay, since the cli version of pamac is not an option on this Pi, and I'm not sure how to tell if I'm actually supposed to be able to build this on an ARMv8 (64-bit) device.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ericm/yup/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHECRN25TVMFLKOPKXYFICTT7FTOVANCNFSM5C7SK45A .

johntdavis84 commented 3 years ago

Thanks!

It failed again, but it also looked like it was using the previously downloaded files from my earlier attempt to build.

Is there a yay command to clear out all the previous build files?

(I’ve never used yay until today.)

[Aur:1] yup-git-v0.1.8.beta.r1.gb764aa8-1

:: Downloaded PKGBUILD (1/1): yup-git 1 yup-git (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> N :: (1/1) Parsing SRCINFO: yup-git ==> Making package: yup-git v0.1.8.beta.r1.gb764aa8-1 (Sat 28 Aug 2021 08:33:13 PM CDT) ==> Retrieving sources... -> Cloning yup git repo... Cloning into bare repository '/home/victorsuede2011/.cache/yay/yup-git/yup'... remote: Enumerating objects: 1569, done. remote: Counting objects: 100% (196/196), done. remote: Compressing objects: 100% (134/134), done. remote: Total 1569 (delta 89), reused 152 (delta 60), pack-reused 1373 Receiving objects: 100% (1569/1569), 7.38 MiB | 13.77 MiB/s, done. Resolving deltas: 100% (741/741), done. ==> Validating source files with sha256sums... yup ... Skipped ==> Making package: yup-git v0.1.8.beta.r1.gb764aa8-1 (Sat 28 Aug 2021 08:33:16 PM CDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating yup git repo... Fetching origin ==> Validating source files with sha256sums... yup ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of yup git repo... Cloning into 'yup'... done. ==> Starting pkgver()... ==> Updated version: yup-git v1.1.6.r1.g27694a2-1 ==> Sources are ready. ==> Making package: yup-git v1.1.6.r1.g27694a2-1 (Sat 28 Aug 2021 08:33:22 PM CDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Starting build()... go get

github.com/Jguer/go-alpm

..@./handle.go:430:10: could not determine kind of name for C.alpm_option_get_arch ..@./handle.go:436:10: could not determine kind of name for C.alpm_option_set_arch make: *** [Makefile:10: build] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: yup-git

On Aug 28, 2021, at 8:31 PM, Eric Moynihan @.***> wrote:

The yup aur package is only complied for x86-64. Could you try install yup-git from the air?

On Sun 29 Aug 2021, 00:04 johntdavis84, @.***> wrote:

Are you on latest version of yup?

Yes Steps to Reproduce the Problem

Meanwhile, on my new 8GB Raspberry Pi 4b running 64-bit Manjaro Linux...

  1. ] yay yup
  2. Choose 1 --> aur/yup
  3. Yay attempts to install yup and fails with this error:

Cloning into 'yup'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... go get go: downloading github.com/Jguer/go-alpm v0.0.0-20191122171459-5cffc6e8fc69 go: downloading github.com/ericm/goncurses v0.0.0-20190629180204-4f42246a7bb5 go: downloading github.com/mikkeloscar/aur v0.0.0-20190424180024-f956f121b3fa go: downloading github.com/Morganamilo/go-srcinfo v1.0.0

github.com/Jguer/go-alpm

..@./handle.go:430:10: could not determine kind of name for C.alpm_option_get_arch ..@./handle.go:436:10: could not determine kind of name for C.alpm_option_set_arch make: *** [Makefile:10: build] Error 2 ==> ERROR: A failure occurred in prepare(). Aborting... error making: yup

Other Details

  1. Running sudo yay failed with an error. Apparently you're not supposed to do this.
  2. I'm new to yay, since the cli version of pamac is not an option on this Pi, and I'm not sure how to tell if I'm actually supposed to be able to build this on an ARMv8 (64-bit) device.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ericm/yup/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHECRN25TVMFLKOPKXYFICTT7FTOVANCNFSM5C7SK45A .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericm/yup/issues/36#issuecomment-907713604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGI5CYUKLYNKE7O77BTUSC3T7GEW5ANCNFSM5C7SK45A. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ericm commented 3 years ago

Try yay -c

johntdavis84 commented 3 years ago

Hello,

I ran yay -c and then yay -S yep, and got the same error.

Would it help if I got it to show diffs, and then posted those here?

                    - J.

On Sep 7, 2021, at 5:30 PM, Eric Moynihan @.***> wrote:

Try yay -c

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericm/yup/issues/36#issuecomment-914669236, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGI5CYXGJVAL6HCRIUPMPHLUA2HA7ANCNFSM5C7SK45A. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ericm commented 3 years ago

Hi, I've updated yup. Could you try installing again?

johntdavis84 commented 3 years ago

Sure! I really appreciate you working on this.

On Manjaro, accessing the AUR via yay, I’m seeing two providers: yup and yup-git.

Which one would you like me to test?

Also, what’s the command I should use to clear out any previously installed bits? I did a yay -c the other day, and it did quite a bit more than I thought it would. Is that the best way to go about it?

On Sep 13, 2021, at 9:06 AM, Eric Moynihan @.***> wrote:

Hi, I've updated yup. Could you try installing again?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericm/yup/issues/36#issuecomment-918227652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGI5CYWJEBVF7QKQXDH6Y7LUBYAORANCNFSM5C7SK45A. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ericm commented 3 years ago

yup and yup-bin are both maintained by me. Since you're on arm, install yup since yup-bin only supports amd64.

johntdavis84 commented 3 years ago

Good afternoon!

It got all the way through the installer, at any rate. It seemed to install a version of go, and then remove it. Not sure what happened there.

Looks like it worked!

❯ yup ==> Updating from local repositories :: Synchronizing package databases... core is up to date extra is up to date community is up to date manjaro-arm-games is up to date :: Starting full system upgrade... there is nothing to do ==> Checking for AUR updates...

==> Found no AUR packages to update

Thanks again for all your help.

On Sep 14, 2021, at 4:40 AM, Eric Moynihan @.***> wrote:

yup or yup-bin are both maintained by me. Either of them will do.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericm/yup/issues/36#issuecomment-918987673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGI5CYQZI6IJIGETIP6OCDLUB4J7ZANCNFSM5C7SK45A. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.