Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874960 - app-text/uudeview-0.5.20-r2 - inews.c: error: implicit declaration of function server_init [-Werror=implicit-function-declaration]
Summary: app-text/uudeview-0.5.20-r2 - inews.c: error: implicit declaration of functio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:28 UTC by Toralf Förster
Modified: 2022-11-26 17:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.62 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
app-text:uudeview-0.5.20-r2:20221004-145838.log (app-text:uudeview-0.5.20-r2:20221004-145838.log,19.27 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.96 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
environment (environment,76.97 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.74 KB, application/x-bzip)
2022-10-04 16:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.49 KB, application/x-bzip)
2022-10-04 16:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.93 KB, application/x-bzip)
2022-10-04 16:28 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-10-04 16:28:27 UTC
clientlib.c:136:1: error: return type defaults to int [-Werror=implicit-int]
  136 | server_init(machine)
      | ^~~~~~~~~~~
inews.c: In function main:
inews.c:88:20: error: implicit declaration of function server_init [-Werror=implicit-function-declaration]
   88 |         response = server_init(server);
      |                    ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221002-183753

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
3)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit a5a1d4ccbe14f5fae37a29d910e717c8eadd0b70
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 13:47:44 2022 +0000

    2022-10-04 13:47:43 UTC

emerge -qpvO app-text/uudeview
[ebuild  N    ] app-text/uudeview-0.5.20-r2
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:28:28 UTC
Created attachment 818956 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:28:29 UTC
Created attachment 818959 [details]
app-text:uudeview-0.5.20-r2:20221004-145838.log
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:28:31 UTC
Created attachment 818962 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:28:32 UTC
Created attachment 818965 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:28:33 UTC
Created attachment 818968 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:28:34 UTC
Created attachment 818971 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:28:35 UTC
Created attachment 818974 [details]
temp.tar.bz2
Comment 8 Pascal Jäger 2022-11-22 14:04:01 UTC
last rites requested https://bugs.gentoo.org/882505
Comment 9 Larry the Git Cow gentoo-dev 2022-11-26 17:50:26 UTC
The bug has been closed via the following commit(s):

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

commit d15eae1e2a778ba92e986121ae3437e48b4b5e2b
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2022-11-26 17:48:25 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2022-11-26 17:48:25 +0000

    app-text/uudeview: Fix format string and function definition issues.
    
    This fixes two compiler warnings about possible format string risks
    and missing function definitions that will cause errors in clang 16.
    
    Closes: https://bugs.gentoo.org/521266
    Closes: https://bugs.gentoo.org/874960
    Closes: https://github.com/gentoo/gentoo/pull/28420
    Signed-off-by: Hanno Böck <hanno@gentoo.org>

 ...w-0.5.20-fix-function-definitions-clang16.patch | 134 +++++++++++++++++++++
 ...deview-0.5.20-format-string-warning-inews.patch |  11 ++
 .../uudeview-0.5.20-string_format_issue.patch      |  24 ++++
 app-text/uudeview/uudeview-0.5.20-r3.ebuild        |  43 +++++++
 4 files changed, 212 insertions(+)