Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aura cannot build dropbox AUR package #955

Open
apirogov opened this issue Oct 29, 2024 · 5 comments
Open

Aura cannot build dropbox AUR package #955

apirogov opened this issue Oct 29, 2024 · 5 comments
Labels
improper-packaging An AUR package has some fundamental mistake. won't build! A certain package isn't building, but should.

Comments

@apirogov
Copy link

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.
@fosskers
Copy link
Owner

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

@fosskers fosskers added the won't build! A certain package isn't building, but should. label Oct 30, 2024
@chris-a-mw
Copy link

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.

@fosskers
Copy link
Owner

fosskers commented Nov 1, 2024

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

@fosskers fosskers added the improper-packaging An AUR package has some fundamental mistake. label Nov 1, 2024
@apirogov
Copy link
Author

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".

@fosskers
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improper-packaging An AUR package has some fundamental mistake. won't build! A certain package isn't building, but should.
Projects
None yet
Development

No branches or pull requests

3 participants