Bug#751478: flann FTBFS for mips/mipsel
Dejan Latinovic
Dejan.Latinovic at imgtec.com
Fri Jun 13 11:20:33 UTC 2014
Package: flann
Version: 1.8.4-3
Tags: sid patch
Severity: important
Justification: FTBFS
User: debian-mips-dev-discuss at lists.alioth.debian.org
Usertags: mips-patch
Package flann FTBFS for mips and mipsel with an error:
> [ 85%] Built target flann_mpi_server
> Linking CXX executable ../bin/flann_example_mpi
> cd /«PKGBUILDDIR»/obj-mipsel-linux-gnu/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/flann_example_mpi.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fopenmp -Wl,-z,relro -Wl,--as-needed CMakeFiles/flann_example_mpi.dir/flann_example_mpi.cpp.o -o ../bin/flann_example_mpi -rdynamic ../lib/libflann_cpp.so.1.8.4 -lhdf5 -lpthread -lz -ldl -lm -lmpi_cxx -lmpi -ldl -lhwloc -lboost_mpi -lboost_system -lboost_serialization -lboost_thread -lpthread -Wl,-whole-archive ../lib/libflann_cpp_s.a -Wl,-no-whole-archive -lz -ldl -lm -lmpi_cxx -lmpi -lhwloc -lboost_mpi -lboost_system -lboost_serialization -lboost_thread -Wl,-rpath,/«PKGBUILDDIR»/obj-mipsel-linux-gnu/lib:
> make[3]: Leaving directory `/«PKGBUILDDIR»/obj-mipsel-linux-gnu'
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-mipsel-linux-gnu/CMakeFiles 4
> [ 85%] Built target flann_example_mpi
> virtual memory exhausted: Cannot allocate memory
> make[3]: *** [src/cpp/CMakeFiles/flann_s.dir/flann/flann.cpp.o] Error 1
After adding ggc-min-expand flag,
package builds successfully.
Patch that contains this fix is
attached.
Could you please consider including this patch?
Best regards,
Dejan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips-ggc-min-expand.diff
Type: text/x-patch
Size: 507 bytes
Desc: mips-ggc-min-expand.diff
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140613/15b6c92f/attachment-0001.bin>
More information about the debian-science-maintainers
mailing list