Bug#777065: yade FTBFS on mips/mipsel: out of memory

Dejan Latinovic Dejan.Latinovic at imgtec.com
Wed Feb 4 16:13:52 UTC 2015


Package: yade
Version: 1.12.0-2 
Tags: sid patch
Severity: normal
Justification: FTBFS
User: debian-mips at lists.debian.org
Usertags: mips-patch


Package yade version 1.12.0-2 FTBFS for mips/mipsel arch
with an error:

> /usr/bin/c++   -DYADE_ODEINT -DYADE_VTK6 -Dyade_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security --param ggc-min-expand=20 --param ggc-min-heapsize=128000 -D_FORTIFY_SOURCE=2  -ftrack-macro-expansion=0 -save-temps -std=c++0x -fPIC -DYADE_VTK -DYADE_OPENMP -fopenmp -DYADE_GTS  -DQGLVIEWER_FOUND -DYADE_OPENGL -frounding-math -DYADE_CGAL -DFLOW_ENGINE -DYADE_GL2PS -DLBM_ENGINE -O3 -DNDEBUG -fPIC -I/«PKGBUILDDIR» -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -I/usr/include/eigen3 -I/usr/include/vtk-6.1 -I/usr/include/mipsel-linux-gnu -I/usr/include/jsoncpp -I/usr/include/glib-2.0 -I/usr/lib/mipsel-linux-gnu/glib-2.0/include -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/«PKGBUILDDIR»/debian/build -I/«PKGBUILDDIR»/debian/build/pkg/pfv    -DEIGEN_DONT_VECTORIZE -DEIGEN_DONT_ALIGN -DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT -o CMakeFiles/yade.dir/pkg/dem/Shop_02.cpp.o -c /«PKGBUILDDIR»/pkg/dem/Shop_02.cpp
> 
> cc1plus: out of memory allocating 4035988 bytes after a total of 29720576 bytes
> make[3]: *** [CMakeFiles/yade.dir/pkg/dem/Shop_02.cpp.o] Error 1
> make[2]: *** [CMakeFiles/yade.dir/all] Error 2


I tried to reduce ggc-min-expand to 10,
and with this change package compiles for me.
For mipsel on xlp builds finished successfully.
For mips and mipsel on cavium
build failed with TERM signal on 'usr/bin/yade --check' command.
If run this check manually it finishes successfully,
but need a lot of time for execution.

With attached patch I was able to build yade
successfully for both mips and mipsel.
Patch contains changes that reduce ggc-min-expand
and disable 'usr/bin/yade --check' for mips/mipsel.


Could you please consider including these changes?




Best Regards,
Dejan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yade-fix-mips-rules.patch
Type: text/x-patch
Size: 1230 bytes
Desc: yade-fix-mips-rules.patch
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150204/07915052/attachment.bin>


More information about the debian-science-maintainers mailing list