Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895432 - media-libs/intel-mediasdk-22.6.4 - /.../mfxparser.cpp: error: uint8_t was not declared in this scope
Summary: media-libs/intel-mediasdk-22.6.4 - /.../mfxparser.cpp: error: uint8_t was not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-19 15:13 UTC by Toralf Förster
Modified: 2023-04-30 09:04 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.21 KB, text/plain)
2023-02-19 15:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,162.78 KB, text/plain)
2023-02-19 15:13 UTC, Toralf Förster
Details
environment (environment,96.75 KB, text/plain)
2023-02-19 15:13 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,697 bytes, application/x-bzip)
2023-02-19 15:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.53 KB, application/x-bzip)
2023-02-19 15:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.95 KB, application/x-bzip)
2023-02-19 15:13 UTC, Toralf Förster
Details
media-libs:intel-mediasdk-22.6.4:20230219-150007.log (media-libs:intel-mediasdk-22.6.4:20230219-150007.log,22.22 KB, text/plain)
2023-02-19 15:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.41 KB, application/x-bzip)
2023-02-19 15:13 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 2023-02-19 15:13:44 UTC
too long lines were shrinked:

ninja -v -j4 -l0
[1/729] cd /var/tmp/portage/media-libs/intel-mediasdk-22.6.4/work/MediaSDK-intel-mediasdk-22.6.4_build/api/mfx_dispatch/linux && /usr/bin/cmake -E create_symlink libmfx.pc /var/tmp/portage/media-libs/intel-mediasdk-22.6.4/work/MediaSDK-intel-mediasdk-22.6.4_build/__bin/RelWithDebInfo/mfx.pc
[2/729] /usr/bin/x86_64-pc-linux-gnu-g++ -DLINUX -DLINUX32 -DLINUX64 -DMFX_DEPRECATED_OFF -DMFX_MODULES_DIR=\"/usr/lib64\" -DMFX_PLUGINS_CONF_DIR=\"/usr/share/mfx\" -DUNIX -D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64 -Dmfx_EXPORTS -I/var/tmp/portage/media-libs/intel-mediasdk-22.6.4/work/MediaSDK-intel
FAILED: api/mfx_dispatch/linux/CMakeFiles/mfx.dir/mfxparser.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DLINUX -DLINUX32 -DLINUX64 -DMFX_DEPRECATED_OFF -DMFX_MODULES_DIR=\"/usr/lib64\" -DMFX_PLUGINS_CONF_DIR=\"/usr/share/mfx\" -DUNIX -D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64 -Dmfx_EXPORTS -I/var/tmp/portage/media-libs/intel-mediasdk-22.6.4/work/MediaSDK-intel-mediasd
/var/tmp/portage/media-libs/intel-mediasdk-22.6.4/work/MediaSDK-intel-mediasdk-22.6.4/api/mfx_dispatch/linux/mfxparser.cpp: In function std::string MFX::printCodecId(mfxU32):
/var/tmp/portage/media-libs/intel-mediasdk-22.6.4/work/MediaSDK-intel-mediasdk-22.6.4/api/mfx_dispatch/linux/mfxparser.cpp:60:3: error: uint8_t was not declared in this scope
   60 |   uint8_t* data = reinterpret_cast<uint8_t*>(&id);
      |   ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20230218-040024

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.21.0 [icedtea-8]
2)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
5)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm
  [5]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit c1acd54ee706e8e12e2c919e93c3f8612c6dcd39
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 19 13:02:01 2023 +0000

    2023-02-19 13:02:00 UTC

emerge -qpvO media-libs/intel-mediasdk
[ebuild  N    ] media-libs/intel-mediasdk-22.6.4  USE="X dri tools -test -wayland"
Comment 1 Toralf Förster gentoo-dev 2023-02-19 15:13:45 UTC
Created attachment 853070 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-19 15:13:47 UTC
Created attachment 853072 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-19 15:13:48 UTC
Created attachment 853074 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-19 15:13:49 UTC
Created attachment 853076 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-19 15:13:50 UTC
Created attachment 853078 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-19 15:13:51 UTC
Created attachment 853080 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-19 15:13:52 UTC
Created attachment 853082 [details]
media-libs:intel-mediasdk-22.6.4:20230219-150007.log
Comment 8 Toralf Förster gentoo-dev 2023-02-19 15:13:53 UTC
Created attachment 853084 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 08:59:59 UTC
ping, this one should be an easy fix (just a missing include)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-30 06:36:37 UTC
ping, this should be a trivial missing include. please take a look & send the patch upstream as well for other distros
Comment 11 Larry the Git Cow gentoo-dev 2023-04-30 08:56:51 UTC
The bug has been closed via the following commit(s):

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

commit ccf50a719d99a3b4528857b7075ccdbde2935b50
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-04-30 08:55:56 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-04-30 08:56:24 +0000

    media-libs/intel-mediasdk: add 23.2.0
    
    Closes: https://bugs.gentoo.org/895432
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 media-libs/intel-mediasdk/Manifest                 |  1 +
 .../files/intel-mediasdk-23.2.0-gcc13.patch        | 12 +++
 .../intel-mediasdk/intel-mediasdk-23.2.0.ebuild    | 91 ++++++++++++++++++++++
 3 files changed, 104 insertions(+)
Comment 12 Andrew Ammerlaan gentoo-dev 2023-04-30 09:04:44 UTC
(In reply to Sam James from comment #10)
> ping, this should be a trivial missing include. please take a look & send
> the patch upstream as well for other distros

Sorry for the delay

A PR for a patch is already open upstream