Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875422 - media-gfx/xloadimage-4.1-r12 - faces.c: error: parameter verbose was not declared, defaults to int;
Summary: media-gfx/xloadimage-4.1-r12 - faces.c: error: parameter verbose was not decl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 18:10 UTC by Toralf Förster
Modified: 2022-12-16 05:10 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.18 KB, text/plain)
2022-10-05 18:10 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.20 KB, application/x-bzip)
2022-10-05 18:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,69.22 KB, text/plain)
2022-10-05 18:10 UTC, Toralf Förster
Details
environment (environment,95.82 KB, text/plain)
2022-10-05 18:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.91 KB, application/x-bzip)
2022-10-05 18:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.91 KB, application/x-bzip)
2022-10-05 18:10 UTC, Toralf Förster
Details
media-gfx:xloadimage-4.1-r12:20221005-104015.log (media-gfx:xloadimage-4.1-r12:20221005-104015.log,16.13 KB, text/plain)
2022-10-05 18:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.86 KB, application/x-bzip)
2022-10-05 18:10 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-05 18:10:31 UTC
      in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
static int nextInt(zf, len)
           ^
faces.c:86:34: error: parameter 'verbose' was not declared, defaults to 'int';
      ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Image *facesLoad(fullname, name, verbose)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221005-010004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
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 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 967d86534133ca4f4647fb29031b2b839b91e240
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 09:48:55 2022 +0000

    2022-10-05 09:48:54 UTC

emerge -qpvO media-gfx/xloadimage
[ebuild  N    ] media-gfx/xloadimage-4.1-r12  USE="jpeg png tiff"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:10:32 UTC
Created attachment 820984 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:10:32 UTC
Created attachment 820987 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:10:34 UTC
Created attachment 820990 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:10:35 UTC
Created attachment 820993 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:10:36 UTC
Created attachment 820996 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:10:37 UTC
Created attachment 820999 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:10:38 UTC
Created attachment 821002 [details]
media-gfx:xloadimage-4.1-r12:20221005-104015.log
Comment 8 Toralf Förster gentoo-dev 2022-10-05 18:10:39 UTC
Created attachment 821005 [details]
temp.tar.bz2
Comment 9 Florian Weimer 2022-11-27 16:19:17 UTC
I fixed parts of this for Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2148739
Comment 10 Larry the Git Cow gentoo-dev 2022-12-16 05:10:53 UTC
The bug has been closed via the following commit(s):

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

commit a43c991c799c2d283ecf0f2c53c439d4a39fdb60
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-12-11 20:44:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-16 05:08:14 +0000

    media-gfx/xloadimage: fix build for clang16
    
    Closes: https://bugs.gentoo.org/875422
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28642
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/xloadimage/Manifest                  |  1 +
 media-gfx/xloadimage/xloadimage-4.1-r15.ebuild | 92 ++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)