stefan-langenmaier / brother-overlay

Portage overlay for Brother printer and scanner software
GNU General Public License v3.0
34 stars 41 forks source link

emerge -av net-print/brother-dcp9020cdw-bin EAPI 5 error #106

Open DomAsw15 opened 1 year ago

DomAsw15 commented 1 year ago

On VM gentoo and Calculate Linux, I have one error eutils : EAPI 5 not supported. On emerge -av net-print/brother-dcp9020cdw-bin

image

Best regard. Dominique

UnixRonin commented 1 year ago

This also affects net-print/brother-hll8350cdw-bin, and presumably all of the drivers.

jason-oliveira commented 1 year ago

Getting the same issue on both Calculate and Gentoo via seems one of the inherits (likely rpm) have been moved to EAPI6.

UnixRonin commented 1 year ago

I think the issue is that EAPI 5 is no longer supported. These ebuilds all need to be updated to at least EAPI 6 (preferably EAPI 8) as well.

jason-oliveira commented 1 year ago

Can confirm that merely changing EAPI to 6 or higher in the ebuild (and rebuilding ebuild Manifest) fixes the issue.

gkunz commented 1 year ago

Hi! I just pushed a simple PR https://github.com/stefan-langenmaier/brother-overlay/pull/107 to fix this issue at least for the driver I am using. It doesn´t address other affected printers because I cannot verify those.

stefan-langenmaier commented 1 year ago

Hi everyone, thanks for all the feedback and the pull request.

Sorry for being so inactive but unfortunately I'm a little bit short on time. :) I'm out of the loop of the current supported EAPI versions. Obviously EAPI=5 is no longer supported. Does somebody have recommendations on the EAPI version the ebuilds should be migrated to? Or in other words what is the best compromise of newest EAPI with minimal changes to the existing ebuilds?

Is somebody interested or able to test this?

stefan-langenmaier commented 1 year ago

As there is MR for this issue maybe we can continue the discussion in the issue #108 as it has a more general title.

UnixRonin commented 1 year ago

On 8/16/22 17:44, stefan-langenmaier wrote:

Hi everyone, thanks for all the feedback and the pull request.

Sorry for being so inactive but unfortunately I'm a little bit short on time. :) I'm out of the loop of the current supported EAPI versions. Obviously EAPI=5 is no longer supported. Does somebody have recommendations on the EAPI version the ebuilds should be migrated to? Or in other words what is the best compromise of newest EAPI with minimal changes to the existing ebuilds?

Is somebody interested or able to test this?

Stefan, I use net-print/brother-hll8350cdw-bin and was able to locally update the ebuild to EAPI=7 with no problems and no other changes required.

-- Phil Stracchino Babylon Communications @. @. Landline: +1.603.293.8485 Mobile: +1.603.998.6958

stefan-langenmaier commented 1 year ago

Thanks for the verification. Do you think you can provide a MR?