Package: openturns Version: 1.3-2 Tags: sid patch Severity: important Justification: FTBFS User: debian-mips-dev-disc...@lists.alioth.debian.org Usertags: mips-patch
Package openturns FTBFS on mips/mipsel with an error: > debian/rules:48: *** This package requires more than 1GB RAM; do not build on > mips/mipsel. Stop. As I see, all mips/mipsel debian buildd machines beside rem have 1G RAM or above. I tested it on a few local boards, and on most of them build finished successfully. On some boards build failed, but I believe that the reason for that is a parallel build. After I disabled a parallel build for mips/mipsel, openturns was built successfully on all boards that I have tested it on. A patch that disables a parallel build for mips/mipsel is attached. Could you please consider including this patch? Best regards, Dejan
diff -uNr openturns-1.3.orig/debian/rules openturns-1.3/debian/rules --- openturns-1.3.orig/debian/rules 2014-03-06 21:16:38.000000000 +0000 +++ openturns-1.3/debian/rules 2014-07-01 15:52:24.000000000 +0000 @@ -1,13 +1,17 @@ #!/usr/bin/make -f -ifeq ($(findstring parallel=,$(DEB_BUILD_OPTIONS)),) +ifneq (,$(findstring $(shell dpkg-architecture -qDEB_HOST_ARCH), mips mipsel)) + $(info Do not use parallel build for mips and mipsel.) +else + ifeq ($(findstring parallel=,$(DEB_BUILD_OPTIONS)),) export DEB_BUILD_OPTIONS+=parallel=$(shell getconf _NPROCESSORS_ONLN) -endif -$(info DEB_BUILD_OPTIONS:$(origin DEB_BUILD_OPTIONS)=$(DEB_BUILD_OPTIONS)) - -ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + endif + $(info DEB_BUILD_OPTIONS:$(origin DEB_BUILD_OPTIONS)=$(DEB_BUILD_OPTIONS)) + + ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) test_makeflags = -j$(NUMJOBS) + endif endif cppflags := $(shell dpkg-buildflags --get CPPFLAGS) @@ -45,9 +49,10 @@ %: ifneq (,$(findstring $(shell dpkg-architecture -qDEB_HOST_ARCH), mips mipsel)) - $(error This package requires more than 1GB RAM; do not build on mips/mipsel) -endif + dh $@ --buildsystem=cmake --builddirectory=$(builddir) --with python2 --with quilt +else dh $@ --buildsystem=cmake --builddirectory=$(builddir) --with python2 --with quilt --parallel +endif debian/tmp/usr/lib/R/site-library/rot: -mkdir -p $(debRlib)
-- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers