Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930501 - dev-libs/foma-0.10.0_p20220612-r1 - /.../sigma.c: error: incompatible function pointer types initializing int ( )(void) with an expression of type int
Summary: dev-libs/foma-0.10.0_p20220612-r1 - /.../sigma.c: error: incompatible functio...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-23 11:08 UTC by Toralf Förster
Modified: 2024-04-23 11:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,22.68 KB, text/plain)
2024-04-23 11:08 UTC, Toralf Förster
Details
dev-libs:foma-0.10.0_p20220612-r1:20240423-105948.log (dev-libs:foma-0.10.0_p20220612-r1:20240423-105948.log,52.13 KB, text/plain)
2024-04-23 11:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,244.90 KB, text/plain)
2024-04-23 11:08 UTC, Toralf Förster
Details
environment (environment,111.88 KB, text/plain)
2024-04-23 11:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-04-23 11:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.61 KB, application/x-xz)
2024-04-23 11:08 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,60.24 KB, application/x-xz)
2024-04-23 11:08 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,2.26 KB, application/x-xz)
2024-04-23 11:08 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-04-23 11:08:48 UTC
too long lines were shrinked:

      |                 ~~~~~~~~~ ^ ~~~~~~~~~~~
3 warnings generated.
[16/69] /var/tmp/portage/dev-libs/foma-0.10.0_p20220612-r1/temp/clang-wrappers/clang -D_GNU_SOURCE -I/var/tmp/portage/dev-libs/foma-0.10.0_p20220612-r1/work/foma-9e8c3df573015a26c84e113ba710ef3d57c8e777/foma  -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werro
[17/69] /var/tmp/portage/dev-libs/foma-0.10.0_p20220612-r1/temp/clang-wrappers/clang -D_GNU_SOURCE -I/var/tmp/portage/dev-libs/foma-0.10.0_p20220612-r1/work/foma-9e8c3df573015a26c84e113ba710ef3d57c8e777/foma  -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werro
FAILED: CMakeFiles/foma-static.dir/sigma.c.o 
/var/tmp/portage/dev-libs/foma-0.10.0_p20220612-r1/temp/clang-wrappers/clang -D_GNU_SOURCE -I/var/tmp/portage/dev-libs/foma-0.10.0_p20220612-r1/work/foma-9e8c3df573015a26c84e113ba710ef3d57c8e777/foma  -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implic
/var/tmp/portage/dev-libs/foma-0.10.0_p20220612-r1/work/foma-9e8c3df573015a26c84e113ba710ef3d57c8e777/foma/sigma.c:372:8: error: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (struct ssort *, struct ssort *)' [-Wincompatible-function-pointer-types]
  372 |   int(*comp)() = ssortcmp;
      |        ^         ~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240418-200202

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.4+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.4+libcxx
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit ddfaad106864ccf34e99267e1d94060d4eafd25d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 23 10:19:37 2024 +0000

    2024-04-23 10:19:36 UTC

emerge -qpvO dev-libs/foma
[ebuild  N    ] dev-libs/foma-0.10.0_p20220612-r1
Comment 1 Toralf Förster gentoo-dev 2024-04-23 11:08:49 UTC
Created attachment 891522 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-23 11:08:50 UTC
Created attachment 891523 [details]
dev-libs:foma-0.10.0_p20220612-r1:20240423-105948.log
Comment 3 Toralf Förster gentoo-dev 2024-04-23 11:08:52 UTC
Created attachment 891524 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-23 11:08:53 UTC
Created attachment 891525 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-23 11:08:54 UTC
Created attachment 891526 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-23 11:08:54 UTC
Created attachment 891527 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-23 11:08:56 UTC
Created attachment 891528 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-23 11:08:56 UTC
Created attachment 891529 [details]
var.tmp.clang.tar.xz