We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Build on Solaris fails with:
/usr/gcc/13/bin/gcc -Werror=undef -Werror=implicit -Werror=return-type -fno-strict-aliasing -fno-common -m64 -fPIC -DPIC -O3 -ffile-prefix-map=/builds/psumbera/userland-erlang/components/erlang=. -DOPENSSL_NO_MD4 -DOPENSSL_NO_RC2 -DOPENSSL_NO_RC4 -I/builds/psumbera/userland-erlang/components/erlang/build/amd64/erts/x86_64-pc-solaris2.11 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_PTHREAD_SEMANTICS -DBEAMASM=1 -DLIBSCTP=libsctp.so.1 -Ix86_64-pc-solaris2.11/opt/jit -Ibeam -Isys/unix -Isys/common -Ix86_64-pc-solaris2.11 -Ipcre -Iryu -Iopenssl/include -I../include -I../include/x86_64-pc-solaris2.11 -I../include/internal -I../include/internal/x86_64-pc-solaris2.11 -Ibeam/jit -Ibeam/jit/x86 -Idrivers/common -Idrivers/unix -c drivers/common/ram_file_drv.c -o obj/x86_64-pc-solaris2.11/opt/jit/ram_file_drv.o /usr/gcc/13/bin/gcc -Werror=undef -Werror=implicit -Werror=return-type -fno-strict-aliasing -fno-common -m64 -fPIC -DPIC -O3 -ffile-prefix-map=/builds/psumbera/userland-erlang/components/erlang=. -DOPENSSL_NO_MD4 -DOPENSSL_NO_RC2 -DOPENSSL_NO_RC4 -I/builds/psumbera/userland-erlang/components/erlang/build/amd64/erts/x86_64-pc-solaris2.11 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_PTHREAD_SEMANTICS -DBEAMASM=1 -DLIBSCTP=libsctp.so.1 -Ix86_64-pc-solaris2.11/opt/jit -Ibeam -Isys/unix -Isys/common -Ix86_64-pc-solaris2.11 -Ipcre -Iryu -Iopenssl/include -I../include -I../include/x86_64-pc-solaris2.11 -I../include/internal -I../include/internal/x86_64-pc-solaris2.11 -Ibeam/jit -Ibeam/jit/x86 -Inifs/common -Inifs/unix -c nifs/common/prim_tty_nif.c -o obj/x86_64-pc-solaris2.11/opt/jit/prim_tty_nif.o nifs/common/prim_tty_nif.c:46:10: fatal error: termcap.h: No such file or directory 46 | #include <termcap.h> | ^~~~~~~~~~~
This seems to regression from:
#7533
As workaround I can use:
--- otp_src_26.2.1/erts/emulator/nifs/common/prim_tty_nif.c +++ otp_src_26.2.1/erts/emulator/nifs/common/prim_tty_nif.c @@ -43,7 +43,8 @@ #include <signal.h> #include <locale.h> #ifdef HAVE_TERMCAP #include <termios.h> -#include <termcap.h> +#include <curses.h> +#include <term.h> #endif #ifndef __WIN32__ #include <unistd.h>
The text was updated successfully, but these errors were encountered:
What solaris version are you using?
Sorry, something went wrong.
It's latest Solaris 11.4.
erts: Fix termcap support on solaris
f4f2d7a
fix erlang#8025
Fix available in #8074, please check that it works for you.
Yes, it builds fine. Thank you!
168eca3
garazdawi
Successfully merging a pull request may close this issue.
Build on Solaris fails with:
This seems to regression from:
#7533
As workaround I can use:
The text was updated successfully, but these errors were encountered: