Can't build unidoc

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't build unidoc

Nicholas Chammas
Howdy folks. Running `./build/sbt unidoc` on the latest master is giving me this trace:

```
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: commons-collections#commons-collections;3.2.2: commons-collections#commons-collections;3.2.2!commo
ns-collections.pom(pom.original) origin location must be absolute: file:/Users/myusername/.m2/repository
/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Unresolved dependencies path:
[warn]          commons-collections:commons-collections:3.2.2
[warn]            +- commons-beanutils:commons-beanutils:1.9.4
[warn]            +- com.puppycrawl.tools:checkstyle:8.25 (/Users/myusername/Projects/nchammas/spark/pro
ject/plugins.sbt#L21-22)
[warn]            +- default:spark-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
sbt.ResolveException: unresolved dependency: commons-collections#commons-collections;3.2.2: commons-collectio
ns#commons-collections;3.2.2!commons-collections.pom(pom.original) origin location must be absolute: file:/Us
ers/myusername/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.po
m
        at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:320)
        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)
        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
        at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133)
        at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
        at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
        at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
        at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
        at xsbt.boot.Using$.withResource(Using.scala:10)
        at xsbt.boot.Using$.apply(Using.scala:9)
        at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
        at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
        at xsbt.boot.Locks$.apply0(Locks.scala:31)
        at xsbt.boot.Locks$.apply(Locks.scala:28)
        at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
        at sbt.IvySbt.withIvy(Ivy.scala:128)
        at sbt.IvySbt.withIvy(Ivy.scala:125)
        at sbt.IvySbt$Module.withModule(Ivy.scala:156)
        at sbt.IvyActions$.updateEither(IvyActions.scala:168)
        at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1555)
        at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1551)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$122.apply(Defaults.scala:1586)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$122.apply(Defaults.scala:1584)
        at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1589)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1583)
        at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
        at sbt.Classpaths$.cachedUpdate(Defaults.scala:1606)
        at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1533)
        at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1485)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:237)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: commons-collections#commons-collections;3.2.2: commons-collections#commons-collections;3.2.2!commons-collections.pom(pom.original) origin location must be absolute: file:/Users/myusername/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.pom
```

The complaint that "origin location must be absolute" doesn't make sense to me, since the path it points to exists and is absolute.

Is anyone else hitting this? Trying `./build/sbt clean` is also yielding a similar error.

Nick
Reply | Threaded
Open this post in threaded view
|

Re: Can't build unidoc

Sean Owen-2
I'm not seeing that error for either command. Try blowing away your
local .ivy / .m2 dir?

On Fri, Nov 29, 2019 at 11:48 AM Nicholas Chammas
<[hidden email]> wrote:

>
> Howdy folks. Running `./build/sbt unidoc` on the latest master is giving me this trace:
>
> ```
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  ::          UNRESOLVED DEPENDENCIES         ::
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  :: commons-collections#commons-collections;3.2.2: commons-collections#commons-collections;3.2.2!commo
> ns-collections.pom(pom.original) origin location must be absolute: file:/Users/myusername/.m2/repository
> /commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.pom
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]
> [warn]  Note: Unresolved dependencies path:
> [warn]          commons-collections:commons-collections:3.2.2
> [warn]            +- commons-beanutils:commons-beanutils:1.9.4
> [warn]            +- com.puppycrawl.tools:checkstyle:8.25 (/Users/myusername/Projects/nchammas/spark/pro
> ject/plugins.sbt#L21-22)
> [warn]            +- default:spark-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
> sbt.ResolveException: unresolved dependency: commons-collections#commons-collections;3.2.2: commons-collectio
> ns#commons-collections;3.2.2!commons-collections.pom(pom.original) origin location must be absolute: file:/Us
> ers/myusername/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.po
> m
>         at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:320)
>         at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)
>         at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168)
>         at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
>         at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
>         at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133)
>         at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
>         at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
>         at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
>         at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
>         at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
>         at xsbt.boot.Using$.withResource(Using.scala:10)
>         at xsbt.boot.Using$.apply(Using.scala:9)
>         at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
>         at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
>         at xsbt.boot.Locks$.apply0(Locks.scala:31)
>         at xsbt.boot.Locks$.apply(Locks.scala:28)
>         at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
>         at sbt.IvySbt.withIvy(Ivy.scala:128)
>         at sbt.IvySbt.withIvy(Ivy.scala:125)
>         at sbt.IvySbt$Module.withModule(Ivy.scala:156)
>         at sbt.IvyActions$.updateEither(IvyActions.scala:168)
>         at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1555)
>         at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1551)
>         at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$122.apply(Defaults.scala:1586)
>         at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$122.apply(Defaults.scala:1584)
>         at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
>         at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1589)
>         at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1583)
>         at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
>         at sbt.Classpaths$.cachedUpdate(Defaults.scala:1606)
>         at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1533)
>         at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1485)
>         at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
>         at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
>         at sbt.std.Transform$$anon$4.work(System.scala:63)
>         at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
>         at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
>         at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
>         at sbt.Execute.work(Execute.scala:237)
>         at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
>         at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
>         at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
>         at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> [error] (*:update) sbt.ResolveException: unresolved dependency: commons-collections#commons-collections;3.2.2: commons-collections#commons-collections;3.2.2!commons-collections.pom(pom.original) origin location must be absolute: file:/Users/myusername/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.pom
> ```
>
> The complaint that "origin location must be absolute" doesn't make sense to me, since the path it points to exists and is absolute.
>
> Is anyone else hitting this? Trying `./build/sbt clean` is also yielding a similar error.
>
> Nick

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Can't build unidoc

