Bug 9486 - xorg-server 1.19 fails to compile for glibc with systemd init (x86_64)
Summary: xorg-server 1.19 fails to compile for glibc with systemd init (x86_64)
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: Bernd Kuhls
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-18 08:38 UTC by mail
Modified: 2016-12-18 13:26 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
buildroot config (15.06 KB, application/x-gzip)
2016-12-18 08:41 UTC, mail
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mail 2016-12-18 08:38:45 UTC
when trying to compile xorg server package for x86_64 with glibc/systemd enabled, I get
following build error:

./../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -I../../../../dbe -I../../../../present -fvisibility=hidden -DHAVE_XORG_CONFIG_H -fvisibility=hidden -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include -DHAVE_ACPI -DHAVE_APM -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include/dbus-1.0 -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/dbus-1.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I/home/wbx/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include/pixman-1 -O2 -pthread -c systemd-logind.c  -fPIC -DPIC -o .libs/systemd-logind.o
systemd-logind.c: In function ‘systemd_logind_vtenter’:
systemd-logind.c:248:21: error: ‘xf86_num_platform_devices’ undeclared (first use in this function)
     for (i = 0; i < xf86_num_platform_devices; i++) {
                     ^~~~~~~~~~~~~~~~~~~~~~~~~
systemd-logind.c:248:21: note: each undeclared identifier is reported only once for each function it appears in
systemd-logind.c:249:13: error: ‘xf86_platform_devices’ undeclared (first use in this function)
         if (xf86_platform_devices[i].flags & XF86_PDEV_PAUSED)
             ^~~~~~~~~~~~~~~~~~~~~
Makefile:670: recipe for target 'systemd-logind.lo' failed
make[6]: *** [systemd-logind.lo] Er

Reproducible with git master from today with qemu defconfig
qemu_x86_64_defconfig. Afterwards change to glibc and enable systemd as init.
Comment 1 mail 2016-12-18 08:41:50 UTC
Created attachment 6826 [details]
buildroot config
Comment 2 Thomas Petazzoni 2016-12-18 09:55:05 UTC
I think this would be fixed by https://patchwork.ozlabs.org/patch/700551/.
Comment 3 Bernd Kuhls 2016-12-18 12:23:23 UTC
(In reply to Thomas Petazzoni from comment #2)

Confirmed.