Bug#535837: wims: FTBFS: i386 binaries, not built from source

2009-07-16 Thread Cyril Brulebois
Kurt Roeckx k...@roeckx.be (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 k...@debian.org  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


Bug#535837: wims: FTBFS: i386 binaries, not built from source

2009-07-16 Thread Georges Khaznadar
Hello Cyril, thank you for your contribution.
the packaging system for Wims was rewritten from scratch, to use dpatch
and better separate the patches. The fixed patches will be part of the
next release to be uploaded.

Best regards,   Georges.

Cyril Brulebois a écrit :
 Kurt Roeckx k...@roeckx.be (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 k...@debian.org  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).




-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70



signature.asc
Description: Digital signature


Bug#535837: wims: FTBFS: i386 binaries, not built from source

2009-07-05 Thread Kurt Roeckx
Source: wims
Version: 3.64-7
Severity: grave

Hi,

There was an error while trying to autobuild your package:

 Start Time: 20090629-1748

[...]

 Build-Depends: debhelper (= 4.0.0), texlive-base, po-debconf, libgd2-xpm-dev 
 | libgd2-noxpm-dev, dpatch

[...]

 Toolchain package versions: libc6-dev_2.9-18 linux-libc-dev_2.6.30-1 
 g++-4.3_4.3.3-13 gcc-4.3_4.3.3-13 binutils_2.19.1-1 libstdc++6_4.4.0-10 
 libstdc++6-4.3-dev_4.3.3-13
 

[...]

 /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

A full build log can be found at:
http://buildd.debian.org/build.php?arch=amd64pkg=wimsver=3.64-7

It seems your shipping some i386 binaries, so they didn't
get built from the source.


Kurt




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org