Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875098 - media-libs/icclib-2.14 - icc.c: error: type defaults to int in declaration of ix [-Werror=implicit-int]
Summary: media-libs/icclib-2.14 - icc.c: error: type defaults to int in declaration of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:43 UTC by Toralf Förster
Modified: 2025-04-12 20:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.31 KB, text/plain)
2022-10-04 16:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,177.91 KB, text/plain)
2022-10-04 16:43 UTC, Toralf Förster
Details
environment (environment,61.50 KB, text/plain)
2022-10-04 16:43 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.57 KB, application/x-bzip)
2022-10-04 16:43 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,1.63 KB, application/x-bzip)
2022-10-04 16:43 UTC, Toralf Förster
Details
media-libs:icclib-2.14:20221004-023144.log (media-libs:icclib-2.14:20221004-023144.log,4.05 KB, text/plain)
2022-10-04 16: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 2022-10-04 16:43:11 UTC
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUNIX -fPIC -c -I/usr/include -o lutest.o lutest.c
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUNIX -fPIC -c -I/usr/include -o icclu.o icclu.c
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DUNIX -fPIC -c -I/usr/include -o iccdump.o iccdump.c
icc.c: In function icmPiv:
icc.c:17329:16: error: type defaults to int in declaration of ix [-Werror=implicit-int]
17329 |         static ix = 0;
      |                ^~

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

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

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

gcc-config -l:
 [1] 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)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit f9f9b48af3624e11118e0527b91167d16532ac35
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 02:04:37 2022 +0000

    2022-10-04 02:04:36 UTC

emerge -qpvO media-libs/icclib
[ebuild  N    ] media-libs/icclib-2.14
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:43:12 UTC
Created attachment 819883 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:43:14 UTC
Created attachment 819886 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:43:15 UTC
Created attachment 819889 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:43:16 UTC
Created attachment 819892 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:43:17 UTC
Created attachment 819895 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:43:18 UTC
Created attachment 819898 [details]
media-libs:icclib-2.14:20221004-023144.log
Comment 7 Larry the Git Cow gentoo-dev 2025-04-12 20:59:29 UTC
The bug has been closed via the following commit(s):

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

commit 2ed9cd89dae70be1fee6eb533e4885be6170f893
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-25 17:00:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-12 20:58:19 +0000

    media-libs/icclib: update EAPI 7 -> 8, fix build problems
    
    Update code to compile with C23 compilers.
    Replace build system with meson: existing makefile and patches appear
    to have silently dropped dependencies, that were automagically included
    only somewhere. Fixes segfaults on start.
    Adds smoke test to check for said segfault
    
    Closes: https://bugs.gentoo.org/875098
    Closes: https://bugs.gentoo.org/456780
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/icclib/files/icclib-2.14-c23.patch      |  38 +++++++
 media-libs/icclib/files/icclib-2.14-make.patch     | 114 ---------------------
 media-libs/icclib/files/meson.build                |  51 +++++++++
 .../{icclib-2.14.ebuild => icclib-2.14-r1.ebuild}  |  34 +++---
 4 files changed, 107 insertions(+), 130 deletions(-)