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