Since some days, with each portage update I get a lengthy warning about something like a syntax violation in this metadata news: metadata/news/2013-06-01-mysql-pbxt-dropped I am using paludis/cave which can not seldomly considered as another validator for the portage specifications. cave complains that in the news file the package/use dependency specifcations like [use,use] given for the below packages are invalid: dev-db/mysql[pbxt,-minimal] dev-db/mysql-cluster[pbxt,-minimal] dev-db/mariadb[pbxt,-minimal] dev-db/mariadb-galera[pbxt,-minimal] dev-db/percona-server[pbxt,-minimal] dev-db/google-mysql[pbxt,-minimal] Please check if in this news file the specification is violated or not. If not I'll pass this issue to the paludis people.
I guess the warning is because the pbxt USE flag has since disappeared.
Indeed, the USE flag pbxt is gone since 09 Aug 2014, according to portage/profiles/base/ChangeLog. I don't know if the mentioned news from 2013 referencing that USE flag could then simply be deleted -- but at least it would be nice to move that reference to pbxt into a comment only line or similar, so that people might be able to read it but interpreters like paludis/cave do not complain anymore, causing 3 displays full of repeated warnings each time...
Sounds like Paludis being needlessly pedantic as usual. There's no requirement for the Display-If-Installed atom to still exist in the tree, and indeed there's valid use cases for that.
I'm also a paludis user and I'm also getting lots of warnings. According to https://wiki.gentoo.org/wiki/GLEP:42#News_Item_Headers 'Display-If-Installed' requires an atom. According to https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html an atom does not come with USE flag. I think it should be fixed or removed.
(In reply to bitozoid from comment #4) > I'm also a paludis user and I'm also getting lots of warnings. > > According to > https://wiki.gentoo.org/wiki/GLEP:42#News_Item_Headers > 'Display-If-Installed' requires an atom. > > According to > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html > an atom does not come with USE flag. > Correct, but not only that... there is no information on EAPIs whatsoever in GLEP-42, so no particular EAPI can be assumed. USE Dependencies have been added in EAPI-2. There are two ways: * we just fix the news item * we bump "News-Item-Format" to 2.0 and document in GLEP-42 that this version may use a full dependency spec with USE Dependencies Since this bug has been open for months, I will just fix the news item in 2 weeks if there is no reply.
(In reply to Julian Ospald (hasufell) from comment #5) > (In reply to bitozoid from comment #4) > > According to > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html > > an atom does not come with USE flag. > > Correct, but not only that... No, I don't think this is correct. PMS uses "atom" as a synonym for "package dependency specification" which is defined here: https://projects.gentoo.org/pms/5/pms.html#x1-820008.2.6 This agrees with the definition given in ebuild(5), and it can include SLOT or USE dependencies for EAPIs supporting them. > there is no information on EAPIs whatsoever in > GLEP-42, so no particular EAPI can be assumed. Right. > There are two ways: > * we just fix the news item > * we bump "News-Item-Format" to 2.0 and document in GLEP-42 that this > version may use a full dependency spec with USE Dependencies Bumping the format isn't really an option for a news item released in 2013. Users for whom the item would be still relevant cannot be expected to have the newest version of the package manager (which would be required for reading the new format) installed.
(In reply to Ulrich Müller from comment #6) > > Bumping the format isn't really an option for a news item released in 2013. > Users for whom the item would be still relevant cannot be expected to have > the newest version of the package manager (which would be required for > reading the new format) installed. So do you suggest we just fix the news item by removing the USE dependencies?
(In reply to Julian Ospald (hasufell) from comment #7) > So do you suggest we just fix the news item by removing the USE dependencies? Obviously.
Created attachment 411790 [details, diff] 0001-Fix-PMS-GLEP-42-compliance-of-2013-06-01-mysql-pbxt-.patch
since no one seems to object: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=a0af9089c9a3f9f0789e67e3e028cda04e198a05
(In reply to Julian Ospald (hasufell) from comment #10) > since no one seems to object: > https://gitweb.gentoo.org/data/gentoo-news.git/commit/ > ?id=a0af9089c9a3f9f0789e67e3e028cda04e198a05 Reopening, you must also increase "Revision:" and re-sign the item.
(In reply to Ulrich Müller from comment #11) > [...] re-sign the item. I just notice that it wasn't signed in the first place, so not your fault. It should be signed, though.
sorry, missed that, should be fixed now