Package Details: sratom-git 0.4.9.r113.f205d62-1

Git Clone URL: https://aur.archlinux.org/sratom-git.git (read-only)
Package Base: sratom-git
Description: An LV2 Atom RDF serialisation library
Upstream URL: http://drobilla.net/software/sratom/
Licenses: custom:ISC
Conflicts: sratom, sratom-svn
Provides: sratom, sratom=0.4.9.r113.f205d62
Submitter: SpotlightKid
Maintainer: SpotlightKid
Last Packager: SpotlightKid
Votes: 0
Popularity: 0.000000
First Submitted: 2016-01-19 20:10
Last Updated: 2016-03-18 11:51

Dependencies (4)

Required by (2)

Sources (1)

Latest Comments

hollunder commented on 2015-08-19 07:28

Thank you, that fixed it. I'm pretty sure that I've tried that before, maybe it had something to do with the move to aur4. Sorry for the trouble.

SpotlightKid commented on 2015-08-02 19:13

Are you sure you are building from an updated SVN checkout?

My configure output for the current revision 5700 looks like this:
==> Beginne build()...
Setting top to : /home/chris/src/arch/aur4/sratom-svn/src/sratom
Setting out to : /home/chris/src/arch/aur4/sratom-svn/src/sratom/build
Checking for 'gcc' (C compiler) : /usr/lib/ccache/bin/gcc

Global Configuration
* Install prefix : /usr
* Debuggable build : False
* Build documentation : False

Sratom Configuration
Checking for program 'pkg-config' : /usr/bin/pkg-config
Checking for 'lv2' >= 1.8.1 : yes
Checking for 'serd-0' >= 0.14.0 : yes
Checking for 'sord-0' >= 0.12.0 : yes
* Unit tests : False

'configure' finished successfully (1.270s)


Note the difference on the version numbers of the dependency checks. Try removing the sratom, pkg and src sub-directories before you build.

hollunder commented on 2015-08-02 18:10

Sratom Configuration
Checking for program pkg-config : /usr/bin/pkg-config
Checking for 'lv2' >= 0.1.0 : yes
Checking for 'serd-0' >= 0.11.0 : yes
Checking for 'sord-0' >= 0.5.0 : yes
* Unit tests : False

'configure' finished successfully (4.025s)
Waf: Entering directory `/home/murks/cower/sratom-svn/src/sratom/build'
[2/4] c: src/sratom.c -> build/src/sratom.c.2.o
../src/sratom.c: In function ‘sratom_write’:
../src/sratom.c:314:3: warning: implicit declaration of function ‘LV2_TUPLE_BODY_FOREACH’ [-Wimplicit-function-declaration]
LV2_TUPLE_BODY_FOREACH(body, size, i) {
^
../src/sratom.c:314:38: error: ‘i’ undeclared (first use in this function)
LV2_TUPLE_BODY_FOREACH(body, size, i) {
^
../src/sratom.c:314:38: note: each undeclared identifier is reported only once for each function it appears in
../src/sratom.c:314:41: error: expected ‘;’ before ‘{’ token
LV2_TUPLE_BODY_FOREACH(body, size, i) {
^
../src/sratom.c:342:2: warning: ‘Blank’ is deprecated [-Wdeprecated-declarations]
} else if (type_urid == sratom->forge.Blank) {
^
In file included from ../src/sratom.c:22:0:
/usr/lib/lv2/atom.lv2/forge.h:113:11: note: declared here
LV2_URID Blank LV2_ATOM_FORGE_DEPRECATED;
^
../src/sratom.c:348:3: warning: implicit declaration of function ‘LV2_OBJECT_BODY_FOREACH’ [-Wimplicit-function-declaration]
LV2_OBJECT_BODY_FOREACH(obj, size, i) {
^
../src/sratom.c:348:41: error: expected ‘;’ before ‘{’ token
LV2_OBJECT_BODY_FOREACH(obj, size, i) {
^
../src/sratom.c:365:3: warning: implicit declaration of function ‘LV2_SEQUENCE_BODY_FOREACH’ [-Wimplicit-function-declaration]
LV2_SEQUENCE_BODY_FOREACH(seq, size, i) {
^
../src/sratom.c:365:43: error: expected ‘;’ before ‘{’ token
LV2_SEQUENCE_BODY_FOREACH(seq, size, i) {
^
../src/sratom.c: In function ‘read_node’:
../src/sratom.c:617:4: warning: ‘lv2_atom_forge_blank’ is deprecated [-Wdeprecated-declarations]
lv2_atom_forge_blank(forge, &frame, sratom->next_id++, type_urid);
^
In file included from ../src/sratom.c:22:0:
/usr/lib/lv2/atom.lv2/forge.h:615:1: note: declared here
lv2_atom_forge_blank(LV2_Atom_Forge* forge,
^
Waf: Leaving directory `/home/murks/cower/sratom-svn/src/sratom/build'
Build failed
-> task failed (exit status 1):
{task 140518581574032: c sratom.c -> sratom.c.2.o}
['/usr/bin/gcc', '-I/home/murks/cower/sratom-svn/src/sratom', '-D_FORTIFY_SOURCE=2', '-march=native', '-O2', '-pipe', '-fstack-protector-strong', '--param=ssp-buffer-size=4', '-g', '-fvar-tracking-assignments', '-DNDEBUG', '-fshow-column', '-std=c99', '-fvisibility=hidden', '-DSRATOM_SHARED', '-DSRATOM_INTERNAL', '-fPIC', '-I/home/murks/cower/sratom-svn/src/sratom/build', '-I/home/murks/cower/sratom-svn/src/sratom', '-I/home/murks/cower/sratom-svn/src/sratom/build/src', '-I/home/murks/cower/sratom-svn/src/sratom/src', '-I/usr/include/serd-0', '-I/usr/include/sord-0', '-I/home/murks/cower/sratom-svn/src/sratom/build', '-DHAVE_LV2=1', '-DHAVE_SERD=1', '-DHAVE_SORD=1', '-DSRATOM_VERSION="0.2.0"', '../src/sratom.c', '-c', '-o', 'src/sratom.c.2.o']
==> ERROR: A failure occurred in build().
Aborting...

