Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703994 - media-plugins/vdr-skinelchi-0.3.0-r1 : DisplayChannel.c:727:28: error: min was not declared in this scope
Summary: media-plugins/vdr-skinelchi-0.3.0-r1 : DisplayChannel.c:727:28: error: min wa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joerg Bornkessel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 703944
  Show dependency tree
 
Reported: 2019-12-27 15:48 UTC by Toralf Förster
Modified: 2020-01-05 15:42 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.48 KB, text/plain)
2019-12-27 15:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,246.91 KB, text/plain)
2019-12-27 15:48 UTC, Toralf Förster
Details
environment (environment,89.36 KB, text/plain)
2019-12-27 15:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.42 KB, application/x-bzip)
2019-12-27 15:48 UTC, Toralf Förster
Details
media-plugins:vdr-skinelchi-0.3.0-r1:20191227-154526.log (media-plugins:vdr-skinelchi-0.3.0-r1:20191227-154526.log,4.62 KB, text/plain)
2019-12-27 15:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.83 KB, application/x-bzip)
2019-12-27 15:48 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 2019-12-27 15:48:34 UTC
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include -Wno-unused-variable -c -DPLUGIN_NAME_I18N='"skinelchi"' -I/include  -o DisplayChannel.o DisplayChannel.c
DisplayChannel.c: In member function ‘virtual void cSkinElchiDisplayChannel::SetEvents(const cEvent*, const cEvent*)’:
DisplayChannel.c:727:28: error: ‘min’ was not declared in this scope; did you mean ‘std::min’?
  727 |          int seen = max(0, min(y9 - y6a - 1, int((y9 - y6a) * double(t - Present->StartTime()) / Present->Duration())));
      |                            ^~~
      |                            std::min

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20191222-151549

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:


repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 27 Dec 2019 15:05:36 +0000

emerge -qpvO media-plugins/vdr-skinelchi
[ebuild  N    ] media-plugins/vdr-skinelchi-0.3.0-r1
Comment 1 Toralf Förster gentoo-dev 2019-12-27 15:48:37 UTC
Created attachment 601196 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-27 15:48:40 UTC
Created attachment 601198 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-27 15:48:42 UTC
Created attachment 601200 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-27 15:48:45 UTC
Created attachment 601202 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-27 15:48:48 UTC
Created attachment 601204 [details]
media-plugins:vdr-skinelchi-0.3.0-r1:20191227-154526.log
Comment 6 Toralf Förster gentoo-dev 2019-12-27 15:48:51 UTC
Created attachment 601206 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-01-05 15:42:14 UTC
The bug has been closed via the following commit(s):

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

commit 84014afdc8783146d314c74c7039978548e9908e
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2020-01-05 15:41:17 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2020-01-05 15:41:55 +0000

    media-plugins/vdr-skinelchi: compile fix for not declared min/max
    
    Closes: https://bugs.gentoo.org/703994
    Package-Manager: Portage-2.3.83, Repoman-2.3.20
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 .../vdr-skinelchi-0.3.0_min_max_from_stl.patch     | 18 ++++++++++
 .../vdr-skinelchi/vdr-skinelchi-0.3.0-r2.ebuild    | 41 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)