==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_9a104c67-033a-441c-b272-e7659aa5607f]...done ==> Making package: xtmsplit 0.2-6.1 (Mon Mar 11 22:02:15 2024) ==> Retrieving sources... -> Downloading xtmsplit-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 100 78151 100 78151 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k ==> Validating source files with sha512sums... xtmsplit-0.2.tar.gz ... Passed ==> Making package: xtmsplit 0.2-6.1 (Mon Mar 11 22:02:17 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found xtmsplit-0.2.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting xtmsplit-0.2.tar.gz with bsdtar ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands Making all in src make[1]: Entering directory '/startdir/src/xtmsplit/src' if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xtmsplit\" -DVERSION=\"0.2\" -I. -I. -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/xtmsplit -flto=auto -falign-functions=32 -MT xtmsplit.o -MD -MP -MF ".deps/xtmsplit.Tpo" -c -o xtmsplit.o xtmsplit.cpp; \ then mv -f ".deps/xtmsplit.Tpo" ".deps/xtmsplit.Po"; else rm -f ".deps/xtmsplit.Tpo"; exit 1; fi if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xtmsplit\" -DVERSION=\"0.2\" -I. -I. -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/xtmsplit -flto=auto -falign-functions=32 -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.cpp; \ then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi xtmsplit.cpp: In function ‘int show_version()’: xtmsplit.cpp:89:1: warning: no return statement in function returning non-void [-Wreturn-type] 89 | } | ^ xtmsplit.cpp: In function ‘int printhelp()’: xtmsplit.cpp:106:1: warning: no return statement in function returning non-void [-Wreturn-type] 106 | } | ^ xtmsplit.cpp: In function ‘int printhelp_fr()’: xtmsplit.cpp:125:1: warning: no return statement in function returning non-void [-Wreturn-type] 125 | } | ^ xtmsplit.cpp: In function ‘int foutrelebordel()’: xtmsplit.cpp:130:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 130 | erreur("Impossible de creer un nouveau fichier\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp: In function ‘int couper()’: xtmsplit.cpp:142:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 142 | erreur("Impossible d'ouvrir le fichier d'origine"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:184:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 184 | erreur("Impossible de creer un nouveau fichier"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:193:29: error: format not a string literal and no format arguments [-Werror=format-security] 193 | sprintf(&header[41],orig_file); | ^~~~~~~~~ xtmsplit.cpp:199:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 199 | erreur("c'est pas normal"); | ^~~~~~~~~~~~~~~~~~ xtmsplit.cpp:226:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 226 | erreur("c'est pas normal"); | ^~~~~~~~~~~~~~~~~~ xtmsplit.cpp:254:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 254 | erreur("Impossible de creer un nouveau fichier"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:260:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 260 | erreur("Impossible d'ecrire les hash MD5 dans le fichier"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:267:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 267 | erreur("c'est pas normal"); | ^~~~~~~~~~~~~~~~~~ xtmsplit.cpp:281:1: warning: no return statement in function returning non-void [-Wreturn-type] 281 | } | ^ xtmsplit.cpp: In function ‘int coller()’: xtmsplit.cpp:287:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 287 | erreur("Impossible d'ouvrir le fichier"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:289:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 289 | erreur("Erreur de lecture"); | ^~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:299:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 299 | erreur("Erreur de version"); | ^~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:323:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 323 | erreur("Impossible de creer un nouveau fichier\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:337:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 337 | warning("vous avez specifie -md5 mais le fichier .xtm ne contient pas de hash md5. Verification desactivee."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:355:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 355 | erreur("c'est pas normal"); | ^~~~~~~~~~~~~~~~~~ xtmsplit.cpp:384:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 384 | erreur("Impossible d'ouvrir le fichier suivant"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:404:60: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘int’ [-Wformat=] 404 | printf("Hash md5 calcule: %s - Hash md5 du fichier enregistre: %s\n",c+1, hex_output, buffer); | ~^ ~~~ | | | | char* int | %d xtmsplit.cpp:404:40: warning: too many arguments for format [-Wformat-extra-args] 404 | printf("Hash md5 calcule: %s - Hash md5 du fichier enregistre: %s\n",c+1, hex_output, buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:445:1: warning: no return statement in function returning non-void [-Wreturn-type] 445 | } | ^ xtmsplit.cpp: In function ‘int main(int, char**)’: xtmsplit.cpp:490:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 490 | erreur("parametre -d present mais pas de chemin de dossier\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:497:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 497 | erreur("parametre -size present mais aucune taille precisee\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:507:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 507 | erreur("parametre -f present mais pas de nom de fichier present\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:519:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 519 | erreur("nom de fichier necessaire !"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp:522:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 522 | erreur("Vous devez passer un fichier .001.xtm en parametre\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp: In function ‘int couper()’: xtmsplit.cpp:202:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 202 | fread(header, sizeof(char), 104, lefile2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtmsplit.cpp: In function ‘int coller()’: xtmsplit.cpp:395:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 395 | fread(buffer, sizeof(char), 32, lefile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: some warnings being treated as errors make[1]: *** [Makefile:215: xtmsplit.o] Error 1 make[1]: Leaving directory '/startdir/src/xtmsplit/src' make: *** [Makefile:185: all-recursive] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_9a104c67-033a-441c-b272-e7659aa5607f/build