Summary: | media-libs/aubio-0.4.7[libav]: ../src/io/source_avcodec.c:431:14: error: ‘AVFrame {aka struct AVFrame}’ has no member named ‘channels’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=692344 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Rolf Eike Beer
![]() which libav version? media-video/libav-11.8 11.8 is super old, maybe you want to stabilise libav-12.2 on sparc anyway (bug 617508) and try with that version. With 12.2 I get a different error: In file included from ../src/io/source_avcodec.c:21:0: ../src/io/source_avcodec.c: In function ‘new_aubio_source_avcodec’: ../src/io/source_avcodec.c:217:9: warning: implicit declaration of function ‘av_get_media_type_string’; did you mean ‘av_get_codec_tag_string’? [-Wimplicit-function-declaration] av_get_media_type_string(AVMEDIA_TYPE_AUDIO), s->path); ^ ../src/aubio_priv.h:230:79: note: in definition of macro ‘AUBIO_ERR’ #define AUBIO_ERR(...) aubio_log(AUBIO_LOG_ERR, "AUBIO ERROR: " __VA_ARGS__) ^~~~~~~~~~~ ../src/io/source_avcodec.c: In function ‘aubio_source_avcodec_readframe’: ../src/io/source_avcodec.c:431:14: error: ‘AVFrame {aka struct AVFrame}’ has no member named ‘channels’ if (avFrame->channels != (sint_t)s->input_channels) { ^~ In file included from ../src/io/source_avcodec.c:21:0: ../src/io/source_avcodec.c:433:61: error: ‘AVFrame {aka struct AVFrame}’ has no member named ‘channels’ "but configured for %d; is '%s' corrupt?\n", avFrame->channels, ^ ../src/aubio_priv.h:234:81: note: in definition of macro ‘AUBIO_WRN’ #define AUBIO_WRN(...) aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " __VA_ARGS__) chroot ~ # equery u libav [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for media-video/libav-12.2: U I - + X : Add support for X11 - + aac : Use external vo-aacenc library for AAC encoding - + alsa : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture) - - amr : Enable Adaptive Multi-Rate Audio support - - bs2b : Enable media-libs/libbs2b based Bauer stereo-to-binaural audio filter + + bzip2 : Use the bzlib compression library - + cdio : Enable audio CD grabbing with dev-libs/libcdio. - - cpudetection : Enables runtime CPU detection (useful for bindist, compatibility on other CPUs). - - custom-cflags : Build with user-specified CFLAGS (unsupported) - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally + + encode : Add support for encoding of audio or video files - - faac : Use external faac library for AAC encoding - - fontconfig : Support for configuring and customizing font access via media-libs/fontconfig + + gpl : Build all GPL licensed code. Without this flag set the package is build under LGPL license. - - gsm : Add support for the gsm lossy speech compression codec + + hardcoded-tables : Use pre-calculated tables rather than calculating them on the fly. - + ieee1394 : Enable FireWire/iLink IEEE1394 support (dv, camera, ...) - + jack : Add support for the JACK Audio Connection Kit - + jpeg2k : Support for JPEG 2000, a wavelet-based image compression format - - libressl : Use dev-libs/libressl instead of dev-libs/openssl when applicable (see also the ssl useflag) - + mp3 : Add support for reading mp3 files + + network : Enable network streaming support. - - openssl : Prefer dev-libs/openssl over net-libs/gnutls to provide SSL/TLS support (notice: the resulting binaries are unredistributable). - + opus : Use the external opus library for encoding and decoding. - - oss : Add support for OSS (Open Sound System) - + pic : Force shared libraries to be built as PIC (this is slower). - - pulseaudio : Enable pulseaudio input support. - + sdl : Add support for Simple Direct Layer (media library) - + speex : Add support for the speex audio codec (used for speech) + - ssl : Enable SSL/TLS support using dev-libs/openssl or net-libs/gnutls. - - static-libs : Build static versions of dynamic libraries as well - - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) - - theora : Add support for the Theora Video Compression Codec - - threads : Add threads support for various packages. Usually pthreads - - tools : Build and install small tools like aviocat, cws2fws, graph2dot, ismindex, qt-faststart. - + truetype : Add support for FreeType and/or FreeType2 fonts - + twolame : Enable MP2 encoding via media-sound/twolame as an alternative to the internal encoder - + v4l : Enable support for video4linux (using linux-headers or userspace libv4l libraries) - - vorbis : Add support for the OggVorbis audio codec - - wavpack : Add support for wavpack audio compression tools - + x264 : Enable h264 encoding using x264 - + xvid : Add support for xvid.org's open-source mpeg-4 codec + + zlib : Add support for zlib (de)compression I'll close this as OBSOLETE given USE=libav is gone. |