Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881325 - media-gfx/tgif-4.2.5-r2 - import.c: error: parameter which was not declared, defaults to int;
Summary: media-gfx/tgif-4.2.5-r2 - import.c: error: parameter which was not declared, ...
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:
Depends on:
Blocks:
 
Reported: 2022-11-14 20:56 UTC by Toralf Förster
Modified: 2022-12-01 03:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.38 KB, text/plain)
2022-11-14 20:56 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,53.12 KB, application/x-bzip)
2022-11-14 20:56 UTC, Toralf Förster
Details
environment (environment,120.99 KB, text/plain)
2022-11-14 20:56 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,696 bytes, application/x-bzip)
2022-11-14 20:56 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.20 KB, application/x-bzip)
2022-11-14 20:56 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.68 KB, application/x-bzip)
2022-11-14 20:56 UTC, Toralf Förster
Details
media-gfx:tgif-4.2.5-r2:20221114-205143.log (media-gfx:tgif-4.2.5-r2:20221114-205143.log,41.81 KB, text/plain)
2022-11-14 20:56 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,40.35 KB, application/x-bzip)
2022-11-14 20:56 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,1.92 KB, application/x-bzip)
2022-11-14 20:56 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-11-14 20:56:43 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
int ConvertGifToPpm6(pszGifPath, pszPpm6Path, ppm6_path_sz)
    ^
import.c:1373:62: error: parameter 'which' was not declared, defaults to 'int';
      ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
int FinishImport(remote_file, remote_tmp_fname, local_fname, which, pn_image_w,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221112-220005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit e0484b385a43ace0b96fb91a643fd17f22a34497
Merge: f2401ce11ca3 0c77aadb9830
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 14 17:46:45 2022 +0000

    Merge updates from master

emerge -qpvO media-gfx/tgif
[ebuild  N    ] media-gfx/tgif-4.2.5-r2
Comment 1 Toralf Förster gentoo-dev 2022-11-14 20:56:44 UTC
Created attachment 832613 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-14 20:56:45 UTC
Created attachment 832615 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-14 20:56:47 UTC
Created attachment 832617 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-14 20:56:48 UTC
Created attachment 832619 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-14 20:56:49 UTC
Created attachment 832621 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-14 20:56:50 UTC
Created attachment 832623 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-14 20:56:51 UTC
Created attachment 832625 [details]
media-gfx:tgif-4.2.5-r2:20221114-205143.log
Comment 8 Toralf Förster gentoo-dev 2022-11-14 20:56:52 UTC
Created attachment 832627 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-14 20:56:53 UTC
Created attachment 832629 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2022-12-01 03:42:08 UTC
The bug has been closed via the following commit(s):

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

commit f2f9718f1989903363410e628354bc286b2d7cd2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-01 02:16:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-01 03:41:54 +0000

    media-gfx/tgif: fix build w/ clang 16
    
    Technically no need to revbump wrt the patch because all
    the types were an int in the end, but doing it for the EAPI
    8 part.
    
    Closes: https://bugs.gentoo.org/881325
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/tgif/files/tgif-4.2.5-implicit-int.patch | 153 +++++++++++++++++++++
 .../{tgif-4.2.5-r2.ebuild => tgif-4.2.5-r3.ebuild} |  30 ++--
 2 files changed, 173 insertions(+), 10 deletions(-)