Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650434 - mail-client/neomutt - live ebuild should be tagged 99999999, not 9999
Summary: mail-client/neomutt - live ebuild should be tagged 99999999, not 9999
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nicolas Bock
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-13 19:25 UTC by rypervenche
Modified: 2018-04-04 22:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rypervenche 2018-03-13 19:25:40 UTC
The latest stable/testing version gets pulled in during my updates instead of the live version. Changed the version number should fix this.

Thanks!
Comment 1 Nicolas Bock gentoo-dev 2018-03-15 19:19:06 UTC
I am using neomutt-9999 as well, but for me an update is not pulling in any other version. What did you add to package.accept_keywords?
Comment 2 rypervenche 2018-03-15 19:33:18 UTC
(In reply to Nicolas Bock from comment #1)
> I am using neomutt-9999 as well, but for me an update is not pulling in any
> other version. What did you add to package.accept_keywords?

I have the following in that file:

mail-client/neomutt **
Comment 3 Nicolas Bock gentoo-dev 2018-03-16 10:48:20 UTC
Try this:

=mail-client/neomutt-9999 **
Comment 4 rypervenche 2018-03-16 17:19:07 UTC
(In reply to Nicolas Bock from comment #3)
> Try this:
> 
> =mail-client/neomutt-9999 **

That seems to have the same outcome for me. A world update "emerge -avuND @world" still tries to pull in the non-live version.

Shouldn't this live version be named 99999999 regardless? From my discussion on IRC, that was what I was told.
Comment 5 Nicolas Bock gentoo-dev 2018-04-03 13:52:27 UTC
Could you make sure that you have only _one_ entry in package.accept_keywords for neomutt?

Regarding your question: According to https://devmanual.gentoo.org/ebuild-writing/file-format/index.html our policy is to name live ebuilds ${PN}-9999. I am not opposed to renaming it, but that would go against policy and is unusual. 

Could you first make sure that you have only one entry for neomutt in /etc/portage?
Comment 6 Timo Rothenpieler 2018-04-04 21:09:47 UTC
mail-client/neomutt-9999 is obviously wrong.
For packages which uses yyyymmdd as version, the live ebuild needs to have an equal amount of 9s, otherwise the normal versions will be seen as newer.

If you're on an ~arch system, the only way to get the live version is to actively mask anything >9999, which is not how this is supposed to work.
Comment 7 rypervenche 2018-04-04 21:11:47 UTC
Ok, I was able to track down my issue. I am using ~amd64 on two of my machines and when I install neomutt using "emerge -av neomutt", it still does not work. On my stable machines, this DOES work, when including the version in my package.accept_keywords. On my Testing machines, however, it does not work as expected.

I brought this up in the IRC channel again and had more people saying the maintainer should make the live version 99999999 in cases such as these. I see there are 48 packages in the Portage tree that also follow this convention.
Comment 8 Nicolas Bock gentoo-dev 2018-04-04 22:12:48 UTC
Thanks for the additional information @rypervenche. I hadn't tested this on an unstable system. I'll fix it. Thanks!
Comment 9 Larry the Git Cow gentoo-dev 2018-04-04 22:17:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bf6c2fec88af9e8ed9e380733eccb02b66d17e3

commit 4bf6c2fec88af9e8ed9e380733eccb02b66d17e3
Author:     Nicolas Bock <nicolasbock@gentoo.org>
AuthorDate: 2018-04-04 22:15:49 +0000
Commit:     Nicolas Bock <nicolasbock@gentoo.org>
CommitDate: 2018-04-04 22:16:51 +0000

    mail-client/neomutt: Bump live ebuild version
    
    On unstable systems (or once a regular version of neomutt is made
    stable) the live ebuild version of '9999' will not be the latest version
    and a user will not be able to easily install the live ebuild. This
    change renames it to `99999999`.
    
    Thanks to contact@ryper.org for pointing this out!
    
    Closes: https://bugs.gentoo.org/650434
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 mail-client/neomutt/{neomutt-9999.ebuild => neomutt-99999999.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)