[...] | ^~~~~~~ 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:352: client.o] Error 1 make[4]: Leaving directory '/tmp/B.h5h5sng4/BUILD/libotr-4.1.1/tests/regression/client' make[3]: *** [Makefile:345: all-recursive] Error 1 make[2]: *** [Makefile:348: all-recursive] Error 1 make[1]: *** [Makefile:476: all-recursive] Error 1 make: *** [Makefile:363: all] Error 2 error: Bad exit status from /tmp/B.h5h5sng4/BUILD/tmp/rpm-tmp.Kz8K9H (%build) RPM build warnings: Could not canonicalize hostname: tld-x86 RPM build errors: Bad exit status from /tmp/B.h5h5sng4/BUILD/tmp/rpm-tmp.Kz8K9H (%build) ended at: Sun May 5 17:30:30 2024, done in 0:00:04.902905 error: No files produced. + chmod -R u+rwX /tmp/B.h5h5sng4/BUILD + rm -rf /tmp/B.h5h5sng4/tmp /tmp/B.h5h5sng4/BUILD + rm -rf /tmp/B.h5h5sng4 Begin-TLD-Builder-Info Build-Time: user:9.59s sys:2.11s real:5.59s (faults io:31 non-io:1025484) End-TLD-Builder-Info