Gentoo Archives: gentoo-science

From: Jan Marten Simons <marten@××××××××××××××××.de>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] cctbx version-bump to 2010.09.15.2318?
Date: Mon, 13 Dec 2010 12:26:17
Message-Id: 201012131325.31734.marten@xtal.rwth-aachen.de
In Reply to: [gentoo-science] cctbx version-bump to 2010.09.15.2318? by Jan Marten Simons
Am Freitag 03 Dezember 2010 15:48:42 schrieb Jan Marten Simons:
> Hi, > > I recently found out cctbx has released a new version (see > http://cci.lbl.gov/cctbx_build/). I tried to do a version-bump with the > ebuild, but as some code changed some patches don't apply anymore.
By now there is another new release: 2010_12_06_2139 availiable at http://cci.lbl.gov/cctbx_build/: http://cci.lbl.gov/cctbx_build/results/2010_12_06_2139/cctbx_bundle.tar.gz As one of the changes is "Migration to Python 2.7.1" it might be neccessary to depend on python >=2.7.1 I did a simple version-bump with the most recent ebuild in tree and found out: * -tst-server.py.patch can be dropped, as the code it tries to correct has been removed upstream * -clipper.patch still applies. * -boost.patch, -flags.patch and -soname.patch both don't apply to the new version and I'm not sure if I know enough about Scons to fix them up. More details on the bug I found: (/usr/lib64/cctbx/cctbx_build/bin/cctbx.python is refering to paths in /var/tmp/portage, which don't exist post-install and therefore calling cctbx.python does not give a useable environment. After fixing up those paths (manually) I got a working python shell where import cctbx works like it should.) I attached a diff between the broken version (installed by the ebuild) and my working version. A solution would be to either fix the paths post build via sed or to get the build to write correct paths, which might be much more difficult. I'll gladly help in debugging/testing an ebuld of the most recent version of cctbx. I've joined irc as well. With regards, Jan Simons Institute of Crystallography RWTH Aachen University

Attachments

File name MIME type
cctbx.python.diff text/x-patch

Replies

Subject Author
Re: [gentoo-science] cctbx version-bump to 2010.09.15.2318? "Justin (jlec) Lecher" <jlec@g.o>