Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948264 - gui-apps/wf-recorder-0.5.0 - [texlive] [ffmpeg] frame-writer.cpp: error: AVFilterLink {aka struct AVFilterLink} has no member named frame_rate
Summary: gui-apps/wf-recorder-0.5.0 - [texlive] [ffmpeg] frame-writer.cpp: error: AVFi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Leonardo Hernández Hernández
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: ffmpeg-7.0
  Show dependency tree
 
Reported: 2025-01-17 20:41 UTC by Toralf Förster
Modified: 2025-02-10 03:37 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.75 KB, text/plain)
2025-01-17 20:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,123.39 KB, text/plain)
2025-01-17 20:41 UTC, Toralf Förster
Details
environment (environment,120.05 KB, text/plain)
2025-01-17 20:41 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-01-17 20:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.13 KB, application/x-xz)
2025-01-17 20:41 UTC, Toralf Förster
Details
gui-apps:wf-recorder-0.5.0:20250117-202928.log (gui-apps:wf-recorder-0.5.0:20250117-202928.log,12.18 KB, text/plain)
2025-01-17 20:42 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.31 KB, application/x-xz)
2025-01-17 20:42 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,40.12 KB, application/x-xz)
2025-01-17 20:42 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.65 KB, application/x-xz)
2025-01-17 20:42 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-01-17 20:41:54 UTC
too long lines were shrinked:

[13/20] rm -f proto/libwl_protos.a && x86_64-pc-linux-gnu-ar csrDT proto/libwl_protos.a proto/libwl_protos.a.p/meson-generated_xdg-output-unstable-v1-protocol.c.o proto/libwl_protos.a.p/meson-generated_linux-dmabuf-unstable-v1-protocol.c.o proto/libwl_protos.a.p/meson-generated_wlr-screencopy-unstab
[14/20] x86_64-pc-linux-gnu-gcc -Iwf-recorder.p -I. -I../wf-recorder-0.5.0 -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O2 -pipe -march=native -fno-diagnost
[15/20] x86_64-pc-linux-gnu-g++ -Iwf-recorder.p -I. -I../wf-recorder-0.5.0 -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 '-DWFRECORD
FAILED: wf-recorder.p/src_frame-writer.cpp.o 
x86_64-pc-linux-gnu-g++ -Iwf-recorder.p -I. -I../wf-recorder-0.5.0 -I/usr/lib64/libffi/include -I/usr/include/libdrm -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 '-DWFRECORDER_VERSI
../wf-recorder-0.5.0/src/frame-writer.cpp: In member function void FrameWriter::init_video_filters(const AVCodec*):
../wf-recorder-0.5.0/src/frame-writer.cpp:374:53: error: AVFilterLink {aka struct AVFilterLink} has no member named frame_rate
  374 |     this->videoCodecCtx->framerate = filter_output->frame_rate; // can be 1/0 if unknown
      |                                                     ^~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20250115-060502

  UNMASKED:
    Requested by sam
  >=media-video/ffmpeg-7.0
  >=app-text/dvisvgm-2024
  >=app-text/ps2pkm-1.8_p20240311
  >=app-text/texlive-2024
  >=app-text/texlive-core-2024
  >=dev-libs/kpathsea-6.4.0
  >=dev-libs/ptexenc-1.4.6
  dev-python/latexrestricted
  >=dev-tex/biber-2.20
  >=dev-tex/biblatex-3.20
  >=dev-tex/bibtexu-3.72_p20240311
  >=dev-tex/glossaries-4.55
  dev-tex/latex2pydata
  >=dev-tex/latexmk-4.85
  >=dev-tex/minted-3.4.0
  >=dev-tex/tex4ht-20240311
  >=dev-texlive/texlive-basic-2024
  >=dev-texlive/texlive-bibtexextra-2024
  >=dev-texlive/texlive-binextra-2024
  >=dev-texlive/texlive-context-2024
  >=dev-texlive/texlive-fontsextra-2024
  >=dev-texlive/texlive-fontsrecommended-2024
  >=dev-texlive/texlive-fontutils-2024
  >=dev-texlive/texlive-formatsextra-2024
  >=dev-texlive/texlive-games-2024
  >=dev-texlive/texlive-humanities-2024
  >=dev-texlive/texlive-langarabic-2024
  >=dev-texlive/texlive-langchinese-2024
  >=dev-texlive/texlive-langcjk-2024
  >=dev-texlive/texlive-langcyrillic-2024
  >=dev-texlive/texlive-langczechslovak-2024
  >=dev-texlive/texlive-langenglish-2024
  >=dev-texlive/texlive-langeuropean-2024
  >=dev-texlive/texlive-langfrench-2024
  >=dev-texlive/texlive-langgerman-2024
  >=dev-texlive/texlive-langgreek-2024
  >=dev-texlive/texlive-langitalian-2024
  >=dev-texlive/texlive-langjapanese-2024
  >=dev-texlive/texlive-langkorean-2024
  >=dev-texlive/texlive-langother-2024
  >=dev-texlive/texlive-langpolish-2024
  >=dev-texlive/texlive-langportuguese-2024
  >=dev-texlive/texlive-langspanish-2024
  >=dev-texlive/texlive-latex-2024
  >=dev-texlive/texlive-latexextra-2024
  >=dev-texlive/texlive-latexrecommended-2024
  >=dev-texlive/texlive-luatex-2024
  >=dev-texlive/texlive-mathscience-2024
  >=dev-texlive/texlive-metapost-2024
  >=dev-texlive/texlive-music-2024
  >=dev-texlive/texlive-pictures-2024
  >=dev-texlive/texlive-plaingeneric-2024
  >=dev-texlive/texlive-pstricks-2024
  >=dev-texlive/texlive-publishers-2024
  >=dev-texlive/texlive-xetex-2024

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.8
go version go1.23.5 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.84.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit f7d6d817d1b2c208cf38d61ae631f6b05ee4b6d9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jan 17 19:33:33 2025 +0000

    2025-01-17 19:33:33 UTC

