[needs-packaging] Oracle DBXML

Bug #157165 reported by Andrew West
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu
In Progress
Wishlist
Ralph Janke
Nominated for Lucid by Raphael Jolivet

Bug Description

This is a request for packaging Oracles DBXML, a XML database system that provides command line tools as well as language extensions to access the databases. It's available under the Apache license.

Available here;
http://www.oracle.com/technology/products/berkeley-db/xml/index.html

Revision history for this message
strangedata (rcteigao) wrote :

up

Revision history for this message
Ralph Janke (txwikinger) wrote :

The sources tarball from oracle contains really 4 packages. Two of them libdb4.6 and libxerces28 are already packages in debian/ubuntu in hardy, and xquilla exists as well as libxqilla3 in hardy.

Revision history for this message
Zeth (zeth0) wrote :

The tarball from Oracle contains four packages, three of which are already in Ubuntu. libdb is in Ubuntu, as is libxerces, while xqilla is new in intrepid:http://packages.ubuntu.com/intrepid/xqilla
So the main thing for the package is only the dbxml directory. Of course, how versions work out is an issue.

Revision history for this message
Ralph Janke (txwikinger) wrote :

Correctlion xqilla and libxqilla3 exist only from intrepid

Revision history for this message
Zeth (zeth0) wrote :

The Oracle bundle has these:

xercesc_content_type.patch
xercesc_regex.patch

These are in Gentoo's xerces package, but are they in Ubuntu?:
http://packages.larrythecow.org/?v=ebuild&s=dev-libs%2Fxerces-c-2.7.0-r1

Revision history for this message
Zeth (zeth0) wrote :

So it seems most of the deps are on the way somewhere. The remaining things are the dbxml package itself, and hopefully the Python bindings also, e.g. python-dbxml.

Revision history for this message
Oliver Dungey (oliver-dungey) wrote :

I have just been building this package using instructions from here:
http://commandline.org.uk/electronic-text/2008/aug/14/native-xml-storage-db-xml-part-one/

Nearly got it all compiled using the standard Intrepid components but I have now come unstuck with the error:
ImpliedSchemaGenerator.cpp:80:50: error: xqilla/functions/FunctionParseJSON.hpp: No such file or directory

It seems that the problem is xqilla, libxqilla-dev and libxqilla3 are from the 2.0 version set but bdbxml needs 2.1.2.

Anyone know when we are likely to see this xqilla update in Intrepid?

Revision history for this message
Robert Paulsen (robert-paulsenonline) wrote :

Any update on this?

dbxml is a very handy tool. I have several little home-brew apps that use it and since I have moved from SLES to Kubuntu I miss it. I can build and install it manually but would rather have an "official" build that didn't drag along dependencies with version numbers that mismatch the Ubuntu 9.10 versions.

Revision history for this message
Raphael Jolivet (raphael-jolivet) wrote :

Up.

Berkeley DB XML is a really nice piece of software that deserves a better visibility.
I think that having an official package in Ubuntu would help it to be widely adopted.

I would really like to have the PHP mod packaged as well.
It's time we move from SQL-based database to more flexible solutions for web sites development.

