From luecke at informatik.uni-bremen.de Mon Jul 2 18:32:43 2007 From: luecke at informatik.uni-bremen.de (Dominik Luecke) Date: Mon, 02 Jul 2007 18:32:43 +0200 Subject: [Hets-devel] Hets Broken for HasCASL/CASL specification Message-ID: <1183393963.17103.7.camel@feuerbach> Hello, the Hets Graph calculus is broken for Hets-lib/HasCASL/Real.het. You can run the proofs, but the goals are not transfered into the nodes. When you want to show the theory of a node, nothing happens again. No error message and no "Application Terminated" message is displayed. The same applies to Hets-lib/HasCASL/Categories.het, but then the error message hets: user error (Pattern match failure in do expression at DaVinciGraph.hs:1247:9-35) is displayed. Did anyone change anything regarding the graph calculus / graph display lately? Regards, Dominik -- Dominik Luecke Phone +49-421-218-64265 Dept. of Computer Science Fax +49-421-218-9864265 University of Bremen luecke at tzi.de P.O.Box 330440, D-28334 Bremen PGP-Key ID 0x2D82571B From A.M.Gimblett at swansea.ac.uk Wed Jul 4 16:17:26 2007 From: A.M.Gimblett at swansea.ac.uk (Andy Gimblett) Date: Wed, 4 Jul 2007 15:17:26 +0100 Subject: [Hets-devel] Installing hets on a clean box: instructions/Makefile old/broken? Message-ID: <20070704141726.GC29911@cspcag2.swan.ac.uk> Hi all, I want to report a few problems I've encountered trying to build Hets from scratch on a clean/freshly installed box (running Ubuntu, as it happens). This is the first time I've built Hets on a new box for a couple of years, and the build instructions/Makefile seem to be a bit broken...? (Ubuntu 7.04, ghc 6.6) I'm raising this here in case anyone wants to revisit the instructions and/or the build process, and in case I'm actually doing something wrong (so you can tell me). It's not so hard to "route around" these problems, but only if you know about ghc-pkg, hackage, etc. :-) Let me know if you want me to add a ticket (or tickets) to trac covering this. In summary: 1. The instructions in Hets/INSTALL are out of date (eg referring to Makefile.orig, which no longer exist). 2. "make packages" is broken in some way, at least for me. There seems to be an issue involving $(ARCH), and i386 vs i686 - though that might not be problem. 3. "make packages" is missing some packages: we need HUnit and html to complete "make packages", and haskell-src, happy, fgl, and time to complete "make all". (We also need the network package before we can build uni, IIRC.) This isn't a cry for help: I _have_ succeeded in building hets, but I had to do a lot of manual installation of package to make it work. I've installed them as root to the global package database - is there any reason I shouldn't do that? It seems slightly odd to me that hets comes with "its own" versions of (some of) its dependencies - does this come from a pre-Hackage era? Or are any of them special/modified versions? If not, then perhaps today it's easier to just list the dependencies up front in INSTALL and leave it to the user? Gory details follow... I've been trying to approximately follow the instructions in Hets/INSTALL. I've checked out Hets and uni from SVN, and uDrawGraph is installed. The first "interesting" part of Hets/INSTALL regards HaXml: HaXml-1.13.2 must be installed as cabal package. The packed sources can be found in uni/HaXml/HaXml.tgz and must be unpacked and installed manually as shown below. This manual procedure is needed because you must decide where to install the cabal-package. You may need to be root to install it globally or without prefix. Alternatively, choose a suitable prefix and install it locally for you as user only as it is done automatically for further hets packages. cd uni/HaXml tar zxvf HaXml.tgz cd HaXml-1.13.2/ runhaskell Setup.hs configure --prefix=$HOME/.ghc/i386-Linux-hets-packages runhaskell Setup.hs build runhaskell Setup.hs install --user Well, I'm not sure I understand the explanation of why I need this special HaXml rather the one from hackage ("you must decide where to install the cabal-package"?), but I followed this instruction (using --prefix=$HOME/.ghc/i686-Linux-hets-packages - note the 686 not 386, since that corresponds with what the Hets Makefile will attempt to use later) and HaXml does then show up in ghc-pkg list, as I'd expect: [gimbo at mane Hets] ghc-pkg list /usr/lib/ghc-6.6/package.conf: Cabal-1.1.6, X11-1.2.2, X11-extras-0.2, base-2.0, (ghc-6.6), haskell98-1.0, mtl-1.0.1, network-2.0, parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, unix-1.0 /home/gimbo/.ghc/i386-linux-6.6/package.conf: HaXml-1.13.2 So far so good, although I note that HaXML is registered with i386-blah, not i686-blah, which is slightly worrying given what I said above about this... I then had to manually install network before uni would build (OK, no problem), and then I could move on to Hets itself. The instruction: The binary "hets" should be produced by: make -f Makefile.orig packages make depend make hets # this takes a while is presumably out of date since Makefile.org doesn't exist (should just be Makefile I guess). "make packages" installs local versions of required packages (again, what's wrong with just listing them and letting me install from hackage? Are special versions needed? Or does this just predate hackage?), but the installation appears to be broken/incomplete, because after apparently building HTTP, the installation fails with: Installing: /home/gimbo/.ghc/i686-Linux-hets-packages/lib/HTTP-2006.7.7/ghc-6.6 & /home/gimbo/.ghc/i686-Linux-hets-packages/bin HTTP-2006.7.7... Setup: Error: Could not find module: Network.Stream with any suffix: ["p_hi"] make: *** [http_pkg] Error 1 This failure is in the "Setup install --user" stage. It does (appear to) successfully build and HTTP and put it in the specified place: [gimbo at mane Hets] ls -l ~/.ghc/i686-Linux-hets-packages/lib/HTTP-2006.7.7/ghc-6.6/Network total 96 -rw-r----- 1 gimbo gimbo 24823 2007-06-29 16:12 Browser.hi drwxr-x--- 2 gimbo gimbo 4096 2007-06-29 16:12 HTTP -rw-r----- 1 gimbo gimbo 40795 2007-06-29 16:12 HTTP.hi -rw-r----- 1 gimbo gimbo 13344 2007-06-29 16:12 Stream.hi -rw-r----- 1 gimbo gimbo 6287 2007-06-29 16:12 TCP.hi but HTTP isn't yet registered with ghc-pkg (ghc-pkg list gives same output as above). The installation of HTTP fails, and that's it. At this point I changed tack, and started manually installing all of the packages required by the "make packages" target - actually installing them to the global package database rather than ~/.ghc/anything... That is, I installed (the Hets distributed versions of) HTTP, syb-generics, Shellac, Shellac-readline, hxt (required manual download/install of HUnit from hackage), and HAIFI (required manual download/install of html from hackage). That gets me past "make packages", but then "make" fails, upon InlineAxioms: utils/InlineAxioms/InlineAxioms.hs:54:7: Could not find module `Language.Haskell.Parser': Use -v to see a list of the files searched for. make: *** [utils/outlineAxioms] Error 1 So I apparently have to download/install haskell-src (and its dependency, happy), from hackage. As far as I can tell, Language.Haskell.Parser is in haskell-src, so I downloaded that from hackage, and it requires happy, so I downloaded that from hackage too. Later, I needed to install fgl, then time. So it seems to me there are a few issues here, most fundamentally that the documentation doesn't tell me what the prerequisites are. Many thanks, -Andy -- Andy Gimblett Computer Science Department University of Wales Swansea http://www.cs.swan.ac.uk/~csandy/ From Christian.Maeder at dfki.de Wed Jul 4 18:37:31 2007 From: Christian.Maeder at dfki.de (Christian Maeder) Date: Wed, 04 Jul 2007 18:37:31 +0200 Subject: [Hets-devel] Installing hets on a clean box: instructions/Makefile old/broken? In-Reply-To: <20070704141726.GC29911@cspcag2.swan.ac.uk> References: <20070704141726.GC29911@cspcag2.swan.ac.uk> Message-ID: <468BCCCB.3050206@dfki.de> Andy Gimblett schrieb: > (Ubuntu 7.04, ghc 6.6) I don't know why there's only a crippled compiler on Ubuntu. A proper compiler (from the ghc home page) has all packages except those that we have put into hets. Who should be notified about this issue? > 1. The instructions in Hets/INSTALL are out of date (eg referring to > Makefile.orig, which no longer exist). ok, Makefile.orig only exists in a source release (not in svn) and is equal to the Makefile of svn. > > 2. "make packages" is broken in some way, at least for me. There > seems to be an issue involving $(ARCH), and i386 vs i686 - though > that might not be problem. It's only confusing and no problem. ghc's package.conf file is under i386 whereas the actual object code ends up in i686. > 3. "make packages" is missing some packages: we need HUnit and html > to complete "make packages", and haskell-src, happy, fgl, and > time to complete "make all". except for "happy" (only needed for programatica) these are all extra-lib packages usually available with ghc. > (We also need the network package before we can build uni, IIRC.) dito. > This isn't a cry for help: I _have_ succeeded in building hets, but I > had to do a lot of manual installation of package to make it work. good, (we take our part of blame). > I've installed them as root to the global package database - is there > any reason I shouldn't do that? No, global installation is fine. > It seems slightly odd to me that hets comes with "its own" versions of > (some of) its dependencies - does this come from a pre-Hackage era? > Or are any of them special/modified versions? If not, then perhaps > today it's easier to just list the dependencies up front in INSTALL > and leave it to the user? Only HTTP is different from hackage. Installing ghc packages manually is a pain (therefore hets was supposed to do it for you). > Gory details follow... [...] > The binary "hets" should be produced by: > > make -f Makefile.orig packages > make depend > make hets > # this takes a while again this only applies to source releases from http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/src-distribution/versions/ (after "svn co ..." only "make" should produce an unoptimized binary) > So it seems to me there are a few issues here, most fundamentally that > the documentation doesn't tell me what the prerequisites are. The first prerequisite is a proper ghc! Switching to version 6.6.1 may become necessary soon, anyway. http://www.haskell.org/ghc/dist/6.6.1/ghc-6.6.1-i386-unknown-linux.tar.bz2 (you may also get my build directly based on readline-5: http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/linux/versions/ghc-6.6.1-i386-unknown-linux.tar.bz2 ) > Many thanks, Thank you Christian From rwagner at informatik.uni-bremen.de Wed Jul 4 19:47:16 2007 From: rwagner at informatik.uni-bremen.de (Rene Wagner) Date: Wed, 04 Jul 2007 19:47:16 +0200 Subject: [Hets-devel] Installing hets on a clean box: instructions/Makefile old/broken? In-Reply-To: <468BCCCB.3050206@dfki.de> References: <20070704141726.GC29911@cspcag2.swan.ac.uk> <468BCCCB.3050206@dfki.de> Message-ID: <1183571236.3217.10.camel@localhost.localdomain> On Wed, 2007-07-04 at 18:37 +0200, Christian Maeder wrote: > Andy Gimblett schrieb: > > (Ubuntu 7.04, ghc 6.6) > > I don't know why there's only a crippled compiler on Ubuntu. A proper > compiler (from the ghc home page) has all packages except those that we > have put into hets. Who should be notified about this issue? Assuming Ubuntu just repackages the corresponding Debian packages (as they do for a most non-"core" packages), it's probably a matter of installing all build dependencies. The main ghc6 package only contains the compiler + runtime. To build hets you also need a number of libghc6-*-dev packages. Here's what I had installed last I built hets (back in February I think) on a Debian Etch system: $ dpkg -l *ghc* | grep ii ii ghc6 6.6-3 GHC - the Glasgow Haskell Compilation system ii ghc6-prof 6.6-3 Profiling libraries for the Glasgow Haskell ii libghc6-fgl-dev 5.3-3 Haskell graph library for GHC ii libghc6-haskell-src-dev 1.0-3 Haskell module for manipulating Haskell sour ii libghc6-haxml-dev 1.13.2-5 GHC6 libraries for using XML documents with ii libghc6-html-dev 1.0-3 Haskell html library for GHC ii libghc6-http-dev 20060707-2 GHC 6 libraries for the Haskell HTTP client ii libghc6-hunit-dev 1.1-3 Haskell unit testing framework for GHC ii libghc6-mtl-dev 1.0-3 Haskell monad transformer library for GHC ii libghc6-network-dev 2.0-3 Haskell network library for GHC ii libghc6-quickcheck-dev 1.0-3 Haskell automatic testing library for GHC ii libghc6-src-exts-dev 0.2-5.1 Haskell-Source with eXtensions It might be worth checking whether the above list is still sufficient and adding it to the documentation for Debian/Ubuntu users who prefer distro packages. HIH, Rene From Christian.Maeder at dfki.de Fri Jul 6 09:46:39 2007 From: Christian.Maeder at dfki.de (Christian Maeder) Date: Fri, 06 Jul 2007 09:46:39 +0200 Subject: [Hets-devel] ghc 6.6 Debian packages In-Reply-To: <20070705221216.GA23751@matrix.chaos.earth.li> References: <468CB697.90901@dfki.de> <20070705161132.GK2031@mapcar.org> <20070705190409.A0202788072@labrador.eecs.harvard.edu> <20070705221216.GA23751@matrix.chaos.earth.li> Message-ID: <468DF35F.40206@dfki.de> Ian Lynagh schrieb: > If you are using Debian etch then you can do > > apt-get install "libghc6-.*-dev" > > to install all GHC 6 libraries. There isn't such an easy way to install > just those (somewhat arbitrarily) defined to be extralibs, though. Could someone list the available packages (and its versions)? Are there plans to provide also ghc-6.6.1 debian packages? I think ghc-6.6.1 provides new time and filepath packages. Thanks Christian From igloo at earth.li Fri Jul 6 13:17:16 2007 From: igloo at earth.li (Ian Lynagh) Date: Fri, 6 Jul 2007 12:17:16 +0100 Subject: [Hets-devel] ghc 6.6 Debian packages In-Reply-To: <468DF35F.40206@dfki.de> References: <468CB697.90901@dfki.de> <20070705161132.GK2031@mapcar.org> <20070705190409.A0202788072@labrador.eecs.harvard.edu> <20070705221216.GA23751@matrix.chaos.earth.li> <468DF35F.40206@dfki.de> Message-ID: <20070706111716.GA27724@matrix.chaos.earth.li> On Fri, Jul 06, 2007 at 09:46:39AM +0200, Christian Maeder wrote: > Ian Lynagh schrieb: > > If you are using Debian etch then you can do > > > > apt-get install "libghc6-.*-dev" > > > > to install all GHC 6 libraries. There isn't such an easy way to install > > just those (somewhat arbitrarily) defined to be extralibs, though. > > Could someone list the available packages (and its versions)? In Debian Etch (stable)? http://packages.debian.org/cgi-bin/search_packages.pl?keywords=libghc6&searchon=names&subword=1&version=stable&release=all > Are there plans to provide also ghc-6.6.1 debian packages? At some point, but there are more pressing things to do first. > I think ghc-6.6.1 provides new time and filepath packages. time was a 6.6 extralib and is in stable. (I don't know off the top of my head what differences there were between the versions that came with 6.6 and 6.6.1). filepath wasn't an extralib, but is in stable nonetheless. Thanks Ian From Till.Mossakowski at dfki.de Tue Jul 10 15:11:50 2007 From: Till.Mossakowski at dfki.de (Till Mossakowski) Date: Tue, 10 Jul 2007 15:11:50 +0200 Subject: [Hets-devel] Hets does not compile Message-ID: <46938596.80606@dfki.de> Dear Andy, Hets does not compile: utils/genRules -r Typeable -r ShATermConvertible -i Data.Typeable -i Common.ATerm.Lib -i CASL.ATC_CASL -o CspCASL/ATC_CspCASL.der.hs CspCASL/AS_CspCASL.hs CspCASL/AS_CspCASL_Process.hs CspCASL/SignCSP.hs genRules: user error (parse error at CspCASL/AS_CspCASL.hs: wrong parse (imports)) make: *** [CspCASL/ATC_CspCASL.der.hs] Fehler 1 till at fromm:~/CASL/Hets$ I think this was caused by your commit leading to version 8313. Please fix this a.s.a.p. The checked-in version should always compile. Greetings, Till -- Till Mossakowski Cartesium, room 2.051 Phone +49-421-218-64226 DFKI Lab Bremen Fax +49-421-218-9864226 Safe & Secure Cognitive Systems Till.Mossakowski at dfki.de Enrique-Schmidt-Str. 5, D-28359 Bremen http://www.dfki.de/sks/till Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH principal office, *not* the address for mail etc.!!!: Trippstadter Str. 122, D-67663 Kaiserslautern management board: Prof. Wolfgang Wahlster (chair), Dr. Walter Olthoff supervisory board: Prof. Hans A. Aukes (chair) Amtsgericht Kaiserslautern, HRB 2313 From Christian.Maeder at dfki.de Tue Jul 10 15:28:27 2007 From: Christian.Maeder at dfki.de (Christian Maeder) Date: Tue, 10 Jul 2007 15:28:27 +0200 Subject: [Hets-devel] Hets does not compile In-Reply-To: <46938596.80606@dfki.de> References: <46938596.80606@dfki.de> Message-ID: <4693897B.6010309@dfki.de> Till Mossakowski schrieb: > Dear Andy, > > Hets does not compile: > > utils/genRules -r Typeable -r ShATermConvertible -i Data.Typeable -i > Common.ATerm.Lib -i CASL.ATC_CASL -o CspCASL/ATC_CspCASL.der.hs > CspCASL/AS_CspCASL.hs CspCASL/AS_CspCASL_Process.hs CspCASL/SignCSP.hs > genRules: user error (parse error at CspCASL/AS_CspCASL.hs: wrong parse > (imports)) > > make: *** [CspCASL/ATC_CspCASL.der.hs] Fehler 1 > till at fromm:~/CASL/Hets$ It's only an accidental "-" before -module CspCASL.AS_CspCASL C. From A.M.Gimblett at swansea.ac.uk Tue Jul 10 15:34:03 2007 From: A.M.Gimblett at swansea.ac.uk (Andy Gimblett) Date: Tue, 10 Jul 2007 14:34:03 +0100 Subject: [Hets-devel] Hets does not compile In-Reply-To: <46938596.80606@dfki.de> References: <46938596.80606@dfki.de> Message-ID: <20070710133403.GA20159@cspcag2.swan.ac.uk> On Tue, Jul 10, 2007 at 03:11:50PM +0200, Till Mossakowski wrote: > Dear Andy, > > Hets does not compile: > > I think this was caused by your commit leading to version 8313. > Please fix this a.s.a.p. The checked-in version should always > compile. Sorry - that changeset was (supposedly) only changes to comments/headers, so I didn't recompile - foolishly, as it turns out. Lesson learned. Many thanks to Christian for fixing it before I'd even noticed it... Sorry again, -Andy -- Andy Gimblett Computer Science Department University of Wales Swansea http://www.cs.swan.ac.uk/~csandy/ From Christian.Maeder at dfki.de Wed Jul 11 11:35:31 2007 From: Christian.Maeder at dfki.de (Christian Maeder) Date: Wed, 11 Jul 2007 11:35:31 +0200 Subject: [Hets-devel] ghc 6.6 Debian packages In-Reply-To: <20070706111716.GA27724@matrix.chaos.earth.li> References: <468CB697.90901@dfki.de> <20070705161132.GK2031@mapcar.org> <20070705190409.A0202788072@labrador.eecs.harvard.edu> <20070705221216.GA23751@matrix.chaos.earth.li> <468DF35F.40206@dfki.de> <20070706111716.GA27724@matrix.chaos.earth.li> Message-ID: <4694A463.8050704@dfki.de> Ian Lynagh schrieb: > On Fri, Jul 06, 2007 at 09:46:39AM +0200, Christian Maeder wrote: >> Ian Lynagh schrieb: >>> If you are using Debian etch then you can do >>> >>> apt-get install "libghc6-.*-dev" >>> >>> to install all GHC 6 libraries. There isn't such an easy way to install >>> just those (somewhat arbitrarily) defined to be extralibs, though. >> Could someone list the available packages (and its versions)? > > In Debian Etch (stable)? > > http://packages.debian.org/cgi-bin/search_packages.pl?keywords=libghc6&searchon=names&subword=1&version=stable&release=all That's an impressive matrix of libraries and supported architectures. Loading all 46 libraries may be overkill for us. Furthermore we additionally need to install hxt, Shellac and Shellac-readline (and we use a slightly modified HTTP package that's used by hxt) Appart from the "(somewhat arbitrarily) defined" extralibs we need HaXml-1.13.2 and WashNGo (or "wash"). (We do not need all extralibs, though, i.e. OpenAL) Cheers Christian From Christian.Maeder at dfki.de Sat Jul 14 15:49:47 2007 From: Christian.Maeder at dfki.de (Christian Maeder) Date: Sat, 14 Jul 2007 15:49:47 +0200 Subject: [Hets-devel] hets-0.73 released Message-ID: <4698D47B.6020905@dfki.de> Dear Hets friends, we proudly present our release 0.73 of the Heterogeneous Tool Set (Hets) new features are: - improved encoding into the logic SoftFOL - imported theorems that are available as axioms are now visibly marked - many HasCASL fixes and test cases (more to come) - support for SAT solvers Binaries can be downloaded from: http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/installation_e.htm Installers and a new Live-CD will soon be available, too. Enjoy it, Christian -- _______________________________________________________________ Dr. Christian Maeder Hausadresse: DFKI-Labor Bremen Universit?t Bremen Sichere Kognitive Systeme Cartesium 02.053 Robert-Hooke-Str. 5 Enrique-Schmidt-Str. 5 28359 Bremen 28359 Bremen http://www.dfki.de/sks www.informatik.uni-bremen.de/~maeder Telefon: +49 (421) 218-64227 Telefax: +49 (421) 218-9864227 E-Mail: Christian.Maeder at dfki.de _______________________________________________________________ Deutsches Forschungszentrum f?r K?nstliche Intelligenz GmbH Firmensitz: Trippstadter Stra?e 122, D-67663 Kaiserslautern Gesch?ftsf?hrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 From luecke at informatik.uni-bremen.de Wed Jul 25 11:40:22 2007 From: luecke at informatik.uni-bremen.de (Dominik Luecke) Date: Wed, 25 Jul 2007 11:40:22 +0200 Subject: [Hets-devel] Hets 0.73 Installer Message-ID: <1185356422.21343.6.camel@feuerbach> Dear Hetters, new installers for Hets 0.73 are available from the website http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/installation_e.htm They are supplied for Linux PPC-Mac and Solaris on Sparc. Regards, Dominik -- Dominik Luecke Phone +49-421-218-64265 Dept. of Computer Science Fax +49-421-218-9864265 University of Bremen luecke at tzi.de P.O.Box 330440, D-28334 Bremen PGP-Key ID 0x2D82571B