* [gentoo-dev] strange behaviour of doins
@ 2013-04-20 13:59 grozin
2013-04-20 15:44 ` Michał Górny
2013-04-20 15:54 ` Tom Wijsman
0 siblings, 2 replies; 7+ messages in thread
From: grozin @ 2013-04-20 13:59 UTC (permalink / raw
To: gentoo-dev
Hello *,
I have in src_install
insinto /usr/share/common-lisp/source/foo
doins version.lisp-expr
After ebuild foo-x.ebuild install, in
.../image/usr/share/common-lisp/source/foo I get a broken symlink
version.lisp-expr -> ../version.lisp-expr
Don't understand how this can happen. The original file version.lisp-expr
is not a symlink. All the other files install normally. EAPI=5 if this is
important.
Andrey
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] strange behaviour of doins
2013-04-20 13:59 [gentoo-dev] strange behaviour of doins grozin
@ 2013-04-20 15:44 ` Michał Górny
2013-04-20 15:55 ` grozin
2013-04-20 15:54 ` Tom Wijsman
1 sibling, 1 reply; 7+ messages in thread
From: Michał Górny @ 2013-04-20 15:44 UTC (permalink / raw
To: gentoo-dev; +Cc: grozin
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
On Sat, 20 Apr 2013 20:59:49 +0700 (NOVT)
grozin@gentoo.org wrote:
> Hello *,
>
> I have in src_install
> insinto /usr/share/common-lisp/source/foo
> doins version.lisp-expr
> After ebuild foo-x.ebuild install, in
> .../image/usr/share/common-lisp/source/foo I get a broken symlink
> version.lisp-expr -> ../version.lisp-expr
>
> Don't understand how this can happen. The original file version.lisp-expr
> is not a symlink. All the other files install normally. EAPI=5 if this is
> important.
Doesn't the symlink get installed earlier, e.g. by the build system?
I'm not sure what doins would do in that case.
--
Best regards,
Michał Górny
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] strange behaviour of doins
2013-04-20 13:59 [gentoo-dev] strange behaviour of doins grozin
2013-04-20 15:44 ` Michał Górny
@ 2013-04-20 15:54 ` Tom Wijsman
2013-04-20 16:03 ` grozin
1 sibling, 1 reply; 7+ messages in thread
From: Tom Wijsman @ 2013-04-20 15:54 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 822 bytes --]
On Sat, 20 Apr 2013 20:59:49 +0700 (NOVT)
grozin@gentoo.org wrote:
> Hello *,
>
> I have in src_install
> insinto /usr/share/common-lisp/source/foo
> doins version.lisp-expr
> After ebuild foo-x.ebuild install, in
> .../image/usr/share/common-lisp/source/foo I get a broken symlink
> version.lisp-expr -> ../version.lisp-expr
>
> Don't understand how this can happen. The original file
> version.lisp-expr is not a symlink. All the other files install
> normally. EAPI=5 if this is important.
>
> Andrey
>
Can you provide us the ebuild, build log and version of Portage?
--
With kind regards,
Tom Wijsman (TomWij)
Gentoo Developer
E-mail address : TomWij@gentoo.org
GPG Public Key : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] strange behaviour of doins
2013-04-20 15:44 ` Michał Górny
@ 2013-04-20 15:55 ` grozin
0 siblings, 0 replies; 7+ messages in thread
From: grozin @ 2013-04-20 15:55 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1243 bytes --]
On Sat, 20 Apr 2013, Michał Górny wrote:
> Doesn't the symlink get installed earlier, e.g. by the build system?
> I'm not sure what doins would do in that case.
No. Here is the complete src_install:
src_install() {
insinto /usr/share/common-lisp/source/${PN}
doins -r contrib *.lisp version.lisp-expr uiop.asd asdf-driver.asd
dodir /usr/share/common-lisp/systems
dosym /usr/share/common-lisp/source/${PN}/uiop.asd /usr/share/common-lisp/systems/uiop.asd
dosym /usr/share/common-lisp/source/${PN}/asdf-driver.asd /usr/share/common-lisp/systems/asdf-driver.asd
}
*.lisp, uiop.asd, asdf-driver.asd are installed normally, but not
version.lisp-expr. Out of frustration, I've tried
src_install() {
insinto /usr/share/common-lisp/source/${PN}
doins -r contrib *.lisp uiop.asd asdf-driver.asd
doins version.lisp-expr
dodir /usr/share/common-lisp/systems
dosym /usr/share/common-lisp/source/${PN}/uiop.asd /usr/share/common-lisp/systems/uiop.asd
dosym /usr/share/common-lisp/source/${PN}/asdf-driver.asd /usr/share/common-lisp/systems/asdf-driver.asd
}
But even in this case the broken symlink is installed instead of
version.lisp-expr.
Andrey
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] strange behaviour of doins
2013-04-20 15:54 ` Tom Wijsman
@ 2013-04-20 16:03 ` grozin
2013-04-20 16:30 ` Tom Wijsman
0 siblings, 1 reply; 7+ messages in thread
From: grozin @ 2013-04-20 16:03 UTC (permalink / raw
To: gentoo-dev
On Sat, 20 Apr 2013, Tom Wijsman wrote:
> Can you provide us the ebuild, build log and version of Portage?
The ebuild is dev-lisp/uiop-2.33-r1 (committed today, pmasked)
elrond ~ # emerge --version
Portage 2.2.0_alpha173 (default/linux/x86/13.0/desktop/kde, gcc-4.7.2,
glibc-2.17, 3.4.4-gentoo i686)
log:
* Package: dev-lisp/uiop-2.33-r1
* Repository: grozin
* USE: elibc_glibc kernel_linux userland_GNU x86
* FEATURES: preserve-libs sandbox
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking asdf-2.33.tar.gz to
/var/tmp/portage/dev-lisp/uiop-2.33-r1/work
>>> Source unpacked in /var/tmp/portage/dev-lisp/uiop-2.33-r1/work
>>> Preparing source in /var/tmp/portage/dev-lisp/uiop-2.33-r1/work/uiop
...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lisp/uiop-2.33-r1/work/uiop
...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lisp/uiop-2.33-r1/work/uiop
...
>>> Source compiled.
>>> Test phase [not enabled]: dev-lisp/uiop-2.33-r1
>>> Install uiop-2.33-r1 into
/var/tmp/portage/dev-lisp/uiop-2.33-r1/image/ category dev-lisp
>>> Completed installing uiop-2.33-r1 into
/var/tmp/portage/dev-lisp/uiop-2.33-r1/image/
* checking 19 files for package collisions
>>> Merging dev-lisp/uiop-2.33-r1 to /
--- /usr/
--- /usr/share/
--- /usr/share/common-lisp/
--- /usr/share/common-lisp/source/
--- /usr/share/common-lisp/source/uiop/
>>> /usr/share/common-lisp/source/uiop/package.lisp
--- /usr/share/common-lisp/source/uiop/contrib/
>>> /usr/share/common-lisp/source/uiop/contrib/debug.lisp
>>> /usr/share/common-lisp/source/uiop/image.lisp
>>> /usr/share/common-lisp/source/uiop/configuration.lisp
>>> /usr/share/common-lisp/source/uiop/driver.lisp
>>> /usr/share/common-lisp/source/uiop/utility.lisp
>>> /usr/share/common-lisp/source/uiop/lisp-build.lisp
>>> /usr/share/common-lisp/source/uiop/uiop.asd
>>> /usr/share/common-lisp/source/uiop/run-program.lisp
>>> /usr/share/common-lisp/source/uiop/backward-driver.lisp
>>> /usr/share/common-lisp/source/uiop/os.lisp
>>> /usr/share/common-lisp/source/uiop/asdf-driver.asd
>>> /usr/share/common-lisp/source/uiop/pathname.lisp
>>> /usr/share/common-lisp/source/uiop/common-lisp.lisp
>>> /usr/share/common-lisp/source/uiop/filesystem.lisp
>>> /usr/share/common-lisp/source/uiop/stream.lisp
--- /usr/share/common-lisp/systems/
>>> /usr/share/common-lisp/systems/uiop.asd ->
/usr/share/common-lisp/source/uiop/uiop.asd
>>> /usr/share/common-lisp/systems/asdf-driver.asd ->
/usr/share/common-lisp/source/uiop/asdf-driver.asd
* QA Notice: Symbolic link
/usr/share/common-lisp/source/uiop/version.lisp-expr points to
/usr/share/common-lisp/source/version.lisp-expr which does not exist.
>>> /usr/share/common-lisp/source/uiop/version.lisp-expr ->
../version.lisp-expr
>>> Safely unmerging already-installed instance...
Andrey
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] strange behaviour of doins
2013-04-20 16:03 ` grozin
@ 2013-04-20 16:30 ` Tom Wijsman
2013-04-20 16:50 ` grozin
0 siblings, 1 reply; 7+ messages in thread
From: Tom Wijsman @ 2013-04-20 16:30 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
On Sat, 20 Apr 2013 23:03:27 +0700 (NOVT)
grozin@gentoo.org wrote:
> elrond ~ # emerge --version
> Portage 2.2.0_alpha173 (default/linux/x86/13.0/desktop/kde,
> gcc-4.7.2, glibc-2.17, 3.4.4-gentoo i686)
> * QA Notice: Symbolic link
> /usr/share/common-lisp/source/uiop/version.lisp-expr points to
> /usr/share/common-lisp/source/version.lisp-expr which does not exist.
In "${S}"/uiop there indeed is a version.lisp-expr link that does that.
May it be the case that `doins -r version.list-expr` recursively finds
all the version.list-expr files and therefore does doins on the link?
The QA notice was introduced a month ago in bug #446 but I don't think
that is the issue here; it's the opposite, it helped you notice this.
--
With kind regards,
Tom Wijsman (TomWij)
Gentoo Developer
E-mail address : TomWij@gentoo.org
GPG Public Key : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-dev] strange behaviour of doins
2013-04-20 16:30 ` Tom Wijsman
@ 2013-04-20 16:50 ` grozin
0 siblings, 0 replies; 7+ messages in thread
From: grozin @ 2013-04-20 16:50 UTC (permalink / raw
To: gentoo-dev
On Sat, 20 Apr 2013, Tom Wijsman wrote:
> In "${S}"/uiop there indeed is a version.lisp-expr link that does that.
Yes! Many thanks. Now I have fixed this problem.
Andrey
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-04-20 16:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-20 13:59 [gentoo-dev] strange behaviour of doins grozin
2013-04-20 15:44 ` Michał Górny
2013-04-20 15:55 ` grozin
2013-04-20 15:54 ` Tom Wijsman
2013-04-20 16:03 ` grozin
2013-04-20 16:30 ` Tom Wijsman
2013-04-20 16:50 ` grozin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox