=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ggrab-0.22anb1 --- list.o --- --- cbuffer.o --- --- tools.o --- --- list.o --- c++ -O2 -mieee -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c list.cpp --- cbuffer.o --- c++ -O2 -mieee -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c cbuffer.cpp --- tools.o --- c++ -O2 -mieee -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c tools.cpp --- list.o --- In file included from list.cpp:8:0: tools.h:12:1: warning: 'typedef' was ignored in this declaration typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ list.cpp: In function 'void* m_fill_video(void*)': list.cpp:49:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("m_fill_video: timeout waiting with all buffers filled"); ^ list.cpp: In function 'void* m_fill_audio(void*)': list.cpp:123:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("m_fill_audio: timeout waiting with all buffers filled"); ^ list.cpp: In constructor 'xlist::xlist(CBuffer*, S_TYPE)': list.cpp:217:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("xlist::Type of Stream not found"); ^ list.cpp: In member function 'PESELEM xlist::get_elem()': list.cpp:259:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("xlist::getelem timeout wait for data"); ^ list.cpp: In member function 'unsigned char xlist::sid()': list.cpp:275:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("xlist::sid: timeout wait for data"); ^ --- cbuffer.o --- In file included from cbuffer.cpp:8:0: tools.h:12:1: warning: 'typedef' was ignored in this declaration typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ --- tools.o --- In file included from tools.cpp:6:0: tools.h:12:1: warning: 'typedef' was ignored in this declaration typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ tools.cpp: In function 'void fill_pes_len(unsigned char*, int)': tools.cpp:84:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("fill_pes_len: len > 0xffff"); ^ tools.cpp: In function 'FILE* open_next_output_file(FILE*, char*, char*, int&)': tools.cpp:156:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("cannot open output file"); ^ --- cbuffer.o --- cbuffer.cpp: In constructor 'CBuffer::CBuffer(int)': cbuffer.cpp:17:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("CBuffer::CBuffer: Fehler malloc Puffer"); ^ cbuffer.cpp: In member function 'void CBuffer::DiscardToPtr(CBUFPTR)': cbuffer.cpp:84:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("Underrun at DiscardToPtr"); ^ cbuffer.cpp: In member function 'CBUFPTR CBuffer::SearchStreamId(CBUFPTR, int, unsigned char, unsigned char, unsigned char*)': cbuffer.cpp:128:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("Pufferfehler SearchStreamID"); ^ cbuffer.cpp:198:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("SearchStreamId: timeout wait for data"); ^ cbuffer.cpp: In member function 'int CBuffer::CopyBuffer(CBUFPTR, unsigned char*, int)': cbuffer.cpp:224:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("CopyBuffer: data not avaiable in buffer"); ^ cbuffer.cpp:231:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("CopyBuffer: timeout waiting for data"); ^ cbuffer.cpp: In member function 'int CBuffer::RemovePadding(CBUFPTR, int)': cbuffer.cpp:278:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("RemovePadding: data not avaiable in buffer"); ^ --- ggrab.o --- c++ -O2 -mieee -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c ggrab.cpp --- pesstream.o --- c++ -O2 -mieee -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c pesstream.cpp --- ggrab.o --- In file included from ggrab.cpp:34:0: tools.h:12:1: warning: 'typedef' was ignored in this declaration typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ ggrab.cpp: In function 'int main(int, char**)': ggrab.cpp:74:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char * dbox2name = "dbox"; ^~~~~~ ggrab.cpp: In function 'void install_signal_handler()': ggrab.cpp:254:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("Set Handler SIGTERM"); ^ ggrab.cpp:257:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("Set Handler SIGINT"); ^ ggrab.cpp:260:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("Set Handler SIGUSR2"); ^ ggrab.cpp:263:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("Set Handler SIGUSR1"); ^ ggrab.cpp: In function 'int toggle_sectionsd(char*)': ggrab.cpp:313:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("unable to lookup hostname"); ^ ggrab.cpp:321:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("unable to lookup hostname"); ^ ggrab.cpp:328:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("error to connect to socket"); ^ ggrab.cpp:301:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ ggrab.cpp: In function 'void generate_nomux_streams(int*, int, char*, int, int, bool, bool, long long int, bool, int)': ggrab.cpp:573:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("generate_nomux_streams: fwrite failed"); ^ ggrab.cpp: In function 'void generate_raw_audio(int*, int, char*, int, int, bool, bool, long long int, bool, int)': ggrab.cpp:635:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fp[i] = open_next_output_file (fp[i], p_basename[i], "mpg", seq[i]); ^ ggrab.cpp:661:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("generate_raw_audio: fwrite failed"); ^ --- pesstream.o --- In file included from pesstream.cpp:18:0: tools.h:12:1: warning: 'typedef' was ignored in this declaration typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ pesstream.cpp: In member function 'void pesstream::fill_audio_pp(propack*)': pesstream.cpp:287:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("Begin of audio frame not found"); ^ pesstream.cpp: In member function 'void pesstream::get_pp_stats(char*, int)': pesstream.cpp:546:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("Wrong length"); ^ pesstream.cpp: In function 'int openStream(char*, int, int, int, int*)': pesstream.cpp:590:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("unable to lookup hostname"); ^ pesstream.cpp:598:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("unable to lookup hostname"); ^ pesstream.cpp:605:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit("error to connect to socket"); ^ pesstream.cpp: In function 'void* readstream(pesstream&)': pesstream.cpp:656:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] errexit ("cannot open Logfile"); ^ --- sserver.o --- c++ -O2 -mieee -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c sserver.cpp --- ggrab --- c++ -O2 -mieee -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o ggrab list.o cbuffer.o tools.o ggrab.o pesstream.o -pthread --- sserver.o --- sserver.cpp: In function 'int main(int, char**)': sserver.cpp:64:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] a_arg[1] = "-p"; ^~~~ sserver.cpp:67:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] a_arg[4] = "-o"; ^~~~ sserver.cpp:69:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] a_arg[6] = "-host"; ^~~~~~~ sserver.cpp:71:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] a_arg[8] = "-nos"; ^~~~~~ sserver.cpp: In function 'char* ExtractQuotedString(char*, char*, int)': sserver.cpp:284:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pe=ParseForString(ps, "\"", 1); ^ sserver.cpp: In function 'int AnalyzeXMLRequest(char*, RecordingData*)': sserver.cpp:322:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(szXML,"", 1); ^ sserver.cpp:335:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:340:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:351:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:356:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:367:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:372:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:384:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:389:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:399:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(szXML,"", 1); ^ sserver.cpp:404:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:413:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(szXML,"", 1); ^ --- sserver --- c++ -O2 -mieee -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib sserver.cpp -o sserver -pthread sserver.cpp: In function 'int main(int, char**)': sserver.cpp:64:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] a_arg[1] = "-p"; ^~~~ sserver.cpp:67:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] a_arg[4] = "-o"; ^~~~ sserver.cpp:69:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] a_arg[6] = "-host"; ^~~~~~~ sserver.cpp:71:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] a_arg[8] = "-nos"; ^~~~~~ sserver.cpp: In function 'char* ExtractQuotedString(char*, char*, int)': sserver.cpp:284:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pe=ParseForString(ps, "\"", 1); ^ sserver.cpp: In function 'int AnalyzeXMLRequest(char*, RecordingData*)': sserver.cpp:322:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(szXML,"", 1); ^ sserver.cpp:335:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:340:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:351:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:356:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:367:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:372:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:384:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:389:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:399:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(szXML,"", 1); ^ sserver.cpp:404:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:413:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p2=ParseForString(szXML,"", 1); ^ => Creating /tmp/pkgbuild/multimedia/ggrab/work.alpha/.rc.d/sserver