Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948816 - games-emulation/ppsspp-1.18.1 - [gcc-15] [ffmpeg] sceMpeg.cpp: error: struct AVFrame has no member named pkt_duration
Summary: games-emulation/ppsspp-1.18.1 - [gcc-15] [ffmpeg] sceMpeg.cpp: error: struct ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-7.0
  Show dependency tree
 
Reported: 2025-01-25 15:24 UTC by Toralf Förster
Modified: 2025-03-12 12:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.56 KB, text/plain)
2025-01-25 15:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,57.55 KB, text/plain)
2025-01-25 15:24 UTC, Toralf Förster
Details
environment (environment,125.76 KB, text/plain)
2025-01-25 15:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-01-25 15:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.22 KB, application/x-xz)
2025-01-25 15:24 UTC, Toralf Förster
Details
games-emulation:ppsspp-1.18.1:20250125-132441.log.xz (games-emulation:ppsspp-1.18.1:20250125-132441.log.xz,28.40 KB, application/x-xz)
2025-01-25 15:24 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,279.96 KB, application/x-xz)
2025-01-25 15:24 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,137.10 KB, text/plain)
2025-01-25 15:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.18 KB, application/x-xz)
2025-01-25 15:24 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-25 15:24:07 UTC
/var/tmp/portage/games-emulation/ppsspp-1.18.1/work/ppsspp-1.18.1/Core/HLE/sceMpeg.cpp:1017:39: warning: AVFrame::pkt_size is deprecated [-Wdeprecated-declarations]
 1017 |                         len = pFrame->pkt_size;
      |                                       ^~~~~~~~
/usr/include/libavutil/frame.h:688:9: note: declared here
  688 |     int pkt_size;
      |         ^~~~~~~~
/var/tmp/portage/games-emulation/ppsspp-1.18.1/work/ppsspp-1.18.1/Core/HLE/sceMpeg.cpp:1059:70: error: struct AVFrame has no member named pkt_duration; did you mean duration?
 1059 |                         int64_t ptsDuration = mediaengine->m_pFrame->pkt_duration;
      |                                                                      ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20250123-181701

  UNMASKED:

    Requested by sam
  #~media-video/ffmpeg-7.0.2
  =media-video/ffmpeg-7*

    
  <sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
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)
  [2]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.84.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 1e057dc8b515d1ec02ac40098d2a4ec436c2a407
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 25 12:33:44 2025 +0000

    2025-01-25 12:33:44 UTC

emerge -qpvO =games-emulation/ppsspp-1.18.1
[ebuild  N    ] games-emulation/ppsspp-1.18.1  USE="discord qt5 wayland -test"
Comment 1 Toralf Förster gentoo-dev 2025-01-25 15:24:08 UTC
Created attachment 917466 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-25 15:24:09 UTC
Created attachment 917467 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-25 15:24:10 UTC
Created attachment 917468 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-25 15:24:11 UTC
Created attachment 917469 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-25 15:24:12 UTC
Created attachment 917470 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-25 15:24:13 UTC
Created attachment 917471 [details]
games-emulation:ppsspp-1.18.1:20250125-132441.log.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-25 15:24:15 UTC
Created attachment 917472 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-25 15:24:16 UTC
Created attachment 917473 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-01-25 15:24:17 UTC
Created attachment 917474 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-12 10:14:37 UTC
The bug has been referenced in the following commit(s):

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

commit 92d58bdb8449fb3cc5a5e569487fe131c24433e9
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-03-12 08:31:45 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-03-12 10:11:44 +0000

    games-emulation/ppsspp: use ffmpeg-compat
    
    It is possible fixes already exist for ffmpeg-7 for this, but
    not planning to look into that myself.
    
    Arguably instead using bundled on ppsspp would not be a bad idea
    given playing PSP's videos properly is flaky and ppsspp bundles
    ffmpeg3 intentionally even though it could use newer. Then again
    that's assuming the bundled copy even builds fine.
    
    That aside, given no code changes here, plans are to sync
    keywords back with stable when ready.
    
    Bug: https://bugs.gentoo.org/948816
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/ppsspp/ppsspp-1.18.1-r1.ebuild | 97 ++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)
Comment 11 Maciej Barć gentoo-dev 2025-03-12 12:13:51 UTC
(In reply to Larry the Git Cow from comment #10)
> 
>     Then again
>     that's assuming the bundled copy even builds fine.

Yea, that's the problem w/ bundled... :/