Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871246 - media-gfx/pngtools-0.4-r2 - pngchunkdesc.c: error: call to undeclared library function isupper with
Summary: media-gfx/pngtools-0.4-r2 - pngchunkdesc.c: error: call to undeclared library...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 10:03 UTC by Toralf Förster
Modified: 2022-09-30 00:58 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.15 KB, text/plain)
2022-09-18 10:03 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.35 KB, application/x-bzip)
2022-09-18 10:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.02 KB, text/plain)
2022-09-18 10:03 UTC, Toralf Förster
Details
environment (environment,75.60 KB, text/plain)
2022-09-18 10:03 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.26 KB, application/x-bzip)
2022-09-18 10:03 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.42 KB, application/x-bzip)
2022-09-18 10:03 UTC, Toralf Förster
Details
media-gfx:pngtools-0.4-r2:20220918-095802.log (media-gfx:pngtools-0.4-r2:20220918-095802.log,15.54 KB, text/plain)
2022-09-18 10:03 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.66 KB, application/x-bzip)
2022-09-18 10:03 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-09-18 10:03:00 UTC
too long lines were shrinked:

clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H
1 warning generated.
clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H
clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pngtools\" -DVERSION=\"0.2\" -DHAVE_LIBM=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H
pngchunkdesc.c:42:8: error: call to undeclared library function 'isupper' with
      type 'int (int)'; ISO C99 and later do not support implicit function
      declarations [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 4737e48d935a07ae10cdeb0bcba4f17c85f93223
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 08:46:57 2022 +0000

    2022-09-18 08:46:56 UTC

emerge -qpvO media-gfx/pngtools
[ebuild  N    ] media-gfx/pngtools-0.4-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-18 10:03:01 UTC
Created attachment 810733 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 10:03:02 UTC
Created attachment 810736 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 10:03:03 UTC
Created attachment 810739 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 10:03:05 UTC
Created attachment 810742 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 10:03:06 UTC
Created attachment 810745 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 10:03:07 UTC
Created attachment 810748 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 10:03:07 UTC
Created attachment 810751 [details]
media-gfx:pngtools-0.4-r2:20220918-095802.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 10:03:08 UTC
Created attachment 810754 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-09-30 00:58:46 UTC
The bug has been closed via the following commit(s):

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

commit 7a977369d8267432cdc288d93c6ab89aaba3c9f0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-30 00:48:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-30 00:49:48 +0000

    media-gfx/pngtools: add 0.4_p20220314
    
    Closes: https://bugs.gentoo.org/712600
    Closes: https://bugs.gentoo.org/871246
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/pngtools/Manifest                        |  1 +
 .../files/pngtools-0.4_p20220314-docbook-dtd.patch | 67 ++++++++++++++++++++++
 media-gfx/pngtools/pngtools-0.4_p20220314.ebuild   | 40 +++++++++++++
 3 files changed, 108 insertions(+)