Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649332 - x11-base/xorg-server-1.19.99.901: error: _XF86_PDEV_SERVER_FD_ undeclared (on FreeBSD)
Summary: x11-base/xorg-server-1.19.99.901: error: _XF86_PDEV_SERVER_FD_ undeclared (on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 649286
  Show dependency tree
 
Reported: 2018-03-02 07:58 UTC by Michał Górny
Modified: 2018-05-10 05:37 UTC (History)
0 users

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


Attachments
x11-base:xorg-server-1.19.99.901:20180302-075039.log.xz (x11-base:xorg-server-1.19.99.901:20180302-075039.log.xz,29.65 KB, application/x-xz)
2018-03-02 07:58 UTC, Michał Górny
Details
e-info.txt (e-info.txt,4.38 KB, text/plain)
2018-03-02 07:58 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-02 07:58:09 UTC
Created attachment 521812 [details]
x11-base:xorg-server-1.19.99.901:20180302-075039.log.xz

/var/tmp/portage/x11-base/xorg-server-1.19.99.901/work/xorg-server-1.19.99.901/hw/xfree86/drivers/modesetting/driver.c: In function ‘probe_hw’:
/var/tmp/portage/x11-base/xorg-server-1.19.99.901/work/xorg-server-1.19.99.901/hw/xfree86/drivers/modesetting/driver.c:247:38: error: dereferencing pointer to incomplete type ‘struct xf86_platform_device’
     if (platform_dev && (platform_dev->flags & XF86_PDEV_SERVER_FD)) {
                                      ^~
/var/tmp/portage/x11-base/xorg-server-1.19.99.901/work/xorg-server-1.19.99.901/hw/xfree86/drivers/modesetting/driver.c:247:48: error: ‘XF86_PDEV_SERVER_FD’ undeclared (first use in this function); did you mean ‘XF86_LEASE_VERSION’?
     if (platform_dev && (platform_dev->flags & XF86_PDEV_SERVER_FD)) {
                                                ^~~~~~~~~~~~~~~~~~~
                                                XF86_LEASE_VERSION

[...]

I have this on FreeBSD but I'm not sure if it isn't a dependency or USE flag combination issue.

[ebuild     U  ] x11-base/xorg-server-1.19.99.901:0/1.19.99.901::gentoo [1.19.6:0/1.19.6::gentoo] USE="ipv6 xorg xvfb -debug -dmx -doc (-glamor) -kdrive (-libressl) -minimal (-selinux) -static-libs (-systemd) (-udev) -unwind (-wayland) -xcsecurity -xephyr -xnest (-suid%*) (-tslib%)" 0 KiB
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-02 07:58:25 UTC
Created attachment 521814 [details]
e-info.txt
Comment 2 Felix Janda 2018-03-02 12:23:48 UTC
It looks like that file won't compile when XSERVER_PLATFORM_BUS is not
set, and configure doesn't set XSERVER_PLATFORM_BUS unless udev is
enabled.
Comment 3 Matt Turner gentoo-dev 2018-04-15 23:44:37 UTC
I think this is fixed in 1.19.99.904. Please test.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-16 06:01:53 UTC
Might be.  However, it's now failing as noted in bug #653288, so can't judge for sure the new issue just didn't hide this one.
Comment 5 Matt Turner gentoo-dev 2018-05-09 21:15:01 UTC
(In reply to Michał Górny from comment #4)
> Might be.  However, it's now failing as noted in bug #653288, so can't judge
> for sure the new issue just didn't hide this one.

Right. That bug is now fixed. Probably worth trying 1.19.99.905 now.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-10 05:37:42 UTC
Yay, this one compiles!