Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 704487 Details for
Bug 787143
media-video/noad-0.8.6-r6 - noad.cpp: error: ordered comparison of pointer with integer zero (cUnbufferedFile* and int)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-video:noad-0.8.6-r6:20210430-094116.log
media-video:noad-0.8.6-r6:20210430-094116.log (text/plain), 19.46 KB, created by
Toralf Förster
on 2021-04-30 13:26:48 UTC
(
hide
)
Description:
media-video:noad-0.8.6-r6:20210430-094116.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-04-30 13:26:48 UTC
Size:
19.46 KB
patch
obsolete
> * Package: media-video/noad-0.8.6-r6 > * Repository: gentoo > * Maintainer: vdr@gentoo.org media-video@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc ffmpeg kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking noad-0.8.6.tar.gz to /var/tmp/portage/media-video/noad-0.8.6-r6/work >>>> Unpacking noad-0.8.6-ffmpeg3.4.diff.bz2 to /var/tmp/portage/media-video/noad-0.8.6-r6/work >>>> Source unpacked in /var/tmp/portage/media-video/noad-0.8.6-r6/work >>>> Preparing source in /var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6 ... > * Applying noad-0.8.6-ffmpeg3.4.diff ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6' ... > * Running 'aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: noad-0.8.6/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6 ... > * econf: updating noad-0.8.6/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating noad-0.8.6/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 --disable-silent-rules --docdir=/usr/share/doc/noad-0.8.6-r6 --htmldir=/usr/share/doc/noad-0.8.6-r6/html --libdir=/usr/lib64 no --without-libmpeg2 --with-tools >configure: WARNING: you should use --build, --host, --target >checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether make supports nested variables... (cached) yes >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether the C++ compiler works... yes >checking for C++ compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >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 ISO C89... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking minix/config.h usability... no >checking minix/config.h presence... no >checking for minix/config.h... no >checking whether it is safe to define __EXTENSIONS__... yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for ANSI C header files... (cached) yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking arpa/inet.h usability... yes >checking arpa/inet.h presence... yes >checking for arpa/inet.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking for inttypes.h... (cached) yes >checking netinet/in.h usability... yes >checking netinet/in.h presence... yes >checking for netinet/in.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/socket.h usability... yes >checking sys/socket.h presence... yes >checking for sys/socket.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking sys/vfs.h usability... yes >checking sys/vfs.h presence... yes >checking for sys/vfs.h... yes >checking syslog.h usability... yes >checking syslog.h presence... yes >checking for syslog.h... yes >checking for unistd.h... (cached) yes >checking for stdbool.h that conforms to C99... no >checking for _Bool... no >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking for mode_t... yes >checking for pid_t... yes >checking for size_t... yes >checking whether time.h and sys/time.h may both be included... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking whether closedir returns void... no >checking sys/select.h usability... yes >checking sys/select.h presence... yes >checking for sys/select.h... yes >checking for sys/socket.h... (cached) yes >checking types of arguments for select... int,fd_set *,struct timeval * >checking whether lstat correctly handles trailing slash... yes >checking whether stat accepts an empty string... no >checking for strftime... yes >checking for gettimeofday... yes >checking for localtime_r... yes >checking for memmove... yes >checking for memset... yes >checking for mkdir... yes >checking for select... yes >checking for socket... yes >checking for strchr... yes >checking for strdup... yes >checking for strerror... yes >checking for strrchr... yes >checking for strstr... yes >checking for strsignal... yes >checking whether posix_fadvise is declared... yes >checking for posix_fadvise... yes >checking for FFMPEG... yes >configure: found libavcodec Version 58.134.100 >checking for AVIOContext.read_packet... yes >checking for AVFrame.width... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >config.status: executing depfiles commands > > > this is noad Version 0.8.6 > libmpeg2-support not configured > configured with libavcodec Version 58.134.100 > compile with tools: showindex > >now start "make" to build noad > and "make install" to install noad >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6 ... >make -j 1 AR=x86_64-pc-linux-gnu-ar >(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6/missing' autoheader) >rm -f stamp-h1 >touch config.h.in >cd . && /bin/sh ./config.status config.h >config.status: creating config.h >config.status: config.h is unchanged >make all-am >make[1]: Entering directory '/var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6' >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DUSE_AVIOCONTEXT -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DFFMPEGDECODING -DUSE_FFMPEG -pipe -march=native -fno-diagnostics-color -Og -g -c -o audiotools.o audiotools.cpp >audiotools.cpp: In function âvoid initAVCodec()â: >audiotools.cpp:99:23: warning: âvoid avcodec_register_all()â is deprecated [-Wdeprecated-declarations] > 99 | avcodec_register_all(); > | ~~~~~~~~~~~~~~~~~~~~^~ >In file included from mpeg2wrap_ffmpeg.h:32, > from audiotools.cpp:6: >/usr/include/libavcodec/avcodec.h:2767:6: note: declared here > 2767 | void avcodec_register_all(void); > | ^~~~~~~~~~~~~~~~~~~~ >audiotools.cpp: In function âint scan_audio_stream_0(unsigned char*, int)â: >audiotools.cpp:202:19: warning: âvoid av_init_packet(AVPacket*)â is deprecated [-Wdeprecated-declarations] > 202 | av_init_packet(&p); > | ~~~~~~~~~~~~~~^~~~ >In file included from /usr/include/libavcodec/bsf.h:30, > from /usr/include/libavcodec/avcodec.h:44, > from mpeg2wrap_ffmpeg.h:32, > from audiotools.cpp:6: >/usr/include/libavcodec/packet.h:488:6: note: declared here > 488 | void av_init_packet(AVPacket *pkt); > | ^~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DUSE_AVIOCONTEXT -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DFFMPEGDECODING -DUSE_FFMPEG -pipe -march=native -fno-diagnostics-color -Og -g -c -o cchecklogo.o cchecklogo.cpp >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DUSE_AVIOCONTEXT -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DFFMPEGDECODING -DUSE_FFMPEG -pipe -march=native -fno-diagnostics-color -Og -g -c -o ccontrol.o ccontrol.cpp >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DUSE_AVIOCONTEXT -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DFFMPEGDECODING -DUSE_FFMPEG -pipe -march=native -fno-diagnostics-color -Og -g -c -o cgetlogo.o cgetlogo.cpp >cgetlogo.cpp: In member function âvoid CGetLogo::newData()â: >cgetlogo.cpp:101:17: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 101 | asprintf(&buffer,"checked %d corners", m_nCheckedCorner); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DUSE_AVIOCONTEXT -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DFFMPEGDECODING -DUSE_FFMPEG -pipe -march=native -fno-diagnostics-color -Og -g -c -o ctoolbox.o ctoolbox.cpp >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DUSE_AVIOCONTEXT -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DFFMPEGDECODING -DUSE_FFMPEG -pipe -march=native -fno-diagnostics-color -Og -g -c -o noad.o noad.cpp >noad.cpp: In function âbool detectLogo(const char*, int)â: >noad.cpp:444:9: warning: narrowing conversion of â((double)8 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 444 | 0, 8*FRAMESPERMIN, 16*FRAMESPERMIN, 32*FRAMESPERMIN, >noad.cpp:444:26: warning: narrowing conversion of â((double)16 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 444 | 0, 8*FRAMESPERMIN, 16*FRAMESPERMIN, 32*FRAMESPERMIN, >noad.cpp:444:43: warning: narrowing conversion of â((double)32 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 444 | 0, 8*FRAMESPERMIN, 16*FRAMESPERMIN, 32*FRAMESPERMIN, >noad.cpp:445:9: warning: narrowing conversion of â((double)5 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 445 | 5*FRAMESPERMIN, 10*FRAMESPERMIN, 15*FRAMESPERMIN, >noad.cpp:445:26: warning: narrowing conversion of â((double)10 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 445 | 5*FRAMESPERMIN, 10*FRAMESPERMIN, 15*FRAMESPERMIN, >noad.cpp:445:43: warning: narrowing conversion of â((double)15 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 445 | 5*FRAMESPERMIN, 10*FRAMESPERMIN, 15*FRAMESPERMIN, >noad.cpp:446:9: warning: narrowing conversion of â((double)20 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 446 | 20*FRAMESPERMIN, 25*FRAMESPERMIN, 30*FRAMESPERMIN, >noad.cpp:446:26: warning: narrowing conversion of â((double)25 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 446 | 20*FRAMESPERMIN, 25*FRAMESPERMIN, 30*FRAMESPERMIN, >noad.cpp:446:43: warning: narrowing conversion of â((double)30 * (framespersec * (double)60))â from âdoubleâ to âintâ [-Wnarrowing] > 446 | 20*FRAMESPERMIN, 25*FRAMESPERMIN, 30*FRAMESPERMIN, >In file included from vdr_cl.h:27, > from mpeg_decoder.h:4, > from noad.h:32, > from noad.cpp:30: >noad.cpp: In function âbool checkBlackFrameOnMark(cMarks*, cMark*, bool, int)â: >noad.cpp:973:18: warning: format â%dâ expects argument of type âintâ, but argument 6 has type âuint8_t*â {aka âunsigned char*â} [-Wformat=] > 973 | dsyslog( "checkBlackFrameOnMark at %d %s (frames %d --> %d)",m->position, bForward ? "forward":"backward",index,end ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ > | | > | uint8_t* {aka unsigned char*} >tools.h:31:74: note: in definition of macro âdsyslogâ > 31 | og(a...) void( (SysLogLevel > 2) ? syslog_with_tid(LOG_ERR, a) : void() ) > | ^ > >noad.cpp:973:66: note: format string is defined here > 973 | dsyslog( "checkBlackFrameOnMark at %d %s (frames %d --> %d)",m->position, bForward ? "forward":"backward",index,end ); > | ~^ > | | > | int > | %hhn >noad.cpp: In function âint scanRecord(int, cMarks*)â: >noad.cpp:1590:19: error: ordered comparison of pointer with integer zero (âcUnbufferedFile*â and âintâ) > 1590 | if( cfn->Open() < 0 ) > | ~~~~~~~~~~~~^~~ >noad.cpp: In function âvoid moveMark(cMarks*, cMark*, int, const char*)â: >noad.cpp:657:11: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 657 | asprintf(&cpOldPos, "%s",(const char *)m->ToText(false,true)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp:658:11: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 658 | asprintf(&cpNewPos, "%s",(const char *)IndexToHMSF(iNewPos, false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp:659:11: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 659 | asprintf(&newComment, Comment?Comment:"(%s)",(const char *)m->ToText(false,true) ); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp: In function âvoid listMarks(cMarks*)â: >noad.cpp:1339:25: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1339 | asprintf(&cpos, "%s", (const char *)m->ToText(false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp:1340:25: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1340 | asprintf(&cdiff, "%s", (const char *)IndexToHMSF(iDiff, false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp: In function âvoid cleanActiveMarks(cMarks*)â: >noad.cpp:1401:25: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1401 | asprintf(&cpos, "%s", (const char *)m->ToText(false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp:1402:25: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1402 | asprintf(&cdiff, "%s", (const char *)IndexToHMSF(iDiff, false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp: In function âvoid MarkCleanup(cMarks*)â: >noad.cpp:1470:33: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1470 | asprintf(&cpos, "%s", (const char *)m->ToText(false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp:1471:33: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1471 | asprintf(&cdiff, "%s", (const char *)IndexToHMSF(iDiff, false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp:1505:33: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1505 | asprintf(&cpos, "%s", (const char*)m->ToText(false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp:1506:33: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 1506 | asprintf(&cdiff, "%s", (const char *)IndexToHMSF(iDiff, false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp: In function âbool doOverlapDetection(pic_info*, int, pic_info*, int, cMark**, cMarks*)â: >noad.cpp:2174:18: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 2174 | asprintf(&nComment,"%s (%d)","moved from (%s) by doOverlapDetection",mostOk); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp: In function âvoid pass2a(cMarks*)â: >noad.cpp:2541:13: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 2541 | asprintf(&cpos, "%s", (const char *)m->ToText(false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >noad.cpp:2542:13: warning: ignoring return value of âint asprintf(char**, const char*, ...)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 2542 | asprintf(&cdiff, "%s", (const char *)IndexToHMSF(iDiff, false)); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make[1]: *** [Makefile:606: noad.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6' >make: *** [Makefile:413: all] Error 2 > * ERROR: media-video/noad-0.8.6-r6::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-video/noad-0.8.6-r6::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-video/noad-0.8.6-r6::gentoo'`. > * The complete build log is located at '/var/log/portage/media-video:noad-0.8.6-r6:20210430-094116.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/noad-0.8.6-r6/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-video/noad-0.8.6-r6/temp/environment'. > * Working directory: '/var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6' > * S: '/var/tmp/portage/media-video/noad-0.8.6-r6/work/noad-0.8.6' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 787143
:
704472
|
704475
|
704478
|
704481
|
704484
| 704487 |
704490