You are not logged in.

#1 2015-03-04 02:27:03

ForumVoice
Member
Registered: 2015-03-04
Posts: 5

Explain AUR Version Number Please

Hello. I want to understand package versions. The one puzzling me is tilde. Why does its version end with hyphen? I can't see why from the PKGBUILD file. The upstream code lives in git, if that helps. Thanks.

https://aur.archlinux.org/packages/tilde/

Offline

#2 2015-03-04 03:02:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Explain AUR Version Number Please

If I had to guess, it would be because the maintainer isn't creating the source tarball correctly.

Offline

#3 2015-03-04 12:05:26

ForumVoice
Member
Registered: 2015-03-04
Posts: 5

Re: Explain AUR Version Number Please

Hmm, seems unlikely. He packages for other distros, mainly. The tarballs must work. I don't think he knows AUR very well yet. What about this PKGBUILD line,
install=''

Offline

#4 2015-03-04 12:10:10

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

Re: Explain AUR Version Number Please

ForumVoice wrote:

Hmm, seems unlikely. He packages for other distros, mainly.... I don't think he knows the AUR very well yet.

This does not follow - how does having no experince with packing for archlinux make it less lilkely that he did something wrong?

ForumVoice wrote:

The tarballs must work.

What do you mean?  Many aur packages do not 'work'.  This is unfortunate, but we can't pretend that it is not true.  For this one, does the built package end with a hyphen, or is it just on the web interface?  I was going to check this myself, but it has two dependencies from the AUR only, and one of those has several AUR-only dependencies.  I stopped at that point, it's not worth the effort for me just to find out if this builds a package with a odd version number.  It looks to me like it should be a normally numbered package and the error is only on the web interface.

ForumVoice wrote:

What about this PKGBUILD line,
install=''

That is unneeded, but perfectly fine.  It is just an empty variable.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2015-03-04 13:52:52

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: Explain AUR Version Number Please

It looks to me like it should be a normally numbered package and the error is only on the web interface.

The problem is the .AURINFO. It contains pkgver and pkgrel in a merged format, but it should be separate. It would also be better to use .SRCINFO
wrong:

pkgver = 0.3.4-1

right:

	pkgver = 0.3.4
	pkgrel = 1

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#6 2015-03-04 13:59:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Explain AUR Version Number Please

Ha, it contains both .AURINFO and .SRCINFO. Definitely creating it wrong.

Offline

#7 2015-03-05 03:34:55

ForumVoice
Member
Registered: 2015-03-04
Posts: 5

Re: Explain AUR Version Number Please

I guess progandy isolated the cause. Thanks.

Trilby you misread me; we agree. I felt an AUR mistake from ignorance more likely than a tarball glitch, since the same tarballs work for other distros. That's all I meant about tarballs working.

Pacman reports a good version number after install. What the glitch affects is how AUR helpers upgrade. It makes them think a newer version is available that isn't. For now I use IgnorePkg to skip re-installs of the same version over and over. Thanks.

Offline

#8 2015-03-05 08:43:25

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Explain AUR Version Number Please

ForumVoice wrote:

Trilby you misread me; we agree. I felt an AUR mistake from ignorance more likely than a tarball glitch, since the same tarballs work for other distros. That's all I meant about tarballs working.

So you were talking about different tarballs. As you say, a tarball that is only listed by name in the source array in the PKGBUILD is unlikely to affect the AUR meta in this way. What was meant by "the source tarball" is the output of `makepkg --source` that gets uploaded to the AUR.

Offline

Board footer

Powered by FluxBB