[ 
https://issues.apache.org/jira/browse/BIGTOP-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103072#comment-14103072
 ] 

Jean-Marc Spaggiari commented on BIGTOP-1169:
---------------------------------------------

This is the way I went :) I have implenented a similar hack in the 
check-buildroot file but just a bit more cleaner:
{code}
find "$RPM_BUILD_ROOT" \! \( \
    -name '*.pyo' -o -name '*.pyc' -o -name '*.elc' -o -name '.packlist' \
    \) -type f -print0 | grep -v DEBUG | \
    LANG=C xargs -0r grep -F "$RPM_BUILD_ROOT" >$tmp
{code}

Basically, I just exclude the DEBUG lines.

Now, I have not been able to find where this script is call from from the 
BigTop code. If someone points me to the right place, I can take a look at try 
to submit a patch. I would really prefer a nice solution, but at least now I 
have the rpms...

> Hue rpm build fails
> -------------------
>
>                 Key: BIGTOP-1169
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1169
>             Project: Bigtop
>          Issue Type: Bug
>          Components: rpm
>            Reporter: Mikhail Antonov
>            Assignee: Guodong Wang
>
> Error is:
> Found 
> '/projects/apache/bigtop/build/hue/rpm/BUILDROOT/hue-2.5.1-1.fc19.x86_64' in 
> installed files; aborting
> error: Bad exit status from /var/tmp/rpm-tmp.T9MSVV (%install)
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.T9MSVV (%install)
> make: *** [/projects/apache/bigtop/build/hue//.rpm] Error 1



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to