Parallel build fails
--------------------

                 Key: XALANC-696
                 URL: https://issues.apache.org/jira/browse/XALANC-696
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: CurrentCVS
         Environment: Gentoo Linux, GNU Make 3.81
            Reporter: Martin von Gagern
            Priority: Minor


In xalanc/Makefile.in, the "lib" target depends on "locale" and "compile", 
among others. "compile" in turn depends on $(ALL_OBJECTS). Some objects in 
$(ALL_OBJECTS) do in fact require the LocalMsgIndex.hpp installed by the locale 
target. This dependency isn't expressed in the Makefile, though. In a serial 
build, "locale" will be built before "compile", and all is well. In a parallel 
build, however, i.e. passing "-j5" or similar to make, it is legal for make to 
build "locale" and "$(ALL_OBJECTS)" at the same time, causing the build to fail 
with an error message like this:

In file included from .../xalanc/PlatformSupport/ExecutionContext.hpp:32,
                 from .../xalanc/PlatformSupport/ExecutionContext.cpp:19:
.../xalanc/PlatformSupport/ProblemListenerBase.hpp:28:29: error: 
LocalMsgIndex.hpp: No such file or directory

Originally reported on Gentoo as http://bugs.gentoo.org/296749

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to