I'm trying to build OCE for EL-6 and it has failed twice. Looking at
the error it doesn't give any details:
[100%] Building CXX object
adm/cmake/TKXDEDRAW/CMakeFiles/TKXDEDRAW.dir/__/__/__/src/XDEDRAW/XDEDRAW.cxx.o
cd /builddir/build/BUILD/tpaviot-oce-de78904/build/adm/cmake/TKXDEDRAW
&& /usr/lib64/ccache/c++ -DTKXDEDRAW_EXPORTS -D_OCC64
-DHAVE_FTGL_NEWER212 -DHAVE_CONFIG_H -DCSFDB -DOCC_CONVERT_SIGNALS
-DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2
-g -fPIC -I/builddir/build/BUILD/tpaviot-oce-de78904/build/build_inc
-I/builddir/build/BUILD/tpaviot-oce-de78904/inc
-I/builddir/build/BUILD/tpaviot-oce-de78904/src/XDEDRAW
-I/builddir/build/BUILD/tpaviot-oce-de78904/drv/XDEDRAW -o
CMakeFiles/TKXDEDRAW.dir/__/__/__/src/XDEDRAW/XDEDRAW.cxx.o -c
/builddir/build/BUILD/tpaviot-oce-de78904/src/XDEDRAW/XDEDRAW.cxx
make[2]: ***
[adm/cmake/TKXDEDRAW/CMakeFiles/TKXDEDRAW.dir/__/__/__/src/XDEDRAW/XDEDRAW_Layers.cxx.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[adm/cmake/TKXDEDRAW/CMakeFiles/TKXDEDRAW.dir/__/__/__/src/XDEDRAW/XDEDRAW_Props.cxx.o]
Error 1
make[2]: Leaving directory `/builddir/build/BUILD/tpaviot-oce-de78904/build'
make[1]: Leaving directory `/builddir/build/BUILD/tpaviot-oce-de78904/build'
make[1]: *** [adm/cmake/TKXDEDRAW/CMakeFiles/TKXDEDRAW.dir/all] Error 2
make: *** [all] Error 2
--- end ---
The job log shows and issue but it looks like it happens prior to building:
State Changed: setup
error: db3 error(12) from dbenv->open: Cannot allocate memory
error: db3 error(12) from dbenv->close: Cannot allocate memory
error: cannot open Packages database in /var/lib/rpm
State Changed: build
ERROR:
Exception(/var/lib/mock/plague-builder/d4e1f24f717ade8b8739f692d1d2f1e457ac6e14/source/OCE-0.8.0-3.el6.src.rpm)
Config(el-6-x86_64-rpmfusion_nonfree) 29 minutes 9 seconds
--- end ---
It builds fine on a local mock build...
Any idea what's going on?
Thanks,
Richard