Source: ergo
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
Dear Maintainer,
The package ergo fails to build from source on ppc64el. It actually times
out at some point, in addition to the test failures.
This looks similar to #756908 et al, but I am not sure if it is the same case,
because when not using parallel=8, it builds successfully.
The patch attached was a way I could find to make it use parallel=1 even
though buildd is set to use 8 jobs.
This is the content of the log for test script test_tdhf_dynamics.sh (one that
fails):
Testing H2 HF/6-311++Gss followed by TDHF electron dynamics
Exception caught: error in SCF_restricted::write_density_to_file():
write_matrix_to_file failed for densityMatrix.
Inline main molecule with 2 atoms.
ERROR
output file saved as ergoscf.out.error.tdhfdynamics
The full log can be seen at:
https://buildd.debian.org/status/fetch.php?pkg=ergo&arch=ppc64el&ver=3.4.0-1&stamp=1416077222
Let me know if you have any suggestions.
Thanks and regards.
Fernando
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
diff -Nru ergo-3.4.0/debian/changelog ergo-3.4.0/debian/changelog
--- ergo-3.4.0/debian/changelog 2014-07-26 15:15:46.000000000 +0000
+++ ergo-3.4.0/debian/changelog 2015-01-14 16:13:23.000000000 +0000
@@ -1,3 +1,9 @@
+ergo (3.4.0-1ppc64el1) UNRELEASED; urgency=medium
+
+ * debian/rules: set parallel=1 for ppc64el to fix FTBFS
+
+ -- Fernando Seiti Furusato <[email protected]> Wed, 14 Jan 2015 16:12:42 +0000
+
ergo (3.4.0-1) unstable; urgency=low
* New upstream release.
diff -Nru ergo-3.4.0/debian/rules ergo-3.4.0/debian/rules
--- ergo-3.4.0/debian/rules 2013-09-28 16:25:11.000000000 +0000
+++ ergo-3.4.0/debian/rules 2015-01-14 16:12:37.000000000 +0000
@@ -8,6 +8,12 @@
export CXXFLAGS ?= $(shell dpkg-buildflags --get CXXFLAGS) -fopenmp
export LDFLAGS ?= -fopenmp $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(DEB_HOST_ARCH_CPU),ppc64el)
+ DEB_BUILD_OPTIONS=parallel=1
+endif
+
%:
dh $@ --with autotools_dev --parallel