Patchwork nasm: nasm has a build dependency on groff-native

login
register
mail settings
Submitter Amy Fong
Date July 18, 2012, 5:39 p.m.
Message ID <20120718173922.GA20427@windriver.com>
Download mbox | patch
Permalink /patch/32423/
State New
Headers show

Comments

Amy Fong - July 18, 2012, 5:39 p.m.
nasm has a build dependency on groff-native
    
In one incident, there was a case where nasm-native compile phase failed
with the following:
    
      +troff: can't find `DESC' file
      +troff: fatal error: sorry, I can't continue
    
During this, groff-native was in the sysroot install phase.
To remedy this, adding groff-native in nasm's dependency list.
    
Signed-off-by: Amy Fong <amy.fong@windriver.com>
---
 nasm_2.07.bb |    2 ++
 1 file changed, 2 insertions(+)
Richard Purdie - July 18, 2012, 9:23 p.m.
On Wed, 2012-07-18 at 13:39 -0400, Amy Fong wrote:
> nasm has a build dependency on groff-native
>     
> In one incident, there was a case where nasm-native compile phase failed
> with the following:
>     
>       +troff: can't find `DESC' file
>       +troff: fatal error: sorry, I can't continue
>     
> During this, groff-native was in the sysroot install phase.
> To remedy this, adding groff-native in nasm's dependency list.
>     
> Signed-off-by: Amy Fong <amy.fong@windriver.com>
> ---
>  nasm_2.07.bb |    2 ++
>  1 file changed, 2 insertions(+)

This patch doesn't apply against master which has version 2.10.01. I
made it apply in this case since it appears still relevant but please
check this in future.

Cheers,

Richard

Patch

diff --git a/meta/recipes-devtools/nasm/nasm_2.07.bb b/meta/recipes-devtools/nasm/nasm_2.07.bb
index fc2d531..d3e3f5b 100644
--- a/meta/recipes-devtools/nasm/nasm_2.07.bb
+++ b/meta/recipes-devtools/nasm/nasm_2.07.bb
@@ -27,3 +27,5 @@  do_install() {
 }
 
 BBCLASSEXTEND = "native"
+
+DEPENDS = "groff-native"