Your message dated Wed, 02 Apr 2008 11:47:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#473871: fixed in hdf5 1.6.6-4
has caused the Debian Bug report #473871,
regarding hdf5: Doesn't actually build openmpi libs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
473871: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473871
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: hdf5
Version: 1.6.6-3

Greetings,

I'm afraid your rules file doesn't build openmpi libraries on the
architectures where it's supposed to, so the openmpi packages are empty.
Looking through the build logs on every architecture where it's supposed
to work (amd64, ia64, sparc, powerpc), if I search the log for
"openmpi", I get the package installation, a couple of symlinks at the
top, then dh_makeshlibs at the very end, with no references to openmpi
in between.  I don't understand why this is; your system seems sound and
logical.

I realize that I'm the cause of a lot of your openmpi troubles, having
suggested this in the first place.  So I think I've come up with an
elegant solution to this problem, found in the patch.  Instead of
testing for the architecture in rules, each openmpi target just tests
for the file /usr/lib/openmpi/include/mpi.h, and if it finds it,
configures/builds/installs.  This patch works on amd64, haven't tested
it elsewhere.

The advantage of this approach is that when more arches support openmpi,
you can just adjust the arch lists in control, and rules will
automatically build the new openmpi packages.

I hope this patch meets with your approval, and solves this problem of
openmpi support once and for all.

Regards,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
--- hdf5-1.6.6/debian/rules~	2008-04-02 02:41:06.000000000 +0000
+++ hdf5-1.6.6/debian/rules	2008-04-02 02:40:36.000000000 +0000
@@ -18,38 +18,11 @@
 
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_BUILD_ARCH      ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 # To be used if binary packages were buildable on any arch
 #ARCH_FLAG=-a
 ARCH_FLAG=-s
 
-ifeq ($(DEB_BUILD_ARCH),arm)
-build_openmpi = no
-else ifeq ($(DEB_BUILD_ARCH),armel)
-build_openmpi = no
-else ifeq ($(DEB_BUILD_ARCH),hppa)
-build_openmpi = no
-else ifeq ($(DEB_BUILD_ARCH),mips)
-build_openmpi = no
-else ifeq ($(DEB_BUILD_ARCH),mipsel)
-build_openmpi = no
-else ifeq ($(DEB_BUILD_ARCH),s390)
-build_openmpi = no
-else
-build_openmpi = yes
-endif
-
-ifeq ($(build_openmpi),yes)
-configure_stamp_openmpi = configure-stamp-openmpi
-build_stamp_openmpi = build-stamp-openmpi
-install_openmpi = install-openmpi
-else
-configure_stamp_openmpi =
-build_stamp_openmpi = 
-install_openmpi =
-endif
-
 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        USE_PROD = yes
 else
@@ -80,7 +53,7 @@
 		  --enable-shared --enable-production=$(USE_PROD)
 
 
-configure: configure-stamp-debian configure-stamp-serial configure-stamp-lam $(configure-stamp-openmpi) configure-stamp-mpich
+configure: configure-stamp-debian configure-stamp-serial configure-stamp-lam configure-stamp-openmpi configure-stamp-mpich
 
 configure-stamp-debian: debian/control.in
 	cd debian && for i in *_devlib; do j=`basename $$i _devlib`; \
@@ -119,12 +92,14 @@
 
 configure-stamp-openmpi: configure-stamp-debian
 	dh_testdir
-	-mkdir debian/build-openmpi
-# configure version with lam
+# configure version with openmpi
+	if [ -e /usr/lib/openmpi/include/mpi.h ]; then \
+	mkdir debian/build-openmpi; \
 	cd debian/build-openmpi && CPPFLAGS=-I/usr/lib/openmpi/include \
 		CC=mpicc.openmpi CXX=mpic++.openmpi RUNPARALLEL=/usr/bin/mpirun.openmpi \
 		../../configure $(CONFIGURE_FLAGS) \
-		--enable-parallel=yes
+		--enable-parallel=yes; \
+	fi
 	touch configure-stamp-openmpi
 
 configure-stamp-mpich: configure-stamp-debian
@@ -138,7 +113,7 @@
 		--enable-parallel=yes
 	touch configure-stamp-mpich
 
-build: build-stamp-serial build-stamp-lam $(build-stamp-openmpi) build-stamp-mpich
+build: build-stamp-serial build-stamp-lam build-stamp-openmpi build-stamp-mpich
 
 build-stamp-serial: configure-stamp-serial
 	dh_testdir
@@ -152,7 +127,9 @@
 
 build-stamp-openmpi: configure-stamp-openmpi 
 	dh_testdir
-	$(MAKE) -C debian/build-openmpi/
+	if [ -e /usr/lib/openmpi/include/mpi.h ]; then \
+	$(MAKE) -C debian/build-openmpi/; \
+	fi
 	touch build-stamp-openmpi
 
 build-stamp-mpich: configure-stamp-mpich 
