Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915943 - media-plugins/kodi-inputstream-ffmpegdirect-19.0.0 failed to build with GCC 13
Summary: media-plugins/kodi-inputstream-ffmpegdirect-19.0.0 failed to build with GCC 13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-10-18 07:32 UTC by Karlson2k
Modified: 2023-10-27 03:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karlson2k 2023-10-18 07:32:55 UTC
The packed failed to build with GCC 13 with number of errors like:

In file included from /var/tmp/portage/media-plugins/kodi-inputstream-ffmpegdirect-19.0.0/work/inputstream.ffmpegdirect-19.0.0-Matrix/src/stream/FFmpegStream.h:10,
                 from /var/tmp/portage/media-plugins/kodi-inputstream-ffmpegdirect-19.0.0/work/inputstream.ffmpegdirect-19.0.0-Matrix/src/stream/FFmpegStream.cpp:8:
/var/tmp/portage/media-plugins/kodi-inputstream-ffmpegdirect-19.0.0/work/inputstream.ffmpegdirect-19.0.0-Matrix/src/stream/../utils/HttpProxy.h:18:40: error: ‘uint16_t’ has not been declared
   18 |     HttpProxy(const std::string& host, uint16_t port, const std::string& user, const std::string& password)
      |                                        ^~~~~~~~
/var/tmp/portage/media-plugins/kodi-inputstream-ffmpegdirect-19.0.0/work/inputstream.ffmpegdirect-19.0.0-Matrix/src/stream/../utils/HttpProxy.h:24:5: error: ‘uint16_t’ does not name a type
   24 |     uint16_t GetProxyPort() const { return m_port; }
      |     ^~~~~~~~
/var/tmp/portage/media-plugins/kodi-inputstream-ffmpegdirect-19.0.0/work/inputstream.ffmpegdirect-19.0.0-Matrix/src/stream/../utils/HttpProxy.h:11:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   10 | #include <string>
  +++ |+#include <cstdint>
   11 |
/var/tmp/portage/media-plugins/kodi-inputstream-ffmpegdirect-19.0.0/work/inputstream.ffmpegdirect-19.0.0-Matrix/src/stream/../utils/HttpProxy.h:25:23: error: ‘uint16_t’ has not been declared
   25 |     void SetProxyPort(uint16_t value) { m_port = value; }
      |                       ^~~~~~~~
/var/tmp/portage/media-plugins/kodi-inputstream-ffmpegdirect-19.0.0/work/inputstream.ffmpegdirect-19.0.0-Matrix/src/stream/../utils/HttpProxy.h:35:5: error: ‘uint16_t’ does not name a type
   35 |     uint16_t m_port;
      |     ^~~~~~~~
Comment 1 Larry the Git Cow gentoo-dev 2023-10-27 03:20:40 UTC
The bug has been closed via the following commit(s):

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

commit 1990b571b022a3375f32013aadf4d01be5e0fb1d
Author:     Karlson2k (Evgeny Grin) <k2k@narod.ru>
AuthorDate: 2023-10-18 07:52:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-27 03:19:01 +0000

    media-plugins/kodi-inputstream-ffmpegdirect: fixed build with GCC 13
    
    Closes: https://bugs.gentoo.org/915943
    Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru>
    Closes: https://github.com/gentoo/gentoo/pull/33387
    Signed-off-by: Sam James <sam@gentoo.org>

 ...nputstream-ffmpegdirect-19.0.0-gcc-13-fix.patch | 28 ++++++++++++++++++++++
 .../kodi-inputstream-ffmpegdirect-19.0.0.ebuild    |  4 ++++
 2 files changed, 32 insertions(+)