Comment 5 for bug 906922

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

The same thing happened to me with bzr: precise build using 0.15.91 hit max open files limit, but oneiric build using 1.0 did the following:

 gcc -pthread -fno-strict-aliasing -g -O0 -Wall -Wstrict-prototypes -g -O2 -fPIC -I/usr/include/python2.7_d -c bzrlib/_dirstate_helpers_pyx.c -o build/temp.linux-armv7l-2.7-pydebug/bzrlib/_dirstate_helpers_pyx.o
 bzrlib/_dirstate_helpers_pyx.c: In function '__pyx_pf_6bzrlib_21_dirstate_helpers_pyx_5bisect_dirblock':
 bzrlib/_dirstate_helpers_pyx.c:3554:13: warning: variable '__pyx_v_cache' set but not used [-Wunused-but-set-variable]
 virtual memory exhausted: Cannot allocate memory

   Cannot build extension "bzrlib._dirstate_helpers_pyx".
   Use "build_ext --allow-python-fallback" to use slower python implementations instead.

 error: command 'gcc' failed with exit status 1
 [150659 refs]
 dh_auto_build: python-dbg setup.py build --force returned exit code 1
 make[1]: *** [override_dh_auto_build] Error 1