Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708802 - media-video/vdr-2.4.1 : eit.c:394:13: error: stime was not declared in this scope
Summary: media-video/vdr-2.4.1 : eit.c:394:13: error: stime was not declared in this s...
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: glibc-2.31
  Show dependency tree
 
Reported: 2020-02-09 09:42 UTC by Toralf Förster
Modified: 2020-06-09 22:17 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.59 KB, text/plain)
2020-02-09 09:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.59 KB, text/plain)
2020-02-09 09:42 UTC, Toralf Förster
Details
environment (environment,71.05 KB, text/plain)
2020-02-09 09:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.45 KB, application/x-bzip)
2020-02-09 09:43 UTC, Toralf Förster
Details
media-video:vdr-2.4.1:20200209-064739.log (media-video:vdr-2.4.1:20200209-064739.log,2.47 KB, text/plain)
2020-02-09 09:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.87 KB, application/x-bzip)
2020-02-09 09:43 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 2020-02-09 09:42:50 UTC
CC eit.o
eit.c: In constructor ‘cTDT::cTDT(const u_char*)’:
eit.c:394:13: error: ‘stime’ was not declared in this scope; did you mean ‘ctime’?
  394 |         if (stime(&dvbtim) == 0)
      |             ^~~~~
      |             ctime

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20200207-111625

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

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.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 09 Feb 2020 05:27:08 +0000

emerge -qpvO media-video/vdr
[ebuild  N    ] media-video/vdr-2.4.1  USE="-bidi -debug -demoplugins -html -keyboard -mainmenuhooks -menuorg -naludump -pinplugin -systemd -ttxtsubs -verbose"
Comment 1 Toralf Förster gentoo-dev 2020-02-09 09:42:53 UTC
Created attachment 613018 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-09 09:42:56 UTC
Created attachment 613020 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-09 09:42:59 UTC
Created attachment 613022 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-09 09:43:01 UTC
Created attachment 613024 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-09 09:43:04 UTC
Created attachment 613026 [details]
media-video:vdr-2.4.1:20200209-064739.log
Comment 6 Toralf Förster gentoo-dev 2020-02-09 09:43:07 UTC
Created attachment 613028 [details]
temp.tbz2
Comment 7 Joerg Bornkessel (RETIRED) gentoo-dev 2020-02-09 15:10:07 UTC
hmm, glibc-2.31 changes,

https://sourceware.org/git/?p=glibc.git;a=commit;h=12cbde1da

suggested fix here (German)
https://www.vdr-portal.de/forum/index.php?thread/133226-eit-c-394-13-error-stime-was-not-declared-in-this-scope-did-you-mean-ctime/&postID=1320753#post1320753

I have fixed it localy,
waiting for _unmasked_ glibc-2.31 in the tree for better testing...
Comment 8 Larry the Git Cow gentoo-dev 2020-02-10 20:46:07 UTC
The bug has been referenced in the following commit(s):

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

commit 9c0907498c287998bfb87e750264b114ecd22585
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2020-02-10 20:45:30 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2020-02-10 20:45:30 +0000

    media-video/vdr: compile fix for glibc-2.31
    
    Replace obsolete stime() function with clock_settime()
    
    Suggested-by: Manuel Reimer <manuel.reimer@gmx.de>
    Bug: https://bugs.gentoo.org/708802
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 media-video/vdr/files/vdr-2.4.1_glibc-2.31.patch |  20 +++
 media-video/vdr/vdr-2.4.1-r1.ebuild              | 202 +++++++++++++++++++++++
 2 files changed, 222 insertions(+)
Comment 9 Joerg Bornkessel (RETIRED) gentoo-dev 2020-02-10 20:48:11 UTC
@ Toralf

could you please test 

media-video/vdr-2.4.1-r1

against glibc-2.31?

Thx
Comment 10 Toralf Förster gentoo-dev 2020-02-11 18:54:50 UTC
(In reply to Joerg Bornkessel from comment #9)
> @ Toralf
> 
> could you please test 
> 
> media-video/vdr-2.4.1-r1
> 
> against glibc-2.31?
> 
> Thx

works
Comment 11 Larry the Git Cow gentoo-dev 2020-02-11 19:57:45 UTC
The bug has been closed via the following commit(s):

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

commit e7c2235119568d65d3ee364aada3e2c65dcf9bc7
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2020-02-11 19:56:30 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2020-02-11 19:57:24 +0000

    media-video/vdr: cleanup old, broken by glibc-2.31
    
    Closes: https://bugs.gentoo.org/708802
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 media-video/vdr/vdr-2.4.1.ebuild | 201 ---------------------------------------
 1 file changed, 201 deletions(-)