Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875419 - media-gfx/transfig-3.2.5e-r1 - fig2dev.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: media-gfx/transfig-3.2.5e-r1 - fig2dev.c: error: type specifier missing, defa...
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
: 882277 (view as bug list)
Depends on: 917003
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 18:10 UTC by Toralf Förster
Modified: 2024-01-24 13:38 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,234 bytes, application/x-bzip)
2022-10-05 18:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,68.11 KB, text/plain)
2022-10-05 18:10 UTC, Toralf Förster
Details
environment (environment,64.32 KB, text/plain)
2022-10-05 18:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.88 KB, application/x-bzip)
2022-10-05 18:10 UTC, Toralf Förster
Details
media-gfx:transfig-3.2.5e-r1:20221005-102857.log (media-gfx:transfig-3.2.5e-r1:20221005-102857.log,41.95 KB, text/plain)
2022-10-05 18:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.67 KB, application/x-bzip)
2022-10-05 18:10 UTC, Toralf Förster
Details
transfig-3.2.5e-r1-clang-17.patch (transfig-3.2.5e-r1-clang-17.patch,4.44 KB, patch)
2023-10-01 02:08 UTC, ppw0
Details | Diff
transfig-3.2.5e-r1-clang-17.patch (transfig-3.2.5e-r1-clang-17.patch,6.67 KB, patch)
2023-10-01 02:12 UTC, ppw0
Details | Diff

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:05 UTC
      prototype in C2x, conflicting with a subsequent definition
      [-Wdeprecated-non-prototype]
int              parse_gridspec();
                 ^
fig2dev.c:376:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
main(argc, argv)

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

  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/transfig
[ebuild  N    ] media-gfx/transfig-3.2.5e-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:10:06 UTC
Created attachment 820963 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:10:07 UTC
Created attachment 820966 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:10:08 UTC
Created attachment 820969 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:10:09 UTC
Created attachment 820972 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:10:10 UTC
Created attachment 820975 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:10:12 UTC
Created attachment 820978 [details]
media-gfx:transfig-3.2.5e-r1:20221005-102857.log
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:10:13 UTC
Created attachment 820981 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:16:40 UTC
*** Bug 882277 has been marked as a duplicate of this bug. ***
Comment 9 ppw0 2023-10-01 02:08:36 UTC
Created attachment 871864 [details, diff]
transfig-3.2.5e-r1-clang-17.patch

Hello,

this patch allowed me to build transfig-3.2.5e-r1 with clang-17.
Comment 10 ppw0 2023-10-01 02:12:24 UTC
Created attachment 871865 [details, diff]
transfig-3.2.5e-r1-clang-17.patch

Wrong patch, sorry.
Comment 11 Larry the Git Cow gentoo-dev 2024-01-24 13:38:15 UTC
The bug has been closed via the following commit(s):

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

commit aecf0e611fd26ef621d8096459595cc6ccba3c49
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2024-01-23 07:12:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-24 13:37:35 +0000

    media-gfx/transfig: fix modern C issues
    
    Closes: https://bugs.gentoo.org/875419
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/34971
    Signed-off-by: Sam James <sam@gentoo.org>

 .../transfig/files/transfig-3.2.5e-clang-17.patch  | 258 +++++++++++++++++++++
 media-gfx/transfig/transfig-3.2.5e-r2.ebuild       |   1 +
 2 files changed, 259 insertions(+)