Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874534 - net-print/pnm2ppa-1.13-r1 - type int (const char , const char ); ISO C99 and later do not support
Summary: net-print/pnm2ppa-1.13-r1 - type int (const char , const char ); ISO C99 and ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:12 UTC by Toralf Förster
Modified: 2022-10-21 15:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.54 KB, text/plain)
2022-10-03 08:12 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.93 KB, application/x-bzip)
2022-10-03 08:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.83 KB, text/plain)
2022-10-03 08:12 UTC, Toralf Förster
Details
environment (environment,28.63 KB, text/plain)
2022-10-03 08:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.75 KB, application/x-bzip)
2022-10-03 08:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.86 KB, application/x-bzip)
2022-10-03 08:12 UTC, Toralf Förster
Details
net-print:pnm2ppa-1.13-r1:20221003-033842.log (net-print:pnm2ppa-1.13-r1:20221003-033842.log,6.18 KB, text/plain)
2022-10-03 08:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,12.31 KB, application/x-bzip)
2022-10-03 08:12 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-03 08:12:12 UTC
      [-Wunused-but-set-variable]
  int comspec, comref, priority, blank, dlen, i, numbytes;
                                 ^
parse_vlink.c:69:7: error: call to undeclared library function 'strcmp' with
      type 'int (const char *, const char *)'; ISO C99 and later do not support
      implicit function declarations [-Werror,-Wimplicit-function-declaration]
  if (strcmp(argv[1], "-") == 0)

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

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

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

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]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   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 57b31909123ae2c57cafe286f6fb00bfe2cf1064
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 03:31:50 2022 +0000

    2022-10-03 03:31:50 UTC

emerge -qpvO net-print/pnm2ppa
[ebuild  N    ] net-print/pnm2ppa-1.13-r1  USE="-syslog" L10N="-cs -en -es -fr -it -nl"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:12:13 UTC
Created attachment 817165 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:12:14 UTC
Created attachment 817168 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:12:16 UTC
Created attachment 817171 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:12:17 UTC
Created attachment 817174 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:12:18 UTC
Created attachment 817177 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:12:19 UTC
Created attachment 817180 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 08:12:20 UTC
Created attachment 817183 [details]
net-print:pnm2ppa-1.13-r1:20221003-033842.log
Comment 8 Toralf Förster gentoo-dev 2022-10-03 08:12:21 UTC
Created attachment 817186 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-21 15:48:59 UTC
The bug has been closed via the following commit(s):

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

commit ca9d5b8932aa108657a180ae0a8130ca464c652b
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-21 15:00:33 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-21 15:48:10 +0000

    net-print/pnm2ppa: fix build w/ upcoming clang16
    
    Closes: https://bugs.gentoo.org/874534
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-print/pnm2ppa/files/pnm2ppa-1.13-clang16.patch                 | 7 +++++++
 .../pnm2ppa/{pnm2ppa-1.13-r1.ebuild => pnm2ppa-1.13-r2.ebuild}     | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)