aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sirois (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-1568) rpm builder does not handle snapshot versions
Date Wed, 20 Apr 2016 21:39:25 GMT

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

John Sirois commented on AURORA-1568:
-------------------------------------

Pierre's fix [here|https://reviews.apache.org/r/45298/] knocked this one out as a bonus.

> rpm builder does not handle snapshot versions
> ---------------------------------------------
>
>                 Key: AURORA-1568
>                 URL: https://issues.apache.org/jira/browse/AURORA-1568
>             Project: Aurora
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: John Sirois
>            Priority: Minor
>
> Failure looks like so:
> From aurora:
> {noformat}
> git archive --prefix=apache-aurora-$(cat .auroraversion)/ -o snapshot.tar.gz HEAD
> tar -tzf snapshot.tar.gz | head -3
> apache-aurora-0.12.0-SNAPSHOT/
> apache-aurora-0.12.0-SNAPSHOT/.auroraversion
> apache-aurora-0.12.0-SNAPSHOT/.bowerrc
> {noformat}
> From aurora-packaging in sibling dir:
> {noformat}
> ./build-artifact.sh builder/rpm/centos-7 ../aurora/snapshot.tar.gz 0.12.0-SNAPSHOT
> ...
> Successfully built 99bf8605d349
> + mkdir -p /scratch/src
> + cd /scratch
> + tar --strip-components 1 -C src -xf /src.tar.gz
> + cp -R /specs/rpm .
> + cd rpm
> ++ echo 0.12.0-SNAPSHOT
> ++ tr - _
> + export AURORA_VERSION=0.12.0_SNAPSHOT
> + AURORA_VERSION=0.12.0_SNAPSHOT
> + make srpm
> ...
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C6rU5N
> + umask 022
> + cd /dist/rpmbuild/BUILD
> + cd /dist/rpmbuild/BUILD
> + rm -rf apache-aurora-0.12.0_SNAPSHOT
> + /usr/bin/gzip -dc /dist/rpmbuild/SOURCES/aurora.tar.gz
> + /usr/bin/tar -xvvf -
> drwxrwxr-x root/root         0 2015-12-28 22:51 apache-aurora-0.12.0-SNAPSHOT/
> -rw-rw-r-- root/root        16 2015-12-28 22:51 apache-aurora-0.12.0-SNAPSHOT/.auroraversion
> -rw-rw-r-- root/root        35 2015-12-28 22:51 apache-aurora-0.12.0-SNAPSHOT/.bowerrc
> ...
> -rwxrwxr-x root/root      5275 2015-12-28 22:51 apache-aurora-0.12.0-SNAPSHOT/src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh
> -rw-rw-r-- root/root      1483 2015-12-28 22:51 apache-aurora-0.12.0-SNAPSHOT/src/test/sh/org/apache/aurora/e2e/validate_serverset.py
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd apache-aurora-0.12.0_SNAPSHOT
> /var/tmp/rpm-tmp.C6rU5N: line 35: cd: apache-aurora-0.12.0_SNAPSHOT: No such file or
directory
> error: Bad exit status from /var/tmp/rpm-tmp.C6rU5N (%prep)
> {noformat}



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

Mime
View raw message