Bug#744634: mpich2: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

Matthias Klose doko at debian.org
Sun Apr 13 16:51:39 UTC 2014


Package: src:mpich2
Version: 1.4.1-4.2
User: debian-devel at lists.debian.org
Usertags: autoreconf

The package fails to build on ppc64el (powerpc64le-linux-gnu), because
the config.{guess,sub} files are out of date, and are not updated during
the build.  If possible, please do not update these files directly,
but build-depend on autotools-dev instead, and use the tools provided
by autotools-dev to update these files.

  - For dh, call dh --with autoreconf.

  - For cdbs based build systems, include
    /usr/share/cdbs/1/rules/autoreconf.mk

  - For other rules files, call dh_autoreconf before calling
    configure (in the build or configure target), and call
    dh_autoreconf_clean before dh_clean in the clean target.

For combining autoreconf and autotools_dev, see bug #698765.

After the build on any architecture, and before a clean, a grep for
powerpc64le in the configure, aclocal.m4 and/or libtool.m4 file(s)
should print some lines. It is not enough to just update the
config.guess and config.sub files.

The full build log can be found at:
http://people.debian.org/~doko/logs/ppc64el-20140414/buildlog_ubuntu-trusty-ppc64el.mpich2_1.4.1-4.2ubuntu2_FAILEDTOBUILD.txt
The last lines of the build log are at the end of this report.

Please note that these builds were done in an Ubuntu development,
environment there may be a few false positives in these bug reports.

See https://wiki.debian.org/qa.debian.org/FTBFS for a guide how to
address these.

[...]
mv debian/mpich2/usr/share/man/man1/MPI.1 debian/mpich2/usr/share/man/man1/MPI.mpich2.1
mv debian/mpich2/usr/share/man/man1/mpiexec.1 debian/mpich2/usr/share/man/man1/mpiexec.mpich2.1
dh_link -pmpich2 /usr/share/man/man1/mpiexec.mpich2.1 /usr/share/man/man1/mpirun.mpich2.1
	rm -f debian/mpich2/usr/bin/mpirun.mpich2
	ln -sf mpiexec.hydra debian/mpich2/usr/bin/mpirun.mpich2
	rm -f debian/mpich2/usr/bin/mpiexec.mpich2
	ln -sf mpiexec.hydra debian/mpich2/usr/bin/mpiexec.mpich2
	rm -f debian/mpich2/usr/share/man/man1/mpirun.mpich2.1
	ln -sf mpiexec.mpich2.1 debian/mpich2/usr/share/man/man1/mpirun.mpich2.1
dh_installdocs -plibmpich2-3 ./README 
	install -g 0 -o 0 -d debian/libmpich2-3/usr/share/doc/libmpich2-3
	cp -a ./README debian/libmpich2-3/usr/share/doc/libmpich2-3
	chown -R 0:0 debian/libmpich2-3/usr/share/doc
	chmod -R go=rX debian/libmpich2-3/usr/share/doc
	chmod -R u\+rw debian/libmpich2-3/usr/share/doc
	install -g 0 -o 0 -m 644 -p debian/copyright debian/libmpich2-3/usr/share/doc/libmpich2-3/copyright
dh_installexamples -plibmpich2-3 
dh_installman -plibmpich2-3  
dh_installinfo -plibmpich2-3  
dh_installmenu -plibmpich2-3 
dh_installcron -plibmpich2-3 
dh_installinit -plibmpich2-3  
dh_installdebconf -plibmpich2-3 
	install -o 0 -g 0 -d debian/libmpich2-3/DEBIAN
dh_installemacsen -plibmpich2-3   
dh_installcatalogs -plibmpich2-3 
	grep -s -v '^misc:Depends=' debian/libmpich2-3.substvars > debian/libmpich2-3.substvars.new || true
	mv debian/libmpich2-3.substvars.new debian/libmpich2-3.substvars
dh_installpam -plibmpich2-3 
dh_installlogrotate -plibmpich2-3 
dh_installlogcheck -plibmpich2-3 
dh_installchangelogs -plibmpich2-3  ./CHANGES 
	install -o 0 -g 0 -p -m644 debian/changelog debian/libmpich2-3/usr/share/doc/libmpich2-3/changelog.Debian
	install -o 0 -g 0 -p -m644 ./CHANGES debian/libmpich2-3/usr/share/doc/libmpich2-3/changelog
dh_installudev -plibmpich2-3 
dh_lintian -plibmpich2-3 
dh_bugfiles -plibmpich2-3 
dh_install -plibmpich2-3  
	install -d debian/libmpich2-3//usr/lib
	cp -a debian/tmp/usr/lib/libmpich.so.3 debian/libmpich2-3//usr/lib/
	cp -a debian/tmp/usr/lib/libmpich.so.3.2 debian/libmpich2-3//usr/lib/
	cp -a debian/tmp/usr/lib/libfmpich.so.3 debian/libmpich2-3//usr/lib/
	cp -a debian/tmp/usr/lib/libfmpich.so.3.2 debian/libmpich2-3//usr/lib/
	cp -a debian/tmp/usr/lib/libmpichcxx.so.3 debian/libmpich2-3//usr/lib/
	cp -a debian/tmp/usr/lib/libmpichcxx.so.3.2 debian/libmpich2-3//usr/lib/
	cp -a debian/tmp/usr/lib/libmpichf90.so.3 debian/libmpich2-3//usr/lib/
	cp -a debian/tmp/usr/lib/libmpichf90.so.3.2 debian/libmpich2-3//usr/lib/
dh_install: libmpich2-3 missing files (usr/lib/libmpl.so.1*), aborting
make: *** [binary-install/libmpich2-3] Error 255
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2



More information about the debian-science-maintainers mailing list