@@ -192,10 +169,12 @@
 install-openmpi: build-stamp-openmpi
 	dh_testdir
 	dh_testroot
-	-mkdir debian/build-openmpi/tmpinst
-	$(MAKE) -C debian/build-openmpi/ install prefix=$(CURDIR)/debian/build-openmpi/tmpinst/usr
+	if [ -e /usr/lib/openmpi/include/mpi.h ]; then \
+	mkdir debian/build-openmpi/tmpinst; \
+	$(MAKE) -C debian/build-openmpi/ install prefix=$(CURDIR)/debian/build-openmpi/tmpinst/usr; \
 	dh_install -p$(openmpipack) -p$(package)-openmpi-dev \
-		--sourcedir=debian/build-openmpi/tmpinst
+		--sourcedir=debian/build-openmpi/tmpinst; \
+	fi
 
 install-mpich: build-stamp-mpich
 	dh_testdir
@@ -222,7 +201,7 @@
 	dh_md5sums -i
 	dh_builddeb -i
 
-binary-arch: build install-serial install-lam $(install-openmpi) install-mpich
+binary-arch: build install-serial install-lam install-openmpi install-mpich
 	dh_testdir
 	dh_testroot 
 	dh_installdocs $(ARCH_FLAG)
@@ -234,17 +213,17 @@
 	dh_fixperms $(ARCH_FLAG)
 #	dh_makeshlibs -p$(serpack) -V "$(serpack) | $(virtpack)"
 	dh_makeshlibs -p$(lampack) -V $(lampack)
-ifeq ($(build_openmpi),yes)
-	dh_makeshlibs -p$(openmpipack) -V $(openmpipack)
-endif
+	if [ -e /usr/lib/openmpi/include/mpi.h ]; then \
+	  dh_makeshlibs -p$(openmpipack) -V $(openmpipack); \
+	fi
 	dh_makeshlibs -p$(mpichpack) -V $(mpichpack)
 	dh_installdeb $(ARCH_FLAG)
 	dh_shlibdeps -phdf5-tools -L$(serpack) -ldebian/$(serpack)/usr/lib:debian/build-serial/test/.libs
 	dh_shlibdeps -p$(serpack) -L$(serpack) -ldebian/$(serpack)/usr/lib:debian/build-serial/test/.libs
 	dh_shlibdeps -p$(lampack) -L$(lampack) -ldebian/$(lampack)/usr/lib
-ifeq ($(build_openmpi),yes)
-	dh_shlibdeps -p$(openmpipack) -L$(openmpipack) -ldebian/$(openmpipack)/usr/lib
-endif
+	if [ -e /usr/lib/openmpi/include/mpi.h ]; then \
+	  dh_shlibdeps -p$(openmpipack) -L$(openmpipack) -ldebian/$(openmpipack)/usr/lib; \
+	fi
 	dh_shlibdeps -p$(mpichpack) -L$(mpichpack) -ldebian/$(mpichpack)/usr/lib
 	dh_gencontrol $(ARCH_FLAG)
 	dh_md5sums $(ARCH_FLAG)

--- End Message ---
--- Begin Message ---
Source: hdf5
Source-Version: 1.6.6-4

We believe that the bug you reported is fixed in the latest version of
hdf5, which is due to be installed in the Debian FTP archive:

hdf5-tools_1.6.6-4_i386.deb
  to pool/main/h/hdf5/hdf5-tools_1.6.6-4_i386.deb
hdf5_1.6.6-4.diff.gz
  to pool/main/h/hdf5/hdf5_1.6.6-4.diff.gz
hdf5_1.6.6-4.dsc
  to pool/main/h/hdf5/hdf5_1.6.6-4.dsc
libhdf5-doc_1.6.6-4_all.deb
  to pool/main/h/hdf5/libhdf5-doc_1.6.6-4_all.deb
libhdf5-lam-1.6.6-0_1.6.6-4_i386.deb
  to pool/main/h/hdf5/libhdf5-lam-1.6.6-0_1.6.6-4_i386.deb
libhdf5-lam-dev_1.6.6-4_i386.deb
  to pool/main/h/hdf5/libhdf5-lam-dev_1.6.6-4_i386.deb
libhdf5-mpich-1.6.6-0_1.6.6-4_i386.deb
  to pool/main/h/hdf5/libhdf5-mpich-1.6.6-0_1.6.6-4_i386.deb
libhdf5-mpich-dev_1.6.6-4_i386.deb
  to pool/main/h/hdf5/libhdf5-mpich-dev_1.6.6-4_i386.deb
libhdf5-openmpi-1.6.6-0_1.6.6-4_i386.deb
  to pool/main/h/hdf5/libhdf5-openmpi-1.6.6-0_1.6.6-4_i386.deb
