aura icon indicating copy to clipboard operation
aura copied to clipboard

Aura cannot build dropbox AUR package

Open apirogov opened this issue 1 year ago • 6 comments

When I do it manually via makepkg, it works fine. With aura -A dropbox I get:

...
==> Beginne prepare()...
[dropbox]                         Generating desktop file... no
dropbox.desktop already exists. Use -f as the first argument to overwrite it.
==> FEHLER: Ein Fehler geschah in prepare().
    Breche ab...
aura :: Package failed to build, citing:

  makepkg failed.

aura :: Action cancelled.

apirogov avatar Oct 29 '24 17:10 apirogov

Interesting, this seems to occur during the second build attempt. I will investigate more.

fosskers avatar Oct 30 '24 09:10 fosskers

Not sure if it helps but I had to add a '-f' to the PKGBUILD prepare step when installing from Arch AUR: prepare() { gendesk -f --pkgname="$pkgname" --pkgdesc="$pkgdesc" --categories=Network PKGBUILD }

After running with that flag once, I was able to remove the flag and run additional upgrade installs without the '-f' flag.

chris-a-mw avatar Nov 01 '24 15:11 chris-a-mw

Perhaps then this is something we could suggest to the upstream packager.

fosskers avatar Nov 01 '24 22:11 fosskers

But what is the difference between how aura builds vs. running makepkg manually? I would expect that aura should be able to build whatever I can build with makepkg without any additional "patches".

apirogov avatar Nov 10 '24 21:11 apirogov

Exactly, there shouldn't be a difference. Aura is just invoking makepkg as-is. The issue is that when the build directory is not "clean", some configure settings seem to be conflicting.

fosskers avatar Nov 11 '24 00:11 fosskers