Gentoo Archives: gentoo-science

From: Steven Trogdon <strogdon@×××××.edu>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] polybori && amd64
Date: Thu, 19 Aug 2010 17:33:52
Message-Id: 1282239159.23504.0@pavilion64
In Reply to: Re: [gentoo-science] [sage-on-gentoo] polybori && amd64 by Christopher Schwan
1 On 08/19/2010 03:04:54 AM, Christopher Schwan wrote:
2 > Hi,
3 >
4 > On Thursday 19 August 2010 08:14:08 Steven Trogdon wrote:
5 >> Hello,
6 >>
7 >> Both polybori-0.6.4-r1 and polybori-0.6.5 fail to build here on amd64 for
8 >> the same reason. The important snippet is:
9 >>
10 >> rm: cannot remove
11 >> `/var/tmp/portage/sci-mathematics/polybori-0.6.4-r1/image//usr/lib64/lib*.s
12 >> o*': No such file or directory
13 >> * ERROR: sci-mathematics/polybori-0.6.4-r1 failed:
14 >> * failed to remove shared objects
15 >> *
16 >> * Call stack:
17 >> * ebuild.sh, line 54: Called src_install
18 >> * environment, line 5124: Called die
19 >> * The specific snippet of code:
20 >> * rm "${ED}"/usr/$(get_libdir)/lib*.so* || die "failed to remove
21 >> shared objects"
22 >> *
23 >>
24 >> Under the /image directory polybori installs the libs under /usr/lib
25 >> instead of /usr/lib64. This seemed to be an issue previously with
26 >> polybori.
27 >
28 > Fixed in overlay - I will try to find find out how to install to lib64 on
29 > amd64.
30 >
31 With the present commit I get multilib-strict failures. I forgot about this! I
32 put the following:
33
34 sed -i "s:DevelInstPath('lib'):DevelInstPath('$(get_libdir)'):g" \
35 SConstruct || die "sed failed"
36
37 in src_prepare and libs are installed under /usr/lib64 on amd64 and under
38 /usr/lib on my 32bit chroot. I'm not sure if this is the "correct" way to fix
39 things but maybe it'll give some direction.
40
41 >>
42 >> Steve
43 >
44 > Christopher
45 >
46
47 Steve

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo] polybori && amd64 Christopher Schwan <cschwan@××××××××××××××××××.de>