fosskers / aura

A multilingual package manager for Arch Linux and the AUR.
https://fosskers.github.io/aura/
GNU General Public License v3.0
1.74k stars 114 forks source link

Ran aura check and saw I have a lot of packages without tarballs #909

Closed derekagraham78 closed 1 month ago

derekagraham78 commented 1 month ago

I used aura -Cm >> file Then aura -A $(cat file) Gave a bunch of errors. How do I fix it? IMG_4176 IMG_4184

derekagraham78 commented 1 month ago

This is the list of packages it says I need to manually install aur-packages.txt

fosskers commented 1 month ago

Ah it's the -debug packages back for vengeance. Note that I just fixed a related bug.

In your case, I would recommend going into your /etc/makepkg.conf, finding the OPTIONS list, and setting !debug to disable the building/installation of all those -debug packages.

Now to delete all the existing -debug packages, run:

aura -Qmq | grep "debug" | xargs aura -R --noconfirm

Or similarly use the cat trick you initially used above to pass the arguments to -R.

derekagraham78 commented 1 month ago

I separated out the debug packages after sorting the file. It's installing the non debug packages now. I'll make the changes afterwards. Thanks I really like the app. I wish there were decent GUI versions available. There are times when it is handy

derekagraham78 commented 1 month ago

aura -A $(cat file) is very helpful

fosskers commented 1 month ago

Great, shall we close this then?

derekagraham78 commented 1 month ago

How can I fix these couple issues IMG_4189

fosskers commented 1 month ago

Lets overlook the first two ! warnings for now. As for the actual error, can you please paste the content of your ~/.config/aura/config.toml here? There seems to be a mistake in it, or else it would parse.

derekagraham78 commented 1 month ago

Here it is config.toml.txt

fosskers commented 1 month ago

It's seems you've combined the contents of your pacman.conf and Aura's config. Unfortunately Aura doesn't support this.

I suggest you regenerate the config via:

aura conf --gen > ~/.config/aura/config.toml

and then readd the values for editor = "nano" etc.

derekagraham78 commented 1 month ago

Done. Here is what's left IMG_4192

fosskers commented 1 month ago

