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

Cannot install/upgrade Brave #940

Open Digitalone1 opened 22 hours ago

Digitalone1 commented 22 hours ago

Hello. I installed aura on another system, no problems on my main one. On the new system instead I can't install brave.

$ aura -Ayu
aura :: Fetching package information...
aura :: Comparing package versions...
aura :: AUR packages to upgrade:
 brave-bin :: 1:1.69.168-1 -> 1:1.70.117-1
aura :: Determining dependencies...
aura :: AUR packages:
 brave-bin
aura :: Proceed? [Y/n] 
aura :: Saved package state.
aura :: Preparing build directories...
aura :: Building brave-bin...
==> Creazione del pacchetto: brave-bin 1:1.70.117-1 (sab 21 set 2024, 09:12:23)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
  -> È stato trovato brave-bin.sh
  -> È stato trovato brave-browser.desktop
  -> Download di brave-bin-1.70.117-x86_64.zip in corso...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
100  160M  100  160M    0     0  8152k      0  0:00:20  0:00:20 --:--:-- 8415k
==> Validazione di source file con sha256sums...
    brave-bin.sh ... Verificato
    brave-browser.desktop ... Verificato
==> Validazione di source_x86_64 file con sha256sums...
    brave-bin-1.70.117-x86_64.zip ... Verificato
==> Estrazione dei sorgenti in corso...
==> Avvio di prepare() in corso...
==> Entro nell'ambiente fakeroot...
==> Avvio di package() in corso...
~/.cache/aura/builds/brave-bin/pkg/brave-bin/usr ~/.cache/aura/builds/brave-bin/src
==> Rimozione dei dati superflui in corso...
  -> Rimozione dei file libtool in corso...
  -> Eliminazione dei file indesiderati in corso...
  -> Rimozione dei file dalle librerie statiche...
  -> Compressione delle pagine man ed info in corso...
==> Controllo per il rilascio dei pacchetti in corso...
==> Creazione del pacchetto "brave-bin" in corso...
  -> Generazione del file .PKGINFO in corso...
  -> Generazione del file .BUILDINFO in corso...
  -> Creazione del file .MTREE in corso...
  -> Compressione del pacchetto in corso...
==> Uscita dall'ambiente di fakeroot.
==> Compilazione terminata: brave-bin 1:1.70.117-1 (sab 21 set 2024, 09:13:10)
errore: non è stato specificato nessun pacchetto (usa -h per un aiuto)
aura :: A call to pacman -U failed.

Can someone explain what is going on?

Thanks.

fosskers commented 19 hours ago

I have a sneaking suspicion that you speak Italian.

errore: non è stato specificato nessun pacchetto

This is an error from Pacman, which seems to have occurred when Aura tried to install the built package. One thing you could try would be to run with --log-level=debug and see if that reveals anything. I will also test this myself locally.

Digitalone1 commented 19 hours ago

This is an error from Pacman, which seems to have occurred when Aura tried to install the built package. One thing you could try would be to run with --log-level=debug and see if that reveals anything. I will also test this myself locally.

I will post the debug later, but the problem here is not pacman. I think it's likely aura not passing the package to pacman...

Digitalone1 commented 18 hours ago

The log at debug level (I removed only the username):

12:01:45 [DEBUG] (1) aura: Args {
    english: false,
    japanese: false,
    german: false,
    polish: false,
    croatian: false,
    swedish: false,
    spanish: false,
    portuguese: false,
    french: false,
    russian: false,
    italian: false,
    serbian: false,
    norwegian: false,
    indonesian: false,
    simplified_chinese: false,
    esperanto: false,
    dutch: false,
    turkish: false,
    arabic: false,
    ukrainian: false,
    romanian: false,
    vietnamese: false,
    czech: false,
    korean: false,
    hindi: false,
    bengali: false,
    log_level: Some(
        Debug,
    ),
    noconfirm: false,
    subcmd: Aur(
        Aur {
            info: [],
            search: [],
            provides: None,
            abc: false,
            limit: None,
            reverse: false,
            quiet: false,
            open: None,
            pkgbuild: None,
            build: None,
            builduser: None,
            diff: false,
            hotedit: false,
            shellcheck: false,
            delmakedeps: false,
            clean: true,
            asdeps: false,
            sysupgrade: true,
            git: false,
            ignore: [],
            dryrun: false,
            wclone: [],
            unsuppress: false,
            refresh: true,
            nocheck: false,
            skipdepcheck: false,
            skipinteg: false,
            skippgpcheck: false,
            packages: [],
        },
    ),
}
12:01:45 [DEBUG] (1) aura::env: Reading: /home/******/.config/aura/config.toml
12:01:45 [DEBUG] (1) aura::env: Raw config parse successful: true
12:01:45 [DEBUG] (1) i18n_embed: Attempting to load language file: "en-US/aura_pm.ftl"
12:01:45 [DEBUG] (1) i18n_embed::fluent: Loaded language file: "en-US/aura_pm.ftl" for language: "en-US"
12:01:45 [INFO] Language: en
12:01:45 [INFO] Upgrading all AUR packages.
12:01:45 [DEBUG] (1) aura::command::aur: Will ignore: {}
12:01:45 [DEBUG] (1) aura::command::aur: Foreign packages: 10
12:01:45 [DEBUG] (1) aura::command::aur: After excluding ignores and debugs: 10
aura :: Fetching package information...
12:01:45 [DEBUG] (1) aura::command::aur: Unique clones: 10
aura :: Comparing package versions...
12:01:45 [INFO] Reading .SRCINFO files...
12:01:45 [INFO] Pulling AUR data...
12:01:45 [DEBUG] (1) aura::fetch: CURL calling https://faur.fosskers.ca/packages?names=gnome-shell-extension-gsconnect,brave-bin,mullvad-browser-bin,acestream-engine,python310,libdeep_filter_ladspa-bin,gnome-randr-rust,pacman-fix-permissions,mullvad-vpn-bin,aura-bin
12:01:47 [DEBUG] (1) aura::command::aur: Packages pulled: 10
12:01:47 [DEBUG] (1) aura::command::aur: Packages to upgrade: 1
12:01:47 [DEBUG] (1) aura::command::aur: VCS packages to consider: []
aura :: AUR packages to upgrade:
 brave-bin :: 1:1.69.168-1 -> 1:1.70.117-1