lv2, serd and sord are all latest svn versions.

SpotlightKid commented on 2015-07-21 08:19

Builds without problems here.

Where does it exactly fail for you? What do you mean with 'either'? Please provide more info (error message, versions of lv2, serd and sord packages, ...).

hollunder commented on 2015-07-20 23:39

Build fails with either PKGBUILD, please fix.

hollunder commented on 2015-04-21 13:25

The PKGBUILD by SpotlightKid works, so please update.

hollunder commented on 2015-04-21 13:23

Fails to build:

[2/4] c: src/sratom.c -> build/src/sratom.c.2.o
../src/sratom.c: In function ‘sratom_write’:
../src/sratom.c:314:3: warning: implicit declaration of function ‘LV2_TUPLE_BODY_FOREACH’ [-Wimplicit-function-declaration]
LV2_TUPLE_BODY_FOREACH(body, size, i) {
^
../src/sratom.c:314:38: error: ‘i’ undeclared (first use in this function)
LV2_TUPLE_BODY_FOREACH(body, size, i) {
^
../src/sratom.c:314:38: note: each undeclared identifier is reported only once for each function it appears in
../src/sratom.c:314:41: error: expected ‘;’ before ‘{’ token
LV2_TUPLE_BODY_FOREACH(body, size, i) {
^
../src/sratom.c:342:2: warning: ‘Blank’ is deprecated (declared at /usr/lib/lv2/atom.lv2/forge.h:113) [-Wdeprecated-declarations]
} else if (type_urid == sratom->forge.Blank) {
^
../src/sratom.c:348:3: warning: implicit declaration of function ‘LV2_OBJECT_BODY_FOREACH’ [-Wimplicit-function-declaration]
LV2_OBJECT_BODY_FOREACH(obj, size, i) {
^
../src/sratom.c:348:41: error: expected ‘;’ before ‘{’ token
LV2_OBJECT_BODY_FOREACH(obj, size, i) {
^
../src/sratom.c:365:3: warning: implicit declaration of function ‘LV2_SEQUENCE_BODY_FOREACH’ [-Wimplicit-function-declaration]
LV2_SEQUENCE_BODY_FOREACH(seq, size, i) {
^
../src/sratom.c:365:43: error: expected ‘;’ before ‘{’ token
LV2_SEQUENCE_BODY_FOREACH(seq, size, i) {
^
../src/sratom.c: In function ‘read_node’:
../src/sratom.c:617:4: warning: ‘lv2_atom_forge_blank’ is deprecated (declared at /usr/lib/lv2/atom.lv2/forge.h:615) [-Wdeprecated-declarations]
lv2_atom_forge_blank(forge, &frame, sratom->next_id++, type_urid);
^
Waf: Leaving directory `/home/murks/cower/sratom-svn/src/sratom-build/build'
Build failed
-> task failed (exit status 1):
{task 139759879190288: c sratom.c -> sratom.c.2.o}
['/usr/bin/gcc', '-I/home/murks/cower/sratom-svn/src/sratom-build', '-D_FORTIFY_SOURCE=2', '-march=native', '-O2', '-pipe', '-fstack-protector-strong', '--param=ssp-buffer-size=4', '-g', '-fvar-tracking-assignments', '-DNDEBUG', '-fshow-column', '-std=c99', '-fvisibility=hidden', '-DSRATOM_SHARED', '-DSRATOM_INTERNAL', '-fPIC', '-I/home/murks/cower/sratom-svn/src/sratom-build/build', '-I/home/murks/cower/sratom-svn/src/sratom-build', '-I/home/murks/cower/sratom-svn/src/sratom-build/build/src', '-I/home/murks/cower/sratom-svn/src/sratom-build/src', '-I/usr/include/serd-0', '-I/usr/include/sord-0', '-I/home/murks/cower/sratom-svn/src/sratom-build/build', '-DHAVE_LV2=1', '-DHAVE_SERD=1', '-DHAVE_SORD=1', '-DSRATOM_VERSION="0.2.0"', '../src/sratom.c', '-c', '-o', 'src/sratom.c.2.o']

SpotlightKid commented on 2015-04-17 08:55

I've made an updated / modernized PKGBUILD here:

http://trac.chrisarndt.de/code/browser/projects/aur/sratom-svn

I removed the complicated code in package() updating conflicts / depends, since I don't think it's really necessary.