-
Notifications
You must be signed in to change notification settings - Fork 464
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
SmartOS/Solaris: libsass/units.hpp:39:5: error: expected identifier before numeric constant #1308
Comments
Can you try running Can you paste (for example to https://gist.github.com) the output of
|
Where do find Do you have a SmartOS instance for testing or is this just happening on my instance(s)? |
In No, we don't have any SmartOS instances running. |
Do you have VMWare Player? There's a VM you can download for SmartOS or you can start an instance for a couple of hours should cost under well under $1 USD. I'll run that compiler command now. |
Thanks, I have tried setting up SmartOS instance on some hosted site but even with my pretty decent Solaris skills it took me too long. If somebody wants to step up and maintain this, we can ship Solaris binaries, no problem. |
Do you just need an instance? What do you need on it? |
I really wish I had the bandwidth to help out but I'm a one person team with already too much on my plate. On Twitter @bcantrill asked if @jperkin might be able to help out. @bahamat It sounds like the libsass project needs a community maintainer for SmartOS/Solaris. Since sass is pretty huge in terms of usage, maybe it's a good idea for Joyent to pitch in? |
Some stuff I'd like to have to support the OS for node-sass: sass/node-sass#981 (comment) |
Hrmm, I think I have to clone node-sass. When npm install fails, it cleans up the node-sass dir? |
Yes, when checking out You can also try standalone |
Solaris defines SEC in the global namespace Fixes: sass#1308
@djensen47 can you try #1309? |
I'll take a look today. Also, did you see this: https://gist.github.com/jperkin/4b88403da41f556e540d |
Also, did you see this: https://gist.github.com/jperkin/4b88403da41f556e540d
No, thank you!
|
Tried to add the suggestion from @djensen47 in b523c9e (also in #1249). |
Don't thank me, thank @jperkin 😉 |
Solaris defines SEC in the global namespace Fixes: sass#1308
Solaris defines SEC in the global namespace Fixes: sass#1308
Can somebody confirm if commit mgreter@73022b3 in #1330 fixes this issue ❓ |
Solaris defines SEC in the global namespace Fixes: sass#1308
IMHO #1367 should fix this for real, since it does not longer export the full std namespace by default. |
@djensen47 can you check if the current git master compiles? |
Assuming this is fixed by #1310 |
Well, unfortunately it does not. Got my gear running an the ancient Solaris 9 machine and we still fail with gcc 4.9 :( |
I can also confirm this still fails on SmartOS. |
@jaredmorrow which version of libsass were you trying to compile? |
Head of master @b2a3d98ed384d2d19aa79157d08fa21c3e8043e0 |
We found a few things and fixed them, but don't know how portable our fixes are |
We'd be open to PRs. If nothing else they might set us on the right track to making a workable fix. |
The core issue for us is that we have no way to test SmartOS so regressions happen frequently. |
Yeah, I'll get you a PR in the next 10 min hopefully, just retracing our steps. |
I understand the pain of keeping up with the integration tests. Having a Solaris or BSD handy is pretty hard for every library maintainer. |
Thanks. It's largely due to the barrier of testing on those systems. A lot of projects are beholden to online solutions like Travis and Circle. They do allow you to bring your own agents (machines) but that requires a sponsor to host and maintain that machine. If someone was invested enough in those OS to help out in that way we'd love to support it officially. |
Totally understand, as the packager of Riak once-upon-a-time, I had to run 16 VMs for our own internal build service since no online/service came close to providing all the things we needed. For anything short of a company-sponsored, for-pay product (like RIak), it is overkill to do the same. |
The text was updated successfully, but these errors were encountered: