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

Bug 874675

Summary: app-arch/dump-0.4.47-r1 - transformation_null.c: error: incompatible pointer to integer conversion
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 Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/30624
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-arch:dump-0.4.47-r1:20221003-153630.log
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 15:57:13 UTC
too long lines were shrinked:

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../dump -I../compat/include -D_USE_BSD_SIGNAL -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b47\" -D_PATH_RMT=\"/usr/sbin/rmt\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../dump -I../compat/include -D_USE_BSD_SIGNAL -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b47\" -D_PATH_RMT=\"/usr/sbin/rmt\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../dump -I../compat/include -D_USE_BSD_SIGNAL -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b47\" -D_PATH_RMT=\"/usr/sbin/rmt\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I../dump -I../compat/include -D_USE_BSD_SIGNAL -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b47\" -D_PATH_RMT=\"/usr/sbin/rmt\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -
transformation_null.c:84:2: error: incompatible pointer to integer conversion
      initializing 'int' with an expression of type 'void *' [-Wint-conversion]
        NULL,

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.64.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

  HEAD of ::gentoo
commit f56b47cf1d3486298ccbfca2755f391e987521b2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 14:16:52 2022 +0000

    2022-10-03 14:16:52 UTC

emerge -qpvO app-arch/dump
[ebuild  N    ] app-arch/dump-0.4.47-r1  USE="bzip2 readline ssl zlib -debug -ermt -lzo (-selinux) -sqlite -static -test -uuid"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 15:57:15 UTC
Created attachment 817843 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 15:57:16 UTC
Created attachment 817846 [details]
app-arch:dump-0.4.47-r1:20221003-153630.log
Comment 3 Toralf Förster gentoo-dev 2022-10-03 15:57:17 UTC
Created attachment 817849 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-10-03 15:57:18 UTC
Created attachment 817852 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-10-03 15:57:19 UTC
Created attachment 817855 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-10-03 15:57:20 UTC
Created attachment 817858 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 15:57:21 UTC
Created attachment 817861 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-03 15:57:22 UTC
Created attachment 817864 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-07-23 01:52:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1352e25c9559f76f9aacb38bb395546f7e2bba07

commit 1352e25c9559f76f9aacb38bb395546f7e2bba07
Author:     brahmajit das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-04-17 07:40:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-23 01:45:08 +0000

    app-arch/dump: fix incompatible pointer to integer conversion
    
    transformation_null was initializing one of it's elements with NULL
    which is zero type casted to void. Hence, instead of initializing with
    NULL, now we are initializing that element with zero.
    
    Closes: https://bugs.gentoo.org/874675
    Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/30624
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/dump/dump-0.4.47-r3.ebuild                | 100 +++++++++++++++++++++
 ...ncompatible-pointer-to-integer-conversion.patch |  25 ++++++
 2 files changed, 125 insertions(+)