Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZeroMq doesn't build for Electron 9 #31

Closed
aminya opened this issue Apr 6, 2021 · 15 comments
Closed

ZeroMq doesn't build for Electron 9 #31

aminya opened this issue Apr 6, 2021 · 15 comments

Comments

@aminya
Copy link

aminya commented Apr 6, 2021

nteract/hydrogen#2034

Edit:

I pushed a fix to ZeroMq itself. See this:
zeromq/zeromq.js#444

@n-riesco
Copy link
Owner

n-riesco commented Apr 6, 2021

I can't tell from nteract/hydrogen#2034 . Is your visual studio installation able to build v140 projects?

@aminya
Copy link
Author

aminya commented Apr 6, 2021

@n-riesco I pushed a fix to ZeroMq itself. See this:
zeromq/zeromq.js#444

@n-riesco
Copy link
Owner

n-riesco commented Apr 6, 2021

Note, though, that zeromq@6 has been in beta release for a long time, and that jmp still depends on zeromq@5.

@maclockard
Copy link

maclockard commented Apr 8, 2021

Unfortunately it looks like active development on zeromq.js is at least temporarily on pause:

@firminochangani
Copy link

Hi @maclockard,

Is there any reason why is this happening?

Thanks.

@maclockard
Copy link

@flowck I'm not associated with zermomq, so I do not know why this is the case, sorry.

@aminya
Copy link
Author

aminya commented Apr 13, 2021

@n-riesco Should I register my fork, and make a PR here? It might take some time until they review the PR.

@n-riesco
Copy link
Owner

@aminya I wouldn't rush into forking. Let's try to figure out who can make a release (this is not the first time we've had this kind of problem).

I've checked https://www.npmjs.com/package/zeromq and @captainsafia is listed as a collaborator (doesn't that mean she could do a release?).

In the meantime, so that we don't hold your progress, instead of forking, we could use a github URL in package.json. I could create a branch pointing to your branch.

How do you think? Would that work for you?


PS: I'm sorry I haven't reviewed your PR for hydrogen (I was planning to do it yesterday, but something came up).

@aminya
Copy link
Author

aminya commented Apr 13, 2021

Thank you. The code runs prepare and build scripts before publishing. We cannot use a GitHub link in NPM as the repository itself doesn't include the built files.

Atom 1.56 was released today with Electron 9, which means we are already late, and we need to update Hydrogen as soon as possible.

P.SL I also see @lgeiger in the commit list, which may help us fix the issue.

@aminya
Copy link
Author

aminya commented Apr 14, 2021

I also made a PR for Zeromq v5. It seems to fix the build issue.
zeromq/zeromq.js#445

@captainsafia
Copy link

I've checked https://www.npmjs.com/package/zeromq and @captainsafia is listed as a collaborator (doesn't that mean she could do a release?).

Yes, I have access to the zeromq.js package and have maintainer permissions on the repo since I was contributing during its inception.

I haven't personally been contributing to it for several years but it looks like we need to find someone to help out with this.

Assuming that we can validate #445, I'm happy to review, merge, and ship out a new release for this.

@n-riesco
Copy link
Owner

The PR for v5 would be brilliant by me (as I wouldn't need to change anything).

For v6, I've created a branch, zeromq6 and registered the package jmp-zeromq6.
I'd be happy to point jmp-zeromq6 to your fork if you want to test it.

@n-riesco
Copy link
Owner

[email protected] fails to build on Travis: https://travis-ci.org/github/n-riesco/jmp/jobs/767029456

-- Installing: /home/travis/build/n-riesco/jmp/node_modules/zeromq/build/libzmq/share/cmake/ZeroMQ/ZeroMQConfigVersion.cmake

make[1]: Leaving directory '/home/travis/build/n-riesco/jmp/node_modules/zeromq/build/libzmq'

  TOUCH Release/obj.target/libzmq.stamp

  CXX(target) Release/obj.target/zeromq/src/context.o

In file included from ../src/module.h:8:0,

                 from ../src/context.cc:3:

../src/util/arguments.h:6:20: fatal error: optional: No such file or directory

compilation terminated.

zeromq.target.mk:123: recipe for target 'Release/obj.target/zeromq/src/context.o' failed

make: *** [Release/obj.target/zeromq/src/context.o] Error 1

make: Leaving directory '/home/travis/build/n-riesco/jmp/node_modules/zeromq/build'

@n-riesco
Copy link
Owner

Fixed: zeromq fails to build in xenial. I've set Travis to use bionic.

@n-riesco
Copy link
Owner

Fixed in [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants