Problem updating Electron4 using yay

I tried to update electron4 recently and got this error message:

==> Starting build()…
ERROR at //printing/BUILD.gn:149:22: Script returned non-zero exit code.
cups_version = exec_script(“cups_config_helper.py”,
^----------
Current dir: /home/oliver/.cache/yay/electron4/src/src/out/Release/
Command: python /home/oliver/.cache/yay/electron4/src/src/printing/cups_config_helper.py --api-version
Returned 1.
stderr:

File “/home/oliver/.cache/yay/electron4/src/src/printing/cups_config_helper.py”, line 70
print ‘cups-config not found: %s’ % cups_config
^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(‘cups-config not found: %s’ % cups_config)?

See //BUILD.gn:143:7: which caused the file to be included.
“//printing:printing_unittests”,
^------------------------------
==> ERROR: A failure occurred in build().
Aborting…
error making: electron4

I didn’t find any info about this so I am quite confused.

an error somewhere because it’s python2 that should be used and not python(3)

This package is orphan: so no more maintainer

you can install electron4-bin

2 Likes