Issue 12942 - Parallel build fails in sysui - cde files
Summary: Parallel build fails in sysui - cde files
Status: CLOSED DUPLICATE of issue 35628
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: nospam4obr
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks: 9443
  Show dependency tree
 
Reported: 2003-04-02 08:36 UTC by chris
Modified: 2013-08-07 15:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description chris 2003-04-02 08:36:17 UTC
Parallel building sysui seems to cause some files to randomly drop out of the
resulting installation.  Here is a typical result.  MANIFEST.i386 is the
expected file set and MANIFEST.i386.new is the actual fileset produced:

--- debian/MANIFEST.i386        2003-03-28 15:39:05.000000000 +0100
+++ debian/MANIFEST.i386.new    2003-04-01 21:46:07.000000000 +0200
@@ -867,2 +866,0 @@
-usr/lib/openoffice/share/cde/types/fi.UTF-8/ms-word.dt
-usr/lib/openoffice/share/cde/types/fi.UTF-8/richtext.dt
@@ -874,2 +871,0 @@
-usr/lib/openoffice/share/cde/types/fi.UTF-8/vnd.stardivision.writer-global.dt
-usr/lib/openoffice/share/cde/types/fi.UTF-8/vnd.stardivision.writer.dt
@@ -880,4 +875,0 @@
-usr/lib/openoffice/share/cde/types/fi.UTF-8/vnd.sun.xml.writer.dt
-usr/lib/openoffice/share/cde/types/fi.UTF-8/vnd.sun.xml.writer.global.dt
-usr/lib/openoffice/share/cde/types/fi.UTF-8/writer.dt
-usr/lib/openoffice/share/cde/types/fi.UTF-8/writer.fp
@@ -894,2 +885,0 @@
-usr/lib/openoffice/share/cde/types/fi/ms-word.dt
-usr/lib/openoffice/share/cde/types/fi/richtext.dt
@@ -901,2 +890,0 @@
-usr/lib/openoffice/share/cde/types/fi/vnd.stardivision.writer-global.dt
-usr/lib/openoffice/share/cde/types/fi/vnd.stardivision.writer.dt
@@ -907,4 +894,0 @@
-usr/lib/openoffice/share/cde/types/fi/vnd.sun.xml.writer.dt
-usr/lib/openoffice/share/cde/types/fi/vnd.sun.xml.writer.global.dt
-usr/lib/openoffice/share/cde/types/fi/writer.dt
-usr/lib/openoffice/share/cde/types/fi/writer.fp

Rebuilding sysui without -Pn works around the problem.

This is OOO_STABLE_1.  I don't know yet if reproducable on 644.  I haven't
investigated what is causing this yet.
Comment 1 nospam4obr 2003-04-02 11:50:15 UTC
Hi Chris,

I am a bit confused about the MANIFEST file. Would you please explain
what exactly it contains ? AFAIK it is not part of the sysui build
process.

Thanks,
Oliver
Comment 2 chris 2003-04-02 12:19:41 UTC
Hi Oliver, the MANIFEST files are just a mechanism we use when
creating .debs to verify that all the expected files have been built
and copied to the correct locations.  The file MANIFEST.<arch>.new is
generated and compared to the original file just after we do the setup
-net step by doing a find | sort over the tree.  If the MANIFEST files
differ then there is a difference between the files that have been
installed by setup -net and the files that were expected.

I just showed the output of the comparison because it is an easy to
read view of the situation that I could pull out from my build logs. 
The files are also missing from sysui/unxlngi4.pro, but that isn't
detected or logged by our build process.
Comment 3 nospam4obr 2003-04-02 13:19:16 UTC
So in this case, the finish localized files are _not_ in the
installation set ? Sounds like a serious problem.
Comment 4 chris 2003-04-02 14:28:20 UTC
_only_ if I build with -Pn, where n>1.  And which of the files happens
to be missing is random.

It is no more serious than any of the other issues depended on by
Issue 9443.
Comment 5 hjs 2003-04-22 11:57:53 UTC
oliver told me that there is a restructuring of this module planned
for versions after OOo 1.1. this wolud also include taking care of
this problem. for now avoiding multiprocess builds in this module
seems to be the way to go. 
Comment 6 hjs 2003-04-23 12:39:55 UTC
assigned to module owner
Comment 7 nospam4obr 2003-04-23 13:07:53 UTC
My plan is to package all languages in utf-8 encoding only and to
convert into different encodings on the destination machine using iconv.

Unfortunatly this will take some time, but should solve the problem
with a single target producing multiple files.
Comment 8 nospam4obr 2003-05-19 10:01:20 UTC
Chris, Ause and I had a brief look at the makefiles, and we think the
problem occured because cde and gnome integration used overlapping
temporary files.

This means, the problem should already be solved for 1.1, because
gnome and kde integration are now build using a completly different
mechanism.

Did you still experience the same problem with 1.1 builds ?
Comment 9 Martin Hollmichel 2004-05-28 17:33:40 UTC
according to the announcement on releases
(http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=7503) this issue
will be re-targeted to OOo Later.
Comment 10 nospam4obr 2004-12-02 10:33:58 UTC
Since the sysui build process has changed significantly, I'll keep the newer
duplicate.

*** This issue has been marked as a duplicate of 35628 ***
Comment 11 nospam4obr 2004-12-17 08:00:49 UTC
Closing.