You are not logged in.

#1 2023-05-31 13:01:22

art
Member
Registered: 2019-08-12
Posts: 63

[SOLVED] Failed:"chroot: /usr/share/devtools/makepkg-x86_64.conf

When I try to build under changed root I get this error. How to fix?

❯ aur sync -c python38
==> Using [custom] repository
  -> python38 (none) -> 3.8.16-3
==> Retrieving package files
Уже актуально.
chroot: /usr/share/devtools/makepkg-x86_64.conf is not a file
❯ spa -
❯ aur utils
❯ aur sync -c aurutils
==> Using [custom] repository
  -> aurutils 13.2-1 -> 15.3-1
==> Retrieving package files
remote: Enumerating objects: 57, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 53 (delta 28), reused 43 (delta 20), pack-reused 0
Распаковка объектов: 100% (53/53), 7.24 КиБ | 741.00 КиБ/с, готово.
Из https://aur.archlinux.org/aurutils
   b55d7cb..1a6d975  master     -> origin/master
Updated 0 paths from the index
Обновление b55d7cb..1a6d975
Fast-forward
 PKGBUILD           |  4 ++--
 .SRCINFO           |  6 +++---
 aurutils.changelog | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 103 insertions(+), 5 deletions(-)
chroot: /usr/share/devtools/makepkg-x86_64.conf is not a file

It is:

❯ uname -a
Linux ARCHPC 6.3.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 11 May 2023 16:40:42 +0000 x86_64 GNU/Linux

Last edited by art (2023-05-31 15:35:38)

Offline

#2 2023-05-31 13:33:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,128

Re: [SOLVED] Failed:"chroot: /usr/share/devtools/makepkg-x86_64.conf

/usr/share/devtools uses a different structure now, /usr/share.devtools//makepkg.conf.d/x86_64.conf is the new location / name .

The chroot tool you use probably needs to be updated, what tool is it ?

Incase it is aurutils, see https://aur.archlinux.org/packages/auru … ent-915960 (top pinned comment)

Last edited by Lone_Wolf (2023-05-31 13:33:50)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-05-31 15:34:53

art
Member
Registered: 2019-08-12
Posts: 63

Re: [SOLVED] Failed:"chroot: /usr/share/devtools/makepkg-x86_64.conf

Lone_Wolf wrote:

/usr/share/devtools uses a different structure now, /usr/share.devtools//makepkg.conf.d/x86_64.conf is the new location / name .

The chroot tool you use probably needs to be updated, what tool is it ?

Incase it is aurutils, see https://aur.archlinux.org/packages/auru … ent-915960 (top pinned comment)

Thank you. This solved the issue. Copied from the link above:

rm -rf /var/lib/aurbuild
cp /usr/share/devtools/pacman.conf.d/extra.conf /etc/aurutils/pacman-x86_64.conf
vim /etc/aurutils/pacman-x86_64.conf  # add local repository

Offline

Board footer

Powered by FluxBB