| ^~~~~~~ In file included from /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:36: /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ sslhelper.c:1076:9: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1076 | rsa_1024 = RSA_generate_key(1024, RSA_F4, NULL, NULL); | ^~~~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ sslhelper.c:1161:17: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1161 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:36: /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:1170:21: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 8*DH_size(dh), dnow()-ds); | ^ In file included from /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/dsa.h:31, from /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:37: /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ sslhelper.c:1171:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | DH_free(dh); | ^~~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ sslhelper.c:1179:17: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1179 | if (! SSL_CTX_use_RSAPrivateKey_file(ctx, openssl_pem, | ^~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:1700:12: note: declared here 1700 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'add_anon_dh': sslhelper.c:1564:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1564 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:1573:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1573 | rfbLog("loaded Diffie Hellman %d bits, %.3fs\n", 8*DH_size(dh), dnow()-ds); | ^~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ sslhelper.c:1574:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1574 | DH_free(dh); | ^~~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ sslhelper.c: In function 'pr_ssl_info': sslhelper.c:1966:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1966 | c = SSL_get_current_cipher(ssl); | ^ CC x11vnc-unixpw.o In file included from sslhelper.c:4385: enc.h: In function 'load_client_auth': enc.h:1233:9: warning: 'd2i_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1233 | rsa = d2i_RSAPrivateKey(NULL, (const unsigned char **) ((void *) &contents), sb.st_size); | ^~~ In file included from /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/objects.h:21, from /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:43, from /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:29: /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:315:1: note: declared here 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1239:9: warning: 'RSA_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | if (RSA_check_key(rsa) != 1) { | ^~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:284:27: note: declared here 284 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *); | ^~~~~~~~~~~~~ enc.h: In function 'securevnc_setup': enc.h:1385:9: warning: 'd2i_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1385 | rsa = d2i_RSAPublicKey(NULL, (const unsigned char **) &rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); | ^~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:313:1: note: declared here 313 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1439:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1439 | encrypted_keybuf = (unsigned char*) calloc(RSA_size(rsa), 1); | ^~~~~~~~~~~~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ enc.h:1448:17: warning: 'RAND_pseudo_bytes' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 1448 | rc = RAND_pseudo_bytes((unsigned char *)keydata, SECUREVNC_RAND_KEY_SOURCE); | ^~ In file included from sslhelper.c:732: /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rand.h:79:29: note: declared here 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^~~~~~~~~~~~~~~~~ enc.h:1461:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1461 | n = RSA_public_encrypt(SECUREVNC_KEY_SIZE, keystr, encrypted_keybuf, rsa, RSA_PKCS1_PADDING); | ^ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ enc.h:1499:25: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1499 | client_rsa = RSA_generate_key(2048, 0x10001, NULL, NULL); | ^~~~~~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ enc.h:1554:17: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1554 | signature = (unsigned char *) calloc(RSA_size(client_rsa), 1); | ^~~~~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ enc.h:1555:17: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1555 | RSA_sign(NID_sha1, digest, ndig, signature, &nsig, client_rsa); | ^~~~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:354:27: note: declared here 354 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ enc.h:1561:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1561 | RSA_free(client_rsa); | ^~~~~~~~ /home/thomas/autobuild/instance-1/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ sslhelper.c: In function 'create_tmp_pem': sslhelper.c:346:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 346 | write(cnf_fd, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:505:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 505 | system(cmd); | ^~~~~~~~~~~ sslhelper.c: In function 'pem_passwd_callback': sslhelper.c:780:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 780 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ sslhelper.c:783:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 783 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:786:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 786 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'add_anon_dh': sslhelper.c:1482:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1482 | write(cnf_fd, new_dh_params, strlen(new_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:1536:57: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1536 | write(d, new_dh_params, strlen(new_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:1544:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1544 | write(cnf_fd, fixed_dh_params, strlen(fixed_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'accept_openssl': sslhelper.c:3624:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3624 | write(vncsock, tbuf, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3630:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3630 | write(vncsock, tbuf, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3704:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3704 | write(vncsock, cookie, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3706:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3706 | write(vncsock, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3778:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3778 | write(vncsock, tbuf, strlen(tbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3852:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3852 | write(vncsock, tbuf, strlen(tbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3899:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3899 | write(httpsock, buf, m); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3900:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3900 | write(httpsock, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3902:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3902 | write(httpsock, q, n-m); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3907:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3907 | write(httpsock, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3922:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3922 | write(vncsock, cookie, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3986:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3986 | read(certret_fd, certret_str, sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:4009:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 4009 | read(dhret_fd, dhret_str, sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'watch_for_http_traffic': sslhelper.c:3257:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3257 | write(2, buf_a, *n_a); | ^~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'ssl_xfer': sslhelper.c:2319:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2319 | read(csock, tmp, 12); | ^~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function 'raw_xfer': sslhelper.c:4312:45: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4312 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ sslhelper.c:4344:45: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4344 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ enc.h: In function 'securevnc_setup': enc.h:1344:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1344 | read(server, (char *) &b1, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1345:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1345 | read(server, (char *) &b2, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1346:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1346 | read(server, (char *) &b3, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1347:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1347 | read(server, (char *) &b4, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1436:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1436 | write(2, to_viewer, 12); /* and first 12 bytes 'RFB ...' as message */ | ^~~~~~~~~~~~~~~~~~~~~~~ enc.h:1469:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1469 | write(server, encrypted_keybuf, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1479:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1479 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1481:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1481 | write(server, (char *)&one, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1483:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1483 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1484:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1484 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1486:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1486 | write(server, (char *)&sig, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1488:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1488 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1558:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1558 | write(server, signature, nsig); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1568:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1568 | write(viewer, to_viewer, to_viewer_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h: In function 'securevnc_server_rsa_save_dialog': enc.h:1110:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1110 | write(fileno(p), rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h: In function 'doloop': enc.h:2102:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2102 | system(cmd); | ^~~~~~~~~~~ uinput.c: In function 'initialize_uinput': uinput.c:495:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 495 | write(fd, &udev, sizeof(udev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function 'ptr_move': uinput.c:735:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 735 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:740:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 740 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:745:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 745 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function 'button_click': uinput.c:997:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 997 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:1002:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1002 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function 'ptr_abs': uinput.c:791:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 791 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:796:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 796 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:802:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 802 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:808:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 808 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:815:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 815 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function 'uinput_key_command': uinput.c:1278:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1278 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:1283:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1283 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'try_to_be_nobody': unixpw.c:648:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 648 | setuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~ unixpw.c:651:17: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 651 | seteuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~~ unixpw.c:654:17: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 654 | setgid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~ unixpw.c:657:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 657 | setegid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'su_verify': unixpw.c:1120:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1120 | system(nam); | ^~~~~~~~~~~ unixpw.c:1122:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1122 | write(tfd, "NOTTTY\n", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c:1127:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1127 | chdir("/"); | ^~~~~~~~~~ unixpw.c:1157:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1157 | write(2, "C", 1); | ^~~~~~~~~~~~~~~~ unixpw.c:1252:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1252 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1254:33: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1254 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1339:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1339 | write(fd, pass+k, 1); | ^~~~~~~~~~~~~~~~~~~~ unixpw.c:1343:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1343 | write(fd, pass, strlen(pass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c: In function 'check_unixpw_userprefs': unixpw.c:1541:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1541 | fgets(buf, 1024, f); | ^~~~~~~~~~~~~~~~~~~ CC x11vnc-user.o CC x11vnc-userinput.o user.c: In function 'setup_cmd': user.c:1905:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1905 | write(fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1914:49: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1914 | system(com); | ^~~~~~~~~~~ user.c: In function 'vnc_redirect_timeout': user.c:1396:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1396 | write(2, "timeout: no clients connected.\n", 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'do_run_cmd': user.c:2511:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2511 | write(tmp_fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2513:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2513 | write(tmp_fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2576:37: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2576 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2576:56: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2576 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2681:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2681 | if (db) write(2, line, 100); | ^~~~~~~~~~~~~~~~~~~ user.c:2857:1: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2857 | write(2, xauth_raw_data, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'do_chvt': user.c:1405:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1405 | system(chvt); | ^~~~~~~~~~~~ user.c: In function 'do_vnc_redirect': user.c:1876:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1876 | write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC x11vnc-util.o CC x11vnc-v4l.o CC x11vnc-win_utils.o CC x11vnc-x11vnc.o CC x11vnc-x11vnc_defs.o CC x11vnc-xdamage.o x11vnc.c: In function 'terminal_services': x11vnc.c:555:49: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 555 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c:562:49: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c: In function 'do_tsd': x11vnc.c:718:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 718 | system(cmd); | ^~~~~~~~~~~ x11vnc.c:729:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 729 | system(cmd); | ^~~~~~~~~~~ x11vnc.c: In function 'quick_pw': x11vnc.c:1381:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1381 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1384:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1384 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1387:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1387 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c: In function 'store_homedir_passwd': x11vnc.c:1760:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1760 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1763:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1763 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1771:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1771 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1775:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1775 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ CC x11vnc-xevents.o CC x11vnc-xi2_devices.o CC x11vnc-xinerama.o CC x11vnc-xkb_bell.o CC x11vnc-xrandr.o CC x11vnc-xrecord.o CC x11vnc-xwrappers.o xwrappers.c: In function 'xauth_raw': xwrappers.c:1428:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1428 | write(tmp_fd, xauth_raw_data, xauth_raw_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD x11vnc make[3]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/src' Making all in misc make[3]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' Making all in turbovnc make[4]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc/turbovnc' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc/turbovnc' make[4]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' /usr/bin/sed -e '/Will be substituted by Xdummy\.c/d' -e '/"XDUMMY_C"/r ./Xdummy.c' < Xdummy.in > Xdummy.tmp mv -f Xdummy.tmp Xdummy make[4]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' make[3]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' make[3]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' make[3]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' make[2]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' make[1]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' >>> x11vnc 0.9.16 Installing to target PATH="/home/thomas/autobuild/instance-1/output-1/host/bin:/home/thomas/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j4 DESTDIR=/home/thomas/autobuild/instance-1/output-1/target install -C /home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/ make[1]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' Making install in src make[2]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/src' make[3]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/src' make[3]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/home/thomas/autobuild/instance-1/output-1/target/usr/bin' /usr/bin/install -c x11vnc '/home/thomas/autobuild/instance-1/output-1/target/usr/bin' make[3]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/src' make[2]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/src' Making install in misc make[2]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' Making install in turbovnc make[3]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc/turbovnc' make[4]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc/turbovnc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc/turbovnc' make[3]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc/turbovnc' make[3]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' make[4]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' make[4]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/home/thomas/autobuild/instance-1/output-1/target/usr/bin' /usr/bin/install -c Xdummy '/home/thomas/autobuild/instance-1/output-1/target/usr/bin' make[4]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' make[3]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' make[2]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16/misc' make[2]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' make[3]: Entering directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/thomas/autobuild/instance-1/output-1/target/usr/share/applications' /usr/bin/mkdir -p '/home/thomas/autobuild/instance-1/output-1/target/usr/share/man/man1' /usr/bin/install -c -m 644 x11vnc.desktop '/home/thomas/autobuild/instance-1/output-1/target/usr/share/applications' /usr/bin/install -c -m 644 x11vnc.1 '/home/thomas/autobuild/instance-1/output-1/target/usr/share/man/man1' make[3]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' make[2]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' make[1]: Leaving directory '/home/thomas/autobuild/instance-1/output-1/build/x11vnc-0.9.16' ERROR: No hash found for xdg-dbus-proxy-0.1.5.tar.xz make: *** [package/pkg-generic.mk:179: /home/thomas/autobuild/instance-1/output-1/build/xdg-dbus-proxy-0.1.5/.stamp_downloaded] Error 1 make: Leaving directory '/home/thomas/autobuild/instance-1/buildroot'