You are not logged in.

#1 2025-05-29 12:26:36

abarbarian
Member
Registered: 2012-03-11
Posts: 35

auracle-git and pacaur problems installing correctly ?

I have been using auracle-git and pacaur with no problems untill a few days ago. My system is up to date and I have made no major changes to it recently.
I am unable to update any AUR programs with pacaur.
Pacaur is installed with version 4.8.6-3. However when I run it to update I get this,

-->pacaur -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Starting AUR upgrade...
/usr/bin/pacaur: line 1735: auracle: command not found
:: aic94xx-firmware is not present in AUR -- skipping
:: alsamixer.app is not present in AUR -- skipping

Looking at /usr/bin/pacaur shows this,

jsoncache[$@]="$(auracle rawinfo -- $@)"

Trying to install auracle-git with pacaur gets me this,

-->pacaur -S auracle-git
:: Package auracle-git not found in repositories, trying AUR...
:: resolving dependencies...
/usr/bin/pacaur: line 1735: auracle: command not found
/usr/bin/pacaur: line 1735: auracle: command not found
/usr/bin/pacaur: line 1735: auracle: command not found
:: no results found for auracle-git

Trying to build auracle-git manually I get this,

-->makepkg -si
==> Making package: auracle-git r427.33f9097-1 (Thu 29 May 2025 12:47:28 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating auracle git repo...
==> Validating source files with b2sums...
    auracle ... Skipped
==> Extracting sources...
  -> Creating working copy of auracle git repo...
error: unable to normalize alternate object path: /home/bloodaxe/NewPrograms/auracle-git/auracle-git/auracle/objects
error: unable to normalize alternate object path: /home/bloodaxe/NewPrograms/auracle-git/auracle-git/auracle/objects
fatal: '/home/bloodaxe/NewPrograms/auracle-git/auracle-git/auracle' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
==> ERROR: Failure while updating working copy of auracle git repo
    Aborting...

I have deleted auracle-git from the pacaur cache before trying to build it again btu it did not help.

I am a bit lost as to how to solve this.

Offline

#2 2025-05-29 12:39:01

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,797
Website

Re: auracle-git and pacaur problems installing correctly ?

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2025-05-29 12:40:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,708

Re: auracle-git and pacaur problems installing correctly ?

try building in a clean chroot


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

Online

#4 2025-05-29 14:03:10

abarbarian
Member
Registered: 2012-03-11
Posts: 35

Re: auracle-git and pacaur problems installing correctly ?

I managed to install auracle-git in a clean chroot as the check log shows,

ninja: Entering directory `/build/auracle-git/src/auracle/build'
ninja: no work to do.
1/14 auracle:libaur / libaur              OK              0.03s
2/14 auracle:libauracle / libauracle      OK              0.03s
3/14 auracle:auracle / test_regex_search  OK              0.12s
4/14 auracle:auracle / test_outdated      OK              0.13s
5/14 auracle:auracle / test_info          OK              0.17s
6/14 auracle:auracle / test_update        OK              0.16s
7/14 auracle:auracle / test_sort          OK              0.18s
8/14 auracle:auracle / test_raw_query     OK              0.19s
9/14 auracle:auracle / test_custom_format OK              0.20s
10/14 auracle:auracle / test_show          OK              0.19s
11/14 auracle:auracle / test_clone         OK              0.25s
12/14 auracle:auracle / test_resolve       OK              0.26s
13/14 auracle:auracle / test_buildorder    OK              0.38s
14/14 auracle:auracle / test_search        OK              0.55s

Ok:                14 
Fail:              0   

Full log written to /build/auracle-git/src/auracle/build/meson-logs/testlog.txt


Pacaur will not install in a clean chroot for me,

==> Installing missing dependencies...
error: target not found: auracle
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> auracle
  -> expac
  -> jq

I think the problem lies with pacaur looking for auracle when auracle-git is only available.

/usr/bin/pacaur: line 1735: auracle: command not found

Could I change

jsoncache[$@]="$(auracle rawinfo -- $@)"

to

jsoncache[$@]="$(auracle-git rawinfo -- $@)"

in /usr/bin/pacaur line 1735 ?

Last edited by abarbarian (2025-05-29 14:04:17)

Offline

#5 2025-05-29 15:15:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,708

Re: auracle-git and pacaur problems installing correctly ?

Nope, the reason build fails to find the auracle command is most likely that you need to add auracle-git manually to the clean chroot when building pacaur .

How to do that depends on the chroot method you chose.
for pkgctl build add --install-to-chroot /path/to/foo.pkg.tar.zst to the command line.

for makechrootpkg see https://wiki.archlinux.org/title/Develo … d_packages


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

Online

#6 2025-05-29 21:45:12

abarbarian
Member
Registered: 2012-03-11
Posts: 35

Re: auracle-git and pacaur problems installing correctly ?

Lone_Wolf wrote:

Nope, the reason build fails to find the auracle command is most likely that you need to add auracle-git manually to the clean chroot when building pacaur .

How to do that depends on the chroot method you chose.
for pkgctl build add --install-to-chroot /path/to/foo.pkg.tar.zst to the command line.

for makechrootpkg see https://wiki.archlinux.org/title/Develo … d_packages

Thanks for the help so far.

I installed pacaur in a clean chroot and added auracle-git by the "pkgctl build add --install-to-chroot /path/to/foo.pkg.tar.zst to the command line"  method. As far as I can tell this worked as at the end of the chroot install I get this,

:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Checking PKGBUILD
PKGBUILD (pacaur) W: Missing Maintainer tag
Checking pacaur-4.8.6-3-any.pkg.tar.zst
pacaur W: Dependency bash detected and implicitly satisfied (programs ['bash'] needed in scripts ['usr/bin/pacaur', 'etc/xdg/pacaur/config', 'usr/share/bash-completion/completions/pacaur'])
pacaur W: Dependency included, but may not be needed ('auracle')
pacaur W: Dependency included, but may not be needed ('expac')
pacaur W: Dependency included, but may not be needed ('sudo')
pacaur W: Dependency included, but may not be needed ('jq')
==> Running checkpkg
error: target not found: pacaur
==> WARNING: Skipped checkpkg due to missing repo packages
==> Generating .SRCINFO...done

Trying to use pacaur I still get,

-->pacaur -Syu
:: Synchronising package databases...
 core                  117.1 KiB   111 KiB/s 00:01 [----------------------] 100%
 extra                   7.8 MiB  1574 KiB/s 00:05 [----------------------] 100%
 multilib              134.3 KiB   119 KiB/s 00:01 [----------------------] 100%
:: Starting full system upgrade...
 there is nothing to do
:: Starting AUR upgrade...
/usr/bin/pacaur: line 1735: auracle: command not found
:: aic94xx-firmware is not present in AUR -- skipping
:: alsamixer.app is not present in AUR -- skipping

I have never used a build chroot before either with "pkgctl" or "makechrootpkg" but I think I have installed correctly.
So am baffled as to what the gremlin is.   ;-(

Offline

#7 2025-05-29 22:09:47

mackin_cheese
Member
Registered: 2025-01-07
Posts: 467

Re: auracle-git and pacaur problems installing correctly ?

you should be posting the full output of what you see, not just what you think is relevant, this is important. You should also be posting the exact command you are using to do any installations. You indicate that auracle has been built but you don't provide the full output nor do you state whether you installed auracle via Pacman -U

Offline

#8 Yesterday 08:59:41

abarbarian
Member
Registered: 2012-03-11
Posts: 35

Re: auracle-git and pacaur problems installing correctly ?

mackin_cheese wrote:

you should be posting the full output of what you see, not just what you think is relevant, this is important. You should also be posting the exact command you are using to do any installations. You indicate that auracle has been built but you don't provide the full output nor do you state whether you installed auracle via Pacman -U

https://wiki.archlinux.org/title/Develo … ean_chroot

I followed the instructions at the Wiki for making a clean chroot and used,

makechrootpkg -c -r $CHROOT

to make and install auracle-git. I am not sure what pacman command is used in that process but it looks like auracle-git installed ok.

-->pacman -Qi auracle-git
Name            : auracle-git
Version         : r427.33f9097-1
Description     : A flexible client for the AUR
Architecture    : x86_64
URL             : https://github.com/falconindy/auracle
Licenses        : MIT
Groups          : None
Provides        : auracle
Depends On      : pacman  abseil-cpp  fmt  libcurl.so=4-64  libsystemd
Optional Deps   : None
Required By     : pacaur
Optional For    : None
Conflicts With  : auracle
Replaces        : None
Installed Size  : 1297.97 KiB
Packager        : Unknown Packager
Build Date      : Mon 21 Apr 2025 14:59:14 BST
Install Date    : Mon 21 Apr 2025 14:59:21 BST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

I am not very familiar with how to post here, but will take your advice on posting full information. I believe the information I posted earlier shows that auracle-git and pacaur were installed correctly via a clean chroot and that I still have a problem.

I am 72 years old and taught myself to install and use Arch back in 2011. It took me two days and I had to google up what "nano" meant and how to use it as I went along. I have used Arch as my main driver ever since. However as a non geek I have gaps in my understanding of how stuff works and it takes me a while to get to grips with new problems. I very rarely post here as I can usually sort stuff out by surfing the web and trial and error. However I have come up against a brick wall on this particular problem which is why I am posting here.

Thanks for the help so far. ;-)

Offline

#9 Yesterday 09:55:48

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,708

Re: auracle-git and pacaur problems installing correctly ?

Build Date      : Mon 21 Apr 2025 14:59:14 BST
Install Date    : Mon 21 Apr 2025 14:59:21 BST

Looks like the wiki doesn't mention a small yet important fact :
After building in any of the suggested clean chroots methods , you still need to install the built package on your regular installation .

Use pacman -U to install the clean builds of auracle-git and pacaur .


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

Online

#10 Today 09:30:43

abarbarian
Member
Registered: 2012-03-11
Posts: 35

Re: auracle-git and pacaur problems installing correctly ?

Lone_Wolf wrote:
Build Date      : Mon 21 Apr 2025 14:59:14 BST
Install Date    : Mon 21 Apr 2025 14:59:21 BST

Looks like the wiki doesn't mention a small yet important fact :
After building in any of the suggested clean chroots methods , you still need to install the built package on your regular installation .

Use pacman -U to install the clean builds of auracle-git and pacaur .


Many thanks for the in depth help. My pacaur works again.
As usual it took some time to sort the gremlin but at least I have learnt  a lot. The wiki in my opinion has become more complicated lately which is a shame as it is becoming more esoteric every time I have to visit it. Missing out a important step, which may be obvious to an experienced person, is just one example.

Thanks again. ;-)

Offline

#11 Today 12:12:00

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,708

Re: auracle-git and pacaur problems installing correctly ?

For arch developers (and many other packagers) building and installing are 2 separate steps.
(aur helpers and advising makepkg -si make it easy to miss that).

Mentioning the install step on a page with Building in its title feels unnecessary/superfluous .


I only realised you hadn't installed the built packages by checking the pacman -Qi output.

Glad your issue is solved.
Please prepend [Solved] to the thread title (edit first post)


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

Online

Board footer

Powered by FluxBB