RE : RE : RE : Bug#679990: ITP: clipper -- object oriented development kit for crystallographic computing
Hello
ok I added
build: build-py
but now I got this error :), it seems that a build-dep is missing :) libgl1-mesa-dev ?
you should always build your package with pbuilder or cowbuilder to check that it will build in the buildd.
git-buildpackage --git-pbuilder is your friend :)
g++ -o gltbx/font_ucs_10x20.o -c -DBOOST_PYTHON_MAX_BASES=2 -I/tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/boost -fPIC -fno-strict-aliasing -w -DNDEBUG -O3 -ffast-math -DBOOST_ALL_NO_LIB -DBOOST_DISABLE_THREADS -fopenmp -I/tmp/buildd/cctbx-2012.05.08.2305/build2.6/include -I/tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources -I/tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/gui_resources/gl2ps -I/usr/include/python2.6 gltbx/font_ucs_10x20.cpp
In file included from /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/gltbx/error.h:4:0,
from /tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/gltbx/fonts_ucs.h:4,
from gltbx/font_ucs_10x20.cpp:1:
/tmp/buildd/cctbx-2012.05.08.2305/cctbx_sources/gltbx/include_opengl.h:13:20: fatal error: GL/gl.h: No such file or directory
compilation terminated.
scons: *** [gltbx/font_ucs_10x20.o] Error 1
scons: building terminated because of errors.
usr+sys time: 24.75 seconds
wall clock time: 53 minutes 4.41 seconds (3184.41 seconds total)
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/buildd/cctbx-2012.05.08.2305/build2.6'
make: *** [build-pyext-2.6-omp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting /var/cache/pbuilder/result filesystem
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.9763
gbp:error: Couldn't run 'git-pbuilder': git-pbuilder returned 1
picca@mordor:~/Debian/sponsor/cctbx/cctbx$
it would be nice to use the dh tiny rule instead of using plain debhelper to reduce the complexity of the rules file.
I try myself to keep it as simple as possible providing patch to the upstream.
In our case maybe we should aim this kind of tiny rule with an override for the build
%:
dh $@ --with python2
ovverride_dh_auto_build:
build the library ?
dh_auto_build
and that's all ?
Can you work on this, then we will use the <package>.install piles to split everythings into the right packages.
Indeed the : build the library things should be as simple as possible :)
See you
Frederic
Reply to: