Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870652 - x11-misc/x2vnc-1.7.2-r1:0 - rfbproto.c: error: call to undeclared function time; ISO C99 and later
Summary: x11-misc/x2vnc-1.7.2-r1:0 - rfbproto.c: error: call to undeclared function ti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 10:45 UTC by Toralf Förster
Modified: 2022-09-29 04:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.92 KB, text/plain)
2022-09-17 10:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,12.74 KB, text/plain)
2022-09-17 10:45 UTC, Toralf Förster
Details
environment (environment,26.13 KB, text/plain)
2022-09-17 10:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.40 KB, application/x-bzip)
2022-09-17 10:45 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.37 KB, application/x-bzip)
2022-09-17 10:45 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,12.71 KB, application/x-bzip)
2022-09-17 10:45 UTC, Toralf Förster
Details
x11-misc:x2vnc-1.7.2-r1:20220917-104209.log (x11-misc:x2vnc-1.7.2-r1:20220917-104209.log,13.24 KB, text/plain)
2022-09-17 10:45 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 2022-09-17 10:45:43 UTC
sockets.c:84:18: note: treat the string as an argument to avoid this
                fprintf(stderr,programName);
                               ^
                               "%s", 
rfbproto.c:378:21: error: call to undeclared function 'time'; ISO C99 and later
      do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit f38006d84550ea73795e41f9b7abbc5418aa128e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 09:46:47 2022 +0000

    2022-09-17 09:46:46 UTC

emerge -qpvO x11-misc/x2vnc
[ebuild  N    ] x11-misc/x2vnc-1.7.2-r1  USE="-tk"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 10:45:44 UTC
Created attachment 806956 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 10:45:45 UTC
Created attachment 806959 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 10:45:47 UTC
Created attachment 806962 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 10:45:48 UTC
Created attachment 806965 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 10:45:48 UTC
Created attachment 806968 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 10:45:49 UTC
Created attachment 806971 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 10:45:50 UTC
Created attachment 806974 [details]
x11-misc:x2vnc-1.7.2-r1:20220917-104209.log
Comment 8 Larry the Git Cow gentoo-dev 2022-09-29 04:27:53 UTC
The bug has been closed via the following commit(s):

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

commit 3e39e020cf77a03bf4672fc281dec55f1df53042
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-29 03:03:35 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-29 04:17:54 +0000

    x11-misc/x2vnc: fix build with clang16
    
    Skipping revbump (for potential runtime fixes with other
    compilers) given was done in previous commit.
    
    Closes: https://bugs.gentoo.org/870652
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-misc/x2vnc/files/x2vnc-1.7.2-clang16.patch | 33 ++++++++++++++++++++++++++
 x11-misc/x2vnc/x2vnc-1.7.2-r2.ebuild           |  1 +
 2 files changed, 34 insertions(+)