Last week the %{nodejs_arches} macro got updated in epel7 to add aarch64 architecture.
I've decided to rebuild node and the native modules so we can start using the new arch. While at it I updated node from 6.9.4 to 6.9.5.
Now I cannot get any of the native modules built. It seems they haven't been rebuild in years and are broken from at least the last update to 6.x.
I tried to get them built again but there seem to be some issues with outdated versions of nan and node-gyp..
Is it forgotten to check/rebuild the native modules while updating to 6.x ? Does someone remember what was done in Fedora to get them working again?
On 26/02/17 22:28, Piotr Popieluch wrote:
Now I cannot get any of the native modules built. It seems they haven't been rebuild in years and are broken from at least the last update to 6.x.
Well it would probably help if you pointed at a failed build so we could see what the problem is. I had a quick look at some in koji but I couldn't see any el7 builds.
I tried to get them built again but there seem to be some issues with outdated versions of nan and node-gyp..
Well there are three separate nan packages - nan0, nan1 and nan, though you probably need nan (aka nan 2.x) for node 6.x support. You will of course also need a version of the binary module that has nan 2.x support.
Is it forgotten to check/rebuild the native modules while updating to 6.x ? Does someone remember what was done in Fedora to get them working again?
Well mostly just getting nan 2.x in and updating them to a version that supports nan 2.x I think.
Tom
On Sun, Feb 26, 2017 at 11:40 PM, Tom Hughes tom@compton.nu wrote:
On 26/02/17 22:28, Piotr Popieluch wrote:
Now I cannot get any of the native modules built. It seems they haven't
been rebuild in years and are broken from at least the last update to 6.x.
Well it would probably help if you pointed at a failed build so we could see what the problem is. I had a quick look at some in koji but I couldn't see any el7 builds.
I'm sorry, was building them locally in mock. But this koschei scratch build shows it for example: https://koji.fedoraproject.org/koji/taskinfo?taskID=18076059
I tried to get them built again but there seem to be some issues with
outdated versions of nan and node-gyp..
Well there are three separate nan packages - nan0, nan1 and nan, though you probably need nan (aka nan 2.x) for node 6.x support. You will of course also need a version of the binary module that has nan 2.x support.
I updated nan 1.x first, that didn't help (also requested nan 1.x branch for epel7), then built nan 2.x and two missing deps. Still some errors which were pointing at outdated gyp. Updated gyp and realized the actual native modules need to be updated as well. At this point I got a bit annoyed as I just wanted to rebuild the packages so that builds would not fail on aarch64 instead of sorting out the whole stack. I expect many modules will need an update to get this working again.
Is it forgotten to check/rebuild the native modules while updating to
6.x ? Does someone remember what was done in Fedora to get them working again?
Well mostly just getting nan 2.x in and updating them to a version that supports nan 2.x I think.
Thanks, I'll check again later. Might have just missed something.
Tom
-- Tom Hughes (tom@compton.nu) http://compton.nu/ _______________________________________________ nodejs mailing list -- nodejs@lists.fedoraproject.org To unsubscribe send an email to nodejs-leave@lists.fedoraproject.org
On 27/02/17 08:46, Piotr Popieluch wrote:
On Sun, Feb 26, 2017 at 11:40 PM, Tom Hughes <tom@compton.nu mailto:tom@compton.nu> wrote:
On 26/02/17 22:28, Piotr Popieluch wrote: Now I cannot get any of the native modules built. It seems they haven't been rebuild in years and are broken from at least the last update to 6.x. Well it would probably help if you pointed at a failed build so we could see what the problem is. I had a quick look at some in koji but I couldn't see any el7 builds.
I'm sorry, was building them locally in mock. But this koschei scratch build shows it for example: https://koji.fedoraproject.org/koji/taskinfo?taskID=18076059
So that is still using nan 1.x which is not going to work.
You need at east v0.5.0 of fs-ext for nan 2.x support.
Tom
On Mon, Feb 27, 2017 at 10:08 AM, Tom Hughes tom@compton.nu wrote:
On 27/02/17 08:46, Piotr Popieluch wrote:
On Sun, Feb 26, 2017 at 11:40 PM, Tom Hughes <tom@compton.nu mailto:tom@compton.nu> wrote:
On 26/02/17 22:28, Piotr Popieluch wrote: Now I cannot get any of the native modules built. It seems they haven't been rebuild in years and are broken from at least the last update to 6.x. Well it would probably help if you pointed at a failed build so we could see what the problem is. I had a quick look at some in koji but I couldn't see any el7 builds.
I'm sorry, was building them locally in mock. But this koschei scratch build shows it for example: https://koji.fedoraproject.org/koji/taskinfo?taskID=18076059
So that is still using nan 1.x which is not going to work.
You need at east v0.5.0 of fs-ext for nan 2.x support.
Thanks, could someone approve my epel7 nan1 branch request, so I can update nan0, nan1, nan (2.x) packages?
https://admin.fedoraproject.org/pkgdb/package/requests/10547
ps. here are more failing native modules: https://koji.fedoraproject.org/koji/taskinfo?taskID=18075123 https://koji.fedoraproject.org/koji/taskinfo?taskID=18075951 https://koji.fedoraproject.org/koji/taskinfo?taskID=18075470 https://koji.fedoraproject.org/koji/taskinfo?taskID=18075076 https://koji.fedoraproject.org/koji/taskinfo?taskID=18074981 https://koji.fedoraproject.org/koji/taskinfo?taskID=18075955 https://koji.fedoraproject.org/koji/taskinfo?taskID=18075951
Tom
-- Tom Hughes (tom@compton.nu) http://compton.nu/ _______________________________________________ nodejs mailing list -- nodejs@lists.fedoraproject.org To unsubscribe send an email to nodejs-leave@lists.fedoraproject.org
nodejs@lists.fedoraproject.org