aura :: Determining dependencies...
12:01:47 [DEBUG] (1) aura_core::aur::dependencies: Satisfaction (true) for brave-bin.
12:01:47 [DEBUG] (1) aura_core::aur::dependencies: brave-bin may be an AUR package.
12:01:47 [DEBUG] (1) aura_core::aur::dependencies: Parsing .SRCINFO for brave-bin
12:01:47 [DEBUG] (1) aura_core::aur::dependencies: brave-bin (brave-bin) => {"alsa-lib", "gtk3", "libxss", "nss", "ttf-font"}
12:01:47 [DEBUG] (2) aura_core::aur::dependencies: Satisfaction (true) for alsa-lib.
12:01:47 [DEBUG] (4) aura_core::aur::dependencies: Satisfaction (true) for libxss.
12:01:47 [DEBUG] (5) aura_core::aur::dependencies: Satisfaction (true) for nss.
12:01:47 [DEBUG] (3) aura_core::aur::dependencies: Satisfaction (true) for gtk3.
12:01:47 [DEBUG] (8) aura_core::aur::dependencies: Satisfaction (true) for ttf-font.
12:01:47 [INFO] Resolved dependencies in 0s.
12:01:47 [DEBUG] (1) aura::command::aur: Satisfied: {"alsa-lib", "libxss", "gtk3", "ttf-font", "nss"}
12:01:47 [DEBUG] (1) aura::command::aur: To install: {}
12:01:47 [DEBUG] (1) aura::command::aur: To build: {Buildable { name: "brave-bin" }}
aura :: AUR packages:
 brave-bin
aura :: Proceed? [Y/n] 
aura :: Saved package state.
12:02:16 [INFO] Determining build order.
12:02:16 [DEBUG] (1) aura::command::aur: Build order: [["brave-bin"]]
aura :: Preparing build directories...
12:02:16 [DEBUG] (1) aura_core::git: Pulling /home/******/.cache/aura/packages/brave-bin
aura :: Building brave-bin...
12:02:17 [DEBUG] (1) aura::command::aur::build: Copying PKGBUILD
12:02:17 [DEBUG] (1) aura::command::aur::build: Copying brave-bin.sh
12:02:17 [DEBUG] (1) aura::command::aur::build: Copying brave-browser.desktop
12:02:17 [DEBUG] (1) aura::command::aur::build: Running makepkg within: /home/******/.cache/aura/builds/brave-bin
==> Creazione del pacchetto: brave-bin 1:1.70.117-1 (sab 21 set 2024, 14:02:19)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
  -> È stato trovato brave-bin.sh
  -> È stato trovato brave-browser.desktop
  -> È stato trovato brave-bin-1.70.117-x86_64.zip
==> Validazione di source file con sha256sums...
    brave-bin.sh ... Verificato
    brave-browser.desktop ... Verificato
==> Validazione di source_x86_64 file con sha256sums...
    brave-bin-1.70.117-x86_64.zip ... Verificato
==> Estrazione dei sorgenti in corso...
==> Avvio di prepare() in corso...
==> Rimozione dell'esistente directory $pkgdir/ in corso...
==> Entro nell'ambiente fakeroot...
==> Avvio di package() in corso...
~/.cache/aura/builds/brave-bin/pkg/brave-bin/usr ~/.cache/aura/builds/brave-bin/src
==> Rimozione dei dati superflui in corso...
  -> Rimozione dei file libtool in corso...
  -> Eliminazione dei file indesiderati in corso...
  -> Rimozione dei file dalle librerie statiche...
  -> Compressione delle pagine man ed info in corso...
==> Controllo per il rilascio dei pacchetti in corso...
==> Creazione del pacchetto "brave-bin" in corso...
  -> Generazione del file .PKGINFO in corso...
  -> Generazione del file .BUILDINFO in corso...
  -> Creazione del file .MTREE in corso...
  -> Compressione del pacchetto in corso...
==> Uscita dall'ambiente di fakeroot.
==> Compilazione terminata: brave-bin 1:1.70.117-1 (sab 21 set 2024, 14:02:46)
[sudo] password di ******: 
errore: non è stato specificato nessun pacchetto (usa -h per un aiuto)
aura :: A call to pacman -U failed.

The error is the same shown with sudo pacman -U, so it's confirmed aura is not passing the package to pacman.

Any hint?