Debian Bug report logs - #660719
RFP: netlogo -- An agent-based programming language and integrated modeling environment.

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Roger Morgan <halbtaxabo-deb@yahoo.com>

Date: Tue, 21 Feb 2012 08:33:01 UTC

Severity: wishlist

Merged with 660720

Fix blocked by 706633: scala: Scala 2.10.2 needs packaging, 639910: RFP: simple-build-tool -- for scala and java projects, 717588: RFP: jhotdraw -- 2D Java graphics framework, 685875: RFP: parboiled -- parser library based on Parsing expression grammars, 685874: RFP: libpegdown-java -- lightweight Java Markdown processor library

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#660719; Package wnpp. (Tue, 21 Feb 2012 08:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roger Morgan <halbtaxabo-deb@yahoo.com>:
New Bug report received and forwarded. Copy sent to wnpp@debian.org. (Tue, 21 Feb 2012 08:33:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Roger Morgan <halbtaxabo-deb@yahoo.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: RFP: Netlogo -- Agent-based programming language and integrated modeling environment
Date: Tue, 21 Feb 2012 09:08:15 +0100
Package: wnpp
Severity: wishlist


* Package name    : Netlogo
  Version         : 5.0 
  Upstream Author : Uri Wilensky
* URL             : http://ccl.northwestern.edu/netlogo/
* License         : GPL, version 2 or any later version
  Programming Lang: Scala with parts in Java
  Description     : Agent-based programming language and integrated modeling environment

Netlogo is particularly well suited for modeling complex systems developing over time.
Modelers can 
give instructions to hundreds or thousands of independent "agents" all operating concurrently. 
This makes it possible to explore the connection between the micro-level behavior of individuals 
and the macro-level patterns that emerge from the interaction of many individuals.
NetLogo has many thousands of active users. It is freely available from the NetLogo website. 
NetLogo is in use in a wide variety of educational contexts from elementary school to graduate 
school. Many teachers make use of NetLogo in their curricula.

The source code is on https://github.com/NetLogo/NetLogo .




Merged 660719 660720. Request was from Gergely Nagy <algernon@balabit.hu> to control@bugs.debian.org. (Tue, 21 Feb 2012 09:33:21 GMT) Full text and rfc822 format available.

Changed Bug title to 'RFP: netlogo -- Agent-based programming language and integrated modeling environment' from 'RFP: Netlogo -- Agent-based programming language and integrated modeling environment' Request was from Raphael Geissert <atomo64@gmail.com> to control@bugs.debian.org. (Thu, 23 Feb 2012 03:15:19 GMT) Full text and rfc822 format available.

Changed Bug title to 'RFP: netlogo -- An agent-based programming language and integrated modeling environment.' from 'RFP: netlogo -- Agent-based programming language and integrated modeling environment' Request was from Raphael Geissert <atomo64@gmail.com> to control@bugs.debian.org. (Thu, 23 Feb 2012 03:15:25 GMT) Full text and rfc822 format available.

Changed Bug title to 'RFP: netlogo -- An agent-based programming language and integrated modeling environment.' from 'RFP: netlogo -- An agent-based programming language and integrated modeling environment.' Request was from Raphael Geissert <atomo64@gmail.com> to control@bugs.debian.org. (Thu, 23 Feb 2012 03:15:26 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#660719; Package wnpp. (Sun, 28 Apr 2013 18:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Sun, 28 Apr 2013 18:36:04 GMT) Full text and rfc822 format available.

Message #18 received at 660719@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: Roger Morgan <halbtaxabo-deb@yahoo.com>, 660719@bugs.debian.org
Subject: Re: RFP: Netlogo -- Agent-based programming language and integrated modeling environment
Date: Sun, 28 Apr 2013 20:34:06 +0200
[Roger Morgan]
> * Package name    : Netlogo
>   Version         : 5.0 
>   Upstream Author : Uri Wilensky
> * URL             : http://ccl.northwestern.edu/netlogo/
> * License         : GPL, version 2 or any later version
>   Programming Lang: Scala with parts in Java
>   Description :     Agent-based programming language and integrated
>                     modeling environment

Hi.  Did you try to build it on Debian?  How hard is it to build on
Wheezy or unstable?

-- 
Happy hacking
Petter Reinholdtsen



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#660719; Package wnpp. (Tue, 30 Apr 2013 08:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Tue, 30 Apr 2013 08:33:04 GMT) Full text and rfc822 format available.

Message #23 received at 660719@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: Roger Morgan <halbtaxabo-deb@yahoo.com>, 660719@bugs.debian.org
Subject: Re: RFP: Netlogo -- Agent-based programming language and integrated modeling environment
Date: Tue, 30 Apr 2013 10:32:22 +0200
[Petter Reinholdtsen]
> Hi.  Did you try to build it on Debian?  How hard is it to build on
> Wheezy or unstable?

I gave it a go on Squeeze, and the build failed.  The default build
rule expect to use SUN Java 6, and I patched it to use OpenJDK
instead.  The build downloaded heaps of supporting libraries, and
finally failed with this error when I tested by running ./nightly.sh:

[info] Compiling 15 Scala sources to /home/pere/src/debian/NetLogo/project/target/scala-2.9.2/sbt-0.12/classes...
[error] /home/pere/src/debian/NetLogo/project/I18n.scala:27: object native2ascii is not a member of package sun.tools
[error]     (new sun.tools.native2ascii.Main).convert(
[error]                    ^
[error] one error found
[error] (compile:compile) Compilation failed

I guess it will take a while to port it to OpenJDK and teach it to
only use packages in Debian.  I am not skilled enough with Java
packaging to do so myself. :(

This was the patch I used:

diff --git a/sbt b/sbt
index 9fc45d7..bd9f667 100755
--- a/sbt
+++ b/sbt
@@ -10,7 +10,7 @@ if [[ `uname -s` == *CYGWIN* ]] ; then
 else
   CURR_DIR=`dirname $0`
   if [ `uname -s` = Linux ] ; then
-    export JAVA_HOME=/usr/lib/jvm/java-6-sun
+    export JAVA_HOME=/usr
   else
     if [ `uname -s` = Darwin ] ; then
       export JAVA_HOME=`/usr/libexec/java_home -F -v1.6*`

-- 
Happy hacking
Petter Reinholdtsen



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#660719; Package wnpp. (Mon, 22 Jul 2013 18:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Mon, 22 Jul 2013 18:57:05 GMT) Full text and rfc822 format available.

Message #28 received at 660719@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: 660719@bugs.debian.org
Subject: netlogo -- An agent-based programming language and integrated modeling environment.
Date: Mon, 22 Jul 2013 20:53:16 +0200
Control: block -1 by 717588
Control: block -1 by 453469
Control: block -1 by 685874
Control: block -1 by 685875

I have succeeded building netlogo using OpenJDK in Wheezy, but several
of its runtime dependencies are currently missing in Debian.  Here is
the list I have been able to confirm so far.


org.jhotdraw (version 6.0b1)

  http://www.jhotdraw.org/
  WNPP: #717588

org.picocontainer/picocontainer/picocontainer-2.13.6.jar

  http://www.picocontainer.org
  WNPP: #453469

org.pegdown/pegdown/pegdown-1.1.0.jar

  http://pegdown.org
  WNPP: #685874

org.parboiled/parboiled-java/parboiled-java-1.0.2.jar
org.parboiled/parboiled-core/parboiled-core-1.0.2.jar

  http://parboiled.org
  WNPP: #685875


This is the patch I use to build it:

diff --git a/sbt b/sbt
index 9fc45d7..d190ac3 100755
--- a/sbt
+++ b/sbt
@@ -10,7 +10,7 @@ if [[ `uname -s` == *CYGWIN* ]] ; then
 else
   CURR_DIR=`dirname $0`
   if [ `uname -s` = Linux ] ; then
-    export JAVA_HOME=/usr/lib/jvm/java-6-sun
+    export JAVA_HOME=/usr/lib/jvm/default-java
   else
     if [ `uname -s` = Darwin ] ; then
       export JAVA_HOME=`/usr/libexec/java_home -F -v1.6*`

-- 
Happy hacking
Petter Reinholdtsen



Added blocking bug(s) of 660719: 717588 Request was from Petter Reinholdtsen <pere@hungry.com> to 660719-submit@bugs.debian.org. (Mon, 22 Jul 2013 18:57:05 GMT) Full text and rfc822 format available.

Added blocking bug(s) of 660719: 453469 Request was from Petter Reinholdtsen <pere@hungry.com> to 660719-submit@bugs.debian.org. (Mon, 22 Jul 2013 18:57:07 GMT) Full text and rfc822 format available.

Added blocking bug(s) of 660719: 685874 Request was from Petter Reinholdtsen <pere@hungry.com> to 660719-submit@bugs.debian.org. (Mon, 22 Jul 2013 18:57:08 GMT) Full text and rfc822 format available.

Added blocking bug(s) of 660719: 685875 Request was from Petter Reinholdtsen <pere@hungry.com> to 660719-submit@bugs.debian.org. (Mon, 22 Jul 2013 18:57:10 GMT) Full text and rfc822 format available.

Added blocking bug(s) of 660719: 706633 Request was from Petter Reinholdtsen <pere@hungry.com> to 706633-submit@bugs.debian.org. (Mon, 22 Jul 2013 21:45:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#660719; Package wnpp. (Wed, 24 Jul 2013 11:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Wed, 24 Jul 2013 11:15:04 GMT) Full text and rfc822 format available.

Message #43 received at 660719@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: 660719@bugs.debian.org
Subject: Re: netlogo -- An agent-based programming language and integrated modeling environment.
Date: Wed, 24 Jul 2013 13:14:12 +0200
Control: block -1 by 639910

The sbt (simple-build-tool) system is also missing in Debian (WNPP
#639910).  It is the build framework used by netlogo.

I've not been able to figure out every build dependency yet, but some
are listed in build.sbt in the source:

libraryDependencies ++= Seq(
  "log4j" % "log4j" % "1.2.17",
  "javax.media" % "jmf" % "2.1.1e",
  "org.pegdown" % "pegdown" % "1.1.0",
  "org.parboiled" % "parboiled-java" % "1.0.2",
  "steveroy" % "mrjadapter" % "1.2" from "http://ccl.northwestern.edu/devel/mrjadapter-1.2.jar",
  "org.jhotdraw" % "jhotdraw" % "6.0b1" from "http://ccl.northwestern.edu/devel/jhotdraw-6.0b1.jar",
  "ch.randelshofer" % "quaqua" % "7.3.4" from "http://ccl.northwestern.edu/devel/quaqua-7.3.4.jar",
  "ch.randelshofer" % "swing-layout" % "7.3.4" from "http://ccl.northwestern.edu/devel/swing-layout-7.3.4.jar",
  "org.jogl" % "jogl" % "1.1.1" from "http://ccl.northwestern.edu/devel/jogl-1.1.1.jar",
  "org.gluegen-rt" % "gluegen-rt" % "1.1.1" from "http://ccl.northwestern.edu/devel/gluegen-rt-1.1.1.jar",
  "org.apache.httpcomponents" % "httpclient" % "4.2",
  "org.apache.httpcomponents" % "httpmime" % "4.2",
  "com.googlecode.json-simple" % "json-simple" % "1.1.1"
)

The build system will download the dependencies, and I have not been
able to figure out how to get sbt to use the libraries provided by
Debian in /usr/share/java/ yet.

-- 
Happy hacking
Petter Reinholdtsen



Added blocking bug(s) of 660719: 639910 Request was from Petter Reinholdtsen <pere@hungry.com> to 660719-submit@bugs.debian.org. (Wed, 24 Jul 2013 11:15:04 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 04:24:03 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.