* Package: media-sound/ogmtools-1.5-r2 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking ogmtools-1.5.tar.bz2 to /var/tmp/portage/media-sound/ogmtools-1.5-r2/work >>> Source unpacked in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work >>> Preparing source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... * Applying ogmtools-1.5-comments.patch ... [ ok ] * Applying ogmtools-1.5-endian-fix.patch ... [ ok ] * Applying ogmtools-1.5-vorbis_verbosity.patch ... [ ok ] * Applying ogmtools-1.5-summary_length.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... * econf: updating ogmtools-1.5/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ogmtools-1.5/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --without-dvdread checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for Ogg... yes checking for Vorbis... 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 >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... make -j4 Making all in avilib make[1]: Entering directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5/avilib' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -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 -c `test -f 'avilib.c' || echo './'`avilib.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -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 -c `test -f 'avidump.c' || echo './'`avidump.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -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 -c `test -f 'avimisc.c' || echo './'`avimisc.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -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 -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’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 336 | printf("\t%-12s = 0x%016llx\n",names[i].name,val64); | ~~~~~~^ ~~~~~ | | | | | off_t {aka long int} | long long unsigned int | %016lx avilib.c: In function ‘avi_ixnn_entry’: avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:245:5: note: in expansion of macro ‘OUTD’ 245 | OUTD(ch->nEntriesInUse); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:247:5: note: in expansion of macro ‘OUTD’ 247 | OUTD(ch->qwBaseOffset&0xffffffff); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ 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’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 623 | printf("\t\t [%6ld] 0x%016llx 0x%08lx %8d\n", u++, offset, size, | ~~~~~~^ ~~~~~~ | | | | long long unsigned int off_t {aka long int} | %016lx avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:248:5: note: in expansion of macro ‘OUTD’ 248 | OUTD((ch->qwBaseOffset>>32)&0xffffffff); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:249:5: note: in expansion of macro ‘OUTD’ 249 | OUTD(ch->dwReserved3); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avidump.c:474:11: warning: variable ‘tt’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 474 | off_t tt; | ^~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:252:2: note: in expansion of macro ‘OUTD’ 252 | OUTD(ch->aIndex[k].dwOffset); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:253:2: note: in expansion of macro ‘OUTD’ 253 | OUTD(ch->aIndex[k].dwSize); | ^~~~ avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:256:27: warning: pointer targets in passing argument 2 of ‘avi_add_chunk’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ~~^~~~~ | | | char * avilib.c:181:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ^~~~ | | | char * avilib.c:181:73: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | vi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 372 | int audio = (strchr (tag, 'w')?1:0); | ^~~ | | | unsigned char * In file included from avilib.h:38, from avilib.c:30: /usr/include/string.h:226:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 226 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 382 | if (avi_init_super_index(AVI, "ix00", &AVI->video_superindex) < 0) return -1; | ^~~~~~ | | | char * avilib.c:268:60: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 268 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 386 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 386 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 400 | if (avi_init_super_index(AVI, fcc, &AVI->track[AVI->aptr].audio_superindex) < 0) return -1; | ^~~ | | | char * avilib.c:268:60: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 268 | static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:406:34: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 406 | if (avi_add_std_index (AVI, fcc, tag, AVI->track[AVI->aptr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | 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’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 447 | fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | "POS=%lld towrite=%lld\n", 449 | cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); | ~~~~~~~~ | | | int64_t {aka long int} avilib.c:448:15: note: format string is defined here 448 | "POS=%lld towrite=%lld\n", | ~~~^ | | | long long int | %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’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 447 | fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | "POS=%lld towrite=%lld\n", 449 | cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); | ~~~~~~~ | | | int64_t {aka long int} avilib.c:448:28: note: format string is defined here 448 | "POS=%lld towrite=%lld\n", | ~~~^ | | | long long int | %ld avilib.c:453:30: warning: pointer targets in passing argument 2 of ‘avi_add_std_index’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 453 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 453 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 466 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 466 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 312 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 503 | avi_add_chunk(AVI, (unsigned char *)"RIFF", "AVIXLIST\0\0\0\0movi", 16); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * avilib.c:181:73: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | vi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c: In function ‘avi_parse_comments’: avilib.c:1083:18: warning: pointer targets in passing argument 1 of ‘long2str’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1083 | long2str(buf+len, k+1); len += 4; | ~~~^~~~ | | | char * avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:1013:16: warning: variable ‘readlen’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1013 | int len=0, readlen=0, k; | ^~~~~~~ avilib.c: In function ‘avi_close_output_file’: avilib.c:1600:62: warning: pointer targets in passing argument 2 of ‘avi_parse_comments’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1600 | info_len = avi_parse_comments (AVI->comment_fd, AVI_header+nhb, HEADERBYTES - nhb - 8 - 12); | ~~~~~~~~~~^~~~ | | | unsigned char * avilib.c:1011:46: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1011 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1669 | long2str(f, len); | ^ | | | char * avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1675 | long2str(f, len); | ^ | | | char * avilib.c:115:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 115 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1733 | n = avi_add_chunk(AVI,(unsigned char *)astr,data,length); | ^~~~ | | | char * avilib.c:181:73: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | vi_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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 1735 | n = avi_add_chunk(AVI,(unsigned char *)"00db",data,length); | ^~~~ | | | char * avilib.c:181:73: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 181 | vi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c: In function ‘avi_parse_input_file’: avilib.c:2359:41: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2359 | else if (strncasecmp (hdrl_data+i,"iavs",4) ==0 && ! auds_strh_seen) { | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2367:36: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2367 | else if(strncasecmp(hdrl_data+i,"dmlh",4) == 0) { | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2444:36: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2444 | else if(strncasecmp(hdrl_data+i,"indx",4) == 0) { | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2451:8: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2451 | a = hdrl_data+i; | ^ avilib.c:2455:48: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2455 | AVI->video_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2456:57: warning: pointer targets in passing argument 1 of ‘str2ushort’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2456 | AVI->video_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * avilib.c:145:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 145 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2459:55: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2459 | AVI->video_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2472:65: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2472 | AVI->video_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * avilib.c:134:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2473:62: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2473 | AVI->video_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2474:66: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2474 | AVI->video_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2504:8: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2504 | a = hdrl_data+i; | ^ avilib.c:2508:65: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2508 | AVI->track[AVI->aptr].audio_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2509:74: warning: pointer targets in passing argument 1 of ‘str2ushort’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2509 | ck[AVI->aptr].audio_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * avilib.c:145:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 145 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2512:72: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2512 | rack[AVI->aptr].audio_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2526:82: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2526 | I->aptr].audio_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * avilib.c:134:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2527:79: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2527 | [AVI->aptr].audio_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2528:83: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2528 | ->aptr].audio_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2552:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2552 | else if((strncasecmp(hdrl_data+i,"JUNK",4) == 0) || | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2553:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2553 | (strncasecmp(hdrl_data+i,"strn",4) == 0) || | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2554:37: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2554 | (strncasecmp(hdrl_data+i,"vprp",4) == 0)){ | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2724:28: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2724 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2728:26: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2728 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * avilib.c:134:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2741:51: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2741 | AVI->video_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2742:46: warning: pointer targets in passing argument 1 of ‘str2ulong_len’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2742 | AVI->video_index[k].len = str2ulong_len(en); | ^~ | | | char * avilib.c:151:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 151 | 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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2743 | AVI->video_index[k].key = str2ulong_key(en); en += 4; | ^~ | | | char * avilib.c:158:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 158 | static uint32_t str2ulong_key (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2803:31: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2803 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2808:29: warning: pointer targets in passing argument 1 of ‘str2ullong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2808 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * avilib.c:134:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2817:67: warning: pointer targets in passing argument 1 of ‘str2ulong’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2817 | AVI->track[audtr].audio_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * avilib.c:141:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2818:62: warning: pointer targets in passing argument 1 of ‘str2ulong_len’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 2818 | AVI->track[audtr].audio_index[k].len = str2ulong_len(en); en += 4; | ^~ | | | char * avilib.c:151:47: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 151 | 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’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 3292 | fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); | ~~~^ ~~~ | | | | long long int int64_t {aka long int} | %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’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 3292 | fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); | ~~~^ ~~~ | | | | long long int int64_t {aka long int} | %ld avilib.c: In function ‘AVI_read_wave_header’: avilib.c:3527:31: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 3527 | if( strncasecmp(wave->riff.id , "RIFF",4) != 0 || | ~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:3528:24: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 3528 | strncasecmp(wave->riff.wave_id, "WAVE",4) != 0 || | ~~~~~~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:3529:26: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 3529 | strncasecmp(wave->format.id , "fmt ",4) != 0 ) | ~~~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:432, from avilib.h:38, from avilib.c:30: /usr/include/strings.h:120:37: note: expected ‘const char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} 120 | 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’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2112 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ avilib.c:2120:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2120 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ avilib.c: In function ‘avi_add_odml_index_entry.constprop’: avilib.c:405:22: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size 3 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 405 | sprintf(fcc, "ix%02d", AVI->aptr+1); | ^~~~ avilib.c:405:19: note: directive argument in the range [-2147483647, 2147483647] 405 | sprintf(fcc, "ix%02d", AVI->aptr+1); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from avilib.h:30, from avilib.c:30: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 14 bytes into a destination of size 5 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c: In function ‘AVI_write_frame’: avilib.c:1718:28: warning: ‘%1d’ directive writing between 1 and 11 bytes into a region of size 4 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~ avilib.c:1718:26: note: directive argument in the range [-2147483647, 2147483647] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from avilib.h:30, from avilib.c:30: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 15 bytes into a destination of size 5 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c: In function ‘AVI_write_audio’: avilib.c:1718:28: warning: ‘%1d’ directive writing between 1 and 11 bytes into a region of size 4 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~ avilib.c:1718:26: note: directive argument in the range [-2147483647, 2147483647] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from avilib.h:30, from avilib.c:30: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 15 bytes into a destination of size 5 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libavi.a ar cru libavi.a avilib.o avidump.o avimisc.o xio.o make[1]: ar: No such file or directory make[1]: *** [Makefile:151: libavi.a] Error 127 make[1]: Leaving directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5/avilib' make: *** [Makefile:449: all-recursive] Error 1 * ERROR: media-sound/ogmtools-1.5-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/ogmtools-1.5-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/ogmtools-1.5-r2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/media-sound/ogmtools-1.5-r2:20200523-114814.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/ogmtools-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/ogmtools-1.5-r2/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' * S: '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 1492552 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 23 May 2020 11:10:18 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS