Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856724 - x11-misc/virtualgl-3.0.1 - /.../faker-sym.h: error: comparison between distinct pointer types _XkbOpenDisplayType {aka Display ( )
Summary: x11-misc/virtualgl-3.0.1 - /.../faker-sym.h: error: comparison between distin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 865181
  Show dependency tree
 
Reported: 2022-07-06 17:07 UTC by Toralf Förster
Modified: 2022-08-15 16:33 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.83 KB, text/plain)
2022-07-06 17:07 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,58.93 KB, application/x-bzip)
2022-07-06 17:07 UTC, Toralf Förster
Details
environment (environment,115.34 KB, text/plain)
2022-07-06 17:07 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.97 KB, application/x-bzip)
2022-07-06 17:07 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.60 KB, application/x-bzip)
2022-07-06 17:07 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.58 KB, application/x-bzip)
2022-07-06 17:07 UTC, Toralf Förster
Details
x11-misc:virtualgl-3.0.1:20220706-154022.log (x11-misc:virtualgl-3.0.1:20220706-154022.log,61.79 KB, text/plain)
2022-07-06 17:07 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-07-06 17:07:03 UTC
In file included from /var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/glxvisual.h:18,
                 from /var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/ContextHash.h:18,
                 from /var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/ContextHash.cpp:13:
/var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/faker-sym.h: In function Display* _XkbOpenDisplay(char*, int*, int*, int*, int*, int*)’:
/var/tmp/portage/x11-misc/virtualgl-3.0.1/work/VirtualGL-3.0.1/server/faker-sym.h:72:18: error: comparison between distinct pointer types _XkbOpenDisplayType’ {aka Display* (*)(char*, int*, int*, int*, int*, int*)’} and Display* (*)(const char*, int*, int*, int*, int*, int*)’ lacks a cast [-fpermissive]
   72 |         if(__##s == fake_s) \
      |                  ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20220703-051237

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Rust versions:
  [1]   rust-bin-1.62.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.3_p7 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 8f37e9bef1de5c42fb86d1e459da8169ebdccd0e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jul 6 15:16:37 2022 +0000

    2022-07-06 15:16:37 UTC

emerge -qpvO x11-misc/virtualgl
[ebuild  N    ] x11-misc/virtualgl-3.0.1  USE="ssl" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-07-06 17:07:04 UTC
Created attachment 790397 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-06 17:07:05 UTC
Created attachment 790400 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-07-06 17:07:07 UTC
Created attachment 790403 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-07-06 17:07:08 UTC
Created attachment 790406 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-07-06 17:07:08 UTC
Created attachment 790409 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-06 17:07:09 UTC
Created attachment 790412 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-07-06 17:07:11 UTC
Created attachment 790415 [details]
x11-misc:virtualgl-3.0.1:20220706-154022.log
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-10 13:08:45 UTC
Huh, it's not GCC 12, but new libX11!

Patch: https://github.com/VirtualGL/virtualgl/commit/46d09529563127fef0d42a4fb2681ae8d65a856b
Comment 9 Larry the Git Cow gentoo-dev 2022-07-20 13:13:01 UTC
The bug has been closed via the following commit(s):

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

commit d2381a8ec1ffefc82269d3959a643940ba7aff84
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2022-07-20 13:11:30 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2022-07-20 13:11:30 +0000

    x11-misc/virtualgl: Fix build with latest libX11
    
    Thanks-to: Toralf Förster
    Thanks-to: Sam James
    Closes: https://bugs.gentoo.org/856724
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../files/virtualgl-3.0.1-libX11-1.8.patch         | 140 +++++++++++++++++++++
 x11-misc/virtualgl/virtualgl-3.0.1.ebuild          |   5 +
 2 files changed, 145 insertions(+)