Gentoo Archives: gentoo-user

From: Trenton Adams <trenton.d.adams@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eselect could not source blas.eselect
Date: Thu, 12 Oct 2006 16:59:33
Message-Id: 9b1675090610120951w76e2b392l5342865d691447d7@mail.gmail.com
In Reply to: Re: [gentoo-user] eselect could not source blas.eselect by "Bo Ørsted Andresen"
1 Ahah, looks like you just found a bug Bo.
2
3
4 echo $(ESELECT_CORE_PATH=/usr/share/eselect/libs ;
5 > source ${ESELECT_CORE_PATH}/core.bash ;
6 > source ${ESELECT_CORE_PATH}/manip.bash ;
7 > set -x ;
8 > source /usr/share/eselect/modules/blas.eselect)
9 ++ source /usr/share/eselect/modules/blas.eselect
10 +++ inherit config multilib portage
11 +++ local x
12 +++ for x in '${@}'
13 +++ [[ -e /usr/share/eselect/libs/config.bash ]]
14 +++ source /usr/share/eselect/libs/config.bash
15 +++ for x in '${@}'
16 +++ [[ -e /usr/share/eselect/libs/multilib.bash ]]
17 +++ source /usr/share/eselect/libs/multilib.bash
18 ++++ ES_VALID_MULTILIB_DIRS='lib lib32 lib64'
19 +++ for x in '${@}'
20 +++ [[ -e /usr/share/eselect/libs/portage.bash ]]
21 +++ source /usr/share/eselect/libs/portage.bash
22 +++ DESCRIPTION='Manage installed BLAS implementations'
23 +++ MAINTAINER='Danny van Dyk <kugelfang@g.o>'
24 +++ SVN_DATE='$Date: 2006-04-14 18:18:40 +0200 (Fri, 14 Apr 2006) $'
25 ++++ svn_date_to_version '$Date: 2006-04-14 18:18:40 +0200 (Fri, 14 Apr 2006) $'
26 ++++ local 's=$Date: 2006-04-14 18:18:40 +0200 (Fri, 14 Apr 2006) $'
27 ++++ s='2006-04-14 18:18:40 +0200 (Fri, 14 Apr 2006) $'
28 ++++ s=2006-04-14
29 ++++ s=20060414
30 ++++ echo 20060414
31 +++ VERSION=20060414
32 +++ BLAS_CONFIG=/var/lib/eselect/blas/blas.config
33 +++ BLAS_IMPLEMENTATIONS='ACML ATLAS threaded-ATLAS MKL72 reference'
34 +++ BLAS_PROFILES='C F77'
35 -bash: /usr/share/eselect/modules/blas.eselect: line 69: syntax error
36 near unexpected token `('
37 -bash: /usr/share/eselect/modules/blas.eselect: line 69: `package() {'
38
39
40
41 On 10/12/06, Bo Ørsted Andresen <bo.andresen@××××.dk> wrote:
42 > Reordered for readability.. Please don't top post.
43 >
44 > On Thursday 12 October 2006 16:47, Trenton Adams wrote:
45 > > > > [22:41 root@abda trenta]# eselect
46 > > > [SNIP]
47 > > >
48 > > > > Extra modules:
49 > > > > bashcomp Manage contributed bash-completion scripts
50 > > > > binutils Manage installed versions of
51 > > > > sys-devel/binutils !!! Error: Couldn't source
52 > > > > /usr/share/eselect//modules/blas.eselect Call stack:
53 > > > > * ec_do_list-modules (eselect:139)
54 > > > > * ec_do_help (eselect:86)
55 > > > > * main (eselect:193)
56 > > > > exiting.
57 > > >
58 > > > [SNIP]
59 > > >
60 > > > Hrm.. Maybe it could be a permissions problem. What does
61 > > >
62 > > > # ls -l /usr/share/eselect/modules
63 > > >
64 > > > show?
65 > >
66 > > All the directories all the way down the tree have r-x, and the files
67 > > are world readable.
68 >
69 > What is the output of:
70 >
71 > # echo $(ESELECT_CORE_PATH=/usr/share/eselect/libs ;
72 > source ${ESELECT_CORE_PATH}/core.bash ;
73 > source ${ESELECT_CORE_PATH}/manip.bash ;
74 > set -x ;
75 > source /usr/share/eselect/modules/blas.eselect)
76 >
77 > --
78 > Bo Andresen
79 >
80 >
81 >
82
83 --
84 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] eselect could not source blas.eselect "Bo Ørsted Andresen" <bo.andresen@××××.dk>