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

Bug 871411

Summary: dev-libs/foma-0.10.0_p20220612 - /.../io.c: error: incompatible pointer to integer conversion initializing char with an expression
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Joonas Niilola <juippis>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/mhulden/foma/pull/151
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
dev-libs:foma-0.10.0_p20220612:20220918-124137.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 13:21:50 UTC
too long lines were shrinked:

[11/69] /var/tmp/portage/dev-libs/foma-0.10.0_p20220612/temp/clang -D_GNU_SOURCE -I/var/tmp/portage/dev-libs/foma-0.10.0_p20220612/work/foma-9e8c3df573015a26c84e113ba710ef3d57c8e777/foma  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werr
[12/69] /var/tmp/portage/dev-libs/foma-0.10.0_p20220612/temp/clang -D_GNU_SOURCE -I/var/tmp/portage/dev-libs/foma-0.10.0_p20220612/work/foma-9e8c3df573015a26c84e113ba710ef3d57c8e777/foma  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werr
FAILED: CMakeFiles/foma-static.dir/io.c.o 
/var/tmp/portage/dev-libs/foma-0.10.0_p20220612/temp/clang -D_GNU_SOURCE -I/var/tmp/portage/dev-libs/foma-0.10.0_p20220612/work/foma-9e8c3df573015a26c84e113ba710ef3d57c8e777/foma  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=impli
/var/tmp/portage/dev-libs/foma-0.10.0_p20220612/work/foma-9e8c3df573015a26c84e113ba710ef3d57c8e777/foma/io.c:1002:7: error: incompatible pointer to integer conversion initializing 'char' with an expression of type 'void *' [-Wint-conversion]
    { NULL, 0, NULL },
      ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220917-070004

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

gcc-config -l:
 [1] 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:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   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 cf4ca3b34687fe2c05dfc366e23f164beb852dae
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 11:31:47 2022 +0000

    2022-09-18 11:31:47 UTC

emerge -qpvO dev-libs/foma
[ebuild  N    ] dev-libs/foma-0.10.0_p20220612
Comment 1 Toralf Förster gentoo-dev 2022-09-18 13:21:51 UTC
Created attachment 811519 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 13:21:52 UTC
Created attachment 811522 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 13:21:54 UTC
Created attachment 811525 [details]
dev-libs:foma-0.10.0_p20220612:20220918-124137.log
Comment 4 Toralf Förster gentoo-dev 2022-09-18 13:21:55 UTC
Created attachment 811528 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 13:21:56 UTC
Created attachment 811531 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 13:21:57 UTC
Created attachment 811534 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 13:21:58 UTC
Created attachment 811537 [details]
logs.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2024-01-06 11:42:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f5a610a10c9a93955c96dd1c5496c7ceae3851

commit 04f5a610a10c9a93955c96dd1c5496c7ceae3851
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-01-06 11:40:33 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-01-06 11:42:43 +0000

    dev-libs/foma: gcc-13 fixes from upstream (open) PRs
    
    Closes: https://bugs.gentoo.org/871411
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../foma-0.10-0-fix-BOM_codes-initializer.patch    |  41 ++++++
 dev-libs/foma/files/foma-0.10.0-gcc-13-fixes.patch | 149 +++++++++++++++++++++
 dev-libs/foma/foma-0.10.0_p20220612-r1.ebuild      |  37 +++++
 3 files changed, 227 insertions(+)