Gentoo Archives: gentoo-dev

From: grozin@g.o
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] strange behaviour of doins
Date: Sat, 20 Apr 2013 15:56:54
Message-Id: alpine.LNX.2.00.1304202251220.9588@elrond.inp.nsk.su
In Reply to: Re: [gentoo-dev] strange behaviour of doins by "Michał Górny"
1 On Sat, 20 Apr 2013, Michał Górny wrote:
2 > Doesn't the symlink get installed earlier, e.g. by the build system?
3 > I'm not sure what doins would do in that case.
4 No. Here is the complete src_install:
5
6 src_install() {
7 insinto /usr/share/common-lisp/source/${PN}
8 doins -r contrib *.lisp version.lisp-expr uiop.asd asdf-driver.asd
9 dodir /usr/share/common-lisp/systems
10 dosym /usr/share/common-lisp/source/${PN}/uiop.asd /usr/share/common-lisp/systems/uiop.asd
11 dosym /usr/share/common-lisp/source/${PN}/asdf-driver.asd /usr/share/common-lisp/systems/asdf-driver.asd
12 }
13
14 *.lisp, uiop.asd, asdf-driver.asd are installed normally, but not
15 version.lisp-expr. Out of frustration, I've tried
16
17 src_install() {
18 insinto /usr/share/common-lisp/source/${PN}
19 doins -r contrib *.lisp uiop.asd asdf-driver.asd
20 doins version.lisp-expr
21 dodir /usr/share/common-lisp/systems
22 dosym /usr/share/common-lisp/source/${PN}/uiop.asd /usr/share/common-lisp/systems/uiop.asd
23 dosym /usr/share/common-lisp/source/${PN}/asdf-driver.asd /usr/share/common-lisp/systems/asdf-driver.asd
24 }
25
26 But even in this case the broken symlink is installed instead of
27 version.lisp-expr.
28
29 Andrey