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

Bug 883121

Summary: sci-astronomy/siril-1.0.6 - ../.../signals.c: error: call to undeclared function backtrace; ISO C99 and later do not support impli
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: mario.haustein
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28853
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
sci-astronomy:siril-1.0.6:20221126-050641.log
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-26 10:19:35 UTC
too long lines were shrinked:

1 warning generated.
[61/176] clang -Isrc/libsiril.a.p -Isrc -I../siril-1.0.6/src -Isubprojects/kplot -I../siril-1.0.6/subprojects/kplot -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 
FAILED: src/libsiril.a.p/core_signals.c.o 
clang -Isrc/libsiril.a.p -Isrc -I../siril-1.0.6/src -Isubprojects/kplot -I../siril-1.0.6/subprojects/kplot -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/in
../siril-1.0.6/src/core/signals.c:58:17: error: call to undeclared function 'backtrace'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
                size_t size = backtrace(stack, sizeof(stack) / sizeof(void*));
                              ^

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.5_p8 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit d31c9984f0ede2e6f833536b764c0f418f8daf60
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 26 03:33:52 2022 +0000

    2022-11-26 03:33:51 UTC

emerge -qpvO sci-astronomy/siril
[ebuild  N    ] sci-astronomy/siril-1.0.6  USE="heif jpeg openmp png raw tiff wcs -curl -ffmpeg"
Comment 1 Toralf Förster gentoo-dev 2022-11-26 10:19:37 UTC
Created attachment 836941 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-26 10:19:38 UTC
Created attachment 836943 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-26 10:19:39 UTC
Created attachment 836945 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-26 10:19:40 UTC
Created attachment 836947 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-26 10:19:41 UTC
Created attachment 836949 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-26 10:19:42 UTC
Created attachment 836951 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-26 10:19:44 UTC
Created attachment 836953 [details]
sci-astronomy:siril-1.0.6:20221126-050641.log
Comment 8 Toralf Förster gentoo-dev 2022-11-26 10:19:45 UTC
Created attachment 836955 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-26 10:19:46 UTC
Created attachment 836957 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2023-01-04 05:50:45 UTC
The bug has been closed via the following commit(s):

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

commit 9e5efd3a4fb8564e7bb06e69953bd59882124bf4
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2022-12-27 15:27:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-04 05:48:13 +0000

    sci-astronomy/siril: fix call to undeclared function
    
    Closes: https://bugs.gentoo.org/883121
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/28853
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-execinfo.patch => siril-1.0-execinfo-r1.patch} |  0
 .../siril/files/siril-1.0-execinfo-r2.patch        | 45 ++++++++++++++++++++++
 sci-astronomy/siril/siril-1.0.5-r1.ebuild          |  2 +-
 ...siril-1.0.6-r1.ebuild => siril-1.0.6-r2.ebuild} |  2 +-
 4 files changed, 47 insertions(+), 2 deletions(-)