Bug 2427

Summary: [qemuarm/mips/ppc] xf86-input-synaptics do_configure due to lack of xorg-server development files
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jiajun Xu <jiajun.xu>
Component: coreAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, hongnax.xu, meta.mr.watcher, meta.watcher, ningx.ma, song.liu, yilongx.y.sun
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2012-05-07 01:51:58 UTC
tree/branch: poky/denzil
commit: d20a24310eb43fed9a3f3e75752c9ad45a18cbe4

With denzil, I find that xf86-input-synaptics fails to do_configure with non-x86 targets, including qemumips, qemuarm, qemuppc. It reports that "xorg-server development files" is missed. Detailed error log as below:

#######
DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
ERROR: Function failed: do_configure (see /home/jxu49/osel/poky/build/tmp/work/armv5te-poky-linux-gnueabi/xf86-input-synaptics-2_1.5.0-r17.2/temp/log.do_configure.12410 for further information)
automake (GNU automake) 1.11.2
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
AUTOV is 1.11
NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I/home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/share/aclocal-1.11 -I /home/jxu49/osel/poky/build/tmp/work/armv5te-poky-linux-gnueabi/xf86-input-synaptics-2_1.5.0-r17.2/xf86-input-synaptics-1.5.0/aclocal-copy/
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/share/aclocal-1.11 -I /home/jxu49/osel/poky/build/tmp/work/armv5te-poky-linux-gnueabi/xf86-input-synaptics-2_1.5.0-r17.2/xf86-input-synaptics-1.5.0/aclocal-copy/ -I /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/share/aclocal-1.11 -I /home/jxu49/osel/poky/build/tmp/work/armv5te-poky-linux-gnueabi/xf86-input-synaptics-2_1.5.0-r17.2/xf86-input-synaptics-1.5.0/aclocal-copy/ --force --warnings=cross
aclocal: unknown warning category `cross'
configure.ac:1: warning: underquoted definition of CC_AC_CHECK_FILE
configure.ac:1:   run info '(automake)Extending aclocal'
configure.ac:1:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:53: error: must install xorg-server development files before running autoconf/autogen
configure.ac:53: the top level
autom4te: m4 failed with exit status: 1
aclocal: /home/jxu49/osel/poky/build/tmp/sysroots/i686-linux/usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
ERROR: autoreconf execution failed.
#######
Comment 1 Laurentiu Palcu 2012-06-11 13:58:01 UTC
It could be a parallelism issue. I built the latest master and a branch checked out from the commit you mentioned, on all architectures, without any issues. I use:

BB_NUMBER_THREADS = "8"
PARALLEL_MAKE = "-j 8"

What settings do you have?
Comment 2 Laurentiu Palcu 2012-06-12 09:33:59 UTC
I also tested with:

BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"

Could not reproduce... Please give more details about how to reproduce it.
Comment 3 Jiajun Xu 2012-06-12 15:14:40 UTC
(In reply to comment #2)
> I also tested with:

BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"

Could
> not reproduce... Please give more details about how to reproduce it.

My OS is 32bit Ubuntu 10.04. And my system is a 8 processors with 4GB memory installed.
I think it may not be related to parallelism since I use 9 for BB_NUMBER_THREADS and PARALLEL_MAKE by default. But with the other number, like 2, the issue could be reproduced also.
Comment 4 Alexandru Georgescu 2012-08-16 11:41:19 UTC
Hi Laurentiu,
Do we have an update regarding this? 

Thanks,
Alex.
Comment 5 Laurentiu Palcu 2012-10-01 15:23:54 UTC
I succeeded to reproduce this using the commit mentioned in the bug report and doing a build for mips:

MACHINE=qemumips bitbake xf86-input-synaptics

However, this does not reproduce on the latest tree. So, closing the issue.
Comment 6 Alexandru Georgescu 2012-10-05 09:45:33 UTC
Verified.