Kurt Roeckx <[email protected]> (05/07/2009): > > /usr/bin/make -f debian/rules DH_OPTIONS=-a binary-common > > make[1]: Entering directory > > `/build/buildd-wims_3.64-7-amd64-ckpZzp/wims-3.64' > > dh_testdir > > dh_testroot > > dh_installchangelogs > > dh_installdocs > > dh_installexamples > > dh_installdebconf > > dh_installman > > dh_link > > dh_strip > > dh_compress > > dh_fixperms > > dh_makeshlibs > > dh_installdeb > > dh_shlibdeps > > dpkg-shlibdeps: error: couldn't find library libc.so.6 needed by > > debian/wims/var/lib/wims/bin/true (ELF format: 'elf32-i386'; RPATH: ''). > > Note: libraries are not searched in other binary packages that do not have > > any shlibs or symbols file. > > To help dpkg-shlibdeps find private libraries, you might need to set > > LD_LIBRARY_PATH. > > dh_shlibdeps: dpkg-shlibdeps returned exit code 2 > > make[1]: *** [binary-common] Error 1 > > make: *** [binary-arch] Error 2 > > make[1]: Leaving directory > > `/build/buildd-wims_3.64-7-amd64-ckpZzp/wims-3.64' > > dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave > > error exit status 2
I initially prepared the attached patch to fix this, but there are other issues: | $ file $(find -name symtext) | ./wims/src/Misc/symtext: directory | ./wims/src/Misc/symtext/symtext: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped | ./wims/public_html/scripts/help/symtext: directory | ./wims/public_html/scripts/symtext: directory | ./wims/public_html/scripts/anstype/symtext: ASCII text | ./wims/public_html/bin/symtext: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped Which leads to: | dh_strip | strip: Unable to recognise the format of the input file `debian/wims/var/lib/wims/bin/false' | dh_strip: strip returned exit code 1 Mraw, KiBi.
diff -u wims-3.64/debian/changelog wims-3.64/debian/changelog
--- wims-3.64/debian/changelog
+++ wims-3.64/debian/changelog
@@ -1,3 +1,13 @@
+wims (3.64-7.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Get rid of the elf-32 binaries in the clean target (using “rm” without
+ “-f” to ensure it gets noticed when they go away), and replace them
+ with bin/{true,false}, fixing FTBFS on non-i386 architectures.
+ Closes: #535837
+
+ -- Cyril Brulebois <[email protected]> Thu, 16 Jul 2009 09:05:08 +0200
+
wims (3.64-7) unstable; urgency=low
* made a modification in wims.preinst to create the account for wims
diff -u wims-3.64/debian/rules wims-3.64/debian/rules
--- wims-3.64/debian/rules
+++ wims-3.64/debian/rules
@@ -63,6 +63,12 @@
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp
+ # Get rid of 32-bit binaries:
+ rm wims/bin/false
+ rm wims/bin/true
+ cp /bin/false wims/bin
+ cp /bin/true wims/bin
+
# if the orig.tar.gz fil exists, use a very fast clean method.
# otherwise use a slower and less safe method (make clean does not
# really clean everything).
signature.asc
Description: Digital signature

