Hi, Florian.

On Sat, May 04, 2013 at 12:12:51PM +0200, Florian Philipp wrote:
> Am 02.05.2013 18:27, schrieb Alan Mackenzie:
> > Hi, Gentoo.

> > I've just built libreoffice-3.6.6.2 and it took 2 hours 10 minutes on my
> > 2.6 GHz quad core Athlon 2.  It used to take about an hour.

> > Watching the build, it became evident that the first 50 minutes or so
> > was taken up by several hundred mkdir operations (more precisely, mkdir
> > -p <long path>).  Some of these mkdir's would take, perhaps, a minute to
> > execute.  All the while, top showed make taking 100% of one core.

> > There seems to be something suboptimal here.  Has anybody else seen
> > this, or does anybody have any ideas how to fix the problem?


> I'm seeing the same behavior here.
> libreoffice-3.6.6.2 on a mostly stable system.
> btrfs on lvm on dmcrypt on a hybrid disk.
> kernel 3.7.5 pf-sources.

> I don't think is has anything to do with the file system or hardware.
> make is eating 200M memory and uses 100% CPU, not mkdir. I guess the
> script is just buggy.

Thanks for the report.  I think the build script is buggy, too.  There is
something about our systems, possibly some use flag, which is driving
make crazy.

There doesn't appear to be any action in emerge which unpacks the build
files (or even the entire source) of a package for perusal.  This is a
shame.

At this point, I have to ask myself whether spending time trying to debug
it (or even to report the bug usefully) is better than simply tolerating
the long build time.  It doesn't seem like there'll be an easy solution.

> Regards,
> Florian Philipp

-- 
Alan Mackenzie (Nuremberg, Germany).

Reply via email to