Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831595

Summary: sci-libs/vtk-9.0.3-r3[ffmpeg] fails to build against ffmpeg-5
Product: Gentoo Linux Reporter: Reuben Martin <reuben.m>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, waebbl-gentoo
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/23886
https://gitlab.kitware.com/vtk/vtk/-/issues/18445
https://bugs.gentoo.org/show_bug.cgi?id=832625
https://github.com/gentoo/gentoo/pull/24081
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 832625    
Bug Blocks: 831437    
Attachments: Build log

Description Reuben Martin 2022-01-20 15:49:50 UTC
Depreciated APIs were removed in ffmpeg-5

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-20 15:51:18 UTC
Please do include the full build.log.
Comment 2 Reuben Martin 2022-01-20 15:53:31 UTC
Created attachment 762850 [details]
Build log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-20 15:54:38 UTC
(In reply to Reuben Martin from comment #2)
> Created attachment 762850 [details]
> Build log

Thanks & thanks for testing out ffmpeg 5!
Comment 4 Bernd 2022-01-20 16:44:19 UTC
I'm gonna restrict the dependency for now and investigate it more thoroughly tomorrow.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-20 16:58:09 UTC
(In reply to Bernd from comment #4)
> I'm gonna restrict the dependency for now and investigate it more thoroughly
> tomorrow.

It's masked so don't stress.
Comment 6 Bernd 2022-01-22 16:25:24 UTC
9.1 is affected as well
Comment 7 Larry the Git Cow gentoo-dev 2022-02-21 23:24:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456dff1993bc8dd2dabd3a7642ffcb8229b30407

commit 456dff1993bc8dd2dabd3a7642ffcb8229b30407
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2022-02-04 19:15:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-21 23:23:52 +0000

    sci-libs/vtk: let v9 build against ffmpeg-5
    
    Backports an upstream patch to successfully build against
    media-video/ffmpeg-5.
    
    Closes: https://bugs.gentoo.org/831595
    Closes: https://bugs.gentoo.org/727338
    Closes: https://bugs.gentoo.org/660582
    
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/24081
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-IO-FFMPEG-support-FFmpeg-5.0-API-changes.patch | 141 +++++++++++++++++++++
 sci-libs/vtk/vtk-9.0.3-r4.ebuild                   |   1 +
 sci-libs/vtk/vtk-9.1.0.ebuild                      |   3 +-
 3 files changed, 144 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1324aa105beed8878503f55dd6783255127de0

commit 1a1324aa105beed8878503f55dd6783255127de0
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2022-01-20 16:55:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-21 23:23:29 +0000

    sci-libs/vtk: drop 8.2.0
    
    Only one package, sci-libs/oce, which is masked for last-riting, depends
    on this version.
    Won't build with ffmpeg-5.
    
    Bug: https://bugs.gentoo.org/831595
    Bug: https://bugs.gentoo.org/832625
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/23886
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/vtk/Manifest                              |   4 -
 .../files/vtk-8.1.0-openmpi-4-compatibility.patch  |  14 -
 ...01-fix-library-installation-dir-for-xdmf3.patch |  57 ----
 sci-libs/vtk/files/vtk-8.2.0-fno-common.patch      |  40 ---
 sci-libs/vtk/files/vtk-8.2.0-gcc-10.patch          |  16 -
 sci-libs/vtk/files/vtk-8.2.0-pugixml.patch         |  12 -
 sci-libs/vtk/files/vtk-8.2.0-py38.patch            | 175 ----------
 sci-libs/vtk/files/vtk-8.2.0-qt-5.15.patch         |  37 --
 sci-libs/vtk/metadata.xml                          |   1 -
 sci-libs/vtk/vtk-8.2.0-r6.ebuild                   | 375 ---------------------
 10 files changed, 731 deletions(-)