Summary: | [booboo] Ebuild failures occuring in global scope | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Michał Górny <mgorny> |
Component: | Gentoo Overlays | Assignee: | Sergey 'L29Ah' Alirzaev <zl29ah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://qa-reports.gentoo.org/output/repos/booboo.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 552950 |
Description
Michał Górny
2016-06-06 12:13:46 UTC
I don't understand why would a failed globe trigger an exception and how to handle it properly. The ebuild will continue working on my system if i just drop the offending term it seems tho. Globs are forbidden in global scope as they make ebuild sourcing result depend on the system it is run on, which makes it impossible to generate metadata cache properly. As for this particular issue, it seems that you are copying some really ancient eclasses that are unlikely to work in any modern Portage version. I think you should consider cleaning up old stuff. (In reply to Michał Górny from comment #2) > As for this particular issue, it seems that you are copying some really > ancient eclasses that are unlikely to work in any modern Portage version. I > think you should consider cleaning up old stuff. There aren't newer versions of the package in question, so i don't feel like dropping it. I've added it quite recently, in fact. (In reply to Sergey 'L29Ah' Alirzaev from comment #3) > (In reply to Michał Górny from comment #2) > > As for this particular issue, it seems that you are copying some really > > ancient eclasses that are unlikely to work in any modern Portage version. I > > think you should consider cleaning up old stuff. > > There aren't newer versions of the package in question, so i don't feel like > dropping it. I've added it quite recently, in fact. kde-functions.eclass has been removed from Gentoo in Jan 2011, and was appointed for removal in Jan 2010. (In reply to Michał Górny from comment #4) > (In reply to Sergey 'L29Ah' Alirzaev from comment #3) > > (In reply to Michał Górny from comment #2) > > > As for this particular issue, it seems that you are copying some really > > > ancient eclasses that are unlikely to work in any modern Portage version. I > > > think you should consider cleaning up old stuff. > > > > There aren't newer versions of the package in question, so i don't feel like > > dropping it. I've added it quite recently, in fact. > > kde-functions.eclass has been removed from Gentoo in Jan 2011, and was > appointed for removal in Jan 2010. How am i supposed to make ebuilds for kde3-based software then? (In reply to Sergey 'L29Ah' Alirzaev from comment #5) > (In reply to Michał Górny from comment #4) > > kde-functions.eclass has been removed from Gentoo in Jan 2011, and was > > appointed for removal in Jan 2010. > > How am i supposed to make ebuilds for kde3-based software then? I suppose you can either remove the eclass and inline the needed code, write your own modern eclass or try to fix this one. You may want to take a look at kde-sunset [1] which has lots of KDE3 stuff, and had some updates since the Gentoo KDE3 removal. [1]:https://gitweb.gentoo.org/proj/kde-sunset.git/ (In reply to Michał Górny from comment #6) > (In reply to Sergey 'L29Ah' Alirzaev from comment #5) > > (In reply to Michał Górny from comment #4) > > > kde-functions.eclass has been removed from Gentoo in Jan 2011, and was > > > appointed for removal in Jan 2010. > > > > How am i supposed to make ebuilds for kde3-based software then? > > I suppose you can either remove the eclass and inline the needed code, write > your own modern eclass or try to fix this one. You may want to take a look > at kde-sunset [1] which has lots of KDE3 stuff, and had some updates since > the Gentoo KDE3 removal. > > [1]:https://gitweb.gentoo.org/proj/kde-sunset.git/ Their eclass features the glob line as well. Didn't it trigger your script? It has been removed from the official list some time ago. Okay, dropped the glob. The bug seems to be fixed in the repository. Closing. |