Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919343 - app-emulation/86Box-4.0.1 - /.../unix.c: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
Summary: app-emulation/86Box-4.0.1 - /.../unix.c: error: pointer type mismatch in cond...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL: https://github.com/86Box/86Box/issues...
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-06 16:57 UTC by Toralf Förster
Modified: 2024-01-05 13:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.03 KB, text/plain)
2023-12-06 16:57 UTC, Toralf Förster
Details
app-emulation:86Box-4.0.1:20231206-082354.log.xz (app-emulation:86Box-4.0.1:20231206-082354.log.xz,12.86 KB, application/x-xz)
2023-12-06 16:57 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,88.90 KB, application/x-xz)
2023-12-06 16:57 UTC, Toralf Förster
Details
environment (environment,98.60 KB, text/plain)
2023-12-06 16:57 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-06 16:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,43.48 KB, application/x-xz)
2023-12-06 16:57 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,89.30 KB, application/x-xz)
2023-12-06 16:57 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.29 KB, application/x-xz)
2023-12-06 16: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 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(-)