Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834386 - media-libs/qtav-1.12.0-r3 with ffmpeg-5.0: src/AVCompat.cpp:394:42: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
Summary: media-libs/qtav-1.12.0-r3 with ffmpeg-5.0: src/AVCompat.cpp:394:42: error: in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: ffmpeg-5.0
  Show dependency tree
 
Reported: 2022-02-28 19:51 UTC by Kobboi
Modified: 2024-05-07 21:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,10.28 KB, application/gzip)
2022-02-28 19:51 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,8.00 KB, text/plain)
2022-02-28 19:51 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-02-28 19:51:04 UTC
[13/171] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_QTAV_LIB -DQTAV_HAVE_AVCODEC=1 -DQTAV_HAVE_AVDEVICE=1 -DQTAV_HAVE_AVFILTER=1 -DQTAV_HAVE_AVFORMAT=1 -DQTAV_HAVE_AVUTIL=1 -DQTAV_HAVE_CAPI
=1 -DQTAV_HAVE_CUDA=1 -DQTAV_HAVE_LIBASS=1 -DQTAV_HAVE_PULSEAUDIO=1 -DQTAV_HAVE_SWRESAMPLE=1 -DQTAV_HAVE_SWSCALE=1 -DQTAV_HAVE_VAAPI=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQtAV_EXPO
RTS -D__STDC_CONSTANT_MACROS -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/qtav-1.12.0_build/src -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src -I/var/tmp/portage/m
edia-libs/qtav-1.12.0-r3/work/qtav-1.12.0_build/src/QtAV_autogen/include -I/include -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src/QtAV -I/var/tmp/portage/media-libs/qt
av-1.12.0-r3/work/QtAV-1.12.0/external/include -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/contrib/capi -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src
/cuda -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui  -O2 -march=znver3 -pipe -g -ggdb3  -fPIC -fvisi
bility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT src/CMakeFiles/QtAV.dir/AVCompat.cpp.o -MF src/CMakeFiles/QtAV.dir/AVCompat.cpp.o.d -o src/CMakeFiles/QtAV.dir/AVCompat.cpp.o -c /v
ar/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src/AVCompat.cpp
FAILED: src/CMakeFiles/QtAV.dir/AVCompat.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_QTAV_LIB -DQTAV_HAVE_AVCODEC=1 -DQTAV_HAVE_AVDEVICE=1 -DQTAV_HAVE_AVFILTER=1 -DQTAV_HAVE_AVFORMAT=1 -DQTAV_HAVE_AVUTIL=1 -DQTAV_HAVE_CAPI=1 -DQTAV
_HAVE_CUDA=1 -DQTAV_HAVE_LIBASS=1 -DQTAV_HAVE_PULSEAUDIO=1 -DQTAV_HAVE_SWRESAMPLE=1 -DQTAV_HAVE_SWSCALE=1 -DQTAV_HAVE_VAAPI=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQtAV_EXPORTS -D__S
TDC_CONSTANT_MACROS -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/qtav-1.12.0_build/src -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src -I/var/tmp/portage/media-libs
/qtav-1.12.0-r3/work/qtav-1.12.0_build/src/QtAV_autogen/include -I/include -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src/QtAV -I/var/tmp/portage/media-libs/qtav-1.12.0
-r3/work/QtAV-1.12.0/external/include -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/contrib/capi -I/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src/cuda -is
ystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui  -O2 -march=znver3 -pipe -g -ggdb3  -fPIC -fvisibility=hi
dden -fvisibility-inlines-hidden -fPIC -MD -MT src/CMakeFiles/QtAV.dir/AVCompat.cpp.o -MF src/CMakeFiles/QtAV.dir/AVCompat.cpp.o.d -o src/CMakeFiles/QtAV.dir/AVCompat.cpp.o -c /var/tmp/po
rtage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src/AVCompat.cpp
/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src/AVCompat.cpp: In function ‘const char* get_codec_long_name(AVCodecID)’:
/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src/AVCompat.cpp:394:42: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  394 |     AVCodec *codec = avcodec_find_decoder(id);
      |                      ~~~~~~~~~~~~~~~~~~~~^~~~
      |                                          |
      |                                          const AVCodec*
/var/tmp/portage/media-libs/qtav-1.12.0-r3/work/QtAV-1.12.0/src/AVCompat.cpp:397:33: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  397 |     codec = avcodec_find_encoder(id);
      |             ~~~~~~~~~~~~~~~~~~~~^~~~
      |                                 |
      |                                 const AVCodec*


Reproducible: Always
Comment 1 Kobboi 2022-02-28 19:51:21 UTC
Created attachment 766035 [details]
build.log.gz
Comment 2 Kobboi 2022-02-28 19:51:23 UTC
Created attachment 766036 [details]
emerge-info.txt
Comment 3 Kobboi 2022-02-28 19:51:35 UTC
Compiles fine with ffmpeg-4.4.1
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-21 10:16:03 UTC
Package masked for removal.
Comment 5 Larry the Git Cow gentoo-dev 2023-03-18 16:45:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=506c569b5dd51f8a925b9492c2d96e81567b0abf

commit 506c569b5dd51f8a925b9492c2d96e81567b0abf
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-03-18 16:43:04 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-03-18 16:43:04 +0000

    media-libs/qtav: treeclean
    
    Closes: https://bugs.gentoo.org/758641
    Closes: https://bugs.gentoo.org/834386
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-libs/qtav/Manifest                           |   2 -
 media-libs/qtav/files/qtav-1.12.0-ffmpeg4-1.patch  |  36 -------
 media-libs/qtav/files/qtav-1.12.0-ffmpeg4-2.patch  | 119 ---------------------
 .../qtav/files/qtav-1.12.0-installpaths.patch      |  17 ---
 media-libs/qtav/files/qtav-1.12.0-qt5.14.patch     |  12 ---
 media-libs/qtav/files/qtav-1.12.0-qt5.15.patch     |  22 ----
 media-libs/qtav/metadata.xml                       |  11 --
 media-libs/qtav/qtav-1.12.0-r3.ebuild              |  68 ------------
 profiles/package.mask                              |   1 -
 9 files changed, 288 deletions(-)