Failed to build with this message: In file included from /usr/include/xf86drmMode.h:45, from qxl_drmmode.h:33, from qxl_drmmode.c:36: /usr/include/xorg/xf86Opt.h:44:10: error: two or more data types in declaration specifiers 44 | Bool bool; | ^~~~ Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge -auvDN world Actual Results: Failed to build Expected Results: Not to fail
Created attachment 759765 [details] build.log
Created attachment 759766 [details] emerge -pqv '=x11-drivers/xf86-video-qxl-0.1.5_p20200205-r1::gentoo'
Created attachment 759767 [details] emerge --info '=x11-drivers/xf86-video-qxl-0.1.5_p20200205-r1::gentoo'
Created attachment 759768 [details, diff] fix_bool.patch
The problem is in include file from x11-base/xorg-server-1.20.14 which uses reserved keyword "bool" as variable. The attached patch changes the variable name.
This may be same as https://bugs.gentoo.org/829627 Try changing the include order as in 829627
(In reply to Joakim Tjernlund from comment #6) > This may be same as https://bugs.gentoo.org/829627 > Try changing the include order as in 829627 I have had the same problem as email200202@yahoo.com, and I have found the same solution: change-header-inclusion-order-avoid-xorg-headers-catching-stdbool.h_for-qxl-video-driver.patch The compilation was a success. The patch proposed by email200202@yahoo.com, although I think it fixes the compilation problem for both the xf86-video-qxl-0.1.5_p20200205-r1 driver, and the xf86-video-vmware-13.3.0 driver; It seems to me like a regression in the development line of xorg-server-21.1.2 But, it is only my opinion...
Created attachment 759860 [details, diff] Created change-header-inclusion-order-avoid-xorg-headers-catching-stdbool.h_for-qxl-video-driver.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6b6be1913a672ea920ba2ae6fad4c45490ef9d commit aa6b6be1913a672ea920ba2ae6fad4c45490ef9d Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-20 00:57:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-20 00:58:26 +0000 x11-drivers/xf86-video-qxl: fix include order Not quite clear if this is really an issue with xorg-server, but it is what it is. Closes: https://bugs.gentoo.org/829628 Thanks-to: Remus-Gabriel Chelu <gaby_r_chelu@yahoo.es> Signed-off-by: Sam James <sam@gentoo.org> ...video-qxl-0.1.5_p20200205-xorg-21.0-build-bool.patch | 17 +++++++++++++++++ .../xf86-video-qxl-0.1.5_p20200205-r1.ebuild | 1 + 2 files changed, 18 insertions(+)
Created attachment 759952 [details] /var/log/Xorg.0.log
Please re-open this bug. The software compiles successfully but I got black screen after restart. It seems that there is compatibility problem between x11-base/xorg-server-21.1.2-r2 and x11-drivers/xf86-video-qxl-0.1.5_p20200205-r1 I attached /var/log/Xorg.0.log file.
(In reply to email200202 from comment #11) > Please re-open this bug. > The software compiles successfully but I got black screen after restart. > > It seems that there is compatibility problem between > x11-base/xorg-server-21.1.2-r2 and > x11-drivers/xf86-video-qxl-0.1.5_p20200205-r1 > > I attached /var/log/Xorg.0.log file. I suspect you need to file a new bug for that. It's really unlikely to be related to this one.