Launchpad has imported 4 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=457121.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2022-07-25T15:54:03+00:00 Erich Eickmeyer  wrote:

SUMMARY

Digikam 7.7.0 has completely failed to build from source against all
architectures supported by Ubuntu when built against libavcodec59.
Apparently the compiler in both Ubuntu and Debian has been spitting-out
compiler deprication warnings with previous ffmpeg releases for some
time now.

From the logs:

/<<PKGBUILDDIR>>/core/libs/threadimageio/video/videodecoder_p.cpp: In member 
function ‘bool Digikam::VideoDecoder::Private::initializeVideo()’:
/<<PKGBUILDDIR>>/core/libs/threadimageio/video/videodecoder_p.cpp:93:49: error: 
invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
   93 |     pVideoCodec           = 
avcodec_find_decoder(pVideoCodecParameters->codec_id);
      |                             
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 const AVCodec*
make[3]: *** 
[core/libs/threadimageio/CMakeFiles/core_threadimageio_obj.dir/build.make:443: 
core/libs/threadimageio/CMakeFiles/core_threadimageio_obj.dir/video/videodecoder_p.cpp.o]
 Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'


STEPS TO REPRODUCE
1. Attempt to build binary package using source package in Ubuntu's launchpad 
infrastructure

OBSERVED RESULT
All binary packages in all architectures fail to build.

EXPECTED RESULT
All binary packages in all architectures build.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.10

ADDITIONAL INFORMATION
amd64 log: 
https://launchpad.net/ubuntu/+source/digikam/4:7.7.0-2ubuntu2/+build/24183396
Other build logs available at 
https://launchpad.net/ubuntu/+source/digikam/4:7.7.0-2ubuntu2

Reply at:
https://bugs.launchpad.net/ubuntu/+source/digikam/+bug/1982775/comments/0

------------------------------------------------------------------------
On 2022-07-25T16:44:36+00:00 Caulier-gilles-9 wrote:

Hi,

digiKam 7.X ==> ffmpeg 4.x LTS only
digiKam 8.x ==> ffmpeg 4.x or 5.x (code compile with ffmpeg 5.x but it not yet 
suitable for production).

The transition between ffmpeg 4 to 5 is complex and not documented. API
is at some place completely different or dropped. So for me migrating to
ffmpeg 5 is very problematic for all applications depending of this
framework and it's very dangerous to make a fast transition.

From a developer viewpoint, FFMpeg 4.x LTS is robust and work very well.
I recommend to not switch to ffmpeg 5 in production for the moment.

Gilles Caulier

Reply at:
https://bugs.launchpad.net/ubuntu/+source/digikam/+bug/1982775/comments/2

------------------------------------------------------------------------
On 2022-07-25T16:48:32+00:00 Erich Eickmeyer  wrote:

(In reply to caulier.gilles from comment #1)
> From a developer viewpoint, FFMpeg 4.x LTS is robust and work very well. I
> recommend to not switch to ffmpeg 5 in production for the moment.

Well, we don't really have much choice. Debian, and therefore Ubuntu, is
moving to ffmpeg 5. So, this is a distribution-level decision and not
one that can be overridden.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/digikam/+bug/1982775/comments/3

------------------------------------------------------------------------
On 2022-07-25T17:36:43+00:00 Erich Eickmeyer  wrote:

(In reply to caulier.gilles from comment #1)
> digiKam 8.x ==> ffmpeg 4.x or 5.x (code compile with ffmpeg 5.x but it not
> yet suitable for production).

If you have at any point a pre-release for digiKam 8.x, please advise.
As it stands currently, 7.7.0 cannot be released in Ubuntu 22.10 in
October. Feature Freeze comes end of August, at which point it's likely
we'll have to eject digiKam from the repository for the FTBFS issue
unless we can get that resolved via a patch.

I'm the leader of the Ubuntu Studio flavor, and digiKam is our premiere
photo management application. I really don't want to lose it, so I'm
trying to find solutions to this issue sooner rather than later.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/digikam/+bug/1982775/comments/4


** Changed in: digikam
       Status: Unknown => New

** Changed in: digikam
   Importance: Unknown => High

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to digikam in Ubuntu.
https://bugs.launchpad.net/bugs/1982775

Title:
  digikam FTBFS against libavcodec59

To manage notifications about this bug go to:
https://bugs.launchpad.net/digikam/+bug/1982775/+subscriptions


-- 
kubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to