Kengo Seki created THRIFT-5055:
----------------------------------

             Summary: Fix build-cpan-dist.sh to create a CPAN distribution 
correctly
                 Key: THRIFT-5055
                 URL: https://issues.apache.org/jira/browse/THRIFT-5055
             Project: Thrift
          Issue Type: Bug
          Components: Perl - Library
            Reporter: Kengo Seki
            Assignee: Kengo Seki


I tried to run build-cpan-dist.sh to create a CPAN distribution, but it failed 
as follows:

{code}
thrift$ dockerrun thrift/thrift-build:ubuntu-xenial
root@c933c00aefca:/thrift/src# cd lib/perl
root@c933c00aefca:/thrift/src/lib/perl# ./build-cpan-dist.sh 

(snip)

+ tar cvzf --hard-dereference Thrift-0.14.0.tar.gz Thrift-0.14.0
tar: Thrift-0.14.0.tar.gz: Cannot stat: No such file or directory

(snip)

tar: Exiting with failure status due to previous errors
root@c933c00aefca:/thrift/src/lib/perl# echo $?
2
{code}

It seems that the {{--hard-dereference}} option is considered as a filename. 
Moving it after {{Thrift-0.14.0.tar.gz}} resolved the problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to