Konstantin Boudnik created BIGTOP-1199:
------------------------------------------

             Summary: Makefile for deb packing needs to support zip archives
                 Key: BIGTOP-1199
                 URL: https://issues.apache.org/jira/browse/BIGTOP-1199
             Project: Bigtop
          Issue Type: Bug
          Components: General
    Affects Versions: 0.7.0
            Reporter: Konstantin Boudnik
            Priority: Blocker
             Fix For: 0.8.0


At the moment it isn't possible to build debian packages if the source archive 
comes in the form of .zip file. The makes file is failing as gzip can't deal 
with zip file. E.g in case of bigtop-groovy package the log looks like this:

{noformat}
if [ -n "groovy-binary-2.2.1.zip" ]; then \
          cp /biggy/workspaces/bigtop/dl/groovy-binary-2.2.1.zip 
/biggy/workspaces/bigtop/build/bigtop-groovy//deb/bigtop-groovy_2.2.1.orig.tar.gz
 ;\
          cd 
/biggy/workspaces/bigtop/build/bigtop-groovy//deb/bigtop-groovy-2.2.1 && \
            tar --strip-components 1 -xvf ../bigtop-groovy_2.2.1.orig.tar.gz;\
        else \
                 tar -czf 
/biggy/workspaces/bigtop/build/bigtop-groovy//deb/bigtop-groovy_2.2.1.orig.tar.gz
 LICENSE ;\
        fi
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
{noformat}




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to