[DSE-Dev] Bug#746025: libsemanage: FTBFS: ruby.h: No such file or directory
Daniel Schepler
dschepler at gmail.com
Sun Apr 27 04:33:51 UTC 2014
Source: libsemanage
Version: 2.2-1
Severity: serious
>From my pbuilder build log:
...
/usr/bin/make -C src rubywrap RUBY=ruby1.9.1 RUBYLIBVER=1.9.1 \
RUBYINC="-I/usr/include/ruby-1.9.1/ -I/usr/include/ruby-1.9.1/\${RUBYPLATFORM}/"
make[2]: Entering directory `/tmp/buildd/libsemanage-2.2/src'
swig -Wall -ruby -o semanageswig_ruby_wrap.c -outdir ./ semanageswig_ruby.i
make[2]: ruby1.9.1: Command not found
make[2]: ruby1.9.1: Command not found
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I../include -I/usr/include -D_GNU_SOURCE -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow -Wno-unused-parameter -I/usr/include/ruby-1.9.1/ -I/usr/include/ruby-1.9.1// -fPIC -DSHARED -c -o ruby1.9.1semanageswig_ruby_wrap.lo semanageswig_ruby_wrap.c
make[2]: ruby1.9.1: Command not found
semanageswig_ruby_wrap.c:821:18: fatal error: ruby.h: No such file or directory
#include <ruby.h>
^
compilation terminated.
make[2]: *** [ruby1.9.1semanageswig_ruby_wrap.lo] Error 1
make[2]: Leaving directory `/tmp/buildd/libsemanage-2.2/src'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/tmp/buildd/libsemanage-2.2'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
More information about the SELinux-devel
mailing list