From: Bastian Blank <bastian@waldi.eu.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
akpm@linux-foundation.org
Subject: Re: [PATCH] DocBook: don't compress mandocs
Date: Sat, 9 Aug 2008 08:42:10 +0200 [thread overview]
Message-ID: <20080809064210.GA22380@wavehammer.waldi.eu.org> (raw)
In-Reply-To: <20080808214504.GA8001@uranus.ravnborg.org>
[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]
On Fri, Aug 08, 2008 at 11:45:04PM +0200, Sam Ravnborg wrote:
> On Fri, Aug 08, 2008 at 09:47:24AM +0200, Bastian Blank wrote:
> > The mandocs target uses gzip to compress the resulting manpages. If this
> > target runs more than once (using make -jX) at the same time, gzip may
> > run more then once with the same set of files. It just bails out if it
> > is not able to find a file because a concurrent run already removed it.
> >
> > Fix this by removing the gzip call and only work with uncompressed
> > manpages.
>
> If it failded with gzip being run more than once before this
> patch does not solve the bug - it simply makes it harder to trigger.
No, the problem does not longer exists then. Or do you see a "*" to be
expanded on runtime?
> Anything that does not work with a make -j100 build is broken.
> And please understand that we have people that uses "make -j100" when building
> the kernel.
I only use -j64 ...
> These people most likely does not do "make mandocs" but we should still fix
> the bug and not try to paper it over in this way.
>
> So try to analyse why we in the first place will run gzip in parallele and solve that.
make mandocs
-> make a.9 b.9 c.9 d.9 ... z.9
-> xmlto a.xml; gzip *
-> xmlto b.xml; gzip *
-> xmlto c.xml; gzip *
-> xmlto d.xml; gzip *
...
-> xmlto z.xml; gzip *
Bastian
--
Captain's Log, star date 21:34.5...
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2008-08-09 6:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-08 7:47 Bastian Blank
2008-08-08 21:45 ` Sam Ravnborg
2008-08-09 6:42 ` Bastian Blank [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080809064210.GA22380@wavehammer.waldi.eu.org \
--to=bastian@waldi.eu.org \
--cc=akpm@linux-foundation.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®