D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/dvbstream-0.6-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bkGXx8 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lu4qA1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + rm -rf dvbstream-cvs + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/dvbstream-cvs.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd dvbstream-cvs + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/dvbstream-use-rpmopts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/dvbstream-fix-building-with-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZQMGy1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dvbstream-cvs + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 INCS=-I/usr/src/linux/include gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o mpegtools/ringbuffy.o mpegtools/ringbuffy.c mpegtools/ringbuffy.c: In function 'ring_rest': mpegtools/ringbuffy.c:194:30: warning: variable 'rest' set but not used [-Wunused-but-set-variable] 194 | int diff, free, pos, rest; | ^~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o ts_filter ts_filter.c ts_filter.c: In function 'main': ts_filter.c:37:7: warning: statement with no effect [-Wunused-value] 37 | exit; | ^~~~ ts_filter.c:52:9: warning: statement with no effect [-Wunused-value] 52 | exit; | ^~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o tune.o tune.c In file included from tune.h:7, from tune.c:36: dvb_defaults.h:83:2: warning: #warning No DVB-T country defined in dvb_defaults.h [-Wcpp] 83 | #warning No DVB-T country defined in dvb_defaults.h | ^~~~~~~ dvb_defaults.h:84:2: warning: #warning defaulting to UK [-Wcpp] 84 | #warning defaulting to UK | ^~~~~~~ dvb_defaults.h:85:2: warning: #warning Ignore this if using Satellite or Cable [-Wcpp] 85 | #warning Ignore this if using Satellite or Cable | ^~~~~~~ tune.c: In function 'do_diseqc': tune.c:111:26: warning: unused variable 'voltage' [-Wunused-variable] 111 | fe_sec_voltage_t voltage; | ^~~~~~~ tune.c: In function 'check_status': tune.c:131:7: warning: unused variable 'status' [-Wunused-variable] 131 | int status, locks=0, ok=0; | ^~~~~~ In function 'do_diseqc', inlined from 'tune_it' at tune.c:262:7: tune.c:113:9: warning: 'hi_lo' may be used uninitialized [-Wmaybe-uninitialized] 113 | fprintf(stderr, "Setting only tone %s and voltage %dV\n", (hi_lo ? "ON" : "OFF"), (polv ? 13 : 18)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tune.c: In function 'tune_it': tune.c:212:12: note: 'hi_lo' was declared here 212 | int res, hi_lo, dfd; | ^~~~~ tune.c:290:10: warning: 'base' may be used uninitialized [-Wmaybe-uninitialized] 290 | return(check_status(fd_frontend,fe_info.type,&feparams,base)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tune.c:213:16: note: 'base' was declared here 213 | unsigned int base; | ^~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o rtp.o rtp.c gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o dumprtp dumprtp.c rtp.o dumprtp.c: In function 'dumprtp': dumprtp.c:48:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | write(1,buf,lengthData); | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o rtpfeed rtpfeed.c rtp.o gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o mpegtools/remux.o mpegtools/remux.c mpegtools/remux.c: In function 'write_video_pes': mpegtools/remux.c:748:18: warning: variable 'dts' set but not used [-Wunused-but-set-variable] 748 | uint32_t dts = 0; | ^~~ mpegtools/remux.c: In function 'remux': mpegtools/remux.c:905:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 905 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:949:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 949 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:958:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 958 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:967:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 967 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:976:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 976 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:988:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 988 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:1019:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1019 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:1021:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1021 | write( fout, mpeg_end, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c: In function 'get_video_info': mpegtools/remux.c:468:26: warning: array subscript 3 is above array bounds of 'uint8_t[3]' {aka 'unsigned char[3]'} [-Warray-bounds=] 468 | && b[3] == 0xb3) found = 4; | ~^~~ mpegtools/remux.c:464:25: note: while referencing 'b' 464 | uint8_t b[3]; | ^ gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o mpegtools/transform.o mpegtools/transform.c mpegtools/transform.c: In function 'pes_filt': mpegtools/transform.c:397:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 397 | write(p->fd1,p->buf+p->hlength+6+3*factor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 398 | p->plength-p->hlength-3*factor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:400:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 400 | write(p->fd1,p->buf,p->plength+6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'pes_dfilt': mpegtools/transform.c:456:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:476:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 476 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:484:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | write(fd,p->buf+p->hlength+6+3*factor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 485 | p->plength-p->hlength-3*factor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:487:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | write(fd,p->buf,p->plength+6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out': mpegtools/transform.c:626:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 626 | write(STDOUT_FILENO, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'insert_pat_pmt': mpegtools/transform.c:832:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 832 | write(fdout,tspid0,188); | ^~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:833:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 833 | write(fdout,tspid1,188); | ^~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out_es': mpegtools/transform.c:1912:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1912 | write(p->fd, buf+payl, count-payl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out_pes': mpegtools/transform.c:1919:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1919 | write(p->fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o mpegtools/ctools.o mpegtools/ctools.c mpegtools/ctools.c: In function 'find_length': mpegtools/ctools.c:288:18: warning: variable 'p' set but not used [-Wunused-but-set-variable] 288 | uint64_t p = 0; | ^ mpegtools/ctools.c: In function 'filter': mpegtools/ctools.c:1321:12: warning: variable 'flag' set but not used [-Wunused-but-set-variable] 1321 | u8 flag,flags; | ^~~~ mpegtools/ctools.c: In function 'seek_mpg_start': mpegtools/ctools.c:1928:13: warning: variable 'mpeg' set but not used [-Wunused-but-set-variable] 1928 | int mpeg = 0; | ^~~~ mpegtools/ctools.c: In function 'write_mpg': mpegtools/ctools.c:2010:13: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2010 | buf = (char *) alloca (buf_size + sizeof (int)); | ^ mpegtools/ctools.c: In function 'url2host': mpegtools/ctools.c:2235:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2235 | if (!(strncmp(url, "http://", 7))) | ^~~ | | | uint8_t * {aka unsigned char *} In file included from mpegtools/ctools.h:35, from mpegtools/ctools.c:30: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mpegtools/ctools.c:2238:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2238 | *name = strdup(url); | ^~~ | | | uint8_t * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ mpegtools/ctools.c:2264:24: warning: pointer targets in returning 'uint8_t *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 2264 | return (murl); | ^ mpegtools/ctools.c:2266:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 2266 | *port = atoi(++murl); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mpegtools/ctools.h:30: /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ mpegtools/ctools.c:2270:16: warning: pointer targets in returning 'uint8_t *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 2270 | return (murl); | ^ mpegtools/ctools.c: In function 'http_open': mpegtools/ctools.c:2291:39: warning: pointer targets in passing argument 1 of 'url2host' differ in signedness [-Wpointer-sign] 2291 | if (!(sptr = url2host(purl, &host, &ip, &port))) { | ^~~~ | | | char * mpegtools/ctools.c:2228:26: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2228 | char *url2host (uint8_t *url, char **name, uint32_t *ip, uint32_t *port) | ~~~~~~~~~^~~ mpegtools/ctools.c:2323:34: warning: pointer targets in passing argument 2 of 'write_all' differ in signedness [-Wpointer-sign] 2323 | write_all (sock, req, strlen(req)); | ^~~ | | | char * mpegtools/ctools.c:2193:34: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2193 | void write_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c:2330:32: warning: pointer targets in passing argument 2 of 'read_all' differ in signedness [-Wpointer-sign] 2330 | read_all (mfd, req, 1023); | ^~~ | | | char * mpegtools/ctools.c:2207:33: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2207 | void read_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c:2344:39: warning: pointer targets in passing argument 2 of 'read_all' differ in signedness [-Wpointer-sign] 2344 | read_all (mfd,req, 1023); | ^~~ | | | char * mpegtools/ctools.c:2207:33: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2207 | void read_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c: In function 'write_pes': mpegtools/ctools.c:283:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 283 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_ts': mpegtools/ctools.c:709:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 709 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_ps': mpegtools/ctools.c:1021:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1021 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_mpg': mpegtools/ctools.c:2016:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2016 | write(fdout,buf,l); | ^~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'split_mpg': mpegtools/ctools.c:2064:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2064 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c:2077:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2077 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'cut_mpg': mpegtools/ctools.c:2148:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2148 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c:2158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2158 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'break_up_filename': mpegtools/ctools.c:1880:17: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1880 | strncpy(base_name, name+sstart, sstop-sstart); | ^ mpegtools/ctools.c:1871:13: note: length computed here 1871 | l = strlen(name); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:548: In function 'strncpy', inlined from 'break_up_filename' at mpegtools/ctools.c:1880:3: /usr/include/bits/string_fortified.h:100:10: warning: '__builtin_strncpy' specified size between 18446744071562067969 and 0 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 100 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o dvbstream dvbstream.c rtp.o tune.o mpegtools/ctools.o mpegtools/remux.o mpegtools/transform.o mpegtools/ringbuffy.o In file included from tune.h:7, from dvbstream.c:53: dvb_defaults.h:83:2: warning: #warning No DVB-T country defined in dvb_defaults.h [-Wcpp] 83 | #warning No DVB-T country defined in dvb_defaults.h | ^~~~~~~ dvb_defaults.h:84:2: warning: #warning defaulting to UK [-Wcpp] 84 | #warning defaulting to UK | ^~~~~~~ dvb_defaults.h:85:2: warning: #warning Ignore this if using Satellite or Cable [-Wcpp] 85 | #warning Ignore this if using Satellite or Cable | ^~~~~~~ dvbstream.c: In function 'process_telnet': dvbstream.c:202:60: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 202 | if ((ns = accept(socketIn, (struct sockaddr *)&fsin, &fromlen)) > 0) { | ^~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/resolv.h:59, from dvbstream.c:35: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ dvbstream.c: In function 'my_write_out': dvbstream.c:351:38: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 351 | sendrtp2(socketOut,&sOut,&hdr,&out_buffer[i],MAX_RTP_SIZE); | ^~~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from dvbstream.c:49: rtp.h:30:82: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c: In function 'main': dvbstream.c:571:40: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 571 | strncpy(pids_map[map_cnt-1].net, addr, len); | ~~~~~~~~~~~~~~~~~~~^~~~ | | | unsigned char * In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from dvbstream.c:28: /usr/include/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'unsigned char *' 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:912:8: warning: #warning WHAT SHOULD THE PAYLOAD TYPE BE FOR "MPEG-2 PS" ? [-Wcpp] 912 | #warning WHAT SHOULD THE PAYLOAD TYPE BE FOR "MPEG-2 PS" ? | ^~~~~~~ dvbstream.c:992:43: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 992 | sendrtp2(socketOut,&sOut,&hdr,buf,free_bytes-buf); | ^~~ | | | unsigned char * rtp.h:30:82: note: expected 'char *' but argument is of type 'unsigned char *' 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c:1022:110: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 1022 | sendrtp2(pids_map[i].socket, &(pids_map[i].sOut), &(pids_map[i].hdr), pids_map[i].buf, pids_map[i].pos); | ~~~~~~~~~~~^~~~ | | | unsigned char * rtp.h:30:82: note: expected 'char *' but argument is of type 'unsigned char *' 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c: In function 'process_telnet': dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:207:9: note: in expansion of macro 'writes' 207 | writes(ns,"220-DVBSTREAM - "); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:208:9: note: in expansion of macro 'writes' 208 | writes(ns,hostname); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:209:9: note: in expansion of macro 'writes' 209 | writes(ns,"\r\nDONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:229:13: note: in expansion of macro 'writes' 229 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:235:13: note: in expansion of macro 'writes' 235 | writes(ns,"STOP\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:245:13: note: in expansion of macro 'writes' 245 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:283:13: note: in expansion of macro 'writes' 283 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:285:13: note: in expansion of macro 'writes' 285 | writes(ns,"START\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:289:13: note: in expansion of macro 'writes' 289 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:320:11: note: in expansion of macro 'writes' 320 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c: In function 'my_write_out': dvbstream.c:339:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write(STDOUT_FILENO, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c: In function 'main': dvbstream.c:990:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 990 | write(1, buf, free_bytes-buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:1018:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1018 | write(pids_map[i].fd, buf, TS_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + install -m 755 dvbstream dvbstream-uk + install -m 755 dumprtp dvb_dumprtp-uk + install -m 755 rtpfeed dvb_rtpfeed-uk + install -m 755 ts_filter dvb_ts_filter-uk + /usr/bin/make -O -j16 V=1 VERBOSE=1 clean rm -f *.o mpegtools/*.o *~ dvbstream dumprtp ts_filter rtpfeed rtp.o + /usr/bin/make -O -j16 V=1 VERBOSE=1 INCS=-I/usr/src/linux/include FINLAND=1 gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -o ts_filter ts_filter.c ts_filter.c: In function 'main': ts_filter.c:37:7: warning: statement with no effect [-Wunused-value] 37 | exit; | ^~~~ ts_filter.c:52:9: warning: statement with no effect [-Wunused-value] 52 | exit; | ^~~~ gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -c -o mpegtools/ringbuffy.o mpegtools/ringbuffy.c mpegtools/ringbuffy.c: In function 'ring_rest': mpegtools/ringbuffy.c:194:30: warning: variable 'rest' set but not used [-Wunused-but-set-variable] 194 | int diff, free, pos, rest; | ^~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -c -o rtp.o rtp.c gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -c -o tune.o tune.c tune.c: In function 'do_diseqc': tune.c:111:26: warning: unused variable 'voltage' [-Wunused-variable] 111 | fe_sec_voltage_t voltage; | ^~~~~~~ tune.c: In function 'check_status': tune.c:131:7: warning: unused variable 'status' [-Wunused-variable] 131 | int status, locks=0, ok=0; | ^~~~~~ In function 'do_diseqc', inlined from 'tune_it' at tune.c:262:7: tune.c:113:9: warning: 'hi_lo' may be used uninitialized [-Wmaybe-uninitialized] 113 | fprintf(stderr, "Setting only tone %s and voltage %dV\n", (hi_lo ? "ON" : "OFF"), (polv ? 13 : 18)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tune.c: In function 'tune_it': tune.c:212:12: note: 'hi_lo' was declared here 212 | int res, hi_lo, dfd; | ^~~~~ tune.c:290:10: warning: 'base' may be used uninitialized [-Wmaybe-uninitialized] 290 | return(check_status(fd_frontend,fe_info.type,&feparams,base)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tune.c:213:16: note: 'base' was declared here 213 | unsigned int base; | ^~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -o dumprtp dumprtp.c rtp.o dumprtp.c: In function 'dumprtp': dumprtp.c:48:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | write(1,buf,lengthData); | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -o rtpfeed rtpfeed.c rtp.o gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -c -o mpegtools/remux.o mpegtools/remux.c mpegtools/remux.c: In function 'write_video_pes': mpegtools/remux.c:748:18: warning: variable 'dts' set but not used [-Wunused-but-set-variable] 748 | uint32_t dts = 0; | ^~~ mpegtools/remux.c: In function 'remux': mpegtools/remux.c:905:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 905 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:949:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 949 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:958:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 958 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:967:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 967 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:976:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 976 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:988:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 988 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:1019:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1019 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:1021:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1021 | write( fout, mpeg_end, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c: In function 'get_video_info': mpegtools/remux.c:468:26: warning: array subscript 3 is above array bounds of 'uint8_t[3]' {aka 'unsigned char[3]'} [-Warray-bounds=] 468 | && b[3] == 0xb3) found = 4; | ~^~~ mpegtools/remux.c:464:25: note: while referencing 'b' 464 | uint8_t b[3]; | ^ gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -c -o mpegtools/ctools.o mpegtools/ctools.c mpegtools/ctools.c: In function 'find_length': mpegtools/ctools.c:288:18: warning: variable 'p' set but not used [-Wunused-but-set-variable] 288 | uint64_t p = 0; | ^ mpegtools/ctools.c: In function 'filter': mpegtools/ctools.c:1321:12: warning: variable 'flag' set but not used [-Wunused-but-set-variable] 1321 | u8 flag,flags; | ^~~~ mpegtools/ctools.c: In function 'seek_mpg_start': mpegtools/ctools.c:1928:13: warning: variable 'mpeg' set but not used [-Wunused-but-set-variable] 1928 | int mpeg = 0; | ^~~~ mpegtools/ctools.c: In function 'write_mpg': mpegtools/ctools.c:2010:13: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2010 | buf = (char *) alloca (buf_size + sizeof (int)); | ^ mpegtools/ctools.c: In function 'url2host': mpegtools/ctools.c:2235:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2235 | if (!(strncmp(url, "http://", 7))) | ^~~ | | | uint8_t * {aka unsigned char *} In file included from mpegtools/ctools.h:35, from mpegtools/ctools.c:30: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mpegtools/ctools.c:2238:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2238 | *name = strdup(url); | ^~~ | | | uint8_t * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ mpegtools/ctools.c:2264:24: warning: pointer targets in returning 'uint8_t *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 2264 | return (murl); | ^ mpegtools/ctools.c:2266:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 2266 | *port = atoi(++murl); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mpegtools/ctools.h:30: /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ mpegtools/ctools.c:2270:16: warning: pointer targets in returning 'uint8_t *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 2270 | return (murl); | ^ mpegtools/ctools.c: In function 'http_open': mpegtools/ctools.c:2291:39: warning: pointer targets in passing argument 1 of 'url2host' differ in signedness [-Wpointer-sign] 2291 | if (!(sptr = url2host(purl, &host, &ip, &port))) { | ^~~~ | | | char * mpegtools/ctools.c:2228:26: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2228 | char *url2host (uint8_t *url, char **name, uint32_t *ip, uint32_t *port) | ~~~~~~~~~^~~ mpegtools/ctools.c:2323:34: warning: pointer targets in passing argument 2 of 'write_all' differ in signedness [-Wpointer-sign] 2323 | write_all (sock, req, strlen(req)); | ^~~ | | | char * mpegtools/ctools.c:2193:34: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2193 | void write_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c:2330:32: warning: pointer targets in passing argument 2 of 'read_all' differ in signedness [-Wpointer-sign] 2330 | read_all (mfd, req, 1023); | ^~~ | | | char * mpegtools/ctools.c:2207:33: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2207 | void read_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c:2344:39: warning: pointer targets in passing argument 2 of 'read_all' differ in signedness [-Wpointer-sign] 2344 | read_all (mfd,req, 1023); | ^~~ | | | char * mpegtools/ctools.c:2207:33: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2207 | void read_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c: In function 'write_pes': mpegtools/ctools.c:283:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 283 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_ts': mpegtools/ctools.c:709:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 709 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_ps': mpegtools/ctools.c:1021:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1021 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_mpg': mpegtools/ctools.c:2016:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2016 | write(fdout,buf,l); | ^~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'split_mpg': mpegtools/ctools.c:2064:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2064 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c:2077:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2077 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'cut_mpg': mpegtools/ctools.c:2148:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2148 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c:2158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2158 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'break_up_filename': mpegtools/ctools.c:1880:17: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1880 | strncpy(base_name, name+sstart, sstop-sstart); | ^ mpegtools/ctools.c:1871:13: note: length computed here 1871 | l = strlen(name); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:548: In function 'strncpy', inlined from 'break_up_filename' at mpegtools/ctools.c:1880:3: /usr/include/bits/string_fortified.h:100:10: warning: '__builtin_strncpy' specified size between 18446744071562067969 and 0 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 100 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -c -o mpegtools/transform.o mpegtools/transform.c mpegtools/transform.c: In function 'pes_filt': mpegtools/transform.c:397:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 397 | write(p->fd1,p->buf+p->hlength+6+3*factor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 398 | p->plength-p->hlength-3*factor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:400:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 400 | write(p->fd1,p->buf,p->plength+6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'pes_dfilt': mpegtools/transform.c:456:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:476:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 476 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:484:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | write(fd,p->buf+p->hlength+6+3*factor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 485 | p->plength-p->hlength-3*factor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:487:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | write(fd,p->buf,p->plength+6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out': mpegtools/transform.c:626:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 626 | write(STDOUT_FILENO, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'insert_pat_pmt': mpegtools/transform.c:832:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 832 | write(fdout,tspid0,188); | ^~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:833:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 833 | write(fdout,tspid1,188); | ^~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out_es': mpegtools/transform.c:1912:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1912 | write(p->fd, buf+payl, count-payl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out_pes': mpegtools/transform.c:1919:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1919 | write(p->fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND -o dvbstream dvbstream.c rtp.o tune.o mpegtools/ctools.o mpegtools/remux.o mpegtools/transform.o mpegtools/ringbuffy.o dvbstream.c: In function 'process_telnet': dvbstream.c:202:60: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 202 | if ((ns = accept(socketIn, (struct sockaddr *)&fsin, &fromlen)) > 0) { | ^~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/resolv.h:59, from dvbstream.c:35: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ dvbstream.c: In function 'my_write_out': dvbstream.c:351:38: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 351 | sendrtp2(socketOut,&sOut,&hdr,&out_buffer[i],MAX_RTP_SIZE); | ^~~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from dvbstream.c:49: rtp.h:30:82: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c: In function 'main': dvbstream.c:571:40: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 571 | strncpy(pids_map[map_cnt-1].net, addr, len); | ~~~~~~~~~~~~~~~~~~~^~~~ | | | unsigned char * In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from dvbstream.c:28: /usr/include/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'unsigned char *' 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:912:8: warning: #warning WHAT SHOULD THE PAYLOAD TYPE BE FOR "MPEG-2 PS" ? [-Wcpp] 912 | #warning WHAT SHOULD THE PAYLOAD TYPE BE FOR "MPEG-2 PS" ? | ^~~~~~~ dvbstream.c:992:43: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 992 | sendrtp2(socketOut,&sOut,&hdr,buf,free_bytes-buf); | ^~~ | | | unsigned char * rtp.h:30:82: note: expected 'char *' but argument is of type 'unsigned char *' 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c:1022:110: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 1022 | sendrtp2(pids_map[i].socket, &(pids_map[i].sOut), &(pids_map[i].hdr), pids_map[i].buf, pids_map[i].pos); | ~~~~~~~~~~~^~~~ | | | unsigned char * rtp.h:30:82: note: expected 'char *' but argument is of type 'unsigned char *' 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c: In function 'process_telnet': dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:207:9: note: in expansion of macro 'writes' 207 | writes(ns,"220-DVBSTREAM - "); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:208:9: note: in expansion of macro 'writes' 208 | writes(ns,hostname); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:209:9: note: in expansion of macro 'writes' 209 | writes(ns,"\r\nDONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:229:13: note: in expansion of macro 'writes' 229 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:235:13: note: in expansion of macro 'writes' 235 | writes(ns,"STOP\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:245:13: note: in expansion of macro 'writes' 245 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:283:13: note: in expansion of macro 'writes' 283 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:285:13: note: in expansion of macro 'writes' 285 | writes(ns,"START\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:289:13: note: in expansion of macro 'writes' 289 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:320:11: note: in expansion of macro 'writes' 320 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c: In function 'my_write_out': dvbstream.c:339:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write(STDOUT_FILENO, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c: In function 'main': dvbstream.c:990:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 990 | write(1, buf, free_bytes-buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:1018:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1018 | write(pids_map[i].fd, buf, TS_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + install -m 755 dvbstream dvbstream-fin + install -m 755 dumprtp dvb_dumprtp-fin + install -m 755 rtpfeed dvb_rtpfeed-fin + install -m 755 ts_filter dvb_ts_filter-fin + /usr/bin/make -O -j16 V=1 VERBOSE=1 clean rm -f *.o mpegtools/*.o *~ dvbstream dumprtp ts_filter rtpfeed rtp.o + /usr/bin/make -O -j16 V=1 VERBOSE=1 INCS=-I/usr/src/linux/include FINLAND2=1 gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -c -o mpegtools/ringbuffy.o mpegtools/ringbuffy.c mpegtools/ringbuffy.c: In function 'ring_rest': mpegtools/ringbuffy.c:194:30: warning: variable 'rest' set but not used [-Wunused-but-set-variable] 194 | int diff, free, pos, rest; | ^~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -c -o rtp.o rtp.c gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -c -o tune.o tune.c tune.c: In function 'do_diseqc': tune.c:111:26: warning: unused variable 'voltage' [-Wunused-variable] 111 | fe_sec_voltage_t voltage; | ^~~~~~~ tune.c: In function 'check_status': tune.c:131:7: warning: unused variable 'status' [-Wunused-variable] 131 | int status, locks=0, ok=0; | ^~~~~~ In function 'do_diseqc', inlined from 'tune_it' at tune.c:262:7: tune.c:113:9: warning: 'hi_lo' may be used uninitialized [-Wmaybe-uninitialized] 113 | fprintf(stderr, "Setting only tone %s and voltage %dV\n", (hi_lo ? "ON" : "OFF"), (polv ? 13 : 18)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tune.c: In function 'tune_it': tune.c:212:12: note: 'hi_lo' was declared here 212 | int res, hi_lo, dfd; | ^~~~~ tune.c:290:10: warning: 'base' may be used uninitialized [-Wmaybe-uninitialized] 290 | return(check_status(fd_frontend,fe_info.type,&feparams,base)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tune.c:213:16: note: 'base' was declared here 213 | unsigned int base; | ^~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -o ts_filter ts_filter.c ts_filter.c: In function 'main': ts_filter.c:37:7: warning: statement with no effect [-Wunused-value] 37 | exit; | ^~~~ ts_filter.c:52:9: warning: statement with no effect [-Wunused-value] 52 | exit; | ^~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -o dumprtp dumprtp.c rtp.o dumprtp.c: In function 'dumprtp': dumprtp.c:48:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | write(1,buf,lengthData); | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -o rtpfeed rtpfeed.c rtp.o gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -c -o mpegtools/remux.o mpegtools/remux.c mpegtools/remux.c: In function 'write_video_pes': mpegtools/remux.c:748:18: warning: variable 'dts' set but not used [-Wunused-but-set-variable] 748 | uint32_t dts = 0; | ^~~ mpegtools/remux.c: In function 'remux': mpegtools/remux.c:905:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 905 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:949:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 949 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:958:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 958 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:967:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 967 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:976:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 976 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:988:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 988 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:1019:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1019 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c:1021:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1021 | write( fout, mpeg_end, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/remux.c: In function 'get_video_info': mpegtools/remux.c:468:26: warning: array subscript 3 is above array bounds of 'uint8_t[3]' {aka 'unsigned char[3]'} [-Warray-bounds=] 468 | && b[3] == 0xb3) found = 4; | ~^~~ mpegtools/remux.c:464:25: note: while referencing 'b' 464 | uint8_t b[3]; | ^ gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -c -o mpegtools/ctools.o mpegtools/ctools.c mpegtools/ctools.c: In function 'find_length': mpegtools/ctools.c:288:18: warning: variable 'p' set but not used [-Wunused-but-set-variable] 288 | uint64_t p = 0; | ^ mpegtools/ctools.c: In function 'filter': mpegtools/ctools.c:1321:12: warning: variable 'flag' set but not used [-Wunused-but-set-variable] 1321 | u8 flag,flags; | ^~~~ mpegtools/ctools.c: In function 'seek_mpg_start': mpegtools/ctools.c:1928:13: warning: variable 'mpeg' set but not used [-Wunused-but-set-variable] 1928 | int mpeg = 0; | ^~~~ mpegtools/ctools.c: In function 'write_mpg': mpegtools/ctools.c:2010:13: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2010 | buf = (char *) alloca (buf_size + sizeof (int)); | ^ mpegtools/ctools.c: In function 'url2host': mpegtools/ctools.c:2235:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2235 | if (!(strncmp(url, "http://", 7))) | ^~~ | | | uint8_t * {aka unsigned char *} In file included from mpegtools/ctools.h:35, from mpegtools/ctools.c:30: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mpegtools/ctools.c:2238:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2238 | *name = strdup(url); | ^~~ | | | uint8_t * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ mpegtools/ctools.c:2264:24: warning: pointer targets in returning 'uint8_t *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 2264 | return (murl); | ^ mpegtools/ctools.c:2266:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 2266 | *port = atoi(++murl); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mpegtools/ctools.h:30: /usr/include/stdlib.h:481:1: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 481 | __NTH (atoi (const char *__nptr)) | ^~~~~ mpegtools/ctools.c:2270:16: warning: pointer targets in returning 'uint8_t *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 2270 | return (murl); | ^ mpegtools/ctools.c: In function 'http_open': mpegtools/ctools.c:2291:39: warning: pointer targets in passing argument 1 of 'url2host' differ in signedness [-Wpointer-sign] 2291 | if (!(sptr = url2host(purl, &host, &ip, &port))) { | ^~~~ | | | char * mpegtools/ctools.c:2228:26: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2228 | char *url2host (uint8_t *url, char **name, uint32_t *ip, uint32_t *port) | ~~~~~~~~~^~~ mpegtools/ctools.c:2323:34: warning: pointer targets in passing argument 2 of 'write_all' differ in signedness [-Wpointer-sign] 2323 | write_all (sock, req, strlen(req)); | ^~~ | | | char * mpegtools/ctools.c:2193:34: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2193 | void write_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c:2330:32: warning: pointer targets in passing argument 2 of 'read_all' differ in signedness [-Wpointer-sign] 2330 | read_all (mfd, req, 1023); | ^~~ | | | char * mpegtools/ctools.c:2207:33: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2207 | void read_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c:2344:39: warning: pointer targets in passing argument 2 of 'read_all' differ in signedness [-Wpointer-sign] 2344 | read_all (mfd,req, 1023); | ^~~ | | | char * mpegtools/ctools.c:2207:33: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 2207 | void read_all (int fd, uint8_t *data, int length) | ~~~~~~~~~^~~~ mpegtools/ctools.c: In function 'write_pes': mpegtools/ctools.c:283:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 283 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_ts': mpegtools/ctools.c:709:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 709 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_ps': mpegtools/ctools.c:1021:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1021 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'write_mpg': mpegtools/ctools.c:2016:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2016 | write(fdout,buf,l); | ^~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'split_mpg': mpegtools/ctools.c:2064:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2064 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c:2077:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2077 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'cut_mpg': mpegtools/ctools.c:2148:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2148 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c:2158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2158 | read(fdin, buf, csize); | ^~~~~~~~~~~~~~~~~~~~~~ mpegtools/ctools.c: In function 'break_up_filename': mpegtools/ctools.c:1880:17: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1880 | strncpy(base_name, name+sstart, sstop-sstart); | ^ mpegtools/ctools.c:1871:13: note: length computed here 1871 | l = strlen(name); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:548: In function 'strncpy', inlined from 'break_up_filename' at mpegtools/ctools.c:1880:3: /usr/include/bits/string_fortified.h:100:10: warning: '__builtin_strncpy' specified size between 18446744071562067969 and 0 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 100 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -c -o mpegtools/transform.o mpegtools/transform.c mpegtools/transform.c: In function 'pes_filt': mpegtools/transform.c:397:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 397 | write(p->fd1,p->buf+p->hlength+6+3*factor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 398 | p->plength-p->hlength-3*factor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:400:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 400 | write(p->fd1,p->buf,p->plength+6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'pes_dfilt': mpegtools/transform.c:456:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:476:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 476 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:484:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | write(fd,p->buf+p->hlength+6+3*factor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 485 | p->plength-p->hlength-3*factor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:487:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | write(fd,p->buf,p->plength+6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out': mpegtools/transform.c:626:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 626 | write(STDOUT_FILENO, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'insert_pat_pmt': mpegtools/transform.c:832:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 832 | write(fdout,tspid0,188); | ^~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c:833:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 833 | write(fdout,tspid1,188); | ^~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out_es': mpegtools/transform.c:1912:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1912 | write(p->fd, buf+payl, count-payl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpegtools/transform.c: In function 'write_out_pes': mpegtools/transform.c:1919:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1919 | write(p->fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/src/linux/include -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFINLAND2 -o dvbstream dvbstream.c rtp.o tune.o mpegtools/ctools.o mpegtools/remux.o mpegtools/transform.o mpegtools/ringbuffy.o dvbstream.c: In function 'process_telnet': dvbstream.c:202:60: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 202 | if ((ns = accept(socketIn, (struct sockaddr *)&fsin, &fromlen)) > 0) { | ^~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/resolv.h:59, from dvbstream.c:35: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ dvbstream.c: In function 'my_write_out': dvbstream.c:351:38: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 351 | sendrtp2(socketOut,&sOut,&hdr,&out_buffer[i],MAX_RTP_SIZE); | ^~~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from dvbstream.c:49: rtp.h:30:82: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c: In function 'main': dvbstream.c:571:40: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 571 | strncpy(pids_map[map_cnt-1].net, addr, len); | ~~~~~~~~~~~~~~~~~~~^~~~ | | | unsigned char * In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from dvbstream.c:28: /usr/include/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type 'unsigned char *' 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:912:8: warning: #warning WHAT SHOULD THE PAYLOAD TYPE BE FOR "MPEG-2 PS" ? [-Wcpp] 912 | #warning WHAT SHOULD THE PAYLOAD TYPE BE FOR "MPEG-2 PS" ? | ^~~~~~~ dvbstream.c:992:43: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 992 | sendrtp2(socketOut,&sOut,&hdr,buf,free_bytes-buf); | ^~~ | | | unsigned char * rtp.h:30:82: note: expected 'char *' but argument is of type 'unsigned char *' 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c:1022:110: warning: pointer targets in passing argument 4 of 'sendrtp2' differ in signedness [-Wpointer-sign] 1022 | sendrtp2(pids_map[i].socket, &(pids_map[i].sOut), &(pids_map[i].hdr), pids_map[i].buf, pids_map[i].pos); | ~~~~~~~~~~~^~~~ | | | unsigned char * rtp.h:30:82: note: expected 'char *' but argument is of type 'unsigned char *' 30 | int sendrtp2(int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, char *data, int len); | ~~~~~~^~~~ dvbstream.c: In function 'process_telnet': dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:207:9: note: in expansion of macro 'writes' 207 | writes(ns,"220-DVBSTREAM - "); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:208:9: note: in expansion of macro 'writes' 208 | writes(ns,hostname); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:209:9: note: in expansion of macro 'writes' 209 | writes(ns,"\r\nDONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:229:13: note: in expansion of macro 'writes' 229 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:235:13: note: in expansion of macro 'writes' 235 | writes(ns,"STOP\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:245:13: note: in expansion of macro 'writes' 245 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:283:13: note: in expansion of macro 'writes' 283 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:285:13: note: in expansion of macro 'writes' 285 | writes(ns,"START\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:289:13: note: in expansion of macro 'writes' 289 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c:72:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | #define writes(f,x) write((f),(x),strlen(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:320:11: note: in expansion of macro 'writes' 320 | writes(ns,"DONE\r\n"); | ^~~~~~ dvbstream.c: In function 'my_write_out': dvbstream.c:339:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write(STDOUT_FILENO, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c: In function 'main': dvbstream.c:990:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 990 | write(1, buf, free_bytes-buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvbstream.c:1018:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1018 | write(pids_map[i].fd, buf, TS_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + install -m 755 dvbstream dvbstream-fin2 + install -m 755 dumprtp dvb_dumprtp-fin2 + install -m 755 rtpfeed dvb_rtpfeed-fin2 + install -m 755 ts_filter dvb_ts_filter-fin2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.g2wLUT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + mkdir /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dvbstream-cvs + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin + install -m 755 dvbstream-fin dvbstream-fin2 dvbstream-uk /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/ + install -m 755 dvb_dumprtp-fin dvb_dumprtp-fin2 dvb_dumprtp-uk /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/ + install -m 755 dvb_rtpfeed-fin dvb_rtpfeed-fin2 dvb_rtpfeed-uk /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/ + install -m 755 dvb_ts_filter-fin dvb_ts_filter-fin2 dvb_ts_filter-uk /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/ + mkdir -p /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib64/dvbstream + install -m 755 TELNET/cnn.sh TELNET/itn.sh TELNET/virgin.sh TELNET/xfm.sh /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib64/dvbstream/ + install -m 755 TELNET/svdrpsend.pl /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib64/dvbstream/ + echo 'update-alternatives --install /usr/bin/dvbstream dvbstream /usr/bin/dvbstream-uk 30 \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_dumprtp dvb_dumprtp /usr/bin/dvb_dumprtp-uk \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_rtpfeed dvb_rtpfeed /usr/bin/dvb_rtpfeed-uk \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_ts_filter dvb_ts_filter /usr/bin/dvb_ts_filter-uk \' + echo + echo 'update-alternatives --install /usr/bin/dvbstream dvbstream /usr/bin/dvbstream-fin 20 \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_dumprtp dvb_dumprtp /usr/bin/dvb_dumprtp-fin \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_rtpfeed dvb_rtpfeed /usr/bin/dvb_rtpfeed-fin \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_ts_filter dvb_ts_filter /usr/bin/dvb_ts_filter-fin \' + echo + echo 'update-alternatives --install /usr/bin/dvbstream dvbstream /usr/bin/dvbstream-fin2 10 \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_dumprtp dvb_dumprtp /usr/bin/dvb_dumprtp-fin2 \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_rtpfeed dvb_rtpfeed /usr/bin/dvb_rtpfeed-fin2 \' + for i in dvb_dumprtp dvb_rtpfeed dvb_ts_filter + echo '--slave /usr/bin/dvb_ts_filter dvb_ts_filter /usr/bin/dvb_ts_filter-fin2 \' + echo + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.6-1.mga10 --unique-debug-suffix -0.6-1.mga10.x86_64 --unique-debug-src-base dvbstream-0.6-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/dvbstream-cvs find-debuginfo: starting Extracting debug info from 12 files DWARF-compressing 12 files sepdebugcrcfix: Updated 12 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/dvbstream-0.6-1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/dvbstream/xfm.sh is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib64/dvbstream/cnn.sh is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib64/dvbstream/itn.sh is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib64/dvbstream/virgin.sh is executable but has no shebang, removing executable bit + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/SPECPARTS/rpm-debuginfo.specpart Processing files: dvbstream-0.6-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RxDW65 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + cd dvbstream-cvs + DOCDIR=/home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/share/doc/dvbstream + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/share/doc/dvbstream + cp -pr /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/dvbstream-cvs/README /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/share/doc/dvbstream + cp -pr /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/dvbstream-cvs/COPYING /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/share/doc/dvbstream + cp -pr /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/dvbstream-cvs/CHANGES /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/share/doc/dvbstream + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_dumprtp-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_dumprtp-fin2 warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_dumprtp-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_dumprtp-uk warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_rtpfeed-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_rtpfeed-fin2 warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_rtpfeed-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_rtpfeed-uk warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_ts_filter-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_ts_filter-fin2 warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_ts_filter-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_ts_filter-uk Provides: dvbstream = 0.6-1.mga10 dvbstream(x86-64) = 0.6-1.mga10 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh update-alternatives Requires(postun): /bin/sh update-alternatives Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) perl(Getopt::Std) perl(Socket) perl-base >= 2:5.40.1 Processing files: dvbstream-debugsource-0.6-1.mga10.x86_64 Provides: dvbstream-debugsource = 0.6-1.mga10 dvbstream-debugsource(x86-64) = 0.6-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dvbstream-debuginfo-0.6-1.mga10.x86_64 warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_dumprtp-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_dumprtp-fin2-0.6-1.mga10.x86_64.debug warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_dumprtp-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_dumprtp-uk-0.6-1.mga10.x86_64.debug warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_rtpfeed-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_rtpfeed-fin2-0.6-1.mga10.x86_64.debug warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_rtpfeed-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_rtpfeed-uk-0.6-1.mga10.x86_64.debug warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_ts_filter-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_ts_filter-fin2-0.6-1.mga10.x86_64.debug warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_ts_filter-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_ts_filter-uk-0.6-1.mga10.x86_64.debug Provides: debuginfo(build-id) = 1a42d7f3fb120b9932e0d6fc54fc0ae50722b20d debuginfo(build-id) = 20798a58e5f69a8ce57e04bdb52111f089f5a9ac debuginfo(build-id) = 8683ebb3df2151675dade422badc8a0a7e188183 debuginfo(build-id) = 8adc00d9648cf668a86d8cc1137bc4aa7cdf3578 debuginfo(build-id) = a16d41c953873838aba9a1364fae1e5a8d0d3d35 debuginfo(build-id) = da67c6475e0225cd527ce04af7b0178f29f97512 debuginfo(build-id) = nilnil dvbstream-debuginfo = 0.6-1.mga10 dvbstream-debuginfo(x86-64) = 0.6-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dvbstream-debugsource(x86-64) = 0.6-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/dvbstream-0.6-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/dvbstream-debugsource-0.6-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/dvbstream-debuginfo-0.6-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0mj9eE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + test -d /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + rm -rf /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_dumprtp-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_dumprtp-fin2 Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_dumprtp-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_dumprtp-uk Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_rtpfeed-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_rtpfeed-fin2 Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_rtpfeed-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_rtpfeed-uk Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_ts_filter-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_ts_filter-fin2 Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_ts_filter-fin and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/bin/dvb_ts_filter-uk Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_dumprtp-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_dumprtp-fin2-0.6-1.mga10.x86_64.debug Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_dumprtp-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_dumprtp-uk-0.6-1.mga10.x86_64.debug Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_rtpfeed-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_rtpfeed-fin2-0.6-1.mga10.x86_64.debug Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_rtpfeed-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_rtpfeed-uk-0.6-1.mga10.x86_64.debug Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_ts_filter-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_ts_filter-fin2-0.6-1.mga10.x86_64.debug Duplicate build-ids /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_ts_filter-fin-0.6-1.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/dvbstream-0.6-build/BUILDROOT/usr/lib/debug/usr/bin/dvb_ts_filter-uk-0.6-1.mga10.x86_64.debug D: [iurt_root_command] Success!