[DSE-Dev] Bug#746024: libselinux: FTBFS: ruby.h: No such file or directory

Daniel Schepler dschepler at gmail.com
Sun Apr 27 04:31:31 UTC 2014


Source: libselinux
Version: 2.2.2-1
Severity: serious

>From my pbuilder build log:

...
/usr/bin/make RUBYLIBVER=1.9.1 RUBYPLATFORM= RUBYINC=-I/usr/lib/ruby/1.9.1/ RUBYINSTALL=/tmp/buildd/libselinux-2.2.2/debian/tmp/usr/lib/ruby/vendor_ruby/1.9.1/ RUBYINC="-I/usr/include/ruby-1.9.1/ -I/usr/include/ruby-1.9.1/\${RUBYPLATFORM}/" install-rubywrap
make[3]: Entering directory `/tmp/buildd/libselinux-2.2.2'
/usr/bin/make -C src install-rubywrap
make[4]: Entering directory `/tmp/buildd/libselinux-2.2.2/src'
swig -Wall -ruby -o selinuxswig_ruby_wrap.c -outdir ./ selinuxswig_ruby.i
../include/selinux/avc.h:414: Warning 302: Identifier 'avc_cache_stats' redefined (ignored),
../include/selinux/avc.h:394: Warning 302: previous definition of 'avc_cache_stats'.
../include/selinux/avc.h:21: Warning 801: Wrong class name (corrected to `Security_id')
../include/selinux/avc.h:21: Warning 801: Wrong class name (corrected to `Security_id')
../include/selinux/avc.h:96: Warning 801: Wrong class name (corrected to `Avc_entry_ref')
../include/selinux/avc.h:96: Warning 801: Wrong class name (corrected to `Avc_entry_ref')
../include/selinux/avc.h:122: Warning 801: Wrong class name (corrected to `Avc_memory_callback')
../include/selinux/avc.h:122: Warning 801: Wrong class name (corrected to `Avc_memory_callback')
../include/selinux/avc.h:131: Warning 801: Wrong class name (corrected to `Avc_log_callback')
../include/selinux/avc.h:131: Warning 801: Wrong class name (corrected to `Avc_log_callback')
../include/selinux/avc.h:144: Warning 801: Wrong class name (corrected to `Avc_thread_callback')
../include/selinux/avc.h:144: Warning 801: Wrong class name (corrected to `Avc_thread_callback')
../include/selinux/avc.h:152: Warning 801: Wrong class name (corrected to `Avc_lock_callback')
../include/selinux/avc.h:152: Warning 801: Wrong class name (corrected to `Avc_lock_callback')
../include/selinux/avc.h:394: Warning 801: Wrong class name (corrected to `Avc_cache_stats')
../include/selinux/avc.h:394: Warning 801: Wrong class name (corrected to `Avc_cache_stats')
../include/selinux/context.h:12: Warning 801: Wrong class name (corrected to `Context_s_t')
../include/selinux/context.h:12: Warning 801: Wrong class name (corrected to `Context_s_t')
../include/selinux/selinux.h:127: Warning 801: Wrong class name (corrected to `Av_decision')
../include/selinux/selinux.h:127: Warning 801: Wrong class name (corrected to `Av_decision')
../include/selinux/selinux.h:140: Warning 801: Wrong class name (corrected to `Selinux_opt')
../include/selinux/selinux.h:140: Warning 801: Wrong class name (corrected to `Selinux_opt')
../include/selinux/selinux.h:142: Warning 451: Setting a const char * variable may leak memory.
../include/selinux/selinux.h:146: Warning 801: Wrong class name (corrected to `Selinux_callback')
../include/selinux/selinux.h:146: Warning 801: Wrong class name (corrected to `Selinux_callback')
../include/selinux/selinux.h:355: Warning 801: Wrong class name (corrected to `Security_class_mapping')
../include/selinux/selinux.h:355: Warning 801: Wrong class name (corrected to `Security_class_mapping')
../include/selinux/selinux.h:356: Warning 451: Setting a const char * variable may leak memory.
x86_64-linux-gnu-gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations -I/usr/include/ruby-1.9.1/ -I/usr/include/ruby-1.9.1// -fPIC -DSHARED -c -o selinuxswig_ruby_wrap.lo selinuxswig_ruby_wrap.c
selinuxswig_ruby_wrap.c:821:18: fatal error: ruby.h: No such file or directory
 #include <ruby.h>
                  ^
compilation terminated.
make[4]: *** [selinuxswig_ruby_wrap.lo] Error 1
make[4]: Leaving directory `/tmp/buildd/libselinux-2.2.2/src'
make[3]: *** [install-rubywrap] Error 2
make[3]: Leaving directory `/tmp/buildd/libselinux-2.2.2'
make[2]: *** [ruby1.9.1] Error 2
make[2]: Leaving directory `/tmp/buildd/libselinux-2.2.2'
make[1]: *** [override_dh_auto_install] Error 2
make[1]: Leaving directory `/tmp/buildd/libselinux-2.2.2'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
-- 
Daniel Schepler



More information about the SELinux-devel mailing list