Gentoo Archives: gentoo-science

From: Steven Trogdon <strogdon@×××××.edu>
To: "gentoo-science@l.g.o" <gentoo-science@l.g.o>
Subject: [gentoo-science] gentoo-science and gentoo-prefix
Date: Fri, 25 Jan 2013 17:56:11
Message-Id: 20130125115559.0e85c17a@ledaig.d.umn.edu
1 I'm trying to install the gentoo-science overlay on top of gentoo-prefix. I
2 assume this can be done. However in building the three packages
3 sci-libs/gsl-1.15-r3, sci-libs/blas-reference-20120925 and
4 sci-libs/lapack-reference-3.4.2 I get postinst errors of the type:
5
6 ---
7 * ERROR: sci-libs/gsl-1.15-r3 failed (postinst phase):
8 * skel.eclass could not be found by inherit()
9 *
10 * Call stack:
11 * ebuild.sh, line 93: Called call-ebuildshell 'pkg_postinst'
12 * environment, line 981: Called pkg_postinst
13 * environment, line 3106: Called alternatives-2_pkg_postinst
14 * environment, line 567: Called cleanup_old_alternatives_module 'cblas'
15 * environment, line 1026: Called source
16 '/storage/strogdon/gentoo//usr/share/eselect/modules/cblas.eselect'
17 * cblas.eselect, line 5: Called inherit 'skel'
18 * ebuild.sh, line 261: Called die
19 * The specific snippet of code:
20 * [ ! -e "$location" ] && die "${1}.eclass could not be found by
21 inherit()"
22 *
23 ---
24
25 Is this a bug or am I doing something stupid? The packages do install but there
26 is the error. And lastly to update packages I need to "emerge
27 @preserved-rebuild" because of
28
29 ---
30 !!! existing preserved libs:
31 >>> package: sci-libs/blas-reference-20120925
32 * - /storage/strogdon/gentoo/usr/lib/blas/reference/libblas.so.0
33 * - /storage/strogdon/gentoo/usr/lib/blas/reference/libblas.so.0.0.0
34 * used by /storage/strogdon/gentoo/usr/bin/dnsimp (sci-libs/arpack-3.1.2)
35 * used by /storage/strogdon/gentoo/usr/lib/libarpack.so.2.0.0
36 (sci-libs/arpack-3.1.2)
37 * used by /storage/strogdon/gentoo/usr/lib/libsuperlu.so.4.0.2
38 (sci-libs/superlu-4.3)
39 * used by /storage/strogdon/gentoo/usr/lib/libumfpack.so.0.0.0
40 (sci-libs/umfpack-5.6.1-r1)
41 ---
42
43 But upon doing the emerge I get failures in the configure step of superlu - the
44 first to be re-emerged:
45
46 ---
47 >>> Failed to emerge sci-libs/superlu-4.3, Log file:
48
49 >>> '/storage/strogdon/gentoo/var/tmp/portage/sci-libs/superlu-4.3/temp/build.log'
50
51 * Messages for package sci-libs/superlu-4.3:
52
53 * ERROR: sci-libs/superlu-4.3 failed (configure phase):
54 * econf failed
55 *
56 * Call stack:
57 * ebuild.sh, line 93: Called call-ebuildshell 'src_configure'
58 * environment, line 971: Called src_configure
59 * environment, line 3327: Called autotools-utils_src_configure
60 * environment, line 721: Called econf
61 '--docdir=/storage/strogdon/gentoo/usr/share/doc/superlu-4.3'
62 '--enable-shared' '--disable-static' '--with-blas='
63 * phase-helpers.sh, line 511: Called die
64 * The specific snippet of code:
65 * die "econf failed"
66 *
67 * If you need support, post the output of `emerge --info
68 '=sci-libs/superlu-4.3'`,
69 * the complete build log and the output of `emerge -pqv
70 '=sci-libs/superlu-4.3'`.
71 * The complete build log is located at
72 '/storage/strogdon/gentoo/var/tmp/portage/sci-libs/superlu-4.3/temp/build.log'.
73 * The ebuild environment file is located at
74 '/storage/strogdon/gentoo/var/tmp/portage/sci-libs/superlu-4.3/temp/environment'.
75 * Working directory:
76 '/storage/strogdon/gentoo/var/tmp/portage/sci-libs/superlu-4.3/work/SuperLU_4.3'
77 * S:
78 '/storage/strogdon/gentoo/var/tmp/portage/sci-libs/superlu-4.3/work/SuperLU_4.3'
79 ---
80
81 The apparent reason for the failure:
82
83 configure: error: Cannot find blas libraries
84
85 Thanks guys,
86 Steve