You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Stephan Erb (JIRA)" <ji...@apache.org> on 2016/06/10 13:08:22 UTC

[jira] [Updated] (AURORA-1568) rpm builder does not handle snapshot versions

     [ https://issues.apache.org/jira/browse/AURORA-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Erb updated AURORA-1568:
--------------------------------
    Fix Version/s: 0.14.0

> 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
>             Fix For: 0.14.0
>
>
> 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)