Making all in client make[4]: Entering directory '/var/tmp/portage/net-libs/libotr-4.1.1/work/libotr-4.1.1/tests/regression/client' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src -I../../../tests/utils/ -I. -O2 -march=znver3 -pipe -g -ggdb3 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -fwrapv -fno-strict-overflow -Wall -Wextra -Wno-unused-parameter -Wformat-security --param ssp-buffer-size=1 -fPIE -c -o client.o client.c client.c: In function ‘ops_inject_msg’: client.c:151:15: warning: implicit declaration of function ‘send’ [-Wimplicit-function-declaration] 151 | ret = send(oinfo->sock, &msg, sizeof(msg), 0); | ^~~~ client.c: In function ‘recv_otr_msg’: client.c:553:15: warning: implicit declaration of function ‘recv’ [-Wimplicit-function-declaration] 553 | ret = recv(sock, &omsg, sizeof(omsg), 0); | ^~~~ client.c: In function ‘alice_thread’: client.c:624:23: warning: implicit declaration of function ‘socket’ [-Wimplicit-function-declaration] 624 | sock_to_bob = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~ client.c:624:30: error: ‘PF_UNIX’ undeclared (first use in this function) 624 | sock_to_bob = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~~ client.c:624:30: note: each undeclared identifier is reported only once for each function it appears in client.c:624:39: error: ‘SOCK_STREAM’ undeclared (first use in this function) 624 | sock_to_bob = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~~~~~~ client.c:638:15: warning: implicit declaration of function ‘connect’ [-Wimplicit-function-declaration] 638 | ret = connect(sock_to_bob, (struct sockaddr *) &bob_sun, | ^~~~~~~ client.c:725:57: warning: implicit declaration of function ‘accept’; did you mean ‘acct’? [-Wimplicit-function-declaration] 725 | sock_from_bob = accept(fd, (struct sockaddr *) &sun, | ^~~~~~ | acct client.c: In function ‘bob_thread’: client.c:776:32: error: ‘PF_UNIX’ undeclared (first use in this function) 776 | sock_to_alice = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~~ client.c:776:41: error: ‘SOCK_STREAM’ undeclared (first use in this function) 776 | sock_to_alice = socket(PF_UNIX, SOCK_STREAM, 0); | ^~~~~~~~~~~ client.c: In function ‘create_unix_socket’: client.c:979:28: error: ‘PF_UNIX’ undeclared (first use in this function) 979 | if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) { | ^~~~~~~ client.c:979:37: error: ‘SOCK_STREAM’ undeclared (first use in this function) 979 | if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) { | ^~~~~~~~~~~ client.c:986:27: error: ‘AF_UNIX’ undeclared (first use in this function) 986 | sun->sun_family = AF_UNIX; | ^~~~~~~ client.c:990:15: warning: implicit declaration of function ‘bind’ [-Wimplicit-function-declaration] 990 | ret = bind(sock, (struct sockaddr *) sun, sizeof(struct sockaddr_un)); | ^~~~ client.c:996:15: warning: implicit declaration of function ‘listen’ [-Wimplicit-function-declaration] 996 | ret = listen(sock, 10); | ^~~~~~ make[4]: *** [Makefile:356: client.o] Error 1 make[4]: Leaving directory '/var/tmp/portage/net-libs/libotr-4.1.1/work/libotr-4.1.1/tests/regression/client' make[3]: *** [Makefile:345: all-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-libs/libotr-4.1.1/work/libotr-4.1.1/tests/regression' make[2]: *** [Makefile:348: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-libs/libotr-4.1.1/work/libotr-4.1.1/tests' make[1]: *** [Makefile:476: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-libs/libotr-4.1.1/work/libotr-4.1.1' make: *** [Makefile:363: all] Error 2 Reproducible: Always
Created attachment 768348 [details] build.log.gz
Created attachment 768349 [details] emerge-info.txt
Compiled fine on March 1st. glibc update to 2.35?
Compiles fine with libgcrypt-1.9.4-r1, I guess they cleaned up their #includes.
PR @ https://github.com/gentoo/gentoo/pull/24847
Merged in https://github.com/gentoo/gentoo/commit/f0ead0194a4732ad6109b934c4f6db7c1cd174df.