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

Bug 930007

Summary: gui-libs/wlroots-0.15.1-r1 - ../.../dmabuf-capture.c: error: AV_CODEC_FLAG_GLOBAL_HEADER undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: arthurzam, leohdz172, prometheanfire
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
gui-libs:wlroots-0.15.1-r1:20240414-100846.log.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-14 10:47:52 UTC
../wlroots-0.15.1/examples/dmabuf-capture.c:640:19: error: request for member 'height' in something not a structure or union
  640 |         ctx->avctx->height = find_output(ctx, ctx->target_output, 0)->height;
      |                   ^~
../wlroots-0.15.1/examples/dmabuf-capture.c:643:27: error: request for member 'flags' in something not a structure or union
  643 |                 ctx->avctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
      |                           ^~
../wlroots-0.15.1/examples/dmabuf-capture.c:643:38: error: 'AV_CODEC_FLAG_GLOBAL_HEADER' undeclared (first use in this function)
  643 |                 ctx->avctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240410-202513

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

php cli (if any):
  [1]   php8.1
  [2]   php8.3 *
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit ca9dc97777dd38fd847f80035b3b24df28ed5aee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 14 09:04:32 2024 +0000

    2024-04-14 09:04:31 UTC

emerge -qpvO gui-libs/wlroots
Comment 1 Toralf Förster gentoo-dev 2024-04-14 10:47:53 UTC
Created attachment 890796 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-14 10:47:54 UTC
Created attachment 890797 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-14 10:47:56 UTC
Created attachment 890798 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-14 10:47:56 UTC
Created attachment 890799 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-14 10:47:57 UTC
Created attachment 890800 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-14 10:47:58 UTC
Created attachment 890801 [details]
gui-libs:wlroots-0.15.1-r1:20240414-100846.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-14 10:47:59 UTC
Created attachment 890802 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-14 10:48:00 UTC
Created attachment 890803 [details]
temp.tar.xz