Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943941 - dev-lang/swi-prolog-9.3.9 - [libtool] [gcc-15] /.../pl-prof.c: error: passing argument 2 of set_sighandler from incompatible pointer type [-Wincompatible-pointer-types]
Summary: dev-lang/swi-prolog-9.3.9 - [libtool] [gcc-15] /.../pl-prof.c: error: passing...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-11-19 08:49 UTC by Toralf Förster
Modified: 2024-11-19 08:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.99 KB, text/plain)
2024-11-19 08:49 UTC, Toralf Förster
Details
dev-lang:swi-prolog-9.3.9:20241119-004306.log (dev-lang:swi-prolog-9.3.9:20241119-004306.log,75.50 KB, text/plain)
2024-11-19 08:49 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,92.13 KB, application/x-xz)
2024-11-19 08:49 UTC, Toralf Förster
Details
environment (environment,175.16 KB, text/plain)
2024-11-19 08:49 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-11-19 08:49 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.84 KB, application/x-xz)
2024-11-19 08:49 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,73.80 KB, application/x-xz)
2024-11-19 08:49 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,90.48 KB, application/x-xz)
2024-11-19 08:49 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,37.10 KB, application/x-xz)
2024-11-19 08:49 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 2024-11-19 08:49:35 UTC
too long lines were shrinked:

[91/1030] /usr/bin/ccache /usr/bin/x86_64-pc-linux-gnu-gcc  -I/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/src -I/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9/src  -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -O2 -gdwarf-2 -g3 -O2 -pipe -marc
[92/1030] /usr/bin/ccache /usr/bin/x86_64-pc-linux-gnu-gcc  -I/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/src -I/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9/src  -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -O2 -gdwarf-2 -g3 -O2 -pipe -marc
[93/1030] /usr/bin/ccache /usr/bin/x86_64-pc-linux-gnu-gcc  -I/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/src -I/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9/src  -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -O2 -gdwarf-2 -g3 -O2 -pipe -marc
FAILED: src/CMakeFiles/swiplobjs.dir/pl-prof.c.o 
/usr/bin/ccache /usr/bin/x86_64-pc-linux-gnu-gcc  -I/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/src -I/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9/src  -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -O2 -gdwarf-2 -g3 -O2 -pipe -march=native -
/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9/src/pl-prof.c: In function startProfiler:
/var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9/src/pl-prof.c:289:23: error: passing argument 2 of set_sighandler from incompatible pointer type [-Wincompatible-pointer-types]
  289 |   set_sighandler(sig, sig_profile);
      |                       ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20241109-183501

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.77.1
  [3]   rust-bin-1.81.0
  [4]   rust-bin-1.82.0
  [5]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8566b21081f24b8ff8c5a8ecadbce83f2bdad484
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 17:03:30 2024 +0000

    2024-11-18 17:03:29 UTC

emerge -qpvO =dev-lang/swi-prolog-9.3.9
[ebuild  N    ] dev-lang/swi-prolog-9.3.9  USE="cli gmp ipc pcre ssl -X -archive -berkdb -debug -doc -gui -java -minimal -odbc -pgo -qt6 -test -yaml"
Comment 1 Toralf Förster gentoo-dev 2024-11-19 08:49:35 UTC
Created attachment 909904 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-19 08:49:37 UTC
Created attachment 909905 [details]
dev-lang:swi-prolog-9.3.9:20241119-004306.log
Comment 3 Toralf Förster gentoo-dev 2024-11-19 08:49:38 UTC
Created attachment 909906 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-19 08:49:39 UTC
Created attachment 909907 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-19 08:49:40 UTC
Created attachment 909908 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-19 08:49:41 UTC
Created attachment 909909 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-19 08:49:42 UTC
Created attachment 909910 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-19 08:49:43 UTC
Created attachment 909911 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-19 08:49:44 UTC
Created attachment 909912 [details]
temp.tar.xz