#61627 closed defect (fixed)
joe @4.6: error: implicit declaration of function 'login_tty' is invalid in C99
Reported by: | fl1ger (Ralf Weber) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | bigsur catalina | Cc: | |
Port: | joe |
Description
Moin!
When try to install the Joe editor with "sudo port install joe" the compilation fails with "error: implicit declaration of function 'login_tty' is invalid in C99 " as the last error. The following are the relevant lines out of the build log:
:info:build tty.c:975:6: error: implicit declaration of function 'openpty' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build if (openpty(ptyfd, ttyfd, name, NULL, NULL) == 0) { :info:build ^ :info:build tty.c:975:6: note: did you mean 'openat'? :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/sys/fcntl.h:556:9: note: 'openat' declared here :info:build int openat(int, const char *, int, ...) __DARWIN_NOCANCEL(openat) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0); :info:build ^ :info:build tty.c:1221:6: error: implicit declaration of function 'login_tty' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build login_tty(1); :info:build ^ :info:build 2 errors generated. :info:build make[3]: *** [tty.o] Error 1 :info:build make[3]: *** Waiting for unfinished jobs....
I can also send the whole build log if needed.
So long -Ralf
Attachments (1)
Change History (4)
Changed 4 years ago by fl1ger (Ralf Weber)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | bigsur catalina added |
---|---|
Summary: | Joe editor compile fails with: "error: implicit declaration of function 'login_tty' is invalid in C99 " → joe @4.6: error: implicit declaration of function 'login_tty' is invalid in C99 |
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Reported to the developers: https://sourceforge.net/p/joe-editor/bugs/408/
Note: See
TracTickets for help on using
tickets.
Full ports log file for Joe build