You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (Jira)" <ji...@apache.org> on 2021/09/26 11:51:00 UTC

[jira] [Resolved] (THRIFT-5055) Fix build-cpan-dist.sh to create a CPAN distribution correctly

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

James E. King III resolved THRIFT-5055.
---------------------------------------
    Fix Version/s: 0.16.0
       Resolution: Fixed

Removed --hard-dereference from the script.

> 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
>            Priority: Major
>             Fix For: 0.16.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)