libhdf5-openmpi-dev_1.6.6-4_i386.deb
  to pool/main/h/hdf5/libhdf5-openmpi-dev_1.6.6-4_i386.deb
libhdf5-serial-1.6.6-0_1.6.6-4_i386.deb
  to pool/main/h/hdf5/libhdf5-serial-1.6.6-0_1.6.6-4_i386.deb
libhdf5-serial-dev_1.6.6-4_i386.deb
  to pool/main/h/hdf5/libhdf5-serial-dev_1.6.6-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Paolo Lovergine <[EMAIL PROTECTED]> (supplier of updated hdf5 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 02 Apr 2008 12:11:24 +0200
Source: hdf5
Binary: libhdf5-serial-1.6.6-0 libhdf5-serial-dev libhdf5-lam-1.6.6-0 
libhdf5-lam-dev libhdf5-openmpi-1.6.6-0 libhdf5-openmpi-dev 
libhdf5-mpich-1.6.6-0 libhdf5-mpich-dev libhdf5-doc hdf5-tools
Architecture: source all i386
Version: 1.6.6-4
Distribution: unstable
Urgency: low
Maintainer: Francesco Paolo Lovergine <[EMAIL PROTECTED]>
Changed-By: Francesco Paolo Lovergine <[EMAIL PROTECTED]>
Description: 
 hdf5-tools - Hierarchical Data Format 5 (HDF5) - Runtime tools
 libhdf5-doc - Hierarchical Data Format 5 (HDF5) - Documentation
 libhdf5-lam-1.6.6-0 - Hierarchical Data Format 5 (HDF5) - runtime files - LAM 
version
 libhdf5-lam-dev - Hierarchical Data Format 5 (HDF5) - development files - LAM 
versi
 libhdf5-mpich-1.6.6-0 - Hierarchical Data Format 5 (HDF5) - runtime files - 
MPICH version
 libhdf5-mpich-dev - Hierarchical Data Format 5 (HDF5) - development files - 
MPICH ver
 libhdf5-openmpi-1.6.6-0 - Hierarchical Data Format 5 (HDF5) - runtime files - 
OpenMPI versi
 libhdf5-openmpi-dev - Hierarchical Data Format 5 (HDF5) - development files - 
OpenMPI v
 libhdf5-serial-1.6.6-0 - Hierarchical Data Format 5 (HDF5) - runtime files - 
serial versio
 libhdf5-serial-dev - Hierarchical Data Format 5 (HDF5) - development files - 
serial ve
Closes: 473871
Changes: 
 hdf5 (1.6.6-4) unstable; urgency=low
 .
   * Previous fix had typos. Also now it controls archs in control.in by 
debian/rules.
     Added versioning for sed to use -e arg for completeness.
     (closes: #473871)
Files: 
 cb7f995dd85c4d3ad14f7477e3572cbf 1155 science optional hdf5_1.6.6-4.dsc
 3976fab00d8834ff151da989efeb9821 519799 science optional hdf5_1.6.6-4.diff.gz
 0d08474ada66831240547798f3301e92 2021924 doc optional 
libhdf5-doc_1.6.6-4_all.deb
 912374ad1cb7fabdce22eb6863eb26d2 629476 libs optional 
libhdf5-serial-1.6.6-0_1.6.6-4_i386.deb
 e6e4b7b6bb6a64d92502a083ab1f75ae 749858 libdevel optional 
libhdf5-serial-dev_1.6.6-4_i386.deb
 631219e25b00e3b67cb2df2a7af87732 527976 libs extra 
libhdf5-lam-1.6.6-0_1.6.6-4_i386.deb
 1e1ba4ce1023fc61f5b48b1053cc3a8a 620572 libdevel extra 
libhdf5-lam-dev_1.6.6-4_i386.deb
 db5712849b2c6ad1599ce483369ed8dd 528202 libs extra 
libhdf5-openmpi-1.6.6-0_1.6.6-4_i386.deb
 f056a2cde887298293575a6cbbde31a0 620924 libdevel extra 
libhdf5-openmpi-dev_1.6.6-4_i386.deb
 357624782bcac38506a5a5d02bb8a001 706818 libs extra 
libhdf5-mpich-1.6.6-0_1.6.6-4_i386.deb
 0ae96e69142264a782752954ef14659c 620464 libdevel extra 
libhdf5-mpich-dev_1.6.6-4_i386.deb
 4c43262f0d78b8eaa78ad61a739f4222 245278 science optional 
hdf5-tools_1.6.6-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH829kpFNRmenyx0cRAnPfAJ4mMYUaMboFvipdYVNWC8j6t2NFyQCfZYOj
1ZRSpuK8MXL/g3U+lU38JiI=
=wlS8
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to