Package Details: zorba 3.0-2

Git Clone URL: https://aur.archlinux.org/zorba.git (read-only)
Package Base: zorba
Description: NoSQL(XQuery/JSONiq) Query Processor written in C++.
Upstream URL: http://www.zorba.io/
Licenses: Apache
Submitter: mboes
Maintainer: alyst
Last Packager: alyst
Votes: 5
Popularity: 0.152385
First Submitted: 2008-10-09 12:25
Last Updated: 2015-06-08 16:43

Required by (0)

Sources (5)

Latest Comments

alyst commented on 2015-01-15 13:22

@Luciddream Great. You can use this one as a template. There's extensive documentation available: https://wiki.archlinux.org/index.php/Creating_packages (for git-based packages take a look especially at https://wiki.archlinux.org/index.php/VCS_package_guidelines).

Luciddream commented on 2015-01-15 13:19

I can try to create a zorba-git package but I have no clue how to do this :) I guess it's time to learn.

alyst commented on 2015-01-15 13:11

@Luciddream Actually, I haven't tried running zorba in the past few months, so it's quite probable it might be broken. But if you are willing to invest some time in testing the fix, I can incorporate the changes. Alternatively, you can create zorba-git package that would build from the master or gcc-4.9 branch + ArchLinux-specific patches (some of the patches we have in this AUR they have already pulled in).

Luciddream commented on 2015-01-15 13:04

Thanks for quick fix, it builds now.

However when I try to run xquery scripts I get an error:
*** Error in `/usr/bin/zorba': corrupted double-linked list: 0x0000000001740620 ***

To be honest I was expecting it not to work, because I had read about a bug about zorba 3.0 and GCC 4.9. I'm not sure if that's the case here but it seems there is a different git branch for GCC 4.9, which arch uses. The bug is reported here: https://bugs.launchpad.net/zorba/+bug/1317976
The git repo is here: https://github.com/28msec/zorba/tree/gcc-4.9
I also think they might have implemented the fixes on the master branch, so maybe we could add another version of zorba from the git repo for arch?

alyst commented on 2015-01-15 10:37

@Luciddream Thanks for reporting. Adding "-pthread" option to the linker arguments fixed that. I've also fixed a problem with XQJ SWIG bindings generation missing Zorba Java API.

Luciddream commented on 2015-01-14 09:46

This is not building for me. Here is the build log

http://pastebin.com/Pn3Vj7NR

c00kiemon5ter commented on 2013-09-18 16:08

great, thanks

alyst commented on 2013-09-18 11:14

@c00kiemon5ter Thanks a lot for looking into this!

I've incorporated the conflicts and some quote/formatting changes.

I'm not sure about the removal of the build folder -- it could always be manually done from the command line. ATM I just changed PKGBUILD so that mkdir doesn't fail if "build" folder already exists (which is convenient if you don't want to recompile from scratch).

I've refactored your parser patching into a patch file that directly fixes parser.y. I've also submitted it as the bugreport upstream: https://bugs.launchpad.net/zorba/+bug/1227047

ATM zorba compiles, but I had not tested yet if the parser is working correctly.

alyst commented on 2013-09-18 11:13

@c00kiemon5ter Thanks a lot for looking into this!

I've incorporated the conflicts and some quote/formatting changes.

I'm not sure about the removal of the build folder -- it could always be manually done from the command line. ATM I just changed PKGBUILD so that mkdir doesn't fail if "build" folder already exists (which is convenient if you don't want to recompile from scratch).

I've refactored your parser patching into a patch file that directly fixes parser.y. I've also submitted it as the bugreport upstream: https://bugs.launchpad.net/zorba/+bug/1227047

c00kiemon5ter commented on 2013-09-17 21:41

ok, here's a somewhat logical fix.
see changes between (after)'cmake' and (before)'make' invocations.

other changes include
a) the removal of the 'build' dir, as it
causes cmake to abort re-building the package
(running makepkg a second time failed),
b) added conflicts array
xqilla provides /usr/include/xqc.h
which is also provided by zorba
and so the packages are in conflict,
c) formatting and whitespace and some quotes

please test: http://sprunge.us/iVdR

All comments