You are not logged in.

#1 2018-04-09 10:05:44

DBAGibbz
Member
Registered: 2018-04-04
Posts: 11

[solved]Error: ensure package name has a VCS suffix if this is a devel

:: 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 smile
Thanks!

Last edited by DBAGibbz (2018-04-11 02:50:59)

Offline

#2 2018-04-09 10:14:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,720

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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.

Online

#3 2018-04-09 10:31:18

DBAGibbz
Member
Registered: 2018-04-04
Posts: 11

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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

#4 2018-04-09 12:22:42

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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

#5 2018-04-09 12:47:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,525
Website

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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

#6 2018-04-09 15:22:46

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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

#7 2018-04-11 02:04:30

DBAGibbz
Member
Registered: 2018-04-04
Posts: 11

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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

#8 2018-04-11 02:13:12

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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

#9 2018-04-11 02:50:26

DBAGibbz
Member
Registered: 2018-04-04
Posts: 11

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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

#10 2018-04-11 03:56:17

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved]Error: ensure package name has a VCS suffix if this is a devel

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

Board footer

Powered by FluxBB