=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ggrab-0.22a --- list.o --- --- cbuffer.o --- --- tools.o --- --- ggrab.o --- --- pesstream.o --- --- sserver.o --- --- list.o --- clang++ -O2 -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c list.cpp --- cbuffer.o --- clang++ -O2 -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c cbuffer.cpp --- tools.o --- clang++ -O2 -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c tools.cpp --- ggrab.o --- clang++ -O2 -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c ggrab.cpp --- pesstream.o --- clang++ -O2 -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c pesstream.cpp --- sserver.o --- clang++ -O2 -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -c sserver.cpp --- cbuffer.o --- In file included from cbuffer.cpp:8: ./tools.h:12:1: warning: typedef requires a name [-Wmissing-declarations] typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ cbuffer.cpp:17:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("CBuffer::CBuffer: Fehler malloc Puffer"); ^ cbuffer.cpp:84:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("Underrun at DiscardToPtr"); ^ cbuffer.cpp:128:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("Pufferfehler SearchStreamID"); ^ cbuffer.cpp:198:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("SearchStreamId: timeout wait for data"); ^ cbuffer.cpp:224:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("CopyBuffer: data not avaiable in buffer"); ^ cbuffer.cpp:231:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("CopyBuffer: timeout waiting for data"); ^ cbuffer.cpp:278:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("RemovePadding: data not avaiable in buffer"); ^ --- tools.o --- In file included from tools.cpp:6: ./tools.h:12:1: warning: typedef requires a name [-Wmissing-declarations] typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ tools.cpp:84:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("fill_pes_len: len > 0xffff"); ^ tools.cpp:117:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] *((char *)0) = 0; ^~~~~~~~~~~~ tools.cpp:117:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' tools.cpp:156:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("cannot open output file"); ^ --- ggrab.o --- In file included from ggrab.cpp:34: ./tools.h:12:1: warning: typedef requires a name [-Wmissing-declarations] typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ In file included from ggrab.cpp:35: ./list.h:24:3: warning: struct 'CBuffer' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct CBuffer * m_pbuffer; ^ ./cbuffer.h:6:7: note: previous use is here class CBuffer { ^ ./list.h:24:3: note: did you mean class here? struct CBuffer * m_pbuffer; ^~~~~~ class ggrab.cpp:74:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char * dbox2name = "dbox"; ^ ggrab.cpp:254:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("Set Handler SIGTERM"); ^ ggrab.cpp:257:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("Set Handler SIGINT"); ^ ggrab.cpp:260:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("Set Handler SIGUSR2"); ^ ggrab.cpp:263:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("Set Handler SIGUSR1"); ^ ggrab.cpp:313:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("unable to lookup hostname"); ^ ggrab.cpp:321:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("unable to lookup hostname"); ^ ggrab.cpp:328:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("error to connect to socket"); ^ ggrab.cpp:573:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("generate_nomux_streams: fwrite failed"); ^ ggrab.cpp:635:58: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fp[i] = open_next_output_file (fp[i], p_basename[i], "mpg", seq[i]); ^ ggrab.cpp:661:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("generate_raw_audio: fwrite failed"); ^ --- tools.o --- 4 warnings generated. --- pesstream.o --- In file included from pesstream.cpp:18: ./tools.h:12:1: warning: typedef requires a name [-Wmissing-declarations] typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ In file included from pesstream.cpp:20: ./list.h:24:3: warning: struct 'CBuffer' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct CBuffer * m_pbuffer; ^ ./cbuffer.h:6:7: note: previous use is here class CBuffer { ^ ./list.h:24:3: note: did you mean class here? struct CBuffer * m_pbuffer; ^~~~~~ class pesstream.cpp:287:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("Begin of audio frame not found"); ^ pesstream.cpp:546:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("Wrong length"); ^ pesstream.cpp:590:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("unable to lookup hostname"); ^ pesstream.cpp:598:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("unable to lookup hostname"); ^ pesstream.cpp:605:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit("error to connect to socket"); ^ pesstream.cpp:656:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("cannot open Logfile"); ^ --- list.o --- In file included from list.cpp:8: ./tools.h:12:1: warning: typedef requires a name [-Wmissing-declarations] typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP}; ^~~~~~~ In file included from list.cpp:10: ./list.h:24:3: warning: struct 'CBuffer' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct CBuffer * m_pbuffer; ^ ./cbuffer.h:6:7: note: previous use is here class CBuffer { ^ ./list.h:24:3: note: did you mean class here? struct CBuffer * m_pbuffer; ^~~~~~ class list.cpp:49:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("m_fill_video: timeout waiting with all buffers filled"); ^ list.cpp:123:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("m_fill_audio: timeout waiting with all buffers filled"); ^ list.cpp:161:15: warning: struct 'CBuffer' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] xlist::xlist (struct CBuffer * pBuf, S_TYPE stype) { ^ ./cbuffer.h:6:7: note: previous use is here class CBuffer { ^ list.cpp:161:15: note: did you mean class here? --- cbuffer.o --- 8 warnings generated. --- list.o --- xlist::xlist (struct CBuffer * pBuf, S_TYPE stype) { ^~~~~~ class list.cpp:217:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("xlist::Type of Stream not found"); ^ list.cpp:219:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete p_buf; ^ [] list.cpp:174:33: note: allocated with 'new[]' here unsigned char * p_buf = new unsigned char[16]; ^ list.cpp:259:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("xlist::getelem timeout wait for data"); ^ list.cpp:275:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] errexit ("xlist::sid: timeout wait for data"); ^ 9 warnings generated. --- pesstream.o --- 8 warnings generated. --- ggrab.o --- 13 warnings generated. --- ggrab --- clang++ -O2 -DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3 -s -static -o ggrab list.o cbuffer.o tools.o ggrab.o pesstream.o -lpthread ld: warning: option -s is obsolete and being ignored ld: library not found for -lcrt0.o clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [ggrab] Error code 1 bmake: stopped in /opt/work/multimedia/ggrab/work/ggrab-0.22a --- sserver.o --- sserver.cpp:64:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] a_arg[1] = "-p"; ^ sserver.cpp:67:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] a_arg[4] = "-o"; ^ sserver.cpp:69:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] a_arg[6] = "-host"; ^ sserver.cpp:71:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] a_arg[8] = "-nos"; ^ sserver.cpp:183:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] p_act += strcspn(p_act, "/ \"%&-\t`'!,:;"); ^~~~ sserver.cpp:197:55: warning: illegal character encoding in string literal [-Winvalid-source-encoding] p_act += strcspn(p_act, "/ \"%&-\t`'~<>!,:;?^$\\=*#@|"); ^~~~ sserver.cpp:197:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] p_act += strcspn(p_act, "/ \"%&-\t`'~<>!,:;?^$\\=*#@|"); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sserver.cpp:284:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] pe=ParseForString(ps, "\"", 1); ^ sserver.cpp:322:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p1=ParseForString(szXML,"", 1); ^ sserver.cpp:335:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:340:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:351:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:356:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:367:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:372:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:384:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p2=ParseForString(p1,"", 1); ^ sserver.cpp:389:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:399:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p2=ParseForString(szXML,"", 1); ^ sserver.cpp:404:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p1=ParseForString(p2,"", 0); ^ sserver.cpp:413:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p2=ParseForString(szXML,"", 1); ^ 23 warnings generated. 1 error bmake: stopped in /opt/work/multimedia/ggrab/work/ggrab-0.22a *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/multimedia/ggrab *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/multimedia/ggrab