You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2015/09/06 05:28:47 UTC

[jira] [Comment Edited] (BIGTOP-1344) spec files assume RPMs being built on Red Hat

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

Evans Ye edited comment on BIGTOP-1344 at 9/6/15 3:28 AM:
----------------------------------------------------------

I see some files in our code base still have hard-coded path for this line of code: 
{code}
/usr/lib/rpm/brp-compress ; \
{code}.
Those components are zookeeper, sqoop, sqoop2, giraph, kafka, oozie, etc.
And some line hasn't been updated in the component you''ve edited: 
{code}
rpm/phoenix/SPECS/phoenix.spec:    /usr/lib/rpm/brp-python-bytecompile ; \
{code}
To me any {{/usr/lib/rpm/}} prefix should be replaced, is that correct?


was (Author: evans_ye):
I see some files in our code base still have hard-coded path for this line of code: {{/usr/lib/rpm/brp-compress ; \}}.
Those components are zookeeper, sqoop, sqoop2, giraph, kafka, oozie, etc.
And some line hasn't been updated in the component you''ve edited: {{rpm/phoenix/SPECS/phoenix.spec:    /usr/lib/rpm/brp-python-bytecompile ; \}}
To me any {{/usr/lib/rpm/}} prefix should be replaced, is that correct?

> spec files assume RPMs being built on Red Hat
> ---------------------------------------------
>
>                 Key: BIGTOP-1344
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1344
>             Project: Bigtop
>          Issue Type: Bug
>          Components: rpm
>    Affects Versions: 0.8.0
>         Environment: Amazon Linux
>            Reporter: Allen Wittenauer
>            Assignee: Peter Linnell
>             Fix For: 1.1.0
>
>         Attachments: 0001-BIGTOP-1344-spec-files-assume-RPMs-being-built-on-Re.patch, BIGTOP-1344.2.patch
>
>
> It would appear the spec files have the locations of brp-compress, etc in the __os_install_post stanza are hard-coded with Red Hat paths.  If you try to build RPMs on, for example, an Amazon AMI (and probably OEL as well), those programs are not located there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)