FS#70001 - [nodejs-lts-dubnium][nodejs-lts-erbium] build with python3

Attached to Project: Community Packages
Opened by loqs (loqs) - Tuesday, 16 March 2021, 00:15 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Sunday, 18 July 2021, 23:21 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Patch packages to build with python3. Attached [1][2] patches based on [3][4][5]

Additional info:
* nodejs-lts-dubnium 10.24.0-1
* nodejs-lts-erbium 12.21.0-1
[1] PKGBUILD.diff.nodejs-lts-dubnium
[2] PKGBUILD.diff.nodejs-lts-erbium
[3] https://github.com/nodejs/node/commit/be926c7e21ddf0e24e26b7a74aabda66e91a9da5
[4] https://github.com/nodejs/node/commit/b2ccbb27dc98dfd771d7d5592e139e2001baa56c
[5] https://github.com/nodejs/node/commit/fb24f6e68828864463cc2f41b03c3da3412be364
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Sunday, 18 July 2021, 23:21 GMT
Reason for closing:  Implemented
Additional comments about closing:  Done with the removal of dubnium from the repos.
Comment by Bruno Pagani (ArchangeGabriel) - Tuesday, 16 March 2021, 06:26 GMT
Did you try them? I can’t right now, but I’m not sure whether everything else was properly ported before node 13.
Comment by loqs (loqs) - Tuesday, 16 March 2021, 08:27 GMT
What packages would you suggest for testing?
Comment by Bruno Pagani (ArchangeGabriel) - Tuesday, 16 March 2021, 08:48 GMT
I just meant building the nodes with the patch, so indeed you did! Thank, will apply them ASAP.
Comment by Bruno Pagani (ArchangeGabriel) - Tuesday, 16 March 2021, 10:28 GMT
Hum, does not work here for dubnium:

Traceback (most recent call last):
File "/build/nodejs-lts-dubnium/src/node-v10.24.0/./configure", line 27, in <module>
import configure
File "/build/nodejs-lts-dubnium/src/node-v10.24.0/configure.py", line 28, in <module>
from gyp.common import GetFlavor
File "tools/gyp/pylib/gyp/__init__.py", line 37
print '%s:%s:%d:%s %s' % (mode.upper(), os.path.basename(ctx[0]),
^
SyntaxError: invalid syntax

I notice that you did not change the makedep in that one, I fixed it, maybe you still built with py2? Anyway if dubnium cannot be compiled with py3, it’s not a big deal as it’s going away in ~1 month anyway. ;)

erbium went fine though.

Loading...