Source: ruby-ffi Version: 1.0.11debian-5 Severity: minor Hi
This is a backporting issue, and hence not important, hence severity minor. I would appreciate help anyway. I am trying to backport ruby-ffi to squeeze. However, this does not work too well, as ruby packages are entangled to each other. I first backported ruby 1.9.1 from sid to squeeze, and then proceeded to install the following packages from sid on squeeze, which worked without having to force dependencies: gem2deb_0.3.0_all.deb ruby-diff-lcs_1.1.3-1_all.deb ruby-rspec-core_2.10.1-2_all.deb ruby-rspec-expectations_2.10.0-2_all.deb ruby-rspec-mocks_2.10.1-2_all.deb ruby-rspec_2.10.0-2_all.deb rubygems_1.8.24-1_all.deb When trying to build ruby-ffi after this, build fails due to some weird issue in ruby 1.8 (which is neither a backported nor a distribution mismatched package, but the original from squeeze): uild/libtest/NumberTest.o cc -m64 -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-parentheses -I"build" -fPIC -D_REENTRANT -c libtest/PointerTest.c -o build/libtest/PointerTest.o cc -m64 -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-parentheses -I"build" -fPIC -D_REENTRANT -c libtest/ReferenceTest.c -o build/libtest/ReferenceTest.o cc -m64 -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-parentheses -I"build" -fPIC -D_REENTRANT -c libtest/StringTest.c -o build/libtest/StringTest.o cc -m64 -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-parentheses -I"build" -fPIC -D_REENTRANT -c libtest/StructTest.c -o build/libtest/StructTest.o cc -m64 -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-parentheses -I"build" -fPIC -D_REENTRANT -c libtest/UnionTest.c -o build/libtest/UnionTest.o cc -m64 -O2 -fno-omit-frame-pointer -fno-strict-aliasing -W -Werror -Wall -Wno-unused -Wno-parentheses -I"build" -fPIC -D_REENTRANT -c libtest/VariadicTest.c -o build/libtest/VariadicTest.o cc -m64 -o build/libtest.so -shared -Wl,-O1 -Wl,-soname,libtest.so build/libtest/Benchmark.o build/libtest/BoolTest.o build/libtest/BufferTest.o build/libtest/ClosureTest.o build/libtest/EnumTest.o build/libtest/FunctionTest.o build/libtest/GlobalVariable.o build/libtest/LastErrorTest.o build/libtest/NumberTest.o build/libtest/PointerTest.o build/libtest/ReferenceTest.o build/libtest/StringTest.o build/libtest/StructTest.o build/libtest/UnionTest.o build/libtest/VariadicTest.o -lm make[2]: Leaving directory `/home/mh/ruby/ruby-ffi/ruby-ffi-1.0.11debian' .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. .....................................................................................................................................................................................................ruby1.8: symbol lookup error: debian/ruby-ffi//usr/lib/ruby/vendor_ruby/1.8/x86_64-linux/ffi_c.so: undefined symbol: ffi_prep_cif_var ERROR: Test "ruby1.8" failed. Exiting. dh_auto_install: dh_ruby --install /home/mh/ruby/ruby-ffi/ruby-ffi-1.0.11debian/debian/tmp returned exit code 1 make[1]: *** [override_dh_auto_install] Error 1 make[1]: Leaving directory `/home/mh/ruby/ruby-ffi/ruby-ffi-1.0.11debian' make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 debuild: fatal error at line 1325: dpkg-buildpackage -rfakeroot -D -us -uc failed Can you give advice how I should continue here? If this is not intended to work, please consider adding an appropriate build-conflicts to the package. Building ruby-ffi on sid works fine. Thanks for helping. Greetings Marc -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

