Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1165

sbt universal:packageZipTarball fails on Windows w/ Cygwin

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: s15
    • Fix Version/s: never
    • Component/s: Infrastructure, Windows
    • Labels:
      None

      Description

      I verified that tar was installed on Cygwin:
      jchab@WIN-EEA4S63ULQH ~/daffodil
      $ tar
      tar: You must specify one of the `Acdtrux' or `-test-label' options
      Try `tar --help' or `tar --usage' for more information.

      but I get the following error when running sbt universal:packageBin

      tar: Cannot connect to C: resolve failed
      java.lang.RuntimeException: Error tarballing C:\cygwin\home\jchab\daffodil\daffodil-cli\target\universal\daffodil-0.15.0-SNAPSHOT.tgz. Exit code: 128
              at scala.sys.package$.error(package.scala:27)
              at com.typesafe.sbt.packager.universal.Archives$$anonfun$makeTarball$1.apply(Archives.scala:134)
              at com.typesafe.sbt.packager.universal.Archives$$anonfun$makeTarball$1.apply(Archives.scala:118)
              at sbt.IO$.withTemporaryDirectory(IO.scala:285)
              at com.typesafe.sbt.packager.universal.Archives$.makeTarball(Archives.scala:118)
              at com.typesafe.sbt.packager.universal.Archives$$anonfun$10.apply(Archives.scala:111)
              at com.typesafe.sbt.packager.universal.Archives$$anonfun$10.apply(Archives.scala:111)
              at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:35)
              at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:34)
              at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
              at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
              at sbt.std.Transform$$anon$4.work(System.scala:64)
              at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
              at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
              at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
              at sbt.Execute.work(Execute.scala:244)
              at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
              at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
              at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
              at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      [error] (daffodil-cli/universal:packageZipTarball) Error tarballing C:\cygwin\home\jchab\daffodil\daffodil-cli\target\universal\daffodil-0.15.0-SNAPSHOT.tgz. Exit code: 128
      [error] Total time: 22 s, completed Nov 25, 2014 11:01:38 AM

      sbt universal:packageBin works without issues.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks