Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948466 - dev-cpp/notcurses-3.0.8 - [ffmpeg] ffmpeg.c: error: struct AVFrame has no member named pkt_duration
Summary: dev-cpp/notcurses-3.0.8 - [ffmpeg] ffmpeg.c: error: struct AVFrame has no mem...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: nick black
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-7.0
  Show dependency tree
 
Reported: 2025-01-20 20:34 UTC by Toralf Förster
Modified: 2025-03-12 10:14 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.83 KB, text/plain)
2025-01-20 20:34 UTC, Toralf Förster
Details
dev-cpp:notcurses-3.0.8:20250120-202342.log (dev-cpp:notcurses-3.0.8:20250120-202342.log,53.68 KB, text/plain)
2025-01-20 20:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,240.46 KB, text/plain)
2025-01-20 20:34 UTC, Toralf Förster
Details
environment (environment,100.61 KB, text/plain)
2025-01-20 20:34 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2025-01-20 20:34 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.86 KB, application/x-xz)
2025-01-20 20:34 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,25.47 KB, application/x-xz)
2025-01-20 20:34 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,60.27 KB, application/x-xz)
2025-01-20 20:34 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.39 KB, application/x-xz)
2025-01-20 20:34 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-20 20:34:18 UTC
too long lines were shrinked:

[36/200] /usr/bin/x86_64-pc-linux-gnu-gcc -D_DEFAULT_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -Dnotcurses_EXPORTS -I/var/tmp/portage/dev-cpp/notcurses-3.0.8/work/notcurses-3.0.8/include -I/var/tmp/portage/dev-cpp/notcurses-3.0.8/work/notcurses-3.0.8/src -I/var/tmp/portage/dev-cpp
FAILED: CMakeFiles/notcurses.dir/src/media/ffmpeg.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -D_DEFAULT_SOURCE -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -Dnotcurses_EXPORTS -I/var/tmp/portage/dev-cpp/notcurses-3.0.8/work/notcurses-3.0.8/include -I/var/tmp/portage/dev-cpp/notcurses-3.0.8/work/notcurses-3.0.8/src -I/var/tmp/portage/dev-cpp/notcurse
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
/var/tmp/portage/dev-cpp/notcurses-3.0.8/work/notcurses-3.0.8/src/media/ffmpeg.c: In function ffmpeg_stream:
/var/tmp/portage/dev-cpp/notcurses-3.0.8/work/notcurses-3.0.8/src/media/ffmpeg.c:523:46: error: struct AVFrame has no member named pkt_duration; did you mean duration?
  523 |     uint64_t duration = ncv->details->frame->pkt_duration * tbase * NANOSECS_IN_SEC;
      |                                              ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd_test-20250114-213502

  UNMASKED:

    Requested by sam
  >=media-video/ffmpeg-7.0

  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.81.0
  [2]   rust-bin-1.84.0
  [3]   rust-1.84.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit f258ab69aaaeed362bca5162ee91e063c7b5df84
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 20 19:33:34 2025 +0000

    2025-01-20 19:33:34 UTC

emerge -qpvO =dev-cpp/notcurses-3.0.8
[ebuild  N    ] dev-cpp/notcurses-3.0.8  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2025-01-20 20:34:19 UTC
Created attachment 917176 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-20 20:34:20 UTC
Created attachment 917177 [details]
dev-cpp:notcurses-3.0.8:20250120-202342.log
Comment 3 Toralf Förster gentoo-dev 2025-01-20 20:34:21 UTC
Created attachment 917178 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-01-20 20:34:22 UTC
Created attachment 917179 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-01-20 20:34:23 UTC
Created attachment 917180 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-20 20:34:24 UTC
Created attachment 917181 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-20 20:34:25 UTC
Created attachment 917182 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-20 20:34:26 UTC
Created attachment 917183 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-01-20 20:34:27 UTC
Created attachment 917184 [details]
temp.tar.xz
Comment 10 nick black 2025-01-21 07:38:56 UTC
i need to update notcurses on gentoo -- it ought be 3.0.13 now. i recently embarked on a multihour emerge on my gentoo VM; let me see if it's still bootable, and if so, i ought be able to get this out pretty quickly. thanks!
Comment 11 nick black 2025-01-23 20:29:10 UTC
alright, i got my gentoo VM reinstalled. i'm looking to go ahead and update this shortly.
Comment 12 Larry the Git Cow gentoo-dev 2025-03-12 10:14:43 UTC
The bug has been referenced in the following commit(s):

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

commit 44f872775eec3d190acfcbbc1ef3e30d97e89874
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-03-12 08:46:29 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-03-12 10:11:44 +0000

    dev-cpp/notcurses: use ffmpeg-compat
    
    It is possible fixes already exist for ffmpeg-7 on this package,
    but not planning to look into that myself.
    
    Bug: https://bugs.gentoo.org/948466
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-cpp/notcurses/notcurses-3.0.8-r1.ebuild | 59 +++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)