emerge -qpvO =gui-apps/wf-recorder-0.5.0
[ebuild  N    ] gui-apps/wf-recorder-0.5.0  USE="pipewire pulseaudio"
Comment 1 Toralf Förster gentoo-dev 2025-01-17 20:41:55 UTC
Created attachment 916925 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-17 20:41:56 UTC
Created attachment 916926 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-17 20:41:57 UTC
Created attachment 916927 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-17 20:41:58 UTC
Created attachment 916928 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-17 20:41:59 UTC
Created attachment 916929 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-17 20:42:00 UTC
Created attachment 916930 [details]
gui-apps:wf-recorder-0.5.0:20250117-202928.log
Comment 7 Toralf Förster gentoo-dev 2025-01-17 20:42:00 UTC
Created attachment 916931 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-17 20:42:01 UTC
Created attachment 916932 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-17 20:42:03 UTC
Created attachment 916933 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-02-10 03:37:59 UTC
The bug has been closed via the following commit(s):

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

commit a14266246ae4f126b7443ff787db04873d9dacb6
Author:     Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
AuthorDate: 2025-02-06 01:08:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 03:37:36 +0000

    gui-apps/wf-recorder: add patch to fix build with ffmpeg 7
    
    With ffmpeg 7 the frame_rate variable has been made private API
    which breaks the build for this package. The patch fixes that by
    setting the frame_rate variable to a sentinel value because the
    frame rate cannot be accessed and is unknown.
    
    Doesn't break building with ffmpeg 6.
    
    Closes: https://bugs.gentoo.org/948264
    Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40461
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/wf-recorder-0.5.0-ffmpeg-7.patch         | 26 ++++++++++++
 gui-apps/wf-recorder/wf-recorder-0.5.0-r1.ebuild   | 49 ++++++++++++++++++++++
 2 files changed, 75 insertions(+)