Bug#746025: libsemanage: FTBFS: ruby.h: No such file or directory
control: tags -1 +patch Hi, gem2deb has already drop ruby1.9.1 and it causes this FTBFS. Attached patch would fix this, could you check and apply it, please? -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane diff -Nru libsemanage-2.2/debian/changelog libsemanage-2.2/debian/changelog --- libsemanage-2.2/debian/changelog 2013-11-02 07:24:45.0 +0900 +++ libsemanage-2.2/debian/changelog 2014-04-27 20:23:45.0 +0900 @@ -1,3 +1,12 @@ +libsemanage (2.2-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/{rules,ruby-semanage.install} +- remove ruby1.9.1 (however, it's just a workaround since it specifies + only ruby2.0, and we'll move to ruby2.1) + + -- Hideki Yamane henr...@debian.org Sun, 27 Apr 2014 20:13:32 +0900 + libsemanage (2.2-1) unstable; urgency=low * Team upload. diff -Nru libsemanage-2.2/debian/ruby-semanage.install libsemanage-2.2/debian/ruby-semanage.install --- libsemanage-2.2/debian/ruby-semanage.install 2013-11-02 07:24:45.0 +0900 +++ libsemanage-2.2/debian/ruby-semanage.install 2014-04-27 20:19:07.0 +0900 @@ -1,2 +1 @@ -usr/lib/ruby/vendor_ruby/*/*/semanage.so usr/lib/*/ruby/vendor_ruby/*/semanage.so diff -Nru libsemanage-2.2/debian/rules libsemanage-2.2/debian/rules --- libsemanage-2.2/debian/rules 2013-11-02 07:24:45.0 +0900 +++ libsemanage-2.2/debian/rules 2014-04-27 20:13:30.0 +0900 @@ -25,9 +25,6 @@ PYPREFIX=python-$$version; \ done; - $(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) -C src rubywrap RUBY=ruby2.0 RUBYLIBVER=2.0.0 \ RUBYINC=-I/usr/include/ruby-2.0.0/ -I/usr/include/\$${RUBYPLATFORM}/ruby-2.0.0/ endif @@ -44,9 +41,6 @@ PYPREFIX=python-$$version; \ done; - $(MAKE) -C src install-rubywrap RUBY=ruby1.9.1 RUBYLIBVER=1.9.1 DESTDIR=${CURDIR}/debian/tmp \ - RUBYINSTALL=${CURDIR}/debian/tmp/usr/lib/ruby/vendor_ruby/\$${RUBYLIBVER}/\$${RUBYPLATFORM}; - $(MAKE) -C src install-rubywrap RUBY=ruby2.0 RUBYLIBVER=2.0.0 DESTDIR=${CURDIR}/debian/tmp \ RUBYINSTALL=${CURDIR}/debian/tmp/usr/lib/\$${RUBYPLATFORM}/ruby/vendor_ruby/\$${RUBYLIBVER}; endif
Bug#746025: libsemanage: FTBFS: ruby.h: No such file or directory
I forgot to add bug number to changelog, patch updated. -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane diff -Nru libsemanage-2.2/debian/changelog libsemanage-2.2/debian/changelog --- libsemanage-2.2/debian/changelog 2013-11-02 07:24:45.0 +0900 +++ libsemanage-2.2/debian/changelog 2014-04-27 20:23:45.0 +0900 @@ -1,3 +1,12 @@ +libsemanage (2.2-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/{rules,ruby-semanage.install} +- remove ruby1.9.1 (however, it's just a workaround since it specifies + only ruby2.0, and we'll move to ruby2.1) (Closes: #746025) + + -- Hideki Yamane henr...@debian.org Sun, 27 Apr 2014 20:13:32 +0900 + libsemanage (2.2-1) unstable; urgency=low * Team upload. diff -Nru libsemanage-2.2/debian/ruby-semanage.install libsemanage-2.2/debian/ruby-semanage.install --- libsemanage-2.2/debian/ruby-semanage.install 2013-11-02 07:24:45.0 +0900 +++ libsemanage-2.2/debian/ruby-semanage.install 2014-04-27 20:19:07.0 +0900 @@ -1,2 +1 @@ -usr/lib/ruby/vendor_ruby/*/*/semanage.so usr/lib/*/ruby/vendor_ruby/*/semanage.so diff -Nru libsemanage-2.2/debian/rules libsemanage-2.2/debian/rules --- libsemanage-2.2/debian/rules 2013-11-02 07:24:45.0 +0900 +++ libsemanage-2.2/debian/rules 2014-04-27 20:13:30.0 +0900 @@ -25,9 +25,6 @@ PYPREFIX=python-$$version; \ done; - $(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) -C src rubywrap RUBY=ruby2.0 RUBYLIBVER=2.0.0 \ RUBYINC=-I/usr/include/ruby-2.0.0/ -I/usr/include/\$${RUBYPLATFORM}/ruby-2.0.0/ endif @@ -44,9 +41,6 @@ PYPREFIX=python-$$version; \ done; - $(MAKE) -C src install-rubywrap RUBY=ruby1.9.1 RUBYLIBVER=1.9.1 DESTDIR=${CURDIR}/debian/tmp \ - RUBYINSTALL=${CURDIR}/debian/tmp/usr/lib/ruby/vendor_ruby/\$${RUBYLIBVER}/\$${RUBYPLATFORM}; - $(MAKE) -C src install-rubywrap RUBY=ruby2.0 RUBYLIBVER=2.0.0 DESTDIR=${CURDIR}/debian/tmp \ RUBYINSTALL=${CURDIR}/debian/tmp/usr/lib/\$${RUBYPLATFORM}/ruby/vendor_ruby/\$${RUBYLIBVER}; endif
Bug#746025: libsemanage: FTBFS: ruby.h: No such file or directory
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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org