[PATCH v2] debian: package ruby bindings

David Bremner bremner at debian.org
Thu May 16 06:51:39 PDT 2013


Felipe Contreras <felipe.contreras at gmail.com> writes:

> Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
> ---
>  debian/control              | 14 ++++++++++++++
>  debian/notmuch-ruby.install |  1 +
>  debian/rules                |  3 +++
>  3 files changed, 18 insertions(+)
>  create mode 100644 debian/notmuch-ruby.install
>

I get a build failure here; I installed ruby-dev and ran the usual 
"make debian-snapshot".

Does it work for you in a clean with only the declared build-depends
installed?


cd bindings/ruby && ruby extconf.rb --vendor && make
checking for notmuch.h in ../../lib... yes
checking for notmuch_database_create() in -lnotmuch... yes
creating Makefile
make[2]: Entering directory `/home/bremner/software/upstream/notmuch/bindings/ruby'
compiling status.c
status.c: In function ‘notmuch_rb_status_raise’:
status.c:46:10: error: ‘NOTMUCH_STATUS_UNBALANCED_ATOMIC’ undeclared (first use in this function)
status.c:46:10: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [status.o] Error 1
make[2]: Leaving directory `/home/bremner/software/upstream/notmuch/bindings/ruby'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/home/bremner/software/upstream/notmuch'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc -i failed


More information about the notmuch mailing list