+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ggrab-0.22a/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ggrab-0.22a/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ggrab-0.22a g++ -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c list.cpp In file included from list.cpp:8: tools.h:12:1: warning: 'typedef' was ignored in this declaration 12 | typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; | ^~~~~~~ list.cpp: In function 'void* m_fill_video(void*)': list.cpp:49:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | errexit ("m_fill_video: timeout waiting with all buffers filled"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.cpp: In function 'void* m_fill_audio(void*)': list.cpp:123:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 123 | errexit ("m_fill_audio: timeout waiting with all buffers filled"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.cpp: In constructor 'xlist::xlist(CBuffer*, S_TYPE)': list.cpp:217:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 217 | errexit ("xlist::Type of Stream not found"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.cpp: In member function 'PESELEM xlist::get_elem()': list.cpp:259:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 259 | errexit ("xlist::getelem timeout wait for data"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.cpp: In member function 'unsigned char xlist::sid()': list.cpp:275:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 275 | errexit ("xlist::sid: timeout wait for data"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c cbuffer.cpp In file included from cbuffer.cpp:8: tools.h:12:1: warning: 'typedef' was ignored in this declaration 12 | typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; | ^~~~~~~ cbuffer.cpp: In constructor 'CBuffer::CBuffer(int)': cbuffer.cpp:17:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | errexit("CBuffer::CBuffer: Fehler malloc Puffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbuffer.cpp: In member function 'void CBuffer::DiscardToPtr(CBUFPTR)': cbuffer.cpp:84:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | errexit ("Underrun at DiscardToPtr"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cbuffer.cpp: In member function 'CBUFPTR CBuffer::SearchStreamId(CBUFPTR, int, unsigned char, unsigned char, unsigned char*)': cbuffer.cpp:128:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | errexit ("Pufferfehler SearchStreamID"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbuffer.cpp:198:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 198 | errexit ("SearchStreamId: timeout wait for data"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbuffer.cpp: In member function 'int CBuffer::CopyBuffer(CBUFPTR, unsigned char*, int)': cbuffer.cpp:224:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 224 | errexit ("CopyBuffer: data not avaiable in buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbuffer.cpp:231:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 231 | errexit ("CopyBuffer: timeout waiting for data"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbuffer.cpp: In member function 'int CBuffer::RemovePadding(CBUFPTR, int)': cbuffer.cpp:278:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 278 | errexit ("RemovePadding: data not avaiable in buffer"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c tools.cpp In file included from tools.cpp:6: tools.h:12:1: warning: 'typedef' was ignored in this declaration 12 | typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; | ^~~~~~~ tools.cpp: In function 'void fill_pes_len(unsigned char*, int)': tools.cpp:84:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | errexit ("fill_pes_len: len > 0xffff"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools.cpp: In function 'std::FILE* open_next_output_file(std::FILE*, char*, char*, int&)': tools.cpp:156:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | errexit("cannot open output file"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c ggrab.cpp In file included from ggrab.cpp:34: tools.h:12:1: warning: 'typedef' was ignored in this declaration 12 | 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] 74 | char * dbox2name = "dbox"; | ^~~~~~ ggrab.cpp: In function 'void install_signal_handler()': ggrab.cpp:254:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 254 | errexit ("Set Handler SIGTERM"); | ^~~~~~~~~~~~~~~~~~~~~ ggrab.cpp:257:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 257 | errexit ("Set Handler SIGINT"); | ^~~~~~~~~~~~~~~~~~~~ ggrab.cpp:260:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 260 | errexit ("Set Handler SIGUSR2"); | ^~~~~~~~~~~~~~~~~~~~~ ggrab.cpp:263:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 263 | errexit ("Set Handler SIGUSR1"); | ^~~~~~~~~~~~~~~~~~~~~ ggrab.cpp: In function 'int toggle_sectionsd(char*)': ggrab.cpp:313:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 313 | errexit("unable to lookup hostname"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ggrab.cpp:321:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 321 | errexit("unable to lookup hostname"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ggrab.cpp:328:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 328 | errexit("error to connect to socket"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ggrab.cpp:330:10: error: 'fcntl' was not declared in this scope 330 | flags = fcntl(sock, F_GETFL, 0); | ^~~~~ ggrab.cpp: In function 'void generate_nomux_streams(int*, int, char*, int, int, bool, bool, long long int, bool, int)': ggrab.cpp:573:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 573 | 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:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 635 | fp[i] = open_next_output_file (fp[i], p_basename[i], "mpg", seq[i]); | ^~~~~ ggrab.cpp:661:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 661 | errexit ("generate_raw_audio: fwrite failed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [ggrab.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-upstream-trunk/multimedia/ggrab *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/ggrab