Hi all, I'll retract my -1 and vote +1 but please make sure CLEREZZA-614 is deployed with before/with the release (it has no influence on release files, only on the Clerezza website).
Best, Daniel On Sat, Jul 16, 2011 at 1:27 PM, Daniel Spicar <[email protected]>wrote: > Hi reto, > > I have been arriving to a similar conclusion regarding scalac now as I can > not compile the release proposition archive, no matter what MAVEN_OPTS I set > on a Ubuntu 32 bit virtual machine with 2 GB RAM. (Host has 4 GB). > Interestingly it works on an identical VM with Ubuntu 64bit installed. Maybe > scalac has different default memory settings in 64bit? > > Anyway I strongly urge that we document this issue on the Clerezza web site > for the release. > > Another question. How will the release look exactly? Will there be a README > or similar document that can point a "clueless" user to the right > information to build/run Clerezza? > > I will open an issue regarding the compilation issue. I am not familiar > with how to deal with website updates though regarding the documentation of > this issue. > > Best, > Daniel > > On Sat, Jul 16, 2011 at 1:16 PM, Reto Bachmann-Gmür <[email protected] > > wrote: > >> Hi Daniel and all >> >> It seems that the MAVEN_OPTS are not passed on to the jvm doing the >> scala compilation. So I think this vm just runs with default memory >> sizes which depends on the RAM size of your machine. >> >> I don't see anything release specific with this problem, I guess the >> problem apply to any version since the resolution of CLEREZZA-445. The >> problem has already been discussed once: >> >> http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201105.mbox/%[email protected]%3E >> , >> the workaround there was to use linux instead of windows, in your case >> it might be to use a linux machine with more ram. We could increase >> the memory available to scalac by configuring the plugin as described >> here: >> http://scala-tools.org/mvnsites/maven-scala-plugin/example_compile.html >> . Imho this problem shouldn't block the release, but I'd welcome you >> opening an issue to be addressed later. >> >> Note that its not possible to veto releases, for the release to be >> approved there need to be at lease 3 +1. >> >> Cheers, >> Reto >> >> >> On Sat, Jul 16, 2011 at 12:32 PM, Hasan Hasan <[email protected]> wrote: >> > Hi Daniel, >> > >> > I think you should use -Xss for setting the stack size. >> > >> > Cheers >> > Hasan >> > >> > >> > On Sat, Jul 16, 2011 at 10:20 AM, Daniel Spicar >> > <[email protected]>wrote: >> > >> >> Hi Hasan, >> >> >> >> I tried with 2 GB and MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" >> >> >> >> Still same problem. I investigated more. The only difference I could >> make >> >> out to my normal system is that the VM is 32 bit and my standard system >> is >> >> 64 bit. >> >> >> >> Other things I tried: >> >> - OpenJDK vs Sun JDK (made no difference) >> >> - Having scala installed locally (sudo apt-get install scala) and not >> >> having >> >> it installed (made no difference) >> >> >> >> Regards, >> >> Daniel >> >> >> >> On Sat, Jul 16, 2011 at 2:23 AM, Hasan Hasan <[email protected]> >> wrote: >> >> >> >> > Well it is late and I am tired. >> >> > Sorry, it shouldn't be the account control panel, but >> >> > scala.tools.nsc.typechecker.Typers I suppose that has problem. >> >> > Need to give more memory for compilation? >> >> > >> >> > Cheers >> >> > Hasan >> >> > >> >> > On Sat, Jul 16, 2011 at 2:08 AM, Hasan Hasan <[email protected]> >> wrote: >> >> > >> >> > > Hi Daniel >> >> > > >> >> > > You (or Clerezza) seem to have problems with only 1 GB RAM >> >> > > (StackOverflowError) >> >> > > Since the exception occurs during compilation of Account Control >> Panel >> >> > > I'd like to ask Henry or Reto to have a look at the code, whether >> there >> >> > are >> >> > > problems >> >> > > with some recursive functions (non tail-recursive), if there are >> any >> >> such >> >> > > functions there. >> >> > > >> >> > > Otherwise, we need to know the minimum memory requirements for >> >> > compilation. >> >> > > >> >> > > I don't have problem building the platform instance with $mvn clean >> >> > install >> >> > > >> >> > > on an 8 Core machine with 6 GiB RAM. >> >> > > But this should not be default case for most people building >> clrezza >> >> ;-) >> >> > > Gee, it took 55 minutes 45 seconds to build clerezza with empty .m2 >> >> repo. >> >> > > >> >> > > Regards >> >> > > Hasan >> >> > > >> >> > > >> >> > > On Fri, Jul 15, 2011 at 11:33 PM, Daniel Spicar < >> >> > [email protected] >> >> > > > wrote: >> >> > > >> >> > >> Hi, >> >> > >> >> >> > >> I don't know if I am entitled to vote right now but I'd give a: >> >> > >> -1 >> >> > >> >> >> > >> because: >> >> > >> >> >> > >> I downloaded the gz file and tried to build it on a clean Ubuntu >> 11.04 >> >> > VM >> >> > >> (with 1 GB RAM). >> >> > >> I tried with tests and with skipping tests. >> >> > >> I get the following error: >> >> > >> >> >> > >> [INFO] >> >> > >> >> >> >> ------------------------------------------------------------------------ >> >> > >> [INFO] Building Clerezza - Platform Account Control Panel Core >> >> > >> [INFO] task-segment: [install] >> >> > >> [INFO] >> >> > >> >> >> >> ------------------------------------------------------------------------ >> >> > >> [INFO] [resources:resources {execution: default-resources}] >> >> > >> [INFO] Using 'utf-8' encoding to copy filtered resources. >> >> > >> [INFO] Copying 1 resource to META-INF >> >> > >> [INFO] Copying 4 resources >> >> > >> [INFO] [compiler:compile {execution: default-compile}] >> >> > >> [INFO] Nothing to compile - all classes are up to date >> >> > >> [INFO] [scala:compile {execution: default}] >> >> > >> [ERROR] >> >> > >> >> >> > >> >> >> > >> >> >> /home/daniel/Desktop/clerezza-201107/platform.accountcontrolpanel/platform.accountcontrolpanel.core/src/main/java >> >> > >> [ERROR] >> >> > >> >> >> > >> >> >> > >> >> >> /home/daniel/Desktop/clerezza-201107/platform.accountcontrolpanel/platform.accountcontrolpanel.core/src/main/scala >> >> > >> [INFO] Compiling 10 source files to >> >> > >> >> >> > >> >> >> > >> >> >> /home/daniel/Desktop/clerezza-201107/platform.accountcontrolpanel/platform.accountcontrolpanel.core/target/classes >> >> > >> [WARNING] Exception in thread "main" java.lang.StackOverflowError >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4118) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4271) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4277) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4089) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4271) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4277) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4089) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4271) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4277) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4089) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedTypeConstructor(Typers.scala:4315) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedTypeConstructor(Typers.scala:4338) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Typers$Typer.typedNew$1(Typers.scala:3220) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3974) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4271) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:4277) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4089) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3362) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedApply$1$1.apply(Typers.scala:3362) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:722) >> >> > >> [WARNING] at >> >> > >> >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3362) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4049) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4265) >> >> > >> [WARNING] at >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:4341) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1145) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:523) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Namers$Namer$$anonfun$typeCompleter$1.apply(Namers.scala:521) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1309) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Namers$$anon$1.complete(Namers.scala:1307) >> >> > >> [WARNING] at >> >> > scala.tools.nsc.symtab.Symbols$Symbol.info(Symbols.scala:735) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.symtab.Symbols$Symbol.initialize(Symbols.scala:848) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3840) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:2128) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:2196) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$20.apply(Typers.scala:2196) >> >> > >> [WARNING] at >> scala.collection.immutable.List.loop$1(List.scala:115) >> >> > >> [WARNING] at >> >> scala.collection.immutable.List.mapConserve(List.scala:132) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:2196) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1948) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3894) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3981) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:2202) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedArgs$3.apply(Typers.scala:2212) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedArgs$3.apply(Typers.scala:2211) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61) >> >> > >> [WARNING] at >> scala.collection.immutable.List.foreach(List.scala:45) >> >> > >> [WARNING] at >> >> > >> >> scala.collection.TraversableLike$class.map(TraversableLike.scala:206) >> >> > >> [WARNING] at scala.collection.immutable.List.map(List.scala:45) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Typers$Typer.typedArgs(Typers.scala:2211) >> >> > >> [WARNING] at >> >> > >> >> >> >> scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:2425) >> >> > >> [WARNING] at >> >> > >> >> >> >> scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:3380) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:4049) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1949) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3894) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:1949) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:3894) >> >> > >> [WARNING] at >> >> > >> scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:4203) >> >> > >> [WARNING] at >> >> > >> >> scala.tools.nsc.typechecker.Typers$Typer.typedArg(Typers.scala:2202) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedArgs$3.apply(Typers.scala:2212) >> >> > >> [WARNING] at >> >> > >> >> >> > >> >> >> > >> >> >> scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedArgs$3.apply(Typers.scala:2211) >> >> > >> ... >> >> > >> >> >> > >> Can someone reproduce this? >> >> > >> >> >> > >> Best, >> >> > >> Daniel >> >> > >> >> >> > >> On Fri, Jul 15, 2011 at 7:32 PM, Reto Bachmann-Gmür < >> [email protected]> >> >> > >> wrote: >> >> > >> >> >> > >> > Hi there, >> >> > >> > >> >> > >> > I suggest we release clerezza parent and all the modules in the >> >> > release >> >> > >> > profile except uima (which can hopefully be release soon after). >> >> > >> > >> >> > >> > The tarball and its signature are available here: >> >> > >> > >> >> > >> > http://people.apache.org/~reto/clerezza-release-201107/ >> >> > >> > >> >> > >> > In svn the release version is tagged clerrezza-201107 >> >> > >> > >> >> > >> > [ ] +1 Yes, please release >> >> > >> > [ ] +0 No time to review >> >> > >> > [ ] -1 Something wrong >> >> > >> > >> >> > >> > Cheers, >> >> > >> > Reto >> >> > >> > >> >> > >> >> >> > > >> >> > > >> >> > >> >> >> > >> > >
