Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 873745 Details for
Bug 916548
media-video/noad-0.8.8 - audiotools.cpp: error: avcodec_register_all was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-video:noad-0.8.8:20231030-221354.log
media-video:noad-0.8.8:20231030-221354.log (text/plain), 13.35 KB, created by
Toralf Förster
on 2023-10-30 22:25:41 UTC
(
hide
)
Description:
media-video:noad-0.8.8:20231030-221354.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-10-30 22:25:41 UTC
Size:
13.35 KB
patch
obsolete
> * Package: media-video/noad-0.8.8:0 > * Repository: gentoo > * Maintainer: martin.dummer@gmx.net proxy-maint@gentoo.org,vdr@gentoo.org,media-video@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc ffmpeg kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking noad-0.8.8.tar.gz to /var/tmp/portage/media-video/noad-0.8.8/work >>>> Source unpacked in /var/tmp/portage/media-video/noad-0.8.8/work >>>> Preparing source in /var/tmp/portage/media-video/noad-0.8.8/work/noad-0.8.8 ... > * Running eautoreconf in '/var/tmp/portage/media-video/noad-0.8.8/work/noad-0.8.8' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/media-video/noad-0.8.8/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: noad-0.8.8/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-video/noad-0.8.8/work/noad-0.8.8 ... > * econf: updating noad-0.8.8/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating noad-0.8.8/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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/noad-0.8.8 --htmldir=/usr/share/doc/noad-0.8.8/html --libdir=/usr/lib64 --without-libmpeg2 --with-tools >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free 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 whether make supports the include directive... yes (GNU style) >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >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 the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... 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 stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for wchar.h... yes >checking for minix/config.h... no >checking whether it is safe to define __EXTENSIONS__... yes >checking whether _XOPEN_SOURCE should be defined... no >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether the compiler supports GNU C++... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether the compiler supports GNU C... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... (cached) none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar >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 for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for arpa/inet.h... yes >checking for fcntl.h... yes >checking for inttypes.h... (cached) yes >checking for netinet/in.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for sys/ioctl.h... yes >checking for sys/socket.h... yes >checking for sys/time.h... yes >checking for sys/vfs.h... yes >checking for syslog.h... yes >checking for unistd.h... (cached) yes >checking for _Bool... no >checking for stdbool.h that conforms to C99... yes >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 for sys/time.h... (cached) yes >checking for sys/select.h... yes >checking for sys/socket.h... (cached) yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking whether closedir returns void... no >checking types of arguments for select... int,fd_set *,struct timeval * >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >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 for x86_64-pc-linux-gnu-g++ options needed to detect all undeclared functions... none needed >checking whether posix_fadvise is declared... yes >checking for posix_fadvise... yes >checking for libavutil libavformat libavcodec >= 52.0.0... yes >configure: found libavcodec Version 60.3.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.8 > libmpeg2-support not configured > configured with libavcodec Version 60.3.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.8/work/noad-0.8.8 ... >make -j4 >make all-am >make[1]: Entering directory '/var/tmp/portage/media-video/noad-0.8.8/work/noad-0.8.8' >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DUSE_AVIOCONTEXT -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DFFMPEGDECODING -DUSE_FFMPEG -O2 -pipe -march=native -fno-diagnostics-color -c -o audiotools.o audiotools.cpp >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DUSE_AVIOCONTEXT -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DFFMPEGDECODING -DUSE_FFMPEG -O2 -pipe -march=native -fno-diagnostics-color -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 -O2 -pipe -march=native -fno-diagnostics-color -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 -O2 -pipe -march=native -fno-diagnostics-color -c -o cgetlogo.o cgetlogo.cpp >audiotools.cpp: In function âvoid initAVCodec()â: >audiotools.cpp:99:3: error: âavcodec_register_allâ was not declared in this scope > 99 | avcodec_register_all(); > | ^~~~~~~~~~~~~~~~~~~~ >audiotools.cpp:105:31: error: invalid conversion from âconst AVCodec*â to âAVCodec*â [-fpermissive] > 105 | codec = avcodec_find_decoder(AV_CODEC_ID_MP3); > | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ > | | > | const AVCodec* >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/avcodec.h:45, > from mpeg2wrap_ffmpeg.h:32, > from audiotools.cpp:6: >/usr/include/libavcodec/packet.h:512:6: note: declared here > 512 | void av_init_packet(AVPacket *pkt); > | ^~~~~~~~~~~~~~ >audiotools.cpp:233:95: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 233 | _size = av_samples_get_buffer_size(&plane_size, codecContext->channels, > | ^~~~~~~~ > >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >audiotools.cpp:233:95: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 233 | _size = av_samples_get_buffer_size(&plane_size, codecContext->channels, > | ^~~~~~~~ > >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >audiotools.cpp:233:95: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 233 | _size = av_samples_get_buffer_size(&plane_size, codecContext->channels, > | ^~~~~~~~ > >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >audiotools.cpp:247:53: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 247 | if (planar && codecContext->channels > 1) { > | ^~~~~~~~ >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >audiotools.cpp:247:53: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 247 | if (planar && codecContext->channels > 1) { > | ^~~~~~~~ >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >audiotools.cpp:247:53: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 247 | if (planar && codecContext->channels > 1) { > | ^~~~~~~~ >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >audiotools.cpp:249:65: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 249 | for (ch = 1; ch < codecContext->channels; ch++) { > | ^~~~~~~~ > >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >audiotools.cpp:249:65: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 249 | for (ch = 1; ch < codecContext->channels; ch++) { > | ^~~~~~~~ > >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >audiotools.cpp:249:65: warning: âAVCodecContext::channelsâ is deprecated [-Wdeprecated-declarations] > 249 | for (ch = 1; ch < codecContext->channels; ch++) { > | ^~~~~~~~ > >/usr/include/libavcodec/avcodec.h:1042:9: note: declared here > 1042 | int channels; > | ^~~~~~~~ >make[1]: *** [Makefile:615: audiotools.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >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); > | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make[1]: Leaving directory '/var/tmp/portage/media-video/noad-0.8.8/work/noad-0.8.8' >make: *** [Makefile:422: all] Error 2 > * ERROR: media-video/noad-0.8.8::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-video/noad-0.8.8::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-video/noad-0.8.8::gentoo'`. > * The complete build log is located at '/var/log/portage/media-video:noad-0.8.8:20231030-221354.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/noad-0.8.8/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-video/noad-0.8.8/temp/environment'. > * Working directory: '/var/tmp/portage/media-video/noad-0.8.8/work/noad-0.8.8' > * S: '/var/tmp/portage/media-video/noad-0.8.8/work/noad-0.8.8' >
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 916548
:
873739
|
873740
|
873741
|
873742
|
873743
|
873744
| 873745 |
873746
|
873747