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

Bug 870949

Summary: sys-process/daemontools-encore-1.11 - sig_pause.c: error: call to undeclared function sigpause; ISO C99 and
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
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
emerge-history.txt
environment
etc.portage.tar.bz2
sys-process:daemontools-encore-1.11:20220917-170519.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-17 19:23:12 UTC
/usr/include/sys/cdefs.h:339:51: note: expanded from macro
      '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
sig_pause.c:14:3: error: call to undeclared function 'sigpause'; 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_hardened-j4-20220916-040004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] 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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 752b2865f9e19ca4280730410cfaec446f15f897
Merge: 27e349751fc0 db1f1763bde4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 16:31:48 2022 +0000

    Merge updates from master

emerge -qpvO sys-process/daemontools-encore
[ebuild  N    ] sys-process/daemontools-encore-1.11  USE="(-selinux) -static"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:23:13 UTC
Created attachment 808744 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:23:15 UTC
Created attachment 808747 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:23:16 UTC
Created attachment 808750 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:23:17 UTC
Created attachment 808753 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:23:18 UTC
Created attachment 808756 [details]
sys-process:daemontools-encore-1.11:20220917-170519.log
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:23:19 UTC
Created attachment 808759 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-12-25 21:24:38 UTC
The bug has been closed via the following commit(s):

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

commit 669674443447ac910a730a963877cd949320a9db
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-25 21:22:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-25 21:24:12 +0000

    sys-process/daemontools-encore: EAPI 8, fix build w/ Clang 16
    
    Closes: https://bugs.gentoo.org/870949
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ncore-1.11.ebuild => daemontools-encore-1.11-r1.ebuild} | 14 ++++++++------
 ...aemontools-encore-1.11-implicit-func-decl-clang16.patch | 13 +++++++++++++
 2 files changed, 21 insertions(+), 6 deletions(-)