[MacPorts] #61627: Joe editor compile fails with: "error: implicit declaration of function 'login_tty' is invalid in C99 "
MacPorts
noreply at macports.org
Mon Nov 23 09:47:05 UTC 2020
#61627: Joe editor compile fails with: "error: implicit declaration of function
'login_tty' is invalid in C99 "
--------------------+--------------------
Reporter: fl1ger | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: | Port: joe
--------------------+--------------------
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
--
Ticket URL: <https://trac.macports.org/ticket/61627>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list