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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Perl - Library
    • Labels:
      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

              • Assignee:
                sekikn Kengo Seki
                Reporter:
                sekikn Kengo Seki
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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