Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874675 - app-arch/dump-0.4.47-r1 - transformation_null.c: error: incompatible pointer to integer conversion
Summary: app-arch/dump-0.4.47-r1 - transformation_null.c: error: incompatible pointer ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 15:57 UTC by Toralf Förster
Modified: 2023-07-23 01:52 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.43 KB, text/plain)
2022-10-03 15:57 UTC, Toralf Förster
Details
app-arch:dump-0.4.47-r1:20221003-153630.log (app-arch:dump-0.4.47-r1:20221003-153630.log,21.75 KB, text/plain)
2022-10-03 15:57 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.65 KB, application/x-bzip)
2022-10-03 15:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,34.68 KB, text/plain)
2022-10-03 15:57 UTC, Toralf Förster
Details
environment (environment,28.16 KB, text/plain)
2022-10-03 15:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.42 KB, application/x-bzip)
2022-10-03 15:57 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.37 KB, application/x-bzip)
2022-10-03 15:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,14.31 KB, application/x-bzip)
2022-10-03 15:57 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 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(+)