Bug 2176

Summary: nasm-native fails rebuild
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Nitin Kamble <nitin.a.kamble>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, meta.mr.watcher, meta.watcher
Version: 1.2   
Target Milestone: 1.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (1.2)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 2194    

Description Paul Eggleton 2012-03-26 13:28:19 UTC
If nasm-native has to be rebuilt (due to a signature change) it will fail:

| checking for a BSD-compatible install... /usr/bin/install -c
| /media/large/tmp/work/x86_64-linux/nasm-native-2.07-r1/nasm-2.07/configure: line 4261: syntax error near unexpected token `-W'
| /media/large/tmp/work/x86_64-linux/nasm-native-2.07-r1/nasm-2.07/configure: line 4261: `PA_ADD_CFLAGS(-W)'
| ERROR: oe_runconf failed
NOTE: package nasm-native-2.07-r1: task do_configure: Failed

The failure appears to be caused by do_patch_fixaclocal being run a second time - you can reproduce it easily by doing the following:

bitbake nasm-native
bitbake -c patch_fixaclocal -f nasm-native
bitbake -c configure -f nasm-native
Comment 1 Nitin Kamble 2012-03-29 17:59:07 UTC
I have a fix for this will push it to ML soon.
Comment 2 Paul Eggleton 2012-04-03 09:29:37 UTC
Fix merged in revision 6302003eb4c2eeb12c157754cc62c7ab8abe326e.