Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727468 - packages.gentoo.org sys-fs/zfs-0.8.3-r1 is higher than <sys-fs/zfs-0.8.3
Summary: packages.gentoo.org sys-fs/zfs-0.8.3-r1 is higher than <sys-fs/zfs-0.8.3
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-08 03:16 UTC by Michael Crawford (ali3nx)
Modified: 2020-06-09 04:25 UTC (History)
4 users (show)

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 Michael Crawford (ali3nx) 2020-06-08 03:16:38 UTC
The gentoo packages website is reporting an incorrect stable package mask for sys-fs/zfs

https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/zfs/zfs-0.8.3-r1.ebuild

https://packages.gentoo.org/packages/sys-fs/zfs


* sys-fs/zfs
     Available versions:  [M]0.7.13-r1^t [M]**0.7.13-r2^t 0.8.3-r1^t (~)0.8.4-r1^t **9999*l^t {custom-cflags debug kernel-builtin libressl python +rootfs split-usr static-libs systemd test-suite KERNEL="linux" PYTHON_SINGLE_TARGET="+python3_6" PYTHON_TARGETS="python3_6 python3_7"}
     Homepage:            https://github.com/openzfs/zfs
     Description:         Userland utilities for ZFS Linux kernel module

* sys-fs/zfs-kmod
     Available versions:  [M]0.7.13^st 0.8.3^st (~)0.8.4^st **9999*l^st {custom-cflags debug +rootfs KERNEL="linux"}
     Homepage:            https://github.com/openzfs/zfs
     Description:         Linux ZFS kernel module for sys-fs/zfs

Found 4 matches

# date
Sun Jun  7 22:14:39 CDT 2020
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-06-08 04:42:38 UTC
I can adjust the mask just a workaround, but looks it should also be fixed on gpackages.
Comment 2 Richard Yao (RETIRED) gentoo-dev 2020-06-08 05:44:02 UTC
I can confirm there is a bug in how the website is showing things:

https://packages.gentoo.org/packages/sys-fs/zfs

0.8.3-r1β€ˆis stable, not masked.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-09 00:43:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/sites/soko.git/commit/?id=922c38af0e0bf2d835ce09e60f598d66bf955028

commit 922c38af0e0bf2d835ce09e60f598d66bf955028
Author:     Max Magorsch <arzano@gentoo.org>
AuthorDate: 2020-06-09 00:40:59 +0000
Commit:     Max Magorsch <arzano@gentoo.org>
CommitDate: 2020-06-09 00:40:59 +0000

    Fix the version comparison according to the pms
    
    Algorithm 3.5 (Version comparison logic for suffixes)
    of the pms has been correctly implemented now.
    
    Bug: https://bugs.gentoo.org/727468
    
    Signed-off-by: Max Magorsch <arzano@gentoo.org>

 pkg/models/version.go | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2020-06-09 01:49:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/sites/soko.git/commit/?id=e6478829031b3be8a4ef3e8aeba5b112c1d2c7c9

commit e6478829031b3be8a4ef3e8aeba5b112c1d2c7c9
Author:     Max Magorsch <arzano@gentoo.org>
AuthorDate: 2020-06-09 01:46:26 +0000
Commit:     Max Magorsch <arzano@gentoo.org>
CommitDate: 2020-06-09 01:46:26 +0000

    Correctly compute the masked versions
    
    The masked versions are computed based on the
    pms version comparison now. Previously this
    was done using a third party library. Now it
    is fully pms compliant.
    
    Closes: https://bugs.gentoo.org/727468
    
    Signed-off-by: Max Magorsch <arzano@gentoo.org>

 pkg/portage/repository/mask.go | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)
Comment 5 Georgy Yakovlev archtester gentoo-dev 2020-06-09 04:25:24 UTC
arzano \o/
it works, thanks!