+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ggrab-0.22anb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ggrab-0.22anb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ggrab-0.22anb1 --- list.o --- --- cbuffer.o --- --- list.o --- c++ -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c list.cpp --- cbuffer.o --- c++ -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c cbuffer.cpp In file included from cbuffer.cpp:8:0: tools.h:12:57: warning: 'typedef' was ignored in this declaration [enabled by default] typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^ cbuffer.cpp: In constructor 'CBuffer::CBuffer(int)': cbuffer.cpp:17:51: warning: deprecated conversion from 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: deprecated conversion from 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: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("Pufferfehler SearchStreamID"); ^ cbuffer.cpp:198:53: warning: deprecated conversion from 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: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("CopyBuffer: data not avaiable in buffer"); ^ cbuffer.cpp:231:51: warning: deprecated conversion from 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: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("RemovePadding: data not avaiable in buffer"); ^ --- list.o --- In file included from list.cpp:8:0: tools.h:12:57: warning: 'typedef' was ignored in this declaration [enabled by default] typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^ list.cpp: In function 'void* m_fill_video(void*)': list.cpp:49:69: warning: deprecated conversion from 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: deprecated conversion from 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: deprecated conversion from 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: deprecated conversion from 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: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("xlist::sid: timeout wait for data"); ^ --- tools.o --- c++ -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c tools.cpp --- ggrab.o --- c++ -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c ggrab.cpp --- tools.o --- In file included from tools.cpp:6:0: tools.h:12:57: warning: 'typedef' was ignored in this declaration [enabled by default] 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: deprecated conversion from 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: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit("cannot open output file"); ^ --- ggrab.o --- In file included from ggrab.cpp:34:0: tools.h:12:57: warning: 'typedef' was ignored in this declaration [enabled by default] typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^ --- pesstream.o --- --- ggrab.o --- ggrab.cpp: In function 'int main(int, char**)': ggrab.cpp:74:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char * dbox2name = "dbox"; ^ ggrab.cpp: In function 'void install_signal_handler()': ggrab.cpp:254:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("Set Handler SIGTERM"); ^ ggrab.cpp:257:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("Set Handler SIGINT"); ^ ggrab.cpp:260:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("Set Handler SIGUSR2"); ^ ggrab.cpp:263:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("Set Handler SIGUSR1"); ^ ggrab.cpp: In function 'int toggle_sectionsd(char*)': --- pesstream.o --- c++ -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c pesstream.cpp --- ggrab.o --- ggrab.cpp:313:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit("unable to lookup hostname"); ^ ggrab.cpp:321:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit("unable to lookup hostname"); ^ ggrab.cpp:328:39: warning: deprecated conversion from 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: deprecated conversion from 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: deprecated conversion from 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: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("generate_raw_audio: fwrite failed"); ^ ggrab.cpp: In function 'int toggle_sectionsd(char*)': ggrab.cpp:344:37: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(sock, buffer, strlen(buffer)); ^ --- pesstream.o --- In file included from pesstream.cpp:18:0: tools.h:12:57: warning: 'typedef' was ignored in this declaration [enabled by default] 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: deprecated conversion from 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: deprecated conversion from 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: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit("unable to lookup hostname"); ^ pesstream.cpp:598:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit("unable to lookup hostname"); ^ pesstream.cpp:605:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit("error to connect to socket"); ^ pesstream.cpp: In function 'void* readstream(pesstream&)': pesstream.cpp:656:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] errexit ("cannot open Logfile"); ^ pesstream.cpp: In function 'int openStream(char*, int, int, int, int*)': pesstream.cpp:616:37: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(sock, buffer, strlen(buffer)); ^ pesstream.cpp: In function 'void* readstream(pesstream&)': pesstream.cpp:648:12: warning: ignoring return value of 'int nice(int)', declared with attribute warn_unused_result [-Wunused-result] nice(-10); ^ --- sserver.o --- c++ -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c sserver.cpp sserver.cpp: In function 'int main(int, char**)': sserver.cpp:64:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] a_arg[1] = "-p"; ^ sserver.cpp:67:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] a_arg[4] = "-o"; ^ sserver.cpp:69:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] a_arg[6] = "-host"; ^ sserver.cpp:71:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] a_arg[8] = "-nos"; ^ sserver.cpp:173:53: error: 'strlcpy' was not declared in this scope strlcpy (a_filename,a_path, sizeof(a_filename)); ^ sserver.cpp:176:51: error: 'strlcat' was not declared in this scope strlcat(a_filename, "/", sizeof(a_filename)); ^ sserver.cpp:189:67: error: 'strlcat' was not declared in this scope strlcat(a_filename, recdata.channelname, sizeof(a_filename)); ^ sserver.cpp:210:64: error: 'strlcat' was not declared in this scope strlcat(a_filename, recdata.epgtitle, sizeof(a_filename)); ^ sserver.cpp:216:50: error: 'strlcat' was not declared in this scope strlcat(a_filename, buf, sizeof(a_filename)); ^ sserver.cpp: In function 'char* ExtractQuotedString(char*, char*, int)': sserver.cpp:284:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pe=ParseForString(ps, "\"", 1); ^ sserver.cpp: In function 'int AnalyzeXMLRequest(char*, RecordingData*)': sserver.cpp:322:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p1=ParseForString(szXML,"<record ", 1); ^ sserver.cpp:325:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"command=", 1); ^ sserver.cpp:330:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p3,">", 1); ^ sserver.cpp:335:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"<channelname>", 1); ^ sserver.cpp:340:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"</channelname>", 0); ^ sserver.cpp:351:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"<epgtitle>", 1); ^ sserver.cpp:356:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"</epgtitle>", 0); ^ sserver.cpp:367:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"<onidsid>", 1); ^ sserver.cpp:372:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"</onidsid>", 0); ^ sserver.cpp:384:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p2=ParseForString(p1,"<mode>", 1); ^ sserver.cpp:389:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"</mode>", 0); ^ sserver.cpp:399:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p2=ParseForString(szXML,"<videopid>", 1); ^ sserver.cpp:404:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p2,"</videopid>", 0); ^ sserver.cpp:413:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p2=ParseForString(szXML,"<audiopids selected=", 1); ^ sserver.cpp:418:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] p1=ParseForString(p3,">", 1); ^ *** [sserver.o] Error code 1 bmake: stopped in /home/pbulk/build/multimedia/ggrab/work/ggrab-0.22a 1 error bmake: stopped in /home/pbulk/build/multimedia/ggrab/work/ggrab-0.22a *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/multimedia/ggrab *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/multimedia/ggrab