You're actually good to go. The message about EDITOR is spurious because you're setting it in config (I'll fix that).

If you intend to use Aura in English then you don't need to worry about the LANG message either.

derekagraham78 commented 1 month ago

These 2 packages keep showing up when running aura -Ayu and I install them successfully, but rerunning aura -Ayu they show back up to install :( Screenshot From 2024-08-13 18-09-28

fosskers commented 1 month ago

Is git = true in your config? If so, set it to false.

derekagraham78 commented 1 month ago

No its set tp false config.toml.txt

fosskers commented 1 month ago

Interesting, then you may have found some edge cases in the versions library. I will check this.

derekagraham78 commented 1 month ago

Always good to find a bug to help others :) I am also running the git version

❯ aura -As aura
aur/aura-bin 4.0.2-1 (179 | 0.87) 
    A package manager for Arch Linux and its AUR - Prebuild binary
aur/aura 4.0.2-1 (169 | 2.85) 
    A package manager for Arch Linux and its AUR
aur/aura-git 4.0.2.r2.g9ade871-1 (4 | 0.87) [installed]
    A package manager for Arch Linux and its AUR
derekagraham78 commented 1 month ago

I am not sure if this will help but here is the output from updating those two apps:

 05:45 PM 
❯ aura -Ayu
aura :: Fetching package information...
aura :: Comparing package versions...
aura :: AUR packages to upgrade:
 libpurple-signald-git :: latest.r7.gaa48b7e-1  -> 0.12.0.r0.g87409b4-1
 pamac-all-git         :: 1:1.7.1.r1.g61b7570-1 -> 1:10.4.3.r0.gd314d70-1
aura :: Determining dependencies...
aura :: AUR packages:
 libpurple-signald-git
 pamac-all-git
aura :: Saved package state.
aura :: Preparing build directories...
aura :: Building pamac-all-git...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
==> Making package: pamac-all-git 1:10.4.3.r0.gd314d70-1 (Tue Aug 13 19:07:16 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating pamac git repo...
==> Validating source files with sha256sums...
    pamac ... Skipped
==> Extracting sources...
  -> Creating working copy of pamac git repo...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: pamac-all-git 1:1.7.1.r1.g61b7570-1
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Directory already configured.

Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
Run "meson setup --reconfigure to force Meson to regenerate.

If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/dgraham/.cache/aura/builds/pamac-all-git/src/builddir
ninja: Entering directory `/home/dgraham/.cache/aura/builds/pamac-all-git/src/builddir'
[1/28] Compiling Vala source ../pamac/src/transaction-gtk.vala ../pamac/sr...version.vala ../pamac/src/local_config.vala ../pamac/src/database-gtk.vala
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
../pamac/src/transaction-gtk.vala:233.21-233.37: warning: `Adw.MessageDialog' has been deprecated since 1.6
  233 |             var dialog = new Adw.MessageDialog (application_window, dgettext (null, "Import PGP key"), null);
      |                             ^~~~~~~~~~~~~~~~~                                                               
../pamac/src/transaction-gtk.vala:233.8-233.13: warning: `Adw.MessageDialog' has been deprecated since 1.6
  233 |             var dialog = new Adw.MessageDialog (application_window, dgettext (null, "Import PGP key"), null);
      |                ^~~~~~                                                                                       
../pamac/src/transaction-gtk.vala:930.22-930.38: warning: `Adw.MessageDialog' has been deprecated since 1.6
  930 |                 var dialog = new Adw.MessageDialog (application_window, dgettext (null, "Warning"), null);
      |                                 ^~~~~~~~~~~~~~~~~                                                        
../pamac/src/transaction-gtk.vala:930.9-930.14: warning: `Adw.MessageDialog' has been deprecated since 1.6
  930 |                 var dialog = new Adw.MessageDialog (application_window, dgettext (null, "Warning"), null);
      |                    ^~~~~~                                                                                
../pamac/src/transaction-gtk.vala:783.22-783.38: warning: `Adw.MessageDialog' has been deprecated since 1.6
  783 |                 var dialog = new Adw.MessageDialog (application_window, action, null);
      |                                 ^~~~~~~~~~~~~~~~~                                    
../pamac/src/transaction-gtk.vala:783.9-783.14: warning: `Adw.MessageDialog' has been deprecated since 1.6
  783 |                 var dialog = new Adw.MessageDialog (application_window, action, null);
      |                    ^~~~~~                                                            
../pamac/src/transaction-gtk.vala:976.21-976.37: warning: `Adw.MessageDialog' has been deprecated since 1.6
  976 |             var dialog = new Adw.MessageDialog (application_window, dgettext (null, "Error"), message);
      |                             ^~~~~~~~~~~~~~~~~                                                         
../pamac/src/transaction-gtk.vala:976.8-976.13: warning: `Adw.MessageDialog' has been deprecated since 1.6
  976 |             var dialog = new Adw.MessageDialog (application_window, dgettext (null, "Error"), message);
      |                ^~~~~~                                                                                 
../pamac/src/transaction-gtk.vala:1016.21-1016.37: warning: `Adw.MessageDialog' has been deprecated since 1.6
 1016 |             var dialog = new Adw.MessageDialog (application_window, dgettext (null, "Warning"), null);
      |                             ^~~~~~~~~~~~~~~~~                                                        
../pamac/src/transaction-gtk.vala:1016.8-1016.13: warning: `Adw.MessageDialog' has been deprecated since 1.6
 1016 |             var dialog = new Adw.MessageDialog (application_window, dgettext (null, "Warning"), null);
      |                ^~~~~~                                                                                
../pamac/src/database-gtk.vala:36.22-36.38: warning: `Adw.MessageDialog' has been deprecated since 1.6
   36 |                 var dialog = new Adw.MessageDialog (window, dgettext (null, "Error"), message);
      |                                 ^~~~~~~~~~~~~~~~~                                             
../pamac/src/database-gtk.vala:36.9-36.14: warning: `Adw.MessageDialog' has been deprecated since 1.6
   36 |                 var dialog = new Adw.MessageDialog (window, dgettext (null, "Error"), message);
      |                    ^~~~~~                                                                     
Compilation succeeded - 12 warning(s)
[2/17] Compiling C object src/libpamac-gtk.so.p/meson-generated_version.c.o
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
[3/17] Compiling Vala source ../pamac/src/version.vala ../pamac/src/histor...amac/src/manager.vala ../pamac/src/search-provider.vala src/pamac-gtk.vapi
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
../pamac/src/manager_window.vala:513.4-513.19: warning: `Gtk.StyleContext' has been deprecated since 4.10
  513 |             Gtk.StyleContext.add_provider_for_display (Gdk.Display.get_default (), css_provider, 500);
      |             ^~~~~~~~~~~~~~~~                                                                          
../pamac/src/manager_window.vala:1395.21-1395.42: warning: `Gtk.Picture.for_pixbuf' has been deprecated since 4.12
 1395 |                         picture = new Gtk.Picture.for_pixbuf (pixbuf);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~          
../pamac/src/manager_window.vala:821.21-821.35: warning: `Adw.AboutWindow' has been deprecated since 1.6
  821 |                 var about = new Adw.AboutWindow ();
      |                                ^~~~~~~~~~~~~~~    
../pamac/src/manager_window.vala:821.9-821.13: warning: `Adw.AboutWindow' has been deprecated since 1.6
  821 |                 var about = new Adw.AboutWindow ();
      |                    ^~~~~                          
../pamac/src/manager.vala:69.5-69.36: warning: `Gtk.Window.present_with_time' has been deprecated since 4.14
   69 |                 manager_window.present_with_time (timestamp);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
Compilation succeeded - 5 warning(s)
[4/8] Compiling C object src/pamac-manager.p/meson-generated_version.c.o
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
[5/8] Linking target src/libpamac-gtk.so
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
[6/8] Generating symbol file src/libpamac-gtk.so.p/libpamac-gtk.so.symbols
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
[7/7] Linking target src/pamac-manager
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
==> Entering fakeroot environment...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
==> Starting package()...
ninja: Entering directory `/home/dgraham/.cache/aura/builds/pamac-all-git/src/builddir'
ninja: no work to do.
Installing subdir /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/gnome-shell/pamac-updates@manjaro.org to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/gnome-shell/extensions/pamac-updates@manjaro.org
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/gnome-shell/pamac-updates@manjaro.org/metadata.json to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/gnome-shell/extensions/pamac-updates@manjaro.org
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/gnome-shell/pamac-updates@manjaro.org/README.md to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/gnome-shell/extensions/pamac-updates@manjaro.org
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/gnome-shell/pamac-updates@manjaro.org/stylesheet.css to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/gnome-shell/extensions/pamac-updates@manjaro.org
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/gnome-shell/pamac-updates@manjaro.org/extension.js to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/gnome-shell/extensions/pamac-updates@manjaro.org
Installing subdir /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/32x32/apps/system-software-install.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/32x32/apps
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/actions/view-sidebar-end-symbolic.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/actions
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/actions/view-sidebar-start-symbolic.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/actions
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/emblems/globe-symbolic.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/emblems
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/status/software-select-symbolic.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/status
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/status/installed-check.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/status
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/status/software-remove-symbolic.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/status
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/status/software-install-symbolic.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/status
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/status/pamac-tray-update.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/status
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/status/software-update-symbolic.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/status
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/scalable/status/pamac-tray-no-update.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/scalable/status
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/48x48/apps/system-software-install.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/48x48/apps
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/icons/hicolor/16x16/apps/system-software-install.svg to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/icons/hicolor/16x16/apps
Installing src/pamac-tray to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/bin
Installing src/libpamac-gtk.so to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/lib
Installing src/pamac-manager to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/bin
Installing src/pamac-installer to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/bin
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/applications/pamac-installer.desktop to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/applications
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/applications/org.manjaro.pamac.manager.desktop to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/applications
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/applications/pamac-tray.desktop to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/etc/xdg/autostart
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/applications/pamac-tray-budgie.desktop to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/etc/xdg/autostart
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/builddir/data/dbus/org.manjaro.pamac.manager.service to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/dbus-1/services
Installing /home/dgraham/.cache/aura/builds/pamac-all-git/src/pamac/data/gnome-shell/org.manjaro.pamac.manager.search-provider.ini to /home/dgraham/.cache/aura/builds/pamac-all-git/pkg/pamac-all-git/usr/share/gnome-shell/search-providers
==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "pamac-all-git"...
  -> Generating .PKGINFO file...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
bsdtar: Failed to set default locale
  -> Compressing package...
bsdtar: Failed to set default locale
==> Leaving fakeroot environment.
==> Finished making: pamac-all-git 1:1.7.1.r1.g61b7570-1 (Tue Aug 13 19:07:29 2024)
aura :: Building libpurple-signald-git...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
==> Making package: libpurple-signald-git 0.12.0.r0.g87409b4-1 (Tue Aug 13 19:07:32 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating libpurple-signald-git git repo...
==> Validating source files with sha512sums...
    libpurple-signald-git ... Skipped
==> Extracting sources...
  -> Creating working copy of libpurple-signald-git git repo...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
Reset branch 'makepkg'
==> Starting prepare()...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
==> Starting pkgver()...
==> Updated version: libpurple-signald-git latest.r7.gaa48b7e-1
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/dgraham/.cache/aura/builds/libpurple-signald-git/src/libpurple-signald-git
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
[100%] Built target signald
==> Entering fakeroot environment...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
==> Starting package()...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
[100%] Built target signald
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
Install the project...
-- Install configuration: ""
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps/pidgin
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps/pidgin/protocols
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps/pidgin/protocols/22
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps/pidgin/protocols/22/signal.png
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps/pidgin/protocols/48
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps/pidgin/protocols/48/signal.png
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps/pidgin/protocols/16
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/share/pixmaps/pidgin/protocols/16/signal.png
-- Installing: /home/dgraham/.cache/aura/builds/libpurple-signald-git/pkg/libpurple-signald-git/usr/lib/purple-2/libsignald.so
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
/usr/share/makepkg/tidy/strip.sh: line 164: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "libpurple-signald-git"...
  -> Generating .PKGINFO file...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8 UTF-8): No such file or directory
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
bsdtar: Failed to set default locale
  -> Compressing package...
bsdtar: Failed to set default locale
==> Leaving fakeroot environment.
==> Finished making: libpurple-signald-git latest.r7.gaa48b7e-1 (Tue Aug 13 19:07:35 2024)
loading packages...
warning: pamac-all-git-1:1.7.1.r1.g61b7570-1 is up to date -- reinstalling
warning: libpurple-signald-git-latest.r7.gaa48b7e-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (2)            Old Version            New Version            Net Change

libpurple-signald-git  latest.r7.gaa48b7e-1   latest.r7.gaa48b7e-1     0.00 MiB
pamac-all-git          1:1.7.1.r1.g61b7570-1  1:1.7.1.r1.g61b7570-1    0.00 MiB

Total Installed Size:  0.74 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                                                             [#####################################################] 100%
(2/2) checking package integrity                                                           [#####################################################] 100%
(2/2) loading package files                                                                [#####################################################] 100%
(2/2) checking for file conflicts                                                          [#####################################################] 100%
(2/2) checking available disk space                                                        [#####################################################] 100%
:: Processing package changes...
(1/2) reinstalling pamac-all-git                                                           [#####################################################] 100%
(2/2) reinstalling libpurple-signald-git                                                   [#####################################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Refreshing PackageKit...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
aura :: Done.
fosskers commented 1 month ago

Well there's a hint:

aura :: AUR packages to upgrade:
 libpurple-signald-git :: latest.r7.gaa48b7e-1  -> 0.12.0.r0.g87409b4-1
 pamac-all-git         :: 1:1.7.1.r1.g61b7570-1 -> 1:10.4.3.r0.gd314d70-1
fosskers commented 1 month ago

Indeed the versions on the right are the correct upstream versions, which tells me this isn't a bug in the versions library. Looking further down we see something odd:

aura :: Building libpurple-signald-git...
==> Making package: libpurple-signald-git 0.12.0.r0.g87409b4-1 (Tue Aug 13 19:07:32 2024)

then

==> Finished making: libpurple-signald-git latest.r7.gaa48b7e-1 (Tue Aug 13 19:07:35 2024)
fosskers commented 1 month ago

I see the issue. -git packages have their versions generated automatically at build-time. Here is how this package does that:

pkgver() {
  cd "${srcdir}/${pkgname}"
  # cutting off 'v' prefix that presents in the git tag
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

Unfortunately, the upstream developer seems to be double-tagging: https://github.com/hoehermann/purple-signald/tags

We see both 0.14 and latest. What's happening here is that:

  1. You build the package once, it detects the latest tag as the most recent one, generating the AUR package's version according to that.
  2. Aura does version comparisons based on the version number stored in the AUR. In this case, 0.12.
  3. Since latest.r7.gaa48b7e-1 is (pardon my French) a bullshit version number by the standards of the versions library, it gets parsed and compared in such a way that latest < 0.12. Thus it is detected as "needing an upgrade".

For this particular package, I am declaring it the fault of the packager of the AUR package. His pkgver should be careful to avoid the latest tag and only use the numbered tags.

derekagraham78 commented 1 month ago

That is quite odd. I had noticed like octopi and octopi git versions are odd IMG_4219

fosskers commented 1 month ago

As for the other package:

==> Making package: pamac-all-git 1:10.4.3.r0.gd314d70-1 (Tue Aug 13 19:07:16 2024)

but then

==> Starting pkgver()...
==> Updated version: pamac-all-git 1:1.7.1.r1.g61b7570-1

Here are the tags: https://gitlab.manjaro.org/applications/pamac/-/tags Notice that there is no tag 1.7.1. So this is also the fault of the AUR package maintainer; there is a mistake in the logic of his pkgver function.

I suggest you report both of these issues to those package maintainers directly. You can do so on their respective AUR pages.

fosskers commented 1 month ago

I'm going to close this issue now, as we've solved the original problem. Feel free to open other issues if you notice anything else. Thanks again for reporting this.