Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5055

Fix build-cpan-dist.sh to create a CPAN distribution correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • Perl - Library
    • None

    Description

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

      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
      

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

      Attachments

        Issue Links

          Activity

            People

              sekikn Kengo Seki
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m