[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pingus-Devel] games-puzzle/pingus-0.7.6 - src_install() takes a lon
From: |
Toralf Förster |
Subject: |
Re: [Pingus-Devel] games-puzzle/pingus-0.7.6 - src_install() takes a long time |
Date: |
Fri, 01 Nov 2013 16:22:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Pff - it seems that at my Gentoo system not /usr/bin/isntall is executed.
instead a Python wrapper is used :
bash,14486,tfoerste
└─ebuild,3954 -O /usr/bin/ebuild pingus-0.7.6.ebuild install
└─sandbox,3968 /usr/lib/portage/bin/ebuild.sh install
└─ebuild.sh,3969 /usr/lib/portage/bin/ebuild.sh install
└─ebuild.sh,3986 /usr/lib/portage/bin/ebuild.sh install
└─emake,3995 /usr/lib/portage/bin/ebuild-helpers/emake
install-exec install-data
DESTDIR=/var/tmp/portage/games-puzzle/pingus-0.7.6/image/ PREFIX=/usr
DATADIR=/usr/share/games/pingus BINDIR=/usr/games/bin
└─make,3997 -j4 install-exec install-data
DESTDIR=/var/tmp/portage/games-puzzle/pingus-0.7.6/image/ PREFIX=/usr
DATADIR=/usr/share/games/pingus BINDIR=/usr/games/bin
└─sh,3999 -c cd data/ && \\\012find . \\\012
-type f -a \\( \\\012 -name "*.png" -o \\\012 -name "*.jpg" -o
\\\012 -name "*.wav" -o \\\012 -name "*.scm" -o \\\012
-name "*.font" -o \\\012 -name "*.story" -o \\\012 -name
"*.credits" -o \\\012 -name "*.prefab" -o \\\012 -name "*.it" -o
\\\012 -name "*.ogg" -o \\\012 -name "*.s3m" -o \\\012
-name "*.po" -o \\\012 -name "*.worldmap" -o \\\012 -name "*.res"
-o \\\012 -name "*.pingus" -o \\\012 -name "*.levelset" -o \\\012
-name "*.sprite" \\\012 \\) -exec install -D {}
/var/tmp/portage/games-puzzle/pingus-0.7.6/image//usr/share/games/pingus/{} \\;
└─find,4000 . -type f -a ( -name *.png -o -name
*.jpg -o -name *.wav -o -name *.scm -o -name *.font -o -name *.story -o -name
*.credits -o -name *.prefab -o -name *.it -o -name *.ogg -o -name *.s3m -o
-name *.po -o -name *.worldmap -o -name *.res -o -name *.pingus -o -name
*.levelset -o -name *.sprite ) -exec install -D {}
/var/tmp/portage/games-puzzle/pingus-0.7.6/image//usr/share/games/pingus/{} ;
└─python3.2,4166
/usr/lib/portage/bin/install.py -D ./images/textures/clouds2.jpg
/var/tmp/portage/games-puzzle/pingus-0.7.6/image//usr/share/games/pingus/./images/textures/clouds2.jpg
This change in the Makefile make it :
address@hidden /var/tmp/portage/games-puzzle/pingus-0.7.6/work/pingus-0.7.6 $
colordiff Makefile*
66c66
< \) -exec /usr/bin/install -D {} $(DESTDIR)$(DATADIR)/{} \;
---
> \) -exec install -D {} $(DESTDIR)$(DATADIR)/{} \;
On 10/28/2013 09:41 PM, Ingo Ruhnke wrote:
> On Mon, Oct 28, 2013 at 8:56 PM, Toralf Förster <address@hidden
> <mailto:address@hidden>> wrote:
>
> On 10/28/2013 08:48 PM, Ingo Ruhnke wrote:
> > On Mon, Oct 28, 2013 at 8:16 PM, Toralf Förster
> <address@hidden <mailto:address@hidden>
> > <mailto:address@hidden <mailto:address@hidden>>>
> wrote:
> >
> > As described here : https://bugs.gentoo.org/show_bug.cgi?id=489600
> > using an external USB 2.0 disk to install pingus results in a very
> > looong install time.
> >
> > Is this related to the way that each file is installed
> individually
> > instead of copying all of them and then chmod the files in the
> right
> > manner ?
> >
> >
> > How long is long? Copying those few thousands files takes like
> 20sec for
> > me, which seems fine.
> >
> more than 10 minutes :-(
>
>
> Is it reproducible? Reproducible when running on a plain Pingus source
> tree without the Gentoo stuff around it?
>
> Have you made sure that the drive is ok? Might be some bad blocks that
> are causing things to slow down, 'dmesg' might have some error messages
> in that case.
>
> You could also try a wrap 'strace' around that find to see if anything
> weird is going on.
>
> --
> Blog: http://grumbel.blogspot.com/
> JabberID: xmpp:address@hidden <mailto:address@hidden>
> ICQ: 59461927
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Pingus-Devel] games-puzzle/pingus-0.7.6 - src_install() takes a long time,
Toralf Förster <=