Package: openmpi
Version: 1.1-2.3
Severity: serious
Tags: patch sid lenny
Hi Florian,
It looks like the just-uploaded 1.1-2.4 NMU now fails to build on most
architectures, because openmpi has an undeclared build-dependency on
libsysfs-dev which was indirectly satisfied before by libibverbs-dev, but
the latest version of libibverbs that was uploaded while I was preparing
this NMU has dropped the dependency.
The build failure is:
[...]
depbase=`echo btl_openib_component.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../../../../opal/include -I../../../../orte/include
-I../../../../ompi/include -I../../../../ompi/include -I../../../..
-DNDEBUG -Wall -g -O2 -fno-strict-aliasing -pthread -MT btl_openib_component.lo
-MD -MP -MF "$depbase.Tpo" -c -o btl_openib_component.lo
btl_openib_component.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../../opal/include
-I../../../../orte/include -I../../../../ompi/include
-I../../../../ompi/include -I../../../.. -DNDEBUG -Wall -g -O2
-fno-strict-aliasing -pthread -MT btl_openib_component.lo -MD -MP -MF
.deps/btl_openib_component.Tpo -c btl_openib_component.c -fPIC -DPIC -o
.libs/btl_openib_component.o
btl_openib_component.c:45:30: error: sysfs/libsysfs.h: No such file or directory
make[3]: *** [btl_openib_component.lo] Error 1
make[3]: Leaving directory `/build/buildd/openmpi-1.1/ompi/mca/btl/openib'
[...]
A full build log can be found at, e.g.,
<http://buildd.debian.org/fetch.cgi?pkg=openmpi&arch=amd64&ver=1.1-2.4&stamp=1177906048>.
This is a bug in openmpi, since openmpi uses sysfs/libsysfs.h directly; it
was only masked before by libibverbs-dev's dependency. As I have no reason
to believe that the removal of this dependency is incorrect, this means
there is a serious bug in openmpi.
Since this bug was uncovered by my NMU of openmpi, I've taken the liberty of
preparing a second NMU with the attached patch, which will be uploaded soon.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
diff -u openmpi-1.1/debian/changelog openmpi-1.1/debian/changelog
--- openmpi-1.1/debian/changelog
+++ openmpi-1.1/debian/changelog
@@ -1,3 +1,12 @@
+openmpi (1.1-2.5) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High urgency upload for RC bugfix.
+ * Add missing build-dependency on libsysfs-dev, which is used in the build
+ but was previously pulled in via libibverbs-dev.
+
+ -- Steve Langasek <[EMAIL PROTECTED]> Sun, 29 Apr 2007 22:03:58 -0700
+
openmpi (1.1-2.4) unstable; urgency=low
* Non-maintainer upload.
diff -u openmpi-1.1/debian/control openmpi-1.1/debian/control
--- openmpi-1.1/debian/control
+++ openmpi-1.1/debian/control
@@ -2,7 +2,7 @@
Section: net
Priority: optional
Maintainer: Florian Ragwitz <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.0), dpatch, libibverbs-dev, gfortran
+Build-Depends: debhelper (>= 5.0.0), dpatch, libibverbs-dev, gfortran, libsysfs-dev
Standards-Version: 3.7.2
Package: openmpi-bin