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

Max Shonichev edited comment on IGNITE-7108 at 4/20/18 2:01 PM:
----------------------------------------------------------------

building ignite from sources with instructions from DEVNOTES.txt
{noformat}
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn clean install 
-Pall-java,all-scala,licenses -DskipTests
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn initialize -Prelease
{noformat}
results in `apache-ignite-fabric-2.5.0-SNAPSHOT-bin.zip` in `target/bin` 
directory.
however, moving this file around to `packaging` and running
{noformat}
./package.sh --rpm
{noformat}
again leads to 404 error.
renaming archive `apache-ignite-fabric-2.5.0-SNAPSHOT-bin.zip` to 
`apache-ignite-fabric-2.5.0-bin.zip` and running 
{noformat}
./package.sh --rpm
{noformat}
leads to 
{noformat}
 mkdir: created directory '/tmp/tmp.XVNElrwoAJ/BUILD'
mkdir: created directory '/tmp/tmp.XVNElrwoAJ/RPMS'
mkdir: created directory '/tmp/tmp.XVNElrwoAJ/SOURCES'
mkdir: created directory '/tmp/tmp.XVNElrwoAJ/SPECS'
mkdir: created directory '/tmp/tmp.XVNElrwoAJ/SRPMS'
'apache-ignite-fabric-2.5.0-bin.zip' -> 
'/tmp/tmp.XVNElrwoAJ/SOURCES/apache-ignite-fabric-2.5.0-bin.zip'
'rpm/name.service' -> '/tmp/tmp.XVNElrwoAJ/SOURCES/name.service'
'rpm/service.sh' -> '/tmp/tmp.XVNElrwoAJ/SOURCES/service.sh'
'rpm/apache-ignite.spec' -> '/tmp/tmp.XVNElrwoAJ/SPECS/apache-ignite.spec'
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lgqIhD
+ umask 022
+ cd /tmp/tmp.XVNElrwoAJ/BUILD
+ cd /tmp/tmp.XVNElrwoAJ/BUILD
+ rm -rf apache-ignite-fabric-2.5.0-bin
+ /usr/bin/unzip -qq 
/tmp/tmp.XVNElrwoAJ/SOURCES/apache-ignite-fabric-2.5.0-bin.zip
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd apache-ignite-fabric-2.5.0-bin
/var/tmp/rpm-tmp.lgqIhD: 39: cd: can't cd to apache-ignite-fabric-2.5.0-bin
error: Bad exit status from /var/tmp/rpm-tmp.lgqIhD (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.lgqIhD (%prep)
Removing temporary work directories:  /tmp/tmp.XVNElrwoAJ

=== Run time: 0h:00m:03s ===

{noformat}



was (Author: mshonichev):
building ignite from sources with
{noformat}
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn clean install 
-Pall-java,all-scala,licenses -DskipTests
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mvn initialize -Prelease
{noformat}
results in `apache-ignite-fabric-2.5.0-SNAPSHOT-bin.zip` in `target/bin` 
directory.
however, moving this file around to `packaging` and running
{noformat}
./package.sh --rpm
{noformat}
again leads to 404 error.
renaming archive `apache-ignite-fabric-2.5.0-SNAPSHOT-bin.zip` to 
`apache-ignite-fabric-2.5.0-bin.zip` and running 
{noformat}
./package.sh --rpm
{noformat}
leads to 
{noformat}
 mkdir: created directory '/tmp/tmp.XVNElrwoAJ/BUILD'
mkdir: created directory '/tmp/tmp.XVNElrwoAJ/RPMS'
mkdir: created directory '/tmp/tmp.XVNElrwoAJ/SOURCES'
mkdir: created directory '/tmp/tmp.XVNElrwoAJ/SPECS'
mkdir: created directory '/tmp/tmp.XVNElrwoAJ/SRPMS'
'apache-ignite-fabric-2.5.0-bin.zip' -> 
'/tmp/tmp.XVNElrwoAJ/SOURCES/apache-ignite-fabric-2.5.0-bin.zip'
'rpm/name.service' -> '/tmp/tmp.XVNElrwoAJ/SOURCES/name.service'
'rpm/service.sh' -> '/tmp/tmp.XVNElrwoAJ/SOURCES/service.sh'
'rpm/apache-ignite.spec' -> '/tmp/tmp.XVNElrwoAJ/SPECS/apache-ignite.spec'
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lgqIhD
+ umask 022
+ cd /tmp/tmp.XVNElrwoAJ/BUILD
+ cd /tmp/tmp.XVNElrwoAJ/BUILD
+ rm -rf apache-ignite-fabric-2.5.0-bin
+ /usr/bin/unzip -qq 
/tmp/tmp.XVNElrwoAJ/SOURCES/apache-ignite-fabric-2.5.0-bin.zip
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd apache-ignite-fabric-2.5.0-bin
/var/tmp/rpm-tmp.lgqIhD: 39: cd: can't cd to apache-ignite-fabric-2.5.0-bin
error: Bad exit status from /var/tmp/rpm-tmp.lgqIhD (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.lgqIhD (%prep)
Removing temporary work directories:  /tmp/tmp.XVNElrwoAJ

=== Run time: 0h:00m:03s ===

{noformat}


> Apache Ignite 2.5 RPM and DEB packages
> --------------------------------------
>
>                 Key: IGNITE-7108
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7108
>             Project: Ignite
>          Issue Type: New Feature
>          Components: binary
>            Reporter: Peter Ivanov
>            Assignee: Peter Ivanov
>            Priority: Critical
>              Labels: important
>             Fix For: 2.5
>
>
> # (/) Update RPM build process to unify with DEB build.
> # (/) Prepare build of DEB package (using architecture and layout from RPM 
> package).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to