+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ogmtools.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: bogus date in %changelog: Thu Dec 16 2008 Gianluca Sforna - 1.5-4 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lx2TyJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ogmtools-1.5 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ogmtools-1.5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ogmtools-1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ogmtools-1.5-optflags.patch):' Patch #0 (ogmtools-1.5-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure + iconv -f iso8859-1 -t utf8 ChangeLog -o ChangeLog.txt + touch -r ChangeLog ChangeLog.txt + mv ChangeLog.txt ChangeLog + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GE0TEn + umask 022 + cd /builddir/build/BUILD + cd ogmtools-1.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for Ogg... yes checking for Vorbis... yes checking for DVDOpen in -ldvdread... yes checking for /usr/include/dvdread/dvd_reader.h... yes checking for fseeko... yes checking for ANSI C header files... yes configure: creating ./config.status config.status: creating Makefile config.status: creating avilib/Makefile config.status: executing depfiles commands + make -j4 Making all in avilib make[1]: Entering directory '/builddir/build/BUILD/ogmtools-1.5/avilib' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -O3 -funroll-loops -ffast-math -DLINUX -Wall -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'avilib.c' || echo './'`avilib.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -O3 -funroll-loops -ffast-math -DLINUX -Wall -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'avidump.c' || echo './'`avidump.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -O3 -funroll-loops -ffast-math -DLINUX -Wall -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'avimisc.c' || echo './'`avimisc.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -O3 -funroll-loops -ffast-math -DLINUX -Wall -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'xio.c' || echo './'`xio.c avidump.c: In function 'dump_vals': avidump.c:336:32: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t {aka long int}' [-Wformat=] printf("\t%-12s = 0x%016llx\n",names[i].name,val64); ~~~~~~^ %016lx avilib.c: In function 'avi_ixnn_entry': avilib.c:213:26: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^ avilib.c:245:5: note: in expansion of macro 'OUTD' OUTD(ch->nEntriesInUse); ^~~~ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c:213:26: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^ avilib.c:247:5: note: in expansion of macro 'OUTD' OUTD(ch->qwBaseOffset&0xffffffff); ^~~~ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c:213:26: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^ avilib.c:248:5: note: in expansion of macro 'OUTD' OUTD((ch->qwBaseOffset>>32)&0xffffffff); ^~~~ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c:213:26: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^ avilib.c:249:5: note: in expansion of macro 'OUTD' OUTD(ch->dwReserved3); ^~~~ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c:213:26: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^ avilib.c:252:2: note: in expansion of macro 'OUTD' OUTD(ch->aIndex[k].dwOffset); ^~~~ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c:213:26: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^ avilib.c:253:2: note: in expansion of macro 'OUTD' OUTD(ch->aIndex[k].dwSize); ^~~~ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c:256:25: warning: pointer targets in passing argument 2 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] avi_add_chunk (AVI, ch->fcc, ix00, max); ^~ avilib.c:181:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) ^~~~~~~~~~~~~ avilib.c:256:34: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] avi_add_chunk (AVI, ch->fcc, ix00, max); ^~~~ avilib.c:181:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) ^~~~~~~~~~~~~ avidump.c: In function 'ProcessChunk': avidump.c:623:34: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t {aka long int}' [-Wformat=] printf("\t\t [%6ld] 0x%016llx 0x%08lx %8d\n", u++, offset, size, ~~~~~~^ %016lx avilib.c: In function 'avi_add_odml_index_entry': avilib.c:372:26: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] int audio = (strchr (tag, 'w')?1:0); ^~~ In file included from avilib.h:38:0, from avilib.c:30: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ avilib.c:382:36: warning: pointer targets in passing argument 2 of 'avi_init_super_index' differ in signedness [-Wpointer-sign] if (avi_init_super_index(AVI, "ix00", &AVI->video_superindex) < 0) return -1; ^~~~~~ avilib.c:268:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) ^~~~~~~~~~~~~~~~~~~~ avilib.c:386:34: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) ^~~~~~ avilib.c:312:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, ^~~~~~~~~~~~~~~~~ avilib.c:386:42: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) ^~~~~~ avilib.c:312:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, ^~~~~~~~~~~~~~~~~ avilib.c:400:36: warning: pointer targets in passing argument 2 of 'avi_init_super_index' differ in signedness [-Wpointer-sign] if (avi_init_super_index(AVI, fcc, &AVI->track[AVI->aptr].audio_superindex) < 0) return -1; ^~~ avilib.c:268:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) ^~~~~~~~~~~~~~~~~~~~ avidump.c:474:11: warning: variable 'tt' set but not used [-Wunused-but-set-variable] off_t tt; ^~ avilib.c:406:34: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] if (avi_add_std_index (AVI, fcc, tag, AVI->track[AVI->aptr].audio_superindex->stdindex[ ^~~ avilib.c:312:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, ^~~~~~~~~~~~~~~~~ avilib.c:447:23: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t {aka long int}' [-Wformat=] fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c:449:35: cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); ~~~~~~~~ avilib.c:448:15: note: format string is defined here "POS=%lld towrite=%lld\n", ~~~^ %ld avilib.c:447:23: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c:448:28: note: format string is defined here "POS=%lld towrite=%lld\n", ~~~^ %ld avilib.c:453:30: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) ^~~~~~ avilib.c:312:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, ^~~~~~~~~~~~~~~~~ avilib.c:453:38: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) ^~~~~~ avilib.c:312:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, ^~~~~~~~~~~~~~~~~ avilib.c:466:34: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ ^~~ avilib.c:312:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, ^~~~~~~~~~~~~~~~~ avilib.c:466:39: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ ^~~ avilib.c:312:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, ^~~~~~~~~~~~~~~~~ avilib.c:503:50: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] avi_add_chunk(AVI, (unsigned char *)"RIFF", "AVIXLIST\0\0\0\0movi", 16); ^~~~~~~~~~~~~~~~~~~~~~ avilib.c:181:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) ^~~~~~~~~~~~~ avilib.c: In function 'avi_parse_comments': avilib.c:1083:15: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] long2str(buf+len, k+1); len += 4; ^~~ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c:1013:16: warning: variable 'readlen' set but not used [-Wunused-but-set-variable] int len=0, readlen=0, k; ^~~~~~~ avilib.c: In function 'avi_close_output_file': avilib.c:1600:52: warning: pointer targets in passing argument 2 of 'avi_parse_comments' differ in signedness [-Wpointer-sign] info_len = avi_parse_comments (AVI->comment_fd, AVI_header+nhb, HEADERBYTES - nhb - 8 - 12); ^~~~~~~~~~ avilib.c:1011:12: note: expected 'char *' but argument is of type 'unsigned char *' static int avi_parse_comments (int fd, char *buf, int space_left) ^~~~~~~~~~~~~~~~~~ avilib.c:1669:15: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] long2str(f, len); ^ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c:1675:15: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] long2str(f, len); ^ avilib.c:115:13: note: expected 'unsigned char *' but argument is of type 'char *' static void long2str(unsigned char *dst, int32_t n) ^~~~~~~~ avilib.c: In function 'avi_write_data': avilib.c:1733:50: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] n = avi_add_chunk(AVI,(unsigned char *)astr,data,length); ^~~~ avilib.c:181:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) ^~~~~~~~~~~~~ avilib.c:1735:52: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] n = avi_add_chunk(AVI,(unsigned char *)"00db",data,length); ^~~~ avilib.c:181:12: note: expected 'unsigned char *' but argument is of type 'char *' static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) ^~~~~~~~~~~~~ avilib.c: In function 'avi_parse_input_file': avilib.c:2359:32: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if (strncasecmp (hdrl_data+i,"iavs",4) ==0 && ! auds_strh_seen) { ^~~~~~~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c:2367:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if(strncasecmp(hdrl_data+i,"dmlh",4) == 0) { ^~~~~~~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c:2444:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if(strncasecmp(hdrl_data+i,"indx",4) == 0) { ^~~~~~~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c:2451:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] a = hdrl_data+i; ^ avilib.c:2455:48: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->video_superindex->dwSize = str2ulong(a); a += 4; ^ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2456:57: warning: pointer targets in passing argument 1 of 'str2ushort' differ in signedness [-Wpointer-sign] AVI->video_superindex->wLongsPerEntry = str2ushort(a); a += 2; ^ avilib.c:145:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ushort(unsigned char *str) ^~~~~~~~~~ avilib.c:2459:55: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->video_superindex->nEntriesInUse = str2ulong(a); a += 4; ^ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2472:65: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] AVI->video_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; ^ avilib.c:134:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint64_t str2ullong(unsigned char *str) ^~~~~~~~~~ avilib.c:2473:62: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->video_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; ^ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2474:66: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->video_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; ^ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2504:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] a = hdrl_data+i; ^ avilib.c:2508:65: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->track[AVI->aptr].audio_superindex->dwSize = str2ulong(a); a += 4; ^ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2509:74: warning: pointer targets in passing argument 1 of 'str2ushort' differ in signedness [-Wpointer-sign] AVI->track[AVI->aptr].audio_superindex->wLongsPerEntry = str2ushort(a); a += 2; ^ avilib.c:145:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ushort(unsigned char *str) ^~~~~~~~~~ avilib.c:2512:72: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->track[AVI->aptr].audio_superindex->nEntriesInUse = str2ulong(a); a += 4; ^ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2526:82: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] AVI->track[AVI->aptr].audio_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; ^ avilib.c:134:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint64_t str2ullong(unsigned char *str) ^~~~~~~~~~ avilib.c:2527:79: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->track[AVI->aptr].audio_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; ^ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2528:83: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->track[AVI->aptr].audio_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; ^ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2552:28: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] else if((strncasecmp(hdrl_data+i,"JUNK",4) == 0) || ^~~~~~~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c:2553:28: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] (strncasecmp(hdrl_data+i,"strn",4) == 0) || ^~~~~~~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c:2554:28: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] (strncasecmp(hdrl_data+i,"vprp",4) == 0)){ ^~~~~~~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c:2724:25: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] nrEntries = str2ulong(en + 12); ^~ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2728:23: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] offset = str2ullong(en + 20); ^~ avilib.c:134:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint64_t str2ullong(unsigned char *str) ^~~~~~~~~~ avilib.c:2741:51: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->video_index[k].pos = offset + str2ulong(en); en += 4; ^~ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2742:46: warning: pointer targets in passing argument 1 of 'str2ulong_len' differ in signedness [-Wpointer-sign] AVI->video_index[k].len = str2ulong_len(en); ^~ avilib.c:151:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong_len (unsigned char *str) ^~~~~~~~~~~~~ avilib.c:2743:46: warning: pointer targets in passing argument 1 of 'str2ulong_key' differ in signedness [-Wpointer-sign] AVI->video_index[k].key = str2ulong_key(en); en += 4; ^~ avilib.c:158:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong_key (unsigned char *str) ^~~~~~~~~~~~~ avilib.c:2803:28: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] nrEntries = str2ulong(en + 12); ^~ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2808:26: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] offset = str2ullong(en + 20); ^~ avilib.c:134:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint64_t str2ullong(unsigned char *str) ^~~~~~~~~~ avilib.c:2817:67: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] AVI->track[audtr].audio_index[k].pos = offset + str2ulong(en); en += 4; ^~ avilib.c:141:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong(unsigned char *str) ^~~~~~~~~ avilib.c:2818:62: warning: pointer targets in passing argument 1 of 'str2ulong_len' differ in signedness [-Wpointer-sign] AVI->track[audtr].audio_index[k].len = str2ulong_len(en); en += 4; ^~ avilib.c:151:17: note: expected 'unsigned char *' but argument is of type 'char *' static uint32_t str2ulong_len (unsigned char *str) ^~~~~~~~~~~~~ avilib.c: In function 'AVI_read_audio': avilib.c:3292:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); ~~~^ %ld avilib.c:3292:45: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); ~~~^ %ld avilib.c: In function 'AVI_read_wave_header': avilib.c:3527:21: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if( strncasecmp(wave->riff.id , "RIFF",4) != 0 || ^~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c:3528:14: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] strncasecmp(wave->riff.wave_id, "WAVE",4) != 0 || ^~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c:3529:14: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] strncasecmp(wave->format.id , "fmt ",4) != 0 ) ^~~~ In file included from /usr/include/string.h:431:0, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:12: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ avilib.c: In function 'avi_parse_index_from_file': avilib.c:2112:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(data, 100, fd); ^~~~~~~~~~~~~~~~~~~~ avilib.c:2120:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(data, 100, fd); ^~~~~~~~~~~~~~~~~~~~ rm -f libavi.a ar cru libavi.a avilib.o avidump.o avimisc.o xio.o ranlib libavi.a make[1]: Leaving directory '/builddir/build/BUILD/ogmtools-1.5/avilib' make[1]: Entering directory '/builddir/build/BUILD/ogmtools-1.5' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ogmmerge.o `test -f 'ogmmerge.cpp' || echo './'`ogmmerge.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o r_avi.o `test -f 'r_avi.cpp' || echo './'`r_avi.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o r_ogm.o `test -f 'r_ogm.cpp' || echo './'`r_ogm.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o r_ac3.o `test -f 'r_ac3.cpp' || echo './'`r_ac3.cpp In file included from r_ogm.cpp:26:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from r_ogm.cpp:27:0: r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char *nfourcc) throw (error_c); ^~~~~ In file included from r_ac3.cpp:25:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from r_ogm.cpp:28:0: p_vorbis.h:40:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error_c); ^~~~~ In file included from r_ogm.cpp:29:0: p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from r_ac3.h:26:0, from r_ac3.cpp:26: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from r_ogm.cpp:30:0: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from r_ogm.cpp:31:0: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from r_ac3.cpp:26:0: r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from r_ogm.cpp:32:0: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from r_ogm.cpp:33:0: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ r_ac3.cpp:58:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c) { ^~~~~ r_ac3.cpp: In constructor 'ac3_reader_c::ac3_reader_c(char*, audio_sync_t*, range_t*, char**)': r_ac3.cpp:64:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ac3_reader: Could not open source file."); ^ r_ac3.cpp:66:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ac3_reader: Could not seek to end of file."); ^ r_ogm.cpp:63:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments, char *nfourcc) throw (error_c) { ^~~~~ r_ogm.cpp: In constructor 'ogm_reader_c::ogm_reader_c(char*, unsigned char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*)': r_ogm.cpp:67:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ogm_reader: Could not open source file."); ^ r_ac3.cpp:69:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ac3_reader: Could not seek to beginning of file."); ^ r_ac3.cpp:74:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ac3_reader: Could not read 4096 bytes."); ^ r_ogm.cpp:69:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ogm_reader: Could not seek to end of file."); ^ r_ac3.cpp:76:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ac3_reader: Could not seek to beginning of file."); ^ r_ac3.cpp:80:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "4096 bytes.\n"); ^ r_ogm.cpp:72:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ogm_reader: Could not seek to beginning of file."); ^ r_ogm.cpp:74:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("ogm_reader: Source is not a valid OGG media file."); ^ r_ac3.cpp: In member function 'virtual void ac3_reader_c::display_progress()': r_ac3.cpp:145:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] bytes_processed, size, ~~~~~~~~~~~~~~~ (int)(bytes_processed * 100L / size)); ^ r_ac3.cpp:145:47: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t {aka long int}' [-Wformat=] In file included from r_avi.cpp:28:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from r_avi.h:31:0, from r_avi.cpp:29: p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from r_avi.cpp:29:0: r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char* nav_seek) throw (error_c); ^~~~~ In file included from r_avi.cpp:31:0: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from r_avi.cpp:32:0: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from r_avi.cpp:33:0: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ r_avi.cpp:58:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char* nav_seek) throw (error_c) { ^~~~~ r_avi.cpp: In constructor 'avi_reader_c::avi_reader_c(char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*, char*)': r_avi.cpp:67:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("avi_reader: fname == NULL !?"); ^ r_avi.cpp:70:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("avi_reader: Could not open source file."); ^ r_avi.cpp:72:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("avi_reader: Could not seek to end of file."); ^ r_avi.cpp:75:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("avi_reader: Could not seek to beginning of file."); ^ r_avi.cpp:77:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("avi_reader: Source is not a valid AVI file."); ^ In file included from ogmmerge.cpp:29:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from ogmmerge.cpp:30:0: r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char *nfourcc) throw (error_c); ^~~~~ In file included from r_avi.h:31:0, from ogmmerge.cpp:31: p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from ogmmerge.cpp:31:0: r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char* nav_seek) throw (error_c); ^~~~~ In file included from r_wav.h:31:0, from ogmmerge.cpp:32: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from ogmmerge.cpp:32:0: r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from r_srt.h:27:0, from ogmmerge.cpp:33: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from ogmmerge.cpp:33:0: r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from r_mp3.h:31:0, from ogmmerge.cpp:34: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from ogmmerge.cpp:34:0: r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from r_ac3.h:26:0, from ogmmerge.cpp:35: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from ogmmerge.cpp:35:0: r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from ogmmerge.cpp:36:0: r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] {NULL, -1, NULL}}; ^ ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp:107:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ogmmerge.cpp: In function 'int main(int, char**)': ogmmerge.cpp:973:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((result = write_ogg_page(mpage, "header ", file)) != 0) ^ ogmmerge.cpp:1009:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((result = write_ogg_page(mpage, "comment ", file)) != 0) ^ ogmmerge.cpp:1071:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((result = write_ogg_page(mpage, "", winner)) != 0) ^ ogmmerge.cpp:930:13: warning: variable 'page' set but not used [-Wunused-but-set-variable] ogg_page *page; ^~~~ ogmmerge.cpp:935:7: warning: ignoring return value of 'int nice(int)', declared with attribute warn_unused_result [-Wunused-result] nice(2); ~~~~^~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o r_mp3.o `test -f 'r_mp3.cpp' || echo './'`r_mp3.cpp r_ogm.cpp: In member function 'virtual void ogm_reader_c::process_page(ogg_page*)': r_ogm.cpp:651:22: warning: 'lenbytes' may be used uninitialized in this function [-Wmaybe-uninitialized] ((textsubs_packetizer_c *)dmx->packetizer)-> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ process(op.granulepos, op.granulepos + lenbytes, subs, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ op.e_o_s); ~~~~~~~~~ r_avi.cpp: In member function 'virtual int avi_reader_c::read()': r_avi.cpp:400:7: warning: 'nread' may be used uninitialized in this function [-Wmaybe-uninitialized] if (nread > 0) { ^~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o r_wav.o `test -f 'r_wav.cpp' || echo './'`r_wav.cpp In file included from r_mp3.cpp:26:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from r_mp3.h:31:0, from r_mp3.cpp:27: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ In file included from r_mp3.cpp:27:0: r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ r_mp3.cpp:63:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c) { ^~~~~ r_mp3.cpp: In constructor 'mp3_reader_c::mp3_reader_c(char*, audio_sync_t*, range_t*, char**)': r_mp3.cpp:70:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("mp3_reader: Could not open source file."); ^ r_mp3.cpp:72:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("mp3_reader: Could not seek to end of file."); ^ r_mp3.cpp:75:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("mp3_reader: Could not seek to beginning of file."); ^ r_mp3.cpp:80:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("mp3_reader: Could not read 4096 bytes."); ^ r_mp3.cpp:82:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("mp3_reader: Could not seek to beginning of file."); ^ r_mp3.cpp:86:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "4096 bytes.\n"); ^ r_mp3.cpp: In member function 'virtual void mp3_reader_c::display_progress()': r_mp3.cpp:154:47: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] bytes_processed, size, ~~~~~~~~~~~~~~~ (int)(bytes_processed * 100L / size)); ^ r_mp3.cpp:154:47: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t {aka long int}' [-Wformat=] g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o r_microdvd.o `test -f 'r_microdvd.cpp' || echo './'`r_microdvd.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o r_srt.o `test -f 'r_srt.cpp' || echo './'`r_srt.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o r_vobsub.o `test -f 'r_vobsub.cpp' || echo './'`r_vobsub.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o p_video.o `test -f 'p_video.cpp' || echo './'`p_video.cpp In file included from r_microdvd.cpp:27:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from r_microdvd.h:27:0, from r_microdvd.cpp:28: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from r_microdvd.cpp:28:0: r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from r_wav.cpp:31:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from r_wav.h:31:0, from r_wav.cpp:32: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ r_microdvd.cpp:59:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error_c) { ^~~~~ In file included from r_wav.cpp:32:0: r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ r_microdvd.cpp: In constructor 'microdvd_reader_c::microdvd_reader_c(char*, audio_sync_t*, range_t*, char**)': r_microdvd.cpp:61:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("microdvd_reader: Could not open source file."); ^ r_microdvd.cpp:63:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("microdvd_reader: Source is not a valid MicroDVD file."); ^ r_wav.cpp:53:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c) { ^~~~~ r_wav.cpp: In constructor 'wav_reader_c::wav_reader_c(char*, audio_sync_t*, range_t*, char**)': r_wav.cpp:59:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("wav_reader: Could not open source file."); ^ r_wav.cpp:61:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("wav_reader: Could not seek to end of file."); ^ r_wav.cpp:64:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("wav_reader: Could not seek to beginning of file."); ^ r_wav.cpp:66:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("wav_reader: Source is not a valid WAVE file."); ^ r_wav.cpp:68:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("wav_reader: could not read WAVE header."); ^ In file included from r_srt.cpp:27:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from r_srt.h:27:0, from r_srt.cpp:28: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ In file included from r_srt.cpp:28:0: r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ r_srt.cpp:65:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c) { ^~~~~ r_srt.cpp: In constructor 'srt_reader_c::srt_reader_c(char*, audio_sync_t*, range_t*, char**)': r_srt.cpp:67:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("srt_reader: Could not open source file."); ^ r_srt.cpp:69:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw error_c("srt_reader: Source is not a valid SRT file."); ^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o p_index.o `test -f 'p_index.cpp' || echo './'`p_index.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o p_ac3.o `test -f 'p_ac3.cpp' || echo './'`p_ac3.cpp In file included from p_video.cpp:26:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from p_video.cpp:27:0: p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ p_video.cpp:34:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error_c) : q_c() { ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o p_mp3.o `test -f 'p_mp3.cpp' || echo './'`p_mp3.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o p_pcm.o `test -f 'p_pcm.cpp' || echo './'`p_pcm.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o p_vorbis.o `test -f 'p_vorbis.cpp' || echo './'`p_vorbis.cpp In file included from p_ac3.cpp:25:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from p_ac3.cpp:27:0: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ p_ac3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c) : q_c() { ^~~~~ In file included from p_mp3.cpp:25:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from p_mp3.cpp:27:0: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ p_mp3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c) : q_c() { ^~~~~ p_mp3.cpp: In member function 'virtual int mp3_packetizer_c::process(char*, int, int)': p_mp3.cpp:236:52: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] "packet number %lld)\n", packetno - 2); ~~~~~~~~~~~~^ In file included from p_pcm.cpp:25:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from p_pcm.cpp:26:0: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] range_t *nrange, char **ncomments) throw (error_c); ^~~~~ p_pcm.cpp:32:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c) : q_c() { ^~~~~ In file included from p_vorbis.cpp:27:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from p_vorbis.cpp:28:0: r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char *nfourcc) throw (error_c); ^~~~~ In file included from p_vorbis.cpp:29:0: p_vorbis.h:40:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error_c); ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o p_textsubs.o `test -f 'p_textsubs.cpp' || echo './'`p_textsubs.cpp p_vorbis.cpp:33:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c) ^~~~~ p_vorbis.cpp: In member function 'virtual int vorbis_packetizer_c::encode_silence(int)': p_vorbis.cpp:94:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, log.header, log.header_len); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_vorbis.cpp:95:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, log.body, log.body_len); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_vorbis.cpp:115:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, log.header, log.header_len); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_vorbis.cpp:116:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, log.body, log.body_len); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o p_vobsub.o `test -f 'p_vobsub.cpp' || echo './'`p_vobsub.cpp gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'ac3_common.c' || echo './'`ac3_common.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'mp3_common.c' || echo './'`mp3_common.c g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o subtitles.o `test -f 'subtitles.cpp' || echo './'`subtitles.cpp In file included from p_textsubs.cpp:25:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from p_textsubs.cpp:27:0: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ p_textsubs.cpp:32:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error_c) : q_c() { ^~~~~ In file included from p_vobsub.cpp:25:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o queue.o `test -f 'queue.cpp' || echo './'`queue.cpp gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'vorbis_header_utils.c' || echo './'`vorbis_header_utils.c g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o generic.o `test -f 'generic.cpp' || echo './'`generic.cpp In file included from p_textsubs.h:21:0, from subtitles.h:23, from subtitles.cpp:22: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ In file included from subtitles.h:23:0, from subtitles.cpp:22: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] char **ncomments) throw (error_c); ^~~~~ subtitles.cpp: In member function 'int subtitles_c::check()': subtitles.cpp:88:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:80:17: current->end / (60 * 60 * 1000), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:88:27: short_subs); ^ subtitles.cpp:88:27: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:88:27: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:88:27: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:88:27: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:88:27: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:88:27: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:88:27: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:119:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:111:17: current->start / (60 * 60 * 1000), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:119:27: short_subs); ^ subtitles.cpp:119:27: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:119:27: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:119:27: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:119:27: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:119:27: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:119:27: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'ogg_int64_t {aka long int}' [-Wformat=] subtitles.cpp:119:27: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t {aka long int}' [-Wformat=] In file included from queue.cpp:22:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ queue.cpp:24:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c::q_c() throw (error_c) : generic_packetizer_c() { ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'common.c' || echo './'`common.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'ogmdemux.c' || echo './'`ogmdemux.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'ogminfo.c' || echo './'`ogminfo.c ogmdemux.c: In function 'process_ogm': ogmdemux.c:355:42: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ((pack.bytes >= 7) && ! strncmp(&pack.packet[1], "vorbis", 6)) { ^ In file included from ogmdemux.c:15:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ogmdemux.c:384:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, ~^ %ld strlen(basename) + 20); ~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c:413:27: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp(&pack.packet[1],"Direct Show Samples embedded in " ^ In file included from ogmdemux.c:15:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ogmdemux.c:460:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, ~^ %ld strlen(basename) + 20); ~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c:502:29: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(stdout, "(%s) (a%d/%d) codec: %d (0x%04x) (%s), bits per " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c:510:21: get_uint64(&sth.samples_per_unit)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c:503:71: note: format string is defined here "sample: %d channels: %hd samples per second: %lld", ~~~^ %ld ogmdemux.c:526:19: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(stream->wh.riff.id, "RIFF", 4); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/errno.h:25, from ogmdemux.c:11: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ogmdemux.c:527:19: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(stream->wh.riff.wave_id, "WAVE", 4); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/errno.h:25, from ogmdemux.c:11: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ogmdemux.c:528:19: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(stream->wh.format.id, "fmt ", 4); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/errno.h:25, from ogmdemux.c:11: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ogmdemux.c:542:19: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(stream->wh.data.id, "data", 4); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/errno.h:25, from ogmdemux.c:11: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ogmdemux.c:547:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, ~^ %ld strlen(basename) + 30); ~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c:595:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, ~^ %ld strlen(basename) + 10); ~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c: In function 'main': ogmdemux.c:713:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] xaudio = (char *)malloc(1); ^ ogmdemux.c:714:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] xvideo = (char *)malloc(1); ^ ogmdemux.c:715:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] xtext = (char *)malloc(1); ^ ogmdemux.c:755:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] l = strlen(xaudio); ^~~~~~ In file included from ogmdemux.c:15:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ogmdemux.c:774:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] l = strlen(xvideo); ^~~~~~ In file included from ogmdemux.c:15:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ ogmdemux.c:793:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] l = strlen(xtext); ^~~~~ In file included from ogmdemux.c:15:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ogmsplit.o `test -f 'ogmsplit.cpp' || echo './'`ogmsplit.cpp ogmdemux.c: In function 'process_ogm': ogmdemux.c:566:15: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(stream->fd, &stream->wh, sizeof(stream->wh)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c:688:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(stream->fd, &stream->wh, sizeof(stream->wh)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c: In function 'main': ogmdemux.c:711:3: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice(2); ^~~~~~~ generic.cpp: In function 'vorbis_comment* chapter_information_adjust(vorbis_comment*, double, double)': generic.cpp:168:17: warning: '%03d' directive writing between 3 and 4 bytes into a region of size between 0 and 5 [-Wformat-overflow=] vorbis_comment *chapter_information_adjust(vorbis_comment *vc, double start, ^~~~~~~~~~~~~~~~~~~~~~~~~~ generic.cpp:168:17: note: directive argument in the range [-999, 999] In file included from /usr/include/stdio.h:862:0, from ogmmerge.h:20, from generic.cpp:23: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 23 and 37 bytes into a destination of size 24 __bos (__s), __fmt, __va_arg_pack ()); ^ ogminfo.c: In function 'dump_streamheader': ogminfo.c:114:19: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(stdout, "(%s) (%c%d/serial %d) Full stream_header dump: {" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:122:11: get_uint64(&sth->time_unit), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:116:27: note: format string is defined here "time_unit = %lld, samples_per_unit = %lld, default_len = %d, " ~~~^ %ld ogminfo.c:114:19: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(stdout, "(%s) (%c%d/serial %d) Full stream_header dump: {" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:123:11: get_uint64(&sth->samples_per_unit), get_uint32(&sth->default_len), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:116:52: note: format string is defined here "time_unit = %lld, samples_per_unit = %lld, default_len = %d, " ~~~^ %ld ogminfo.c: In function 'handle_packet': ogminfo.c:173:36: warning: pointer targets in passing argument 2 of 'vorbis_unpack_comment' differ in signedness [-Wpointer-sign] if (vorbis_unpack_comment(&vc, pack->packet, pack->bytes) != 0) ^~~~ In file included from ogminfo.c:25:0: vorbis_header_utils.h:11:5: note: expected 'char *' but argument is of type 'unsigned char *' int vorbis_unpack_comment(vorbis_comment *vc, char *buf, int len); ^~~~~~~~~~~~~~~~~~~~~ ogminfo.c:193:62: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t {aka long int}' [-Wformat=] fprintf(stdout, "(%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ", ~~~~~~^ % 10ld __FILE__, stream->sno, pack->bytes, ogg_page_granulepos(page), ~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:193:75: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t {aka long int}' [-Wformat=] fprintf(stdout, "(%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ", ~~~~~~^ % 10ld ogminfo.c:195:14: pack->packetno); ~~~~~~~~~~~~~~ ogminfo.c:223:65: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t {aka long int}' [-Wformat=] fprintf(stdout, "(%s) %c%d: % 7ld bytes granulepos: % 10lld pno: % " ~~~~~~^ % 10ld ogminfo.c:225:15: ogg_page_granulepos(page), pack->packetno); ~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:223:23: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'ogg_int64_t {aka long int}' [-Wformat=] fprintf(stdout, "(%s) %c%d: % 7ld bytes granulepos: % 10lld pno: % " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:225:42: ogg_page_granulepos(page), pack->packetno); ~~~~~~~~~~~~~~ ogminfo.c:224:20: note: format string is defined here fprintf(stdout, "(%s) %c%d: % 7ld bytes granulepos: % 10lld pno: % " ~~~ "10lld ", __FILE__, stream->stype, stream->sno, n, ~~~~~^ ogminfo.c: In function 'process_ogm': ogminfo.c:287:49: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'long int' [-Wformat=] fprintf(stdout, "(%s) NEW PAGE pos: % 12lld, len: % 12ld, body_len: " ~~~~~~^ % 12ld "% 12ld\n", __FILE__, pagebytesread - pageseek, pageseek, ~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:299:40: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ((pack.bytes >= 7) && ! strncmp(&pack.packet[1], "vorbis", 6)) { ^ In file included from ogminfo.c:15:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ogminfo.c:325:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp(&pack.packet[1],"Direct Show Samples embedded in Ogg", ^ In file included from ogminfo.c:15:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ogminfo.c:378:25: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(stdout, "(%s) (a%d/serial %d) codec: %d (0x%04x) (%s) bits " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:387:17: get_uint64(&sth.samples_per_unit), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:379:70: note: format string is defined here "per sample: %d channels: %d samples per second: %lld" ~~~^ %ld ogminfo.c:468:57: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'long int' [-Wformat=] fprintf(stdout, "(%s) %c%d: NEW PAGE pos: % 12lld, len: % 12ld, " ~~~~~~^ % 12ld ogminfo.c:470:55: __FILE__, stream->stype, stream->sno, pagebytesread - pageseek, ~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:510:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] fprintf(stdout, "(%s) (%c%d/serial %d) stream size: %llu bytes (%.3f " ~~~^ %lu ogminfo.c:513:31: stream->serial, stream->size, ~~~~~~~~~~~~ ogminfo.c:510:23: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t {aka long int}' [-Wformat=] fprintf(stdout, "(%s) (%c%d/serial %d) stream size: %llu bytes (%.3f " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:516:15: stream->num_packets, now * 1000.0); ~~~~~~~~~~~~~~~~~~~ ogminfo.c:511:58: note: format string is defined here "kbit/s, %.3f KB/s), number of packets: %lld, length in " ~~~^ %ld ogminfo.c: In function 'main': ogminfo.c:525:3: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice(2); ^~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ogmcat.o `test -f 'ogmcat.cpp' || echo './'`ogmcat.cpp In file included from ogmsplit.cpp:28:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ ogmsplit.cpp: In function 'void print_progress(ogg_int64_t, ogg_int64_t, char*)': ogmsplit.cpp:193:46: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] current, num, current * 100 / num); ^ ogmsplit.cpp:193:46: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmsplit.cpp:193:46: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmsplit.cpp:196:46: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] current, num, current * 100 / num); ^ ogmsplit.cpp:196:46: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmsplit.cpp:196:46: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmsplit.cpp: In function 'void process_ogm(int)': ogmsplit.cpp:675:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] print_progress(0, file_size, "bytes"); ^ ogmsplit.cpp:677:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] print_progress(0, vstream->num_frames, "frame"); ^ ogmsplit.cpp:759:40: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmsplit.cpp:754:44: num_splitpoints - 1, stream->granulepos, ~~~~~~~~~~~~~~~~~~ ogmsplit.cpp:759:40: (int)(pts % 1000)); ^ ogmsplit.cpp:759:40: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmsplit.cpp:803:40: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] (int)(sst % 1000)); ^ ogmsplit.cpp:803:40: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmsplit.cpp:847:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] print_progress(stream->cur_frame, stream->num_frames, "frame"); ^ ogmsplit.cpp:882:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] print_progress(bread, file_size, "bytes"); ^ ogmsplit.cpp:907:32: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] (int)(sst % 1000)); ^ ogmsplit.cpp:907:32: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmsplit.cpp:920:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] print_progress(vstream->cur_frame, vstream->num_frames, "frame"); ^ ogmsplit.cpp:924:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] print_progress(file_size, file_size, "bytes"); ^ ogmsplit.cpp: In function 'int main(int, char**)': ogmsplit.cpp:1141:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fout_ext = "ogm"; ^~~~~ ogmsplit.cpp:1162:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t {aka long int}' [-Wformat=] fprintf(stdout, "%lldbytes.\n", split_bytes); ^ ogmsplit.cpp:935:7: warning: ignoring return value of 'int nice(int)', declared with attribute warn_unused_result [-Wunused-result] nice(2); ~~~~^~~ In file included from ogmcat.cpp:27:0: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] q_c() throw (error_c); ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c `test -f 'dvdxchap.c' || echo './'`dvdxchap.c ogmcat.cpp: In function 'void print_progress(ogg_int64_t, ogg_int64_t, char*)': ogmcat.cpp:163:46: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] current, num, current * 100 / num); ^ ogmcat.cpp:163:46: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmcat.cpp:163:46: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmcat.cpp:166:46: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] current, num, current * 100 / num); ^ ogmcat.cpp:166:46: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmcat.cpp:166:46: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t {aka long int}' [-Wformat=] ogmcat.cpp: In function 'void check_all_sources()': ogmcat.cpp:639:62: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] get_uint64(&str->sth.samples_per_unit), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_uint64(&stream->sth.samples_per_unit)); ^ ogmcat.cpp:639:62: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] ogmcat.cpp:674:55: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] get_uint64(&str->sth.time_unit), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_uint64(&stream->sth.time_unit)); ^ ogmcat.cpp:674:55: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] ogmcat.cpp: In function 'void process_ogms()': ogmcat.cpp:816:62: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] stream->packetno, (int)pack.packet[0]); ~~~~~~~~~~~~~~~~ ^ ogmcat.cpp:871:42: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t {aka long int}' [-Wformat=] stream->this_granulepos); ~~~~~~~~~~~~~~~~~~~~~~~^ ogmcat.cpp:874:72: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t {aka long int}' [-Wformat=] "%lld)", stream->granuleposadd, manual_sync_granule); ~~~~~~~~~~~~~~~~~~~~~ ^ ogmcat.cpp:874:72: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t {aka long int}' [-Wformat=] g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ogmmerge ogmmerge.o r_avi.o r_ogm.o r_ac3.o r_mp3.o r_wav.o r_microdvd.o r_srt.o r_vobsub.o p_video.o p_index.o p_ac3.o p_mp3.o p_pcm.o p_vorbis.o p_textsubs.o p_vobsub.o ac3_common.o mp3_common.o subtitles.o queue.o vorbis_header_utils.o generic.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm -lvorbisenc -Lavilib -lavi gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ogmdemux ogmdemux.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm -Lavilib -lavi gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ogminfo ogminfo.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dvdxchap dvdxchap.o -L/usr/lib -ldvdread -lm ogmcat.cpp:852:58: warning: 'vtime4' may be used uninitialized in this function [-Wmaybe-uninitialized] stream->granuleposadd = (ogg_int64_t)(vtime4 * stream->sample_rate ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:849:58: warning: 'vtime3' may be used uninitialized in this function [-Wmaybe-uninitialized] stream->granuleposadd = (ogg_int64_t)(vtime3 * stream->sample_rate ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:846:58: warning: 'vtime2' may be used uninitialized in this function [-Wmaybe-uninitialized] stream->granuleposadd = (ogg_int64_t)(vtime2 * stream->sample_rate ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ogmsplit ogmsplit.o queue.o generic.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ogmcat ogmcat.o queue.o generic.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm make[1]: Leaving directory '/builddir/build/BUILD/ogmtools-1.5' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aCCG1W + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64 + cd ogmtools-1.5 + rm -rf /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64 Making install in avilib make[1]: Entering directory '/builddir/build/BUILD/ogmtools-1.5/avilib' make[2]: Entering directory '/builddir/build/BUILD/ogmtools-1.5/avilib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ogmtools-1.5/avilib' make[1]: Leaving directory '/builddir/build/BUILD/ogmtools-1.5/avilib' make[1]: Entering directory '/builddir/build/BUILD/ogmtools-1.5' make[2]: Entering directory '/builddir/build/BUILD/ogmtools-1.5' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/bin mkdir -p -- /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/bin /usr/bin/install -c ogmmerge /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/bin/ogmmerge /usr/bin/install -c ogmdemux /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/bin/ogmdemux /usr/bin/install -c ogminfo /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/bin/ogminfo /usr/bin/install -c ogmsplit /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/bin/ogmsplit /usr/bin/install -c ogmcat /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/bin/ogmcat /usr/bin/install -c dvdxchap /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/bin/dvdxchap /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/man/man1 mkdir -p -- /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/man/man1 /usr/bin/install -c -m 644 ./ogmsplit.1 /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/man/man1/ogmsplit.1 /usr/bin/install -c -m 644 ./ogminfo.1 /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/man/man1/ogminfo.1 /usr/bin/install -c -m 644 ./ogmmerge.1 /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/man/man1/ogmmerge.1 /usr/bin/install -c -m 644 ./ogmdemux.1 /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/man/man1/ogmdemux.1 /usr/bin/install -c -m 644 ./ogmcat.1 /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/man/man1/ogmcat.1 /usr/bin/install -c -m 644 ./dvdxchap.1 /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/man/man1/dvdxchap.1 make[2]: Leaving directory '/builddir/build/BUILD/ogmtools-1.5' make[1]: Leaving directory '/builddir/build/BUILD/ogmtools-1.5' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ogmtools-1.5-17.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sAk6cc + umask 022 + cd /builddir/build/BUILD + cd ogmtools-1.5 + DOCDIR=/builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/doc/ogmtools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/doc/ogmtools + cp -pr ChangeLog /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/doc/ogmtools + cp -pr COPYING /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/doc/ogmtools + cp -pr README /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/doc/ogmtools + cp -pr TODO /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64/usr/share/doc/ogmtools + exit 0 Provides: ogmtools = 1.5-17.fc28 ogmtools(riscv-64) = 1.5-17.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdvdread.so.4()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libogg.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libvorbis.so.0()(64bit) libvorbisenc.so.2()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64 Wrote: /builddir/build/SRPMS/ogmtools-1.5-17.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ogmtools-1.5-17.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RrQzeC + umask 022 + cd /builddir/build/BUILD + cd ogmtools-1.5 + rm -rf /builddir/build/BUILDROOT/ogmtools-1.5-17.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff