Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98551 - dev-haskell/hsql-sqlite3-1.6 (new ebuild)
Summary: dev-haskell/hsql-sqlite3-1.6 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo's Haskell Language team
URL: http://htoolkit.sourceforge.net/
Whiteboard:
Keywords:
Depends on: 98549
Blocks:
  Show dependency tree
 
Reported: 2005-07-10 03:31 UTC by Henning Günther
Modified: 2006-03-11 13:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The ebuild for dev-haskell/hsql-sqlite3-1.6 (hsql-sqlite3-1.6.ebuild,1.73 KB, text/plain)
2005-07-10 03:32 UTC, Henning Günther
Details
Ebuild using cabal eclass (hsql-sqlite3-1.6.ebuild,666 bytes, text/plain)
2005-07-25 05:08 UTC, Henning Günther
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Günther 2005-07-10 03:31:39 UTC
SQLite bindings for Haskell using hsql.
Comment 1 Henning Günther 2005-07-10 03:32:19 UTC
Created attachment 63062 [details]
The ebuild for dev-haskell/hsql-sqlite3-1.6
Comment 2 Henning Günther 2005-07-25 05:08:42 UTC
Created attachment 64250 [details]
Ebuild using cabal eclass
Comment 3 Duncan Coutts (RETIRED) gentoo-dev 2006-03-11 11:49:49 UTC
I've been trying the test HSQL-1.7/examples/Main.hs

I've got it working for odbc, postgresql and mysql but not sqlite3.

What goes wrong is that the test program can't extract integer fields.
It's fine with varchar or string fields but not int ones.

The error reported is:
        The type of id field can't be converted to SqlText type

Note that it works ok when we try to extract an int field as a Haskell
String but not an int field as a Haskell Int (which is what the example
program tries to do).

I'll add the postgresql, mysql and odbc backends to gentoo and leave the
sqlite3 backend for the moment.

If anyone has a patch to make the sqlite3 backend work with the example
program then I'll be happy to include that into the gentoo package and
add the sqlite3 backend too.
Comment 4 Duncan Coutts (RETIRED) gentoo-dev 2006-03-11 13:28:08 UTC
Thanks to Bjorn Bringert for quickly supplying us with a patch which fixes this problem. The patch is now included in the hsql-1.7 ebuild.
Comment 5 Duncan Coutts (RETIRED) gentoo-dev 2006-03-11 13:41:54 UTC
Now unmasked in portage.
Comment 6 Duncan Coutts (RETIRED) gentoo-dev 2006-03-11 13:42:18 UTC
Closing.