You are not logged in.
:: Installing audiobook package(s)...
:: audiobook package(s) failed to install.
:: ensure package version does not mismatch between .SRCINFO and PKGBUILD
:: ensure package name has a VCS suffix if this is a devel
Im getting the above error, and not sure what Ive done wrong.
Ive grabbed the pkgver() from here:
https://wiki.archlinux.org/index.php/VC … 9_function
My aur package is located here:
https://aur.archlinux.org/packages/audiobook/
Any help appreciated
Thanks!
Last edited by DBAGibbz (2018-04-11 02:50:59)
Offline
The error message already tells you what's wrong. You are building a -git devel branch package yet don't have a -git suffix in the name.
Offline
Thanks!
Ive added -git to the package name. And makepkg now works....
However when installing via pacaur, I still have the same error.
( I have deleted the pacaur cache )
Last edited by DBAGibbz (2018-04-09 10:31:55)
Offline
I seem to remember that pacaur checks the .SRCINFO for the package to determine if the package name ends in a VCS suffix. If you didn't update the .SRCINFO file, then that would be why you're still getting the error.
Note that pacaur is no longer being developed, you should look int oa replacement (or just use makepkg/mkchrootpkg)
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.
Offline
Also are you sure you are getting the exact same error?
Note some other issues with this PKGBUILD: the 'arch' is wrong, this cannot be an 'any' package, please specify x86_64 instead along with any other architectures you are confident it will work on. Next, remove the self-reference in the description, just start with "A simple audio book reader...". Also add missing dependencies: qt5-multimedia is definitely required, and namcap suggests taglib is also required. Lastly, remove empty/uneeded fields/functions: the conflicts variable and prepare function should be removed.
With these changes, the package built without error for me (in fact, adding qt5-multimedia was all that was needed for it to build without error - but the other changes are important for a proper package).
Last edited by Trilby (2018-04-09 12:50:15)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
WTF did you do?
You modified the .SRCINFO by hand, in order to get around the fact that the AUR requires the pkgbase to match the repository you uploaded to? The audiobook-git package is now in the audiobook pkgbase space, but the PKGBUILD doesn't match your hand-edited .SRCINFO.
Please fix this by uploading a new audiobook-git package properly, and deleting the audiobook package. Currently you're preventing anyone from having the ability to upload a non-git package at all (e.g. when upstream publishes a stable release).
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Ok great, thanks guys! Thats helped me get my head around it better. And have the audiobook-git version working well!
Last question.... How do I delete my non-git from the aur?
Offline
Thanks... you can use "Submit Request" under the sidebar for "Package Actions". The default request type is for deletion.
EDIT: Are those things Trilby mentioned actually makedepends, or are they needed at runtime? You specifically added them to makedepends??
Last edited by eschwartz (2018-04-11 02:15:14)
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
I think they are needed to build, as i reference the headers.
In saying that, im only just learning programming in C++ and QT.
From my pro file I have the following:
QT += widgets multimedia core
LIBS += -ltag -lz
Offline
Right, those are being linked as shared libraries during runtime. If they're not statically linked, then they're dynamically linked... Try uninstalling them then running the built program.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline