You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.
In file included from ../../i3-65c551b/include/all.h:47:0,
from ../../i3-65c551b/src/ipc.c:10:
../../i3-65c551b/src/ipc.c: In function 'ipc_client_timeout':
../../i3-65c551b/src/ipc.c:1438:94: error: 'peercred' undeclared (first use in this function); did you mean 'sockcred'?
ELOG("client %p with pid %d and cmdline '%s' on fd %d timed out, killing\n", client, peercred.pid, cmdline, client->fd);
^
../../i3-65c551b/include/log.h:31:50: note: in definition of macro 'ELOG'
#defineELOG(fmt, ...) errorlog("ERROR: " fmt, ##__VA_ARGS__)
^~~~~~~~~~~
../../i3-65c551b/src/ipc.c:1438:94: note: each undeclared identifier is reported only once for each function it appears in
ELOG("client %p with pid %d and cmdline '%s' on fd %d timed out, killing\n", client, peercred.pid, cmdline, client->fd);
^
../../i3-65c551b/include/log.h:31:50: note: in definition of macro 'ELOG'
#defineELOG(fmt, ...) errorlog("ERROR: " fmt, ##__VA_ARGS__)
^~~~~~~~~~~
../../i3-65c551b/src/ipc.c:1436:1: warning: label 'end' defined but not used [-Wunused-label]
end:
^~~
gmake[3]: *** [Makefile:2358: src/i3-ipc.o] Error 1
gmake[3]: Leaving directory '/usr/home/pvalkone/src/freebsd-ports/x11-wm/i3-gaps-next/work/i3-65c551b/build'
gmake[2]: *** [Makefile:1321: all] Error 2
gmake[2]: Leaving directory '/usr/home/pvalkone/src/freebsd-ports/x11-wm/i3-gaps-next/work/i3-65c551b/build'
*** Error code 2
Stop.
make[1]: stopped in /usr/home/pvalkone/src/freebsd-ports/x11-wm/i3-gaps-next
*** Error code 1
Stop.
make: stopped in /usr/home/pvalkone/src/freebsd-ports/x11-wm/i3-gaps-next```
The text was updated successfully, but these errors were encountered:
I maintain an unofficial FreeBSD port of i3 (
gaps-next
branch) at https://github.com/pvalkone/freebsd-ports/tree/master/x11-wm/i3-gaps-next. After commit 37d0105, the build begun failing because thepeercred
struct is only defined on Linux, but used later outside the#if
block regardless of the OS.The text was updated successfully, but these errors were encountered: