Cook: mp3val 0.1.8 ================================================================================ QA: checking package receipt... Extracting source archive "mp3val-0.1.8-src.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed g++ -Wall -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o main.o main.cpp g++ -Wall -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o mpegparse.o mpegparse.cpp g++ -Wall -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o out.o out.cpp g++ -Wall -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o report.o report.cpp g++ -Wall -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o crossapi.o crossapi.cpp g++ -Wall -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o crc.o crc.cpp In file included from /usr/include/fcntl.h:328, from crossapi.cpp:173: In function 'int open(const char*, int, ...)', inlined from 'int CrossAPI_MoveFile(char*, char*)' at crossapi.cpp:244:9: /usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ~~~~~~~~~~~~~~~~~~~~^~ make: *** [: crossapi.o] Error 1 make: *** Waiting for unfinished jobs.... mpegparse.cpp: In function 'int ValidateFile(unsigned char*, int, MPEGINFO*, std::ostream*, char*, bool, int)': mpegparse.cpp:177:117: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!fix) PrintMessage(out,"WARNING",filename,"Garbage at the beginning of the file",mpginfo->garbage_at_the_begin); ^ mpegparse.cpp:177:117: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mpegparse.cpp:185:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!fix) PrintMessage(out,"WARNING",filename,"Garbage at the end of the file",mpginfo->garbage_at_the_end); ^ mpegparse.cpp:185:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mpegparse.cpp:190:124: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!fix) PrintMessage(out,"WARNING",filename,"MPEG stream error, resynchronized successfully",mpginfo->mpeg_stream_error); ^ mpegparse.cpp:190:124: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp: In function 'int ProcessFile(char*, char*)': main.cpp:249:136: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(CrossAPI_GetFullPathName(szFileName,(char *)pcBuffer,CROSSAPI_MAX_PATH+1)) PrintMessage(out,"FIXED",pcBuffer,"File was rebuilt",-1); ^ main.cpp:249:136: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:250:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else PrintMessage(out,"FIXED",szFileName,"File was rebuilt",-1); ^ main.cpp:250:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp: In function 'int SplitFileName(char*, char**, char**)': main.cpp:272:25: warning: value computed is not used [-Wunused-value] if(**szPathOut=='\"') *szPathOut++; ^~~~~~~~~~~~ main.cpp:280:3: warning: value computed is not used [-Wunused-value] *szFileNameOut++; ^~~~~~~~~~~~~~~~ report.cpp: In function 'int PrintReport(std::ostream*, char*, MPEGINFO*)': report.cpp:49:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"ERROR",filename,"Unknown file format",-1); ^ report.cpp:49:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] report.cpp:55:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,"Too few MPEG frames (it's unlikely that this is a MPEG audio file)",-1); ^ report.cpp:55:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] report.cpp:59:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,"This is a RIFF file, not MPEG stream",-1); ^ report.cpp:59:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] report.cpp:64:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,"It seems that file is truncated or there is garbage at the end of the file",mpginfo->truncated); ^ report.cpp:64:134: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] report.cpp:70:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,szMsgBuf,-1); ^ report.cpp:90:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,szMsgBuf,-1); ^ report.cpp:95:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,szMsgBuf,-1); ^ report.cpp:102:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,szMsgBuf,-1); ^ report.cpp:107:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,szMsgBuf,-1); ^ report.cpp:114:118: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,"VBR detected, but no VBR header is present. Seeking may not work properly.",-1); ^ report.cpp:114:118: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] report.cpp:123:114: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,"Non-layer-III frame encountered. See related INFO message for details.",-1); ^ report.cpp:123:114: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] report.cpp:138:128: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,"Different MPEG versions or layers in one file. See related INFO message for details.",-1); ^ report.cpp:138:128: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] report.cpp:142:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,"Several APEv2 tags in one file. See related INFO message for details.",-1); ^ report.cpp:142:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] report.cpp:147:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PrintMessage(out,"WARNING",filename,"No supported tags in the file",-1); ^ report.cpp:147:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Debug information ret1. ================================================================================ Cook date: 2022-07-22 14:41 Wasted time : 5s 23:/usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments 59: PrintMessage(out,"ERROR",filename,"Unknown file format",-1); ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================