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
[solaris] build failure because SUNOS_NO_IFADDRS is not defined #1458
Comments
/cc @libuv/sunos |
The @saghul Would it make sense to skip the At a glance, most if not all of the I'm not sure why the In general though, and with the disclaimer that I do not speak for the project, I think the Solaris platform, despite being documented as supported, is not really supported. The platform that is supported is the SmartOS platform, which varies from the Oracle Solaris platform in different ways. It is possible that the name "SunOS" was used when defining the list of supported platforms at be0e24c either by mistake or due to some confusion, since the topic of the confusion between SmartOS and Solaris was discussed in the associated PR. @saghul Is is something we could clarify? One way to get better support for the Oracle Solaris platform would be to have at least one usable machine that we could easily get access to. But again, I'm not speaking on behalf of the project. |
I would say so, yeah.
I think that was mostly heritage. Internally it's referred to as "SunOS". AFAICT, it was indeed SmartOS what we really supported initially. Now, if this no longer stands or a change is required in the supported platforms documentation, let's do it. In the end, if nobody maintains the port if will end up rotting away and eventually get the axe. |
I would be willing to make that change, but it would be hard for me to find an Oracle Solaris machine to run tests on.
SmartOS is definitely still supported. What is not supported is any other platform derived from Solaris (such as Oracle Solaris). The change I was thinking about is to change SunOS to SmartOS in the documentation of supported platforms, change the name of the @libuv/sunos team to "smartos" and change the "sunos" label to "smartos". Is that what you had in mind too?
Which port were you referring to? If you were referring to the SmartOS support, I don't think it will be "rotting away" anytime soon. For instance, @cjihrig just added himself to the @libuv/sunos team, so there's now one maintainer in addition to myself in the team that supports it. |
Refs: libuv#991 Refs: libuv#1458 PR-URL: libuv#1469 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Hi, I am interested to SunOS support... but I don't understand very well the situation! In my case I have some OpenIndiana machines where I really like to use libuv. On OpenIndiana seems that I have |
I can't say; it might. If you figure out the cause, you're welcome to send a pull request our way. |
Closing, issue appears to have stalled and the platform is unsupported. |
SunOS 5.10 Generic_147148-26 i86pc i386 i86pc Solaris
Oracle Solaris 10 1/13 s10x_u11wos_24a X86
$ gcc -v
Reading specs from /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.2/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/csw/libexec/gcc/i386-pc-solaris2.10/4.9.2/lto-wrapper
Target: i386-pc-solaris2.10
Configured with: /home/dam/mgar/pkg/gcc4/trunk/work/solaris10-i386/build-isa-pentium_pro/gcc-4.9.2/configure --prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share --sysconfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw --libdir=/opt/csw/lib --infodir=/opt/csw/share/info --includedir=/opt/csw/include --mandir=/opt/csw/share/man --enable-cloog-backend=isl --enable-java-awt=xlib --enable-languages=ada,c,c++,fortran,go,java,objc --enable-libada --enable-libssp --enable-nls --enable-objc-gc --enable-threads=posix --program-suffix=-4.9 --with-cloog=/opt/csw --with-gmp=/opt/csw --with-included-gettext --with-ld=/usr/ccs/bin/ld --without-gnu-ld --with-libiconv-prefix=/opt/csw --with-mpfr=/opt/csw --with-ppl=/opt/csw --with-system-zlib=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas
Thread model: posix
gcc version 4.9.2 (GCC)
I tried to build libuv on Solaris 10u11 and I got an error triggered by SUNOS_NO_IFADDRS that is not defined.
I tried to define manually SUNOS_NO_IFADDRS and the build worked. However some of the tests failed.
Could you please advise ?
The text was updated successfully, but these errors were encountered: