You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Ahmed Fathalla (Created) (JIRA)" <ji...@apache.org> on 2011/11/15 09:57:53 UTC

[jira] [Created] (AMBARI-130) agent rpm packaging fails

agent rpm packaging fails
-------------------------

                 Key: AMBARI-130
                 URL: https://issues.apache.org/jira/browse/AMBARI-130
             Project: Ambari
          Issue Type: Bug
         Environment: Ubuntu 11.04 

Linux fathalla 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

            Reporter: Ahmed Fathalla
            Priority: Minor


running "mvn clean package -P -e" shows failure caused by problems during rpm packaging. Specifically, it tries to look for files under BUILDROOT and does not find them

[rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
      [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
      [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMBARI-130) agent rpm packaging fails

Posted by "Ahmed Fathalla (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMBARI-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ahmed Fathalla updated AMBARI-130:
----------------------------------

    Description: 
running "mvn clean package -P rpm -e" shows failure caused by problems during rpm packaging. Specifically, it tries to look for files under BUILDROOT and does not find them

[rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
      [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
      [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari


  was:
running "mvn clean package -P -e" shows failure caused by problems during rpm packaging. Specifically, it tries to look for files under BUILDROOT and does not find them

[rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
      [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
      [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
      [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari


    
> agent rpm packaging fails
> -------------------------
>
>                 Key: AMBARI-130
>                 URL: https://issues.apache.org/jira/browse/AMBARI-130
>             Project: Ambari
>          Issue Type: Bug
>         Environment: Ubuntu 11.04 
> Linux fathalla 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
>            Reporter: Ahmed Fathalla
>            Priority: Minor
>
> running "mvn clean package -P rpm -e" shows failure caused by problems during rpm packaging. Specifically, it tries to look for files under BUILDROOT and does not find them
> [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
>       [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
>       [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMBARI-130) agent rpm packaging fails

Posted by "Eric Yang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMBARI-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150602#comment-13150602 ] 

Eric Yang commented on AMBARI-130:
----------------------------------

RPM package can only be built from Redhat or CentOS system due to dependency of rpmbuild.
                
> agent rpm packaging fails
> -------------------------
>
>                 Key: AMBARI-130
>                 URL: https://issues.apache.org/jira/browse/AMBARI-130
>             Project: Ambari
>          Issue Type: Bug
>         Environment: Ubuntu 11.04 
> Linux fathalla 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
>            Reporter: Ahmed Fathalla
>            Priority: Minor
>
> running "mvn clean package -P rpm -e" shows failure caused by problems during rpm packaging. Specifically, it tries to look for files under BUILDROOT and does not find them
> [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
>       [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
>       [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMBARI-130) agent rpm packaging fails

Posted by "Eric Yang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMBARI-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150600#comment-13150600 ] 

Eric Yang commented on AMBARI-130:
----------------------------------

Ahmed, for Ubuntu, try to build it with deb package instead.  The command for building debian package is:

{noformat}
mvn clean package -P deb
{noformat}
                
> agent rpm packaging fails
> -------------------------
>
>                 Key: AMBARI-130
>                 URL: https://issues.apache.org/jira/browse/AMBARI-130
>             Project: Ambari
>          Issue Type: Bug
>         Environment: Ubuntu 11.04 
> Linux fathalla 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
>            Reporter: Ahmed Fathalla
>            Priority: Minor
>
> running "mvn clean package -P rpm -e" shows failure caused by problems during rpm packaging. Specifically, it tries to look for files under BUILDROOT and does not find them
> [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
>       [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
>       [rpm] error: File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/usr
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/init.d/ambari-agent
>       [rpm]     File not found: /home/afathalla/workspace/ambari/trunk/agent/target/rpm/ambari/BUILDROOT/ambari-agent-0.1.0-1.i386/etc/ambari

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira