[
https://issues.apache.org/jira/browse/IGNITE-7108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445732#comment-16445732
]
Max Shonichev edited comment on IGNITE-7108 at 4/20/18 1:37 PM:
----------------------------------------------------------------
running
{noformat}
./package.sh --rpm
{noformat}
leads to:
{noformat}
mkdir: created directory '/tmp/tmp.EHS5qfo623/BUILD'
mkdir: created directory '/tmp/tmp.EHS5qfo623/RPMS'
mkdir: created directory '/tmp/tmp.EHS5qfo623/SOURCES'
mkdir: created directory '/tmp/tmp.EHS5qfo623/SPECS'
mkdir: created directory '/tmp/tmp.EHS5qfo623/SRPMS'
'apache-ignite-fabric-2.5.0-bin.zip' ->
'/tmp/tmp.EHS5qfo623/SOURCES/apache-ignite-fabric-2.5.0-bin.zip'
'rpm/name.service' -> '/tmp/tmp.EHS5qfo623/SOURCES/name.service'
'rpm/service.sh' -> '/tmp/tmp.EHS5qfo623/SOURCES/service.sh'
'rpm/apache-ignite.spec' -> '/tmp/tmp.EHS5qfo623/SPECS/apache-ignite.spec'
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XkGvkv
+ umask 022
+ cd /tmp/tmp.EHS5qfo623/BUILD
+ cd /tmp/tmp.EHS5qfo623/BUILD
+ rm -rf apache-ignite-fabric-2.5.0-bin
+ /bin/tar -xf /tmp/tmp.EHS5qfo623/SOURCES/apache-ignite-fabric-2.5.0-bin.zip
/bin/tar: This does not look like a tar archive
/bin/tar: Exiting with failure status due to previous errors
error: Bad exit status from /var/tmp/rpm-tmp.XkGvkv (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.XkGvkv (%prep)
Removing temporary work directories: /tmp/tmp.EHS5qfo623
=== Run time: 0h:00m:00s ===
{noformat}
due to file apache-ignite-fabric-2.5.0-bin.zip created even in case of 404
error from site with following contents:
{noformat}
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /dist/ignite/2.5.0/apache-ignite-fabric-2.5.0-bin.zip was
not found on this server.</p>
</body></html>
{noformat}
was (Author: mshonichev):
running
{noformat}
./package.sh --rpm
{noformat}
twice, leads to:
{noformat}
mkdir: created directory '/tmp/tmp.EHS5qfo623/BUILD'
mkdir: created directory '/tmp/tmp.EHS5qfo623/RPMS'
mkdir: created directory '/tmp/tmp.EHS5qfo623/SOURCES'
mkdir: created directory '/tmp/tmp.EHS5qfo623/SPECS'
mkdir: created directory '/tmp/tmp.EHS5qfo623/SRPMS'
'apache-ignite-fabric-2.5.0-bin.zip' ->
'/tmp/tmp.EHS5qfo623/SOURCES/apache-ignite-fabric-2.5.0-bin.zip'
'rpm/name.service' -> '/tmp/tmp.EHS5qfo623/SOURCES/name.service'
'rpm/service.sh' -> '/tmp/tmp.EHS5qfo623/SOURCES/service.sh'
'rpm/apache-ignite.spec' -> '/tmp/tmp.EHS5qfo623/SPECS/apache-ignite.spec'
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XkGvkv
+ umask 022
+ cd /tmp/tmp.EHS5qfo623/BUILD
+ cd /tmp/tmp.EHS5qfo623/BUILD
+ rm -rf apache-ignite-fabric-2.5.0-bin
+ /bin/tar -xf /tmp/tmp.EHS5qfo623/SOURCES/apache-ignite-fabric-2.5.0-bin.zip
/bin/tar: This does not look like a tar archive
/bin/tar: Exiting with failure status due to previous errors
error: Bad exit status from /var/tmp/rpm-tmp.XkGvkv (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.XkGvkv (%prep)
Removing temporary work directories: /tmp/tmp.EHS5qfo623
=== Run time: 0h:00m:00s ===
{noformat}
due to file apache-ignite-fabric-2.5.0-bin.zip created even in case of 404
error from site with following contents:
{noformat}
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /dist/ignite/2.5.0/apache-ignite-fabric-2.5.0-bin.zip was
not found on this server.</p>
</body></html>
{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)