Bug 783 - do_install error in telepathy-python
Summary: do_install error in telepathy-python
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 1.0-alpha
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M4
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-02-28 09:20 UTC by Mark Hatle
Modified: 2011-03-10 20:02 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
Failed do_install log (17.73 KB, application/octet-stream)
2011-02-28 09:20 UTC, Mark Hatle
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hatle 2011-02-28 09:20:34 UTC
Created attachment 97 [details]
Failed do_install log

Attempting to build "meta-toolchain-gmae", for MACHINE = "qemux86", with a BB_NUMBER_THREADS = 8, PARALLEL_MAKE = "-j 8".

I received and error in the install of the telepathy-python package. See attached log file.

It appears there is a race during the install, and this package might not install properly with parallel make.
Comment 1 Mark Hatle 2011-02-28 09:24:29 UTC
I just disabled parallel builds and continue to have the same failure.
Comment 2 Dexuan Cui 2011-03-01 17:02:35 UTC
BTW: I got do_compile failure today when building meta-toolchain-gmae (I'm using poky master f8ca2383e1a5f69ef3f24b5436b3302e7a2e576e):

ERROR: Function 'do_compile' failed (see /osel/dcui/sugarbay/poky-contrib.git/sugarbay_gfx/tmp/work/snb-poky-linux/telepathy-python-0.15.19-r0/temp/log.do_compile.30421 for further information)
ERROR: Logfile of failure stored in: /osel/dcui/sugarbay/poky-contrib.git/sugarbay_gfx/tmp/work/snb-poky-linux/telepathy-python-0.15.19-r0/temp/log.do_compile.30421
Log data follows:
| ERROR: Function 'do_compile' failed (see /osel/dcui/sugarbay/poky-contrib.git/sugarbay_gfx/tmp/work/snb-poky-linux/telepathy-python-0.15.19-r0/temp/log.do_compile.30421 for further information)
| NOTE: make -j 8
| Making all in examples
| make[1]: Entering directory `/osel/dcui/sugarbay/poky-contrib.git/sugarbay_gfx/tmp/work/snb-poky-linux/telepathy-python-0.15.19-r0/telepathy-python-0.15.19/examples'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/osel/dcui/sugarbay/poky-contrib.git/sugarbay_gfx/tmp/work/snb-poky-linux/telepathy-python-0.15.19-r0/telepathy-python-0.15.19/examples'
| Making all in src
| make[1]: Entering directory `/osel/dcui/sugarbay/poky-contrib.git/sugarbay_gfx/tmp/work/snb-poky-linux/telepathy-python-0.15.19-r0/telepathy-python-0.15.19/src'
| xsltproc --nonet --novalid --xinclude -o _generated/interfaces.py \
|       ../tools/python-interfaces-generator.xsl \
|       ../spec/all.xml
| xsltproc --nonet --novalid --xinclude -o _generated/constants.py \
|       ../tools/python-constants-generator.xsl \
|       ../spec/all.xml
| xsltproc --nonet --novalid --xinclude -o _generated/errors.py \
|       ../tools/python-errors-generator.xsl \
|       ../spec/all.xml
| /bin/mkdir -p _generated/
| xsltproc --nonet --novalid --xinclude -o _generated/Account.py \
|       ../tools/spec-to-python.xsl \
|       ../spec/Account.xml
| xsltproc --nonet --novalid --xinclude -o _generated/Account_Interface_Avatar.py \
|       ../tools/spec-to-python.xsl \
|       ../spec/Account_Interface_Avatar.xml
| xsltproc --nonet --novalid --xinclude -o _generated/Account_Interface_Minimum_Presence.py \
|       ../tools/spec-to-python.xsl \
|       ../spec/Account_Interface_Minimum_Presence.xml
| xsltproc --nonet --novalid --xinclude -o _generated/Account_Interface_Storage.py \
|       ../tools/spec-to-python.xsl \
|       ../spec/Account_Interface_Storage.xml
| runtime error
| runtime error
| xsltApplyStylesheet: saving to _generated/Account_Interface_Avatar.py may not be possible
| xsltApplyStylesheet: saving to _generated/Account_Interface_Minimum_Presence.py may not be possible
| runtime error
| xsltApplyStylesheet: saving to _generated/Account.py may not be possible
| make[1]: *** [_generated/Account_Interface_Minimum_Presence.py] Error 9
| make[1]: *** Waiting for unfinished jobs....
| make[1]: *** [_generated/Account_Interface_Avatar.py] Error 9
| make[1]: *** [_generated/Account.py] Error 9
@                                                    

| make[1]: Leaving directory `/osel/dcui/sugarbay/poky-contrib.git/sugarbay_gfx/tmp/work/snb-poky-linux/telepathy-python-0.15.19-r0/telepathy-python-0.15.19/src'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed
NOTE: package telepathy-python-0.15.19-r0: task do_compile: Failed
ERROR: Task 907 (/osel/dcui/sugarbay/poky-contrib.git/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb, do_compile) failed with exit code '1'
Comment 3 Dongxiao Xu 2011-03-07 20:56:11 UTC
Can you reproduce this issue easily? Or it happens in certain low rate?

I tried several times and couldn't reproduce it.
Comment 4 Dongxiao Xu 2011-03-09 16:59:22 UTC
Now I can reproduce it locally.

The reason is because some missing dependency in Makefile. I will commit a patch to fix it.