Bug 109678

Summary: build error: /usr/include/xorg/xf86Opt.h:44:10: error: two or more data types in declaration specifiers
Product: DRI Reporter: Fabio Pedretti <pedretti.fabio>
Component: libdrmAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Fabio Pedretti 2019-02-19 15:42:15 UTC
A recent commit broke building -ati.

Full build log:
https://launchpadlibrarian.net/410908768/buildlog_ubuntu-bionic-amd64.xserver-xorg-video-ati_1%3A18.1.99+git1902111932.15697e~oibaf~b_BUILDING.txt.gz

Error:
In file included from /usr/include/xf86drm.h:40:0,
                 from ../../src/ati.c:61:
/usr/include/xorg/xf86Opt.h:44:10: error: two or more data types in declaration specifiers
     Bool bool;
          ^
In file included from /usr/include/xorg/xf86str.h:43:0,
                 from /usr/include/xorg/xf86.h:44,
                 from ../../src/ati.h:30,
                 from ../../src/ati.c:64:
/usr/include/xorg/xf86Opt.h:44:14: warning: declaration does not declare anything
     Bool bool;
              ^
Comment 1 Michel Dänzer 2019-02-19 15:56:45 UTC
This was caused by libdrm, fixed with current libdrm Git master.
Comment 2 Michel Dänzer 2019-02-19 15:58:49 UTC

*** This bug has been marked as a duplicate of bug 109587 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.