Bug#851028: composite: FTBFS: lrdf.h:8:20: fatal error: raptor.h: No such file or directory

Jonas Smedegaard dr at jones.dk
Thu Jan 12 00:09:34 UTC 2017


Quoting Jaromír Mikeš (2017-01-11 23:29:24)
> 2017-01-11 19:55 GMT+01:00 Lucas Nussbaum <lucas at debian.org>:
> 
> >
> > During a rebuild of all packages in sid, your package failed to build on
> > amd64.
> >
> > Relevant part (hopefully):
> > >    ^~~~~~~
> > > In file included from /<<BUILDDIR>>/composite-0.006.
> > 2+dfsg0/src/Tritium/src/fx/Effects.cpp:36:0:
> > > /usr/include/lrdf.h:8:20: fatal error: raptor.h: No such file or
> > directory
> > >  #include <raptor.h>
> > >                     ^
> > > compilation terminated.
> > > src/Tritium/CMakeFiles/Tritium.dir/build.make:1025: recipe for target
> > 'src/Tritium/CMakeFiles/Tritium.dir/src/fx/Effects.o' failed
> > > make[3]: *** [src/Tritium/CMakeFiles/Tritium.dir/src/fx/Effects.o]
> > Error 1
> >
> > The full build log is available from:
> >    http://aws-logs.debian.net/2017/01/11/composite_0.006.2+
> > dfsg0-6_unstable.log
> >
> > <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers>
> >
> 
> Hi Jonas,
> 
> isn't it this bug rather bug in ldrf and the line in /usr/include/lrdf.h
> file should be:
> #include <raptor2/raptor.h>
> as ldrf now B-D on libraptor2-dev?

Well, that would be one way to solve it, but the more correct one, I 
believe, is for composite to use pkg-config.

Something like this:

  pkg-config --cflags liblrdf

should correctly provide this:

  -I/usr/include/raptor2 -I/usr/include


Seems to me that composite build fails to properly set build flags, but 
happened to work anyway in the past because back then no custom path was 
needed.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170112/df472104/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list