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

Bug 874540

Summary: x11-misc/ktsuss-2.1 - su_backend.c: error: call to undeclared function err; ISO C99 and later
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
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
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
x11-misc:ktsuss-2.1:20221003-051005.log

Description Toralf Förster gentoo-dev 2022-10-03 08:12:35 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/x11-misc/ktsuss-2.1/work/ktsuss-2.1/src'
clang -DHAVE_CONFIG_H -I. -I..  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/
clang -DHAVE_CONFIG_H -I. -I..  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/
clang -DHAVE_CONFIG_H -I. -I..  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/
su_backend.c:70:3: error: call to undeclared function 'err'; 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-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]
2)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   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 cb11f0c4e39a603e9eec43df773fb171c8aa9264
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 04:18:56 2022 +0000

    2022-10-03 04:18:56 UTC

emerge -qpvO x11-misc/ktsuss
[ebuild  N    ] x11-misc/ktsuss-2.1  USE="-sudo"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:12:36 UTC
Created attachment 817210 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:12:37 UTC
Created attachment 817213 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:12:39 UTC
Created attachment 817216 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:12:40 UTC
Created attachment 817219 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:12:42 UTC
Created attachment 817222 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:12:43 UTC
Created attachment 817225 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 08:12:44 UTC
Created attachment 817228 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-03 08:12:45 UTC
Created attachment 817231 [details]
x11-misc:ktsuss-2.1:20221003-051005.log
Comment 9 Larry the Git Cow gentoo-dev 2022-10-21 15:49:00 UTC
The bug has been closed via the following commit(s):

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

commit 2789250e7e776e19599bab2da0fd20b4e8ddbe2d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-21 15:10:13 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-21 15:48:10 +0000

    x11-misc/ktsuss: EAPI6->8, fix deps and build w/ clang16
    
    bug #781185 could have two causes, either no su(1) or
    no which(1) given neither are guaranteed.
    
    Closes: https://bugs.gentoo.org/781185
    Closes: https://bugs.gentoo.org/874540
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-misc/ktsuss/files/ktsuss-2.1-clang16.patch  | 29 ++++++++++++++++
 x11-misc/ktsuss/files/ktsuss-2.1-no-which.patch | 13 +++++++
 x11-misc/ktsuss/ktsuss-2.1-r1.ebuild            | 45 +++++++++++++++++++++++++
 x11-misc/ktsuss/ktsuss-2.1.ebuild               | 32 ------------------
 4 files changed, 87 insertions(+), 32 deletions(-)