Bug 1855 - XORG Keyboard driver fails to compile
Summary: XORG Keyboard driver fails to compile
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-30 10:04 UTC by Paul Jones
Modified: 2010-05-30 18:14 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Buildroot config (30.36 KB, text/plain)
2010-05-30 10:04 UTC, Paul Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Jones 2010-05-30 10:04:11 UTC
Created attachment 1789 [details]
Buildroot config

This is using latest GIT buildroot with no locale support.

checking for /home/peejay/mini2440-dev/buildroot-x86/output/staging/usr/bin/i686-unknown-linux-uclibc-gcc -Os -pipe -Os  -mtune=nocona -march=nocona -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peejay/mini2440-dev/buildroot-x86/output/staging/usr/include -I/home/peejay/mini2440-dev/buildroot-x86/output/staging/include --sysroot=/home/peejay/mini2440-dev/buildroot-x86/output/staging/ -isysroot /home/peejay/mini2440-dev/buildroot-x86/output/staging option to accept ISO C89... (cached) none needed
checking dependency style of /home/peejay/mini2440-dev/buildroot-x86/output/staging/usr/bin/i686-unknown-linux-uclibc-gcc -Os -pipe -Os  -mtune=nocona -march=nocona -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/peejay/mini2440-dev/buildroot-x86/output/staging/usr/include -I/home/peejay/mini2440-dev/buildroot-x86/output/staging/include --sysroot=/home/peejay/mini2440-dev/buildroot-x86/output/staging/ -isysroot /home/peejay/mini2440-dev/buildroot-x86/output/staging... (cached) gcc3
checking if RANDR is defined... no
checking if XINPUT is defined... no
checking if XKB is defined... no
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server >= 1.2.99.0 xproto ) were not met:

No package 'xorg-server' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 1 Peter Korsgaard 2010-05-30 10:49:02 UTC
(In reply to comment #0)
> checking if RANDR is defined... no
> checking if XINPUT is defined... no
> checking if XKB is defined... no
> checking pkg-config is at least version 0.9.0... yes
> checking for XORG... configure: error: Package requirements (xorg-server >=
> 1.2.99.0 xproto ) were not met:
> 
> No package 'xorg-server' found

What package is this exactly? BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD? That one seems to list both xserver and xproto as dependencies.

Anyway, I'll try building your .config
Comment 2 Paul Jones 2010-05-30 11:03:58 UTC
(In reply to comment #1)
> 
> What package is this exactly? BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD? That one
> seems to list both xserver and xproto as dependencies.

Yes, that's the one. I built it the other day and it worked ok, but today I did a "git pull && make distclean" and now it's not working.
Comment 3 Peter Korsgaard 2010-05-30 11:15:32 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > 
> > What package is this exactly? BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD? That one
> > seems to list both xserver and xproto as dependencies.
> 
> Yes, that's the one. I built it the other day and it worked ok, but today I did
> a "git pull && make distclean" and now it's not working.

Ahh, then I guess I know why:

commit b7acacaf6e84ec05ed76dd419e645cfbd6683f7a
Author: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Date:   Fri May 28 17:58:43 2010 +0300

    xserver_xorg-server: Use $(MAKE1) for make install
    
    Xserver installation fails with parallel make jobs.
    
    Installation to staging is not needed. So just remove it
    instead of converting to $(MAKE1).
    
    Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>

If we don't install into staging, then the other packages won't find the
xserver pkg-config file. I'll fix that now.

Please try to provide as much info as you can in the bug report in the
future, thanks.
Comment 4 Peter Korsgaard 2010-05-30 18:14:26 UTC
Fixed in git, thanks