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

Bug 919343

Summary: app-emulation/86Box-4.0.1 - /.../unix.c: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/86Box/86Box/issues/3994
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-emulation:86Box-4.0.1:20231206-082354.log.xz
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-06 16:57:01 UTC
too long lines were shrinked:

FAILED: src/unix/CMakeFiles/plat.dir/unix.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DCMAKE -DDISCORD -DRELEASE_BUILD -DUSE_DYNAREC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -I/usr/include/freetype2 -I/usr/include/SDL2 -I/var/tmp/portage/app-emulation/86Box-4.0.1/work/86Box-4.0.1_build/src/include -I/var/tmp/portage/app-em
/var/tmp/portage/app-emulation/86Box-4.0.1/work/86Box-4.0.1/src/unix/unix.c: In function ui_msgbox_header:
/var/tmp/portage/app-emulation/86Box-4.0.1/work/86Box-4.0.1/src/unix/unix.c:638:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  638 |         header = (void *) (flags & MBX_ANSI) ? "86Box" : L"86Box";
      |                  ^
/var/tmp/portage/app-emulation/86Box-4.0.1/work/86Box-4.0.1/src/unix/unix.c:638:56: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
  638 |         header = (void *) (flags & MBX_ANSI) ? "86Box" : L"86Box";
      |                                                        ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20231127-152538

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.8.1_p1 [openjdk-17]
2)	OpenJDK 21.0.1_p12 [openjdk-21]
3)	OpenJDK 8.382_p05 [openjdk-8]
4)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-21 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 69e45f22a2dd129ddaf363e53c35ebb1401bb006
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 6 07:49:55 2023 +0000

    2023-12-06 07:49:55 UTC

emerge -qpvO app-emulation/86Box
[ebuild  N    ] app-emulation/86Box-4.0.1  USE="fluidsynth munt openal threads -dinput -experimental -new-dynarec -qt5"
Comment 1 Toralf Förster gentoo-dev 2023-12-06 16:57:02 UTC
Created attachment 877677 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-06 16:57:03 UTC
Created attachment 877678 [details]
app-emulation:86Box-4.0.1:20231206-082354.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-06 16:57:04 UTC
Created attachment 877679 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-06 16:57:06 UTC
Created attachment 877680 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-06 16:57:07 UTC
Created attachment 877681 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-06 16:57:08 UTC
Created attachment 877682 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-06 16:57:09 UTC
Created attachment 877683 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-06 16:57:10 UTC
Created attachment 877684 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-01-05 13:13:16 UTC
The bug has been closed via the following commit(s):

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

commit bd0ba607911a443f2ba20d5b6653e8007e18df74
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-01-05 13:12:19 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-01-05 13:13:02 +0000

    app-emulation/86Box: fix incompatible-pointer-types
    
    Closes: https://bugs.gentoo.org/919343
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-emulation/86Box/86Box-4.0.1-r1.ebuild          |  4 +++-
 .../86Box-4.0.1-incompatible-pointer-types.patch   | 23 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)