Nicholas Chammas
That worked. Thanks Sean. Going forward, I will try that as a troubleshooting step before posting on the dev list.

On Fri, Nov 29, 2019 at 1:04 PM Sean Owen <[hidden email]> wrote:
I'm not seeing that error for either command. Try blowing away your
local .ivy / .m2 dir?

On Fri, Nov 29, 2019 at 11:48 AM Nicholas Chammas
<[hidden email]> wrote:
>
> Howdy folks. Running `./build/sbt unidoc` on the latest master is giving me this trace:
>
> ```
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  ::          UNRESOLVED DEPENDENCIES         ::
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]  :: commons-collections#commons-collections;3.2.2: commons-collections#commons-collections;3.2.2!commo
> ns-collections.pom(pom.original) origin location must be absolute: file:/Users/myusername/.m2/repository
> /commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.pom
> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
> [warn]
> [warn]  Note: Unresolved dependencies path:
> [warn]          commons-collections:commons-collections:3.2.2
> [warn]            +- commons-beanutils:commons-beanutils:1.9.4
> [warn]            +- com.puppycrawl.tools:checkstyle:8.25 (/Users/myusername/Projects/nchammas/spark/pro
> ject/plugins.sbt#L21-22)
> [warn]            +- default:spark-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
> sbt.ResolveException: unresolved dependency: commons-collections#commons-collections;3.2.2: commons-collectio
> ns#commons-collections;3.2.2!commons-collections.pom(pom.original) origin location must be absolute: file:/Us
> ers/myusername/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.po
> m
>         at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:320)
>         at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)
>         at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168)
>         at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
>         at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)
>         at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133)
>         at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
>         at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
>         at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
>         at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
>         at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
>         at xsbt.boot.Using$.withResource(Using.scala:10)
>         at xsbt.boot.Using$.apply(Using.scala:9)
>         at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
>         at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
>         at xsbt.boot.Locks$.apply0(Locks.scala:31)
>         at xsbt.boot.Locks$.apply(Locks.scala:28)
>         at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
>         at sbt.IvySbt.withIvy(Ivy.scala:128)
>         at sbt.IvySbt.withIvy(Ivy.scala:125)
>         at sbt.IvySbt$Module.withModule(Ivy.scala:156)
>         at sbt.IvyActions$.updateEither(IvyActions.scala:168)
>         at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1555)
>         at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1551)
>         at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$122.apply(Defaults.scala:1586)
>         at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$122.apply(Defaults.scala:1584)
>         at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
>         at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1589)
>         at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1583)
>         at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
>         at sbt.Classpaths$.cachedUpdate(Defaults.scala:1606)
>         at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1533)
>         at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1485)
>         at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
>         at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
>         at sbt.std.Transform$$anon$4.work(System.scala:63)
>         at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
>         at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
>         at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
>         at sbt.Execute.work(Execute.scala:237)
>         at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
>         at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
>         at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
>         at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> [error] (*:update) sbt.ResolveException: unresolved dependency: commons-collections#commons-collections;3.2.2: commons-collections#commons-collections;3.2.2!commons-collections.pom(pom.original) origin location must be absolute: file:/Users/myusername/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.pom
> ```
>
> The complaint that "origin location must be absolute" doesn't make sense to me, since the path it points to exists and is absolute.
>
> Is anyone else hitting this? Trying `./build/sbt clean` is also yielding a similar error.
>
> Nick