You are not logged in.

#1 2022-06-25 16:53:57

N3k0-san
Member
From: Elsweyr
Registered: 2021-08-14
Posts: 67

makechrootpkg Not Properly Supporting Non-default CARCH Values

I tend to build all my packages for my system's specific architecture (znver2), and while this is still doable and the package names *can* be adjusted to reflect that by adjusting CARCH in makepkg.conf, makechrootpkg does not respect this.
I would have reported such as a bug to the associated gitlab page, but the login portal there for new users is bugged and won't accept my 2FA tokens provided via KeePassXC :/

Not sure who to talk to about this exactly, so I figured I'd put this info out there.

Offline

#2 2022-06-25 17:50:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: makechrootpkg Not Properly Supporting Non-default CARCH Values

N3k0-san wrote:

... by adjusting CARCH in makepkg.conf, makechrootpkg does not respect this.

Which makepkg.conf are you adjusting?  The one in the chroot, or the one for the host system?  And / or how did you create the chroot (did you use the -M flag passing your makepkg.conf *after* you had edited CARCH?

Last edited by Trilby (2022-06-25 17:52:52)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-06-25 18:38:04

N3k0-san
Member
From: Elsweyr
Registered: 2021-08-14
Posts: 67

Re: makechrootpkg Not Properly Supporting Non-default CARCH Values

I've done it for both

Offline

#4 2022-06-26 23:01:30

N3k0-san
Member
From: Elsweyr
Registered: 2021-08-14
Posts: 67

Re: makechrootpkg Not Properly Supporting Non-default CARCH Values

I find it baffling that I couldn't just easily register for the Gitlab and reported it without issue though...
There isn't even a support email for it hmm

Offline

#5 2022-06-28 09:24:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,331

Re: makechrootpkg Not Properly Supporting Non-default CARCH Values

Gitlab transition is afaik still WIP and not open to the public, do your bug reports/feature requests on https://bugs.archlinux.org/

Offline

#6 2022-06-28 15:42:46

N3k0-san
Member
From: Elsweyr
Registered: 2021-08-14
Posts: 67

Re: makechrootpkg Not Properly Supporting Non-default CARCH Values

@V1del Thanks for letting me know

Offline

#7 2022-06-28 21:01:31

loqs
Member
Registered: 2014-03-06
Posts: 18,101

Re: makechrootpkg Not Properly Supporting Non-default CARCH Values

Offline

#8 2022-06-29 00:28:19

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,478
Website

Re: makechrootpkg Not Properly Supporting Non-default CARCH Values

You probably don't want a different architecture anyway.  Unless you are distributing to other people.  Adjust the devtools makepkg.conf CFLAGS to use -march=native.

Offline

Board footer

Powered by FluxBB