==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_68284ca3-017f-4c6b-8615-5780cf9cd0ff]...done ==> Making package: rarcrack 0.2-8.1 (Fri May 2 07:22:22 2025) ==> Retrieving sources... -> Downloading rarcrack-0.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34013 0 34013 0 0 119k 0 --:--:-- --:--:-- --:--:-- 119k -> Found file-type-detection.patch ==> Validating source files with sha256sums... rarcrack-0.2.tar.gz ... Passed file-type-detection.patch ... Passed ==> Validating source files with b2sums... rarcrack-0.2.tar.gz ... Passed file-type-detection.patch ... Passed ==> Making package: rarcrack 0.2-8.1 (Fri May 2 05:22:25 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change extra/7zip 24.09-3 6.19 MiB extra/unrar 1:7.1.6-1 0.40 MiB extra/unzip 6.0-22 0.30 MiB Total Installed Size: 6.88 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing 7zip... installing unrar... installing unzip... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found rarcrack-0.2.tar.gz -> Found file-type-detection.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting rarcrack-0.2.tar.gz with bsdtar ==> Starting prepare()... patching file rarcrack.h Hunk #1 succeeded at 33 (offset 2 lines). ==> Starting build()... rarcrack.c: In function ‘loadstatus’: rarcrack.c:107:41: warning: ‘xmlStringDecodeEntities’ is deprecated [-Wdeprecated-declarations] 107 | ABC = xmlStringDecodeEntities(parserctxt, | ^~~ In file included from rarcrack.h:29, from rarcrack.c:21: /usr/include/libxml2/libxml/parserInternals.h:540:17: note: declared here 540 | xmlStringDecodeEntities (xmlParserCtxtPtr ctxt, | ^~~~~~~~~~~~~~~~~~~~~~~ rarcrack.c:113:41: warning: ‘xmlStringDecodeEntities’ is deprecated [-Wdeprecated-declarations] 113 | tmp = xmlStringDecodeEntities(parserctxt, | ^~~ /usr/include/libxml2/libxml/parserInternals.h:540:17: note: declared here 540 | xmlStringDecodeEntities (xmlParserCtxtPtr ctxt, | ^~~~~~~~~~~~~~~~~~~~~~~ rarcrack.c:123:41: warning: ‘xmlStringDecodeEntities’ is deprecated [-Wdeprecated-declarations] 123 | tmp = xmlStringDecodeEntities(parserctxt, | ^~~ /usr/include/libxml2/libxml/parserInternals.h:540:17: note: declared here 540 | xmlStringDecodeEntities (xmlParserCtxtPtr ctxt, | ^~~~~~~~~~~~~~~~~~~~~~~ rarcrack.c: In function ‘crack_start’: rarcrack.c:232:53: error: passing argument 3 of ‘pthread_create’ from incompatible pointer type [-Wincompatible-pointer-types] 232 | (void) pthread_create(&th[i], NULL, crack_thread, NULL); | ^~~~~~~~~~~~ | | | void * (*)(void) In file included from rarcrack.h:32: /usr/include/pthread.h:204:36: note: expected ‘void * (*)(void *)’ but argument is of type ‘void * (*)(void)’ 204 | void *(*__start_routine) (void *), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ rarcrack.c:195:8: note: ‘crack_thread’ declared here 195 | void * crack_thread() { | ^~~~~~~~~~~~ rarcrack.c:234:46: error: passing argument 3 of ‘pthread_create’ from incompatible pointer type [-Wincompatible-pointer-types] 234 | (void) pthread_create(&th[12], NULL, status_thread, NULL); | ^~~~~~~~~~~~~ | | | void * (*)(void) /usr/include/pthread.h:204:36: note: expected ‘void * (*)(void *)’ but argument is of type ‘void * (*)(void)’ 204 | void *(*__start_routine) (void *), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ rarcrack.c:177:8: note: ‘status_thread’ declared here 177 | void * status_thread() { | ^~~~~~~~~~~~~ rarcrack.c: In function ‘init’: rarcrack.c:249:9: warning: ‘xmlInitThreads’ is deprecated [-Wdeprecated-declarations] 249 | xmlInitThreads(); | ^~~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/parser.h:29, from rarcrack.h:28: /usr/include/libxml2/libxml/threads.h:58:25: note: declared here 58 | xmlInitThreads (void); | ^~~~~~~~~~~~~~ rarcrack.c:283:61: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[300]’ [-Wformat=] 283 | sscanf(argv[++i], "%s", &test); | ~^ ~~~~~ | | | | | char (*)[300] | char * rarcrack.c: In function ‘crack_thread’: rarcrack.c:205:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 205 | fgets((char*)&ret, 200, Pipe); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rarcrack.c: In function ‘init’: rarcrack.c:317:17: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 317 | fscanf(totest,"%s",(char*)&test); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_68284ca3-017f-4c6b-8615-5780cf9cd0ff/build