Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730650 - meson.eclass with dev-util/meson-9999 __eapi7_ver_compare: invalid version: 0.55.0.rc1
Summary: meson.eclass with dev-util/meson-9999 __eapi7_ver_compare: invalid version: 0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-04 01:02 UTC by GrudgeMaster
Modified: 2020-07-04 23:42 UTC (History)
2 users (show)

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


Attachments
meson-9999 build log (meson.txt,201.13 KB, text/plain)
2020-07-04 01:06 UTC, GrudgeMaster
Details
mesa-9999 build log (mesa.txt,8.85 KB, text/plain)
2020-07-04 01:06 UTC, GrudgeMaster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description GrudgeMaster 2020-07-04 01:02:21 UTC
so for media-libs/mesa-9999 for example, will fail to emerge

 * ERROR: media-libs/mesa-9999::gentoo failed (configure phase):
 *   __eapi7_ver_compare: invalid version: 0.55.0.rc1

This may have to do with the '.rc1' part in the version, though -rc1 and _rc1 don't seem to be accepted either; only '0.55.0' seems to work.

I'm hoping to attach some logs ;)

The meson log will show a warning: 

/usr/lib/python3.7/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '0.55.0.rc1' to '0.55.0rc1'


PS. There are additional issues with meson-9999 after this, but they are covered by https://github.com/mesonbuild/meson/pull/7408


Reproducible: Always

Steps to Reproduce:
1. emerge meson-9999
2. emerge any meson-dependent package
3.
Comment 1 GrudgeMaster 2020-07-04 01:06:09 UTC
Created attachment 647506 [details]
meson-9999 build log
Comment 2 GrudgeMaster 2020-07-04 01:06:49 UTC
Created attachment 647508 [details]
mesa-9999 build log
Comment 3 Larry the Git Cow gentoo-dev 2020-07-04 23:42:32 UTC
The bug has been closed via the following commit(s):

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

commit c56769fcf286f6041cd9d9b0e5c6f9a05245c69c
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-07-04 23:40:13 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-07-04 23:41:05 +0000

    meson.eclass: depend on >=dev-util/meson-0.54.0
    
    Also remove compatibility code for earlier versions.
    
    Closes: https://bugs.gentoo.org/730650
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 eclass/meson.eclass | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)