As per the official build guide (http://www.oracle.com/technology/documentation/berkeley-db/xml/ref_xml/xml_unix/intro.html) :
"The Berkeley DB XML distribution comprises several libraries: a base C++ library, three third-party libraries, and optional libraries for additional language interfaces such as Java, Perl, Python, PHP, and Tcl".

So I guess this could be split into 5 different packages :
* berkeley-xmldb
* berkeley-xmldb-java
* berkeley-xmldb-php
* berkeley-xmldb-python
* berkeley-xmldb-tcl

The third party libraries (libdb, qxilla, libxerces) being already distributed in ubuntu.

Thanks for considering this request.

Revision history for this message
Gregory Burd (gregburd) wrote :

Hello, I'm the product manager over at Oracle in the Berkeley DB group. I created a Launchpad project for BDB XML https://launchpad.net/berkeley-db-xml and I'm generally available for questions, help, etc on this and other BDB related topics.

Unless there is a really good reason to use the "xmldb" name I'd prefer if we called the packages:
* berkeley-dbxml
* berkeley-dbxml-java
* berkeley-dbxml-php
* berkeley-dbxml-python
* berkeley-dbxml-tcl

I know, it's a nit pick... :)

-greg

Revision history for this message
Robert Paulsen (robert-paulsenonline) wrote :

Greg,

Thanks for your interest in ths!

"dbxml" makes sense.

The main thing is getting it into (K)Ububtu!

Revision history for this message
Gregory Burd (gregburd) wrote : Re: [Bug 157165] Re: [needs-packaging] Oracle DBXML

I couldn't agree more. We need it in the distro and ideally used in
some visible manner so that people can see that it's viable.

-greg

On Wed, Jun 23, 2010 at 1:20 PM, Robert Paulsen
<email address hidden> wrote:
> Greg,
>
> Thanks for your interest in ths!
>
> "dbxml" makes sense.
>
> The main thing is getting it into (K)Ububtu!
>
> --
> [needs-packaging] Oracle DBXML
> https://bugs.launchpad.net/bugs/157165
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: In Progress
>
> Bug description:
> This is a request for packaging Oracles DBXML, a XML database system that provides command line tools as well as language extensions to access the databases. It's available under the Apache license.
>
> Available here;
> http://www.oracle.com/technology/products/berkeley-db/xml/index.html
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+bug/157165/+subscribe
>

Revision history for this message
Lars (larsmans) wrote :

An effort to package DBXML for Debian is underway at http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=dbxml. It seems the requirements are all in Ubuntu 10.10, so I'm planning of upgrading and trying it out one of these days. Will report here if it works.

(I posted this two days ago, but the comment seemt to have disappeared. Maybe yesterday's admin work has something to do with this.)

Revision history for this message
Gregory Burd (gregburd) wrote :

If you need help from Oracle or have questions please feel free to
contact me: <email address hidden> - I'm a product manager working in
the Oracle Berkeley DB Group. Thank you for your efforts.

-greg

Revision history for this message
Lars (larsmans) wrote :

I've finally found the time to check out the Debian package, but it won't build (the Debian folks know this, http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=dbxml). I've volunteered to fix this package.

I've set up a repository at http://github.com/larsmans/dbxml-debian. Anyone who'd like to help (Greg, got any developers with too much spare time on their hands?) can join in. As far as I can see, the errors are in the debian/rules file, where debhelper should be called with --sourcedirectory=dbxml.

Revision history for this message
Gregory Burd (gregburd) wrote :

I'll ask around but with the Holidays and two releases in the pipe it's not likely. We can certainly answer questions, and if you find something that needs to be fixed/changed in BDB XML let me know sooner than later so that we can get it into the next release.

Cheers, and thanks for doing this work!!! :)

-greg

> -----Original Message-----
> From: Gregory Scott Burd [mailto:<email address hidden>]
> Sent: Monday, December 20, 2010 11:46 AM
> To: Gregory Burd
> Subject: Fwd: [Bug 157165] Re: [needs-packaging] Oracle DBXML
>
> ---------- Forwarded message ----------
> From: Lars <email address hidden>
> Date: Sun, Dec 19, 2010 at 4:59 PM
> Subject: [Bug 157165] Re: [needs-packaging] Oracle DBXML
> To: <email address hidden>
>
>
> I've finally found the time to check out the Debian package, but it
> won't build (the Debian folks know this, http://mentors.debian.net/cgi-
> bin/sponsor-pkglist?action=details;package=dbxml). I've volunteered to
> fix this package.
>
> I've set up a repository at http://github.com/larsmans/dbxml-debian.
> Anyone who'd like to help (Greg, got any developers with too much spare
> time on their hands?) can join in. As far as I can see, the errors are
> in the debian/rules file, where debhelper should be called with
> --sourcedirectory=dbxml.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/157165
>
> Title:
>  [needs-packaging] Oracle DBXML
>
> Status in Ubuntu:
>  In Progress
>
> Bug description:
>  This is a request for packaging Oracles DBXML, a XML database system
> that provides command line tools as well as language extensions to
> access the databases. It's available under the Apache license.
>
> Available here;
> http://www.oracle.com/technology/products/berkeley-db/xml/index.html
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+bug/157165/+subscribe

Revision history for this message
Lars (larsmans) wrote :

This took me much longer than I thought, but I've finally got round to uploading a first attempt to mentors.debian.net and requested sponsoring from a Debian developer. If picked up, DB XML should end up in the Debian package repo, where Ubuntu can pick it up.

The package includes manpages for the tools, distilled from the HTML docs, since Debian wants to have a manpage for each and every command. @Gregory, those may be worthwhile to include in the upstream distribution. I've made no other changes to the package.

Revision history for this message
Daniël de Kok (danieldk) wrote :

I have a dbxml build (based on Lars') work here:

https://launchpad.net/~danieldk/+archive/dact

In contrast to upstream, it builds against Berkeley DB 5.1. I still have to check compatibility against dbxml + db 4.8. I'll also make an updated Debian package later.

Revision history for this message
Daniël de Kok (danieldk) wrote :

Works for our application:

- Created a database with dbxml, linked against DB 5.1 on Ubuntu.
- Opened with dbxml, linked against DB 4.8 on OS X. Everything works as expected.

The rationale for building against DB 5.1 is that libdb4.8++ is removed in Debian sid.

Revision history for this message
Gregory Burd (gregburd) wrote :

Although I'm no longer at Oracle working on Berkeley DB I am fairly
confident when I say that the majority of the changes in BDB since 4.8
were related to a) the integration of the SQLite layer (the SQL API)
and b) scalability/locking changes below the API to improve multi-core
scalability. I think that is why the older version of BDB XML still
works as expected with the latest version of BDB. Of course testing
the combination should be something that the community does to ensure
quality as I'm sure that Oracle will not "bless" this combination as
"supported" until they release a newer version of BDB XML.

-greg

On Sun, Jun 5, 2011 at 8:52 AM, Daniël de Kok <email address hidden> wrote:
> Works for our application:
>
> - Created a database with dbxml, linked against DB 5.1 on Ubuntu.
> - Opened with dbxml, linked against DB 4.8 on OS X. Everything works as expected.
>
> The rationale for building against DB 5.1 is that libdb4.8++ is removed
> in Debian sid.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/157165
>
> Title:
>  [needs-packaging] Oracle DBXML
>
> Status in Ubuntu:
>  In Progress
>
> Bug description:
>  This is a request for packaging Oracles DBXML, a XML database system
>  that provides command line tools as well as language extensions to
>  access the databases. It's available under the Apache license.
>
>  Available here;
>  http://www.oracle.com/technology/products/berkeley-db/xml/index.html
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+bug/157165/+subscribe
>

Revision history for this message
Daniël de Kok (danieldk) wrote :

Gregory, thanks for the information!

Revision history for this message
Daniël de Kok (danieldk) wrote :

I have also submitted dbxml to Debian-mentors, based on Lars' and my previous work:

http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=dbxml

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.