You are not logged in.

#1 2021-01-30 23:01:24

xeromycota
Member
Registered: 2020-10-06
Posts: 21

[SOLVED]arm-linux-gnueabihf-gcc sequence install in PKGBUILD

So I have a PKGBUILD which require arm-linux-gnueabihf-gcc as one of its dependency. To install arm-linux-gnueabihf-gcc properly I need to install these 3 conflicting packages in this exact order:

arm-linux-gnueabihf-gcc-stage2
arm-linux-gnueabihf-gcc-stage1
arm-linux-gnueabihf-gcc

If I put

depends=('docker'  'arm-linux-gnueabihf-gcc-stage2' 'arm-linux-gnueabihf-gcc-stage1' 'arm-linux-gnueabihf-gcc')

in my PKGBUILD, is there any guarantee that yay or other AUR helper will install those 3 dependency packages  in that order? Is there any correct way to describe sequence install for arm-linux-gnueabihf-gcc dependency in PKGBUILD?

Last edited by xeromycota (2021-01-31 16:48:52)

Offline

#2 2021-01-31 10:05:56

a821
Member
Registered: 2012-10-31
Posts: 381

Re: [SOLVED]arm-linux-gnueabihf-gcc sequence install in PKGBUILD

You need to use just the last one "arm-linux-gnueabihf-gcc" on (make)depends. You can't put the three on the (make)depends array because they conflict with each other. AFAICT, the "stage" packages exist only for bootstraping arm-linux-gnueabihf-gcc.

Don't worry about AUR helpers, just make sure it works with makepkg.

Offline

Board footer

Powered by FluxBB