1 |
Hi again, |
2 |
|
3 |
As a suggestion, I would propose for each overlay to override the eclass |
4 |
functions for those necessary to EAPI 6 within their ebuilds. |
5 |
|
6 |
For instance, go-overlay could use old eclasses that support EAPI 6 |
7 |
overriding the current ones. For some reason they updated their eclasses |
8 |
to EAPI 7 before updating the ebuilds. |
9 |
|
10 |
This brings me to the main issue that is the portage cache and possible |
11 |
conficts between those eclass defined in the overlay and those from |
12 |
gentoo main stream. Maybe a name convention would be useful here for |
13 |
future upgrades as a code styling guide for gentoo developers. |
14 |
|
15 |
What do you think about this kind of issues? |
16 |
|
17 |
Best, |
18 |
|
19 |
Samuel |
20 |
|
21 |
On 12/03/2020 10.42, Samuel Bernardo wrote: |
22 |
> Hi, |
23 |
> |
24 |
> Is there any way to allow EAPI 6 for some overlays with current portage |
25 |
> stable version (2.3.89-r1)? |
26 |
> |
27 |
> There are many previous functions that were updated strictly to EAPI 7. |
28 |
> As an example here is the result when running "eix-sync -a": |
29 |
> |
30 |
>> ebuild failed with status |
31 |
>> 1 |
32 |
>> |
33 |
>> Reading category 127|190 ( 66): |
34 |
>> net-misc... |
35 |
>> |
36 |
>> cannot properly execute |
37 |
>> /var/lib/layman/go-overlay/net-misc/dbxcli/dbxcli-1.4.0.ebuild |
38 |
>> Reading category 127|190 ( 66): net-misc... * ERROR: |
39 |
>> net-misc/gnatsd-0.9.4::go-overlay failed (depend |
40 |
>> phase): |
41 |
>> * golang-common: EAPI=6 is not |
42 |
>> supported |
43 |
>> |
44 |
>> * |
45 |
>> * Call |
46 |
>> stack: |
47 |
>> |
48 |
>> * ebuild.sh, line 609: Called source |
49 |
>> '/var/lib/layman/go-overlay/net-misc/gnatsd/gnatsd-0.9.4.ebuild' |
50 |
>> * gnatsd-0.9.4.ebuild, line 10: Called inherit |
51 |
>> 'golang-single' |
52 |
>> |
53 |
>> * ebuild.sh, line 314: Called __qa_source |
54 |
>> '/var/lib/layman/go-overlay/eclass/golang-single.eclass' |
55 |
>> * ebuild.sh, line 112: Called source |
56 |
>> '/var/lib/layman/go-overlay/eclass/golang-single.eclass' |
57 |
>> |
58 |
>> * golang-single.eclass, line 66: Called inherit |
59 |
>> 'golang-common' |
60 |
>> * ebuild.sh, line 314: Called __qa_source |
61 |
>> '/var/lib/layman/go-overlay/eclass/golang-common.eclass' |
62 |
>> * ebuild.sh, line 112: Called source |
63 |
>> '/var/lib/layman/go-overlay/eclass/golang-common.eclass' |
64 |
>> * golang-common.eclass, line 37: Called |
65 |
>> die |
66 |
>> |
67 |
>> * The specific snippet of |
68 |
>> code: |
69 |
>> |
70 |
>> * die "${ECLASS}: EAPI=${EAPI:-0} is not supported" |
71 |
>> ;; |
72 |
>> * |
73 |
>> |
74 |
>> * If you need support, post the output of `emerge --info |
75 |
>> '=net-misc/gnatsd-0.9.4::go-overlay'`, |
76 |
>> |
77 |
>> * the complete build log and the output of `emerge -pqv |
78 |
>> '=net-misc/gnatsd-0.9.4::go-overlay'`. |
79 |
>> |
80 |
>> * Working directory: |
81 |
>> '/usr/lib64/python3.6/site-packages' |
82 |
>> |
83 |
>> * S: '/gnatsd-0.9.4' |
84 |
> Thanks in advance for your help, comments and suggestions. |
85 |
> |
86 |
> Best, |
87 |
> |
88 |
> Samuel |
89 |
> |