public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5183] New: broken build with -j>1
@ 2007-10-15 19:03 swagiaal at redhat dot com
  2007-10-16 12:55 ` [Bug general/5183] " pmachata at redhat dot com
  2008-06-11 20:09 ` cagney at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: swagiaal at redhat dot com @ 2007-10-15 19:03 UTC (permalink / raw)
  To: frysk-bugzilla

I get the following error:

Applying fixes ...
+ sed -f frysk/expr/antlr.tmp/CExprEvaluator.sed
frysk/expr/antlr.tmp/CExprEvaluator.gen
sed: file frysk/expr/antlr.tmp/CExprEvaluator.sed line 48: unterminated `s' command
make[1]: *** [frysk/expr/Completer.antlered] Error 1
make[1]: Leaving directory `/notnfs/swagiaal/frysks/frysk.patches/frysk-core'
make: *** [all-recursive] Error 1


If i type make it goes away, but make -j3 consistently fails

-- 
           Summary: broken build with -j>1
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: swagiaal at redhat dot com
OtherBugsDependingO 3620
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=5183

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/5183] broken build with -j>1
  2007-10-15 19:03 [Bug general/5183] New: broken build with -j>1 swagiaal at redhat dot com
@ 2007-10-16 12:55 ` pmachata at redhat dot com
  2008-06-11 20:09 ` cagney at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pmachata at redhat dot com @ 2007-10-16 12:55 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From pmachata at redhat dot com  2007-10-16 12:54 -------
The problem seems to be with two .g.antlered implicit rules being run in
parallel, which step on each other's .antlr-fixes temporary files.  In this
particular case, this is caused by missing rule:
frysk/expr/CExprEvaluator.antlered: frysk/expr/Completer.antlered

Makefile rules are generated from importVocab directives in .g files by way of
Makefile.gen.sh, so frysk really tries to give make proper parallelization
hints.  So the real problem is with temporary file handling.

I believe what happens is that antlr-warnings.awk produces  e.g.
CExprEvaluator.antlr-fixes, when suddently the other make invocation removes it
via 'rm -f $$d/*.antlr-fixes'.  So the file being just built is removed, and
misses its beginning.  Later on, there's 'for fix in $$d/*.antlr-fixes', which
picks both files, the "healthy" one as well as the truncated one, and tries to
use them as a sed source.  For that reason both parallel make branches fail.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5183

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/5183] broken build with -j>1
  2007-10-15 19:03 [Bug general/5183] New: broken build with -j>1 swagiaal at redhat dot com
  2007-10-16 12:55 ` [Bug general/5183] " pmachata at redhat dot com
@ 2008-06-11 20:09 ` cagney at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2008-06-11 20:09 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|cagney at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=5183

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-11 20:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-15 19:03 [Bug general/5183] New: broken build with -j>1 swagiaal at redhat dot com
2007-10-16 12:55 ` [Bug general/5183] " pmachata at redhat dot com
2008-06-11 20:09 ` cagney at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).