On february, 28 kernel developers changed the idr interface (see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/lib/idr.c). As a consequence, the released knem stopped to compile against recent kernel. The problem has been fixed upstream, as per the git changelog). Since it is not possible (as far as I know) to dump a snapshot, a live ebuild would be the best solution. Reproducible: Always I've prepared an ebuild. Here is the difference with the current one; the full ebuild will be attached. --- /usr/portage/sys-cluster/knem/knem-1.0.0.ebuild 2012-12-11 19:31:30.000000000 +0100 +++ /usr/local/portage/sys-cluster/knem/knem-9999.ebuild 2013-07-15 16:46:52.440431911 +0200 @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/knem/knem-1.0.0.ebuild,v 1.2 2012/12/11 18:12:34 axs Exp $ +# $Header: $ EAPI=4 @@ -8,7 +8,12 @@ DESCRIPTION="High-Performance Intra-Node MPI Communication" HOMEPAGE="http://runtime.bordeaux.inria.fr/knem/" -SRC_URI="http://runtime.bordeaux.inria.fr/knem/download/${P}.tar.gz" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://gforge.inria.fr/git/knem/knem.git" + inherit git-2 +else + SRC_URI="http://runtime.bordeaux.inria.fr/knem/download/${P}.tar.gz" +fi LICENSE="GPL-2 LGPL-2" SLOT="0"
Created attachment 353380 [details] sys-cluste/knem live ebuild
There is an 1.1.0 version of knem available and it works out of the box by just cp'ing the 1.0.0 ebuild to 1.1.0. Since kernel 3.10 is current and 1.0.0 does not work with these kernels, this is becoming more of an issue.
linux 3.14.0 is in the tree, and it requires knem 1.1.1 Again, simply renaming the ebuild is sufficient in order to build the (right) knem module. Any news on this?
Added to tree. Sorry for delay.