Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 871300

Summary: dev-libs/pslib-0.4.5-r1 - bmp.c: error: call to undeclared function ps_error; ISO C99 and later do
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: tex
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
dev-libs:pslib-0.4.5-r1:20220918-103948.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 10:51:53 UTC
too long lines were shrinked:

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declara
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include  -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\"    -pipe -march=native -fno-diagnostics-color -O
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/pslib\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declara
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include  -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_DATA_DIR=\""/usr/share/pslib"\"    -pipe -march=native -fno-diagnostics-color -O
bmp.c:308:3: error: call to undeclared function 'ps_error'; 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 4cccc95c4b995aec41eb1440471c5cc21a8a7f5a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 10:31:50 2022 +0000

    2022-09-18 10:31:49 UTC

emerge -qpvO dev-libs/pslib
[ebuild  N    ] dev-libs/pslib-0.4.5-r1  USE="jpeg png tiff -debug"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 10:51:54 UTC
Created attachment 811060 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 10:51:55 UTC
Created attachment 811063 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 10:51:56 UTC
Created attachment 811066 [details]
dev-libs:pslib-0.4.5-r1:20220918-103948.log
Comment 4 Toralf Förster gentoo-dev 2022-09-18 10:51:58 UTC
Created attachment 811069 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 10:51:59 UTC
Created attachment 811072 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 10:52:00 UTC
Created attachment 811075 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 10:52:01 UTC
Created attachment 811078 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 10:52:02 UTC
Created attachment 811081 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-04 07:09:40 UTC
The bug has been closed via the following commit(s):

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

commit 6791747772fac59091dea9be75074c106c97ebeb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-04 05:38:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-04 07:09:23 +0000

    dev-libs/pslib: add 0.4.6
    
    Closes: https://bugs.gentoo.org/871300
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/pslib/Manifest                            |  1 +
 ...-0.4.6-Fix-implicit-function-declarations.patch | 29 ++++++++++++
 dev-libs/pslib/pslib-0.4.6.ebuild                  | 54 ++++++++++++++++++++++
 3 files changed, 84 insertions(+)