Issue 16206 - Project shell not buildable with MAXPROCESS > 1
Summary: Project shell not buildable with MAXPROCESS > 1
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: PC Linux, all
: P4 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: hjs
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks: 9443
  Show dependency tree
 
Reported: 2003-06-29 09:14 UTC by pavel
Modified: 2004-01-06 12:50 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 pavel 2003-06-29 09:14:43 UTC
Hi,

with MAXPROCESS=4 I get this:

/mnt/hdc2/pavel//BuildDir/ccache /opt/experimental/bin/gcc -z combreloc -z defs
-Wl,-rpath,'$ORIGIN' -shared -Wl,-O1 -Wl,--version-script
../../unxlngi4.pro/misc/exports_cmdmail.map -L../../unxlngi4.pro/lib -L../lib
-L/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/solenv/unxlngi4/lib
-L/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/solver/645/unxlngi4.pro/lib
-L/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/solenv/unxlngi4/lib -L/usr/lib/java/lib
-L/usr/lib/java/jre/lib/i386 -L/usr/lib/java/jre/lib/i386/client
-L/usr/lib/java/jre/lib/i386/native_threads -L/usr/X11R6/lib
../../unxlngi4.pro/slo/cmdmailsuppl.o ../../unxlngi4.pro/slo/cmdmailmsg.o
../../unxlngi4.pro/slo/cmdmailentry.o ../../unxlngi4.pro/slo/cmdmail_version.o
../../unxlngi4.pro/slo/cmdmail_description.o -o
../../unxlngi4.pro/lib/libcmdmail.so -lcppu -lcppuhelpergcc3 -lsal -ldl
-lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++
Checking DLL ../../unxlngi4.pro/lib/check_libcmdmail.so ...: ok
-rwxr-xr-x    1 pavel    users       81759 Jun 29 12:12
../../unxlngi4.pro/lib/libcmdmail.so
/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/shell/source/unix/exec
dmake:  /mnt/hdc2/pavel/BuildDir/ooo_11rc_src/solenv/inc/target.mk:  line 2376:
 Error -- Include file ../../../unxlngi4.pro/misc/s_shellexec.dpcc, not found
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/shell/source/unix/exec
pavel@oo:~/BuildDir/ooo_11rc_src/shell> 

With MAXPROCESS=1 it is OK. Seems to be problem with incomplete dependencies.
Comment 1 christof.pintaske 2003-06-30 10:23:12 UTC
cp->ause: I actually have no idea about this one. Please have a look
at the makefile and enlighten me. 
Comment 2 hjs 2003-06-30 15:31:13 UTC
try to change the line "TARGET=sysshell" to "TARGET=exec" as
"sysshell" is already used in the directory "sysshell" and thus not uniq.
Comment 3 hjs 2003-06-30 16:24:39 UTC
you'll also need to change this derived value to
"COMP1TYPELIST=syssh".
couldn't do a real check earlier. please confirm that this fixes your
issue and i'll commit to "ooo11rc".
Comment 4 pavel 2003-07-01 09:24:04 UTC
After applying

--- source/unix/sysshell/makefile.mk~   Tue Jul  1 12:11:18 2003
+++ source/unix/sysshell/makefile.mk    Tue Jul  1 12:11:18 2003
@@ -63,7 +63,7 @@
 PRJ=..$/..$/..
 
 PRJNAME=SHELL
-TARGET=sysshell
+TARGET=exec
 LIBTARGET=NO
 

I did a series of tests comprising in 100 compilations of this project
with MAXPROCESS=4. The log of each build was saved to log.$i.

The correct build results in 27220 bytes.

pavel@oo:~/BuildDir/ooo_11rc_src/shell> ls -al log*|grep -v 27220
-rw-r--r--    1 pavel    users         436 Jul  1 12:12 log.15
-rw-r--r--    1 pavel    users       17699 Jul  1 12:13 log.17
-rw-r--r--    1 pavel    users         436 Jul  1 12:13 log.18
-rw-r--r--    1 pavel    users         436 Jul  1 12:14 log.29
-rw-r--r--    1 pavel    users       17699 Jul  1 12:15 log.41
-rw-r--r--    1 pavel    users         436 Jul  1 12:16 log.51
-rw-r--r--    1 pavel    users       17699 Jul  1 12:18 log.67
-rw-r--r--    1 pavel    users         436 Jul  1 12:18 log.74
-rw-r--r--    1 pavel    users       17699 Jul  1 12:19 log.76
-rw-r--r--    1 pavel    users         436 Jul  1 12:19 log.77
-rw-r--r--    1 pavel    users       17699 Jul  1 12:19 log.84
-rw-r--r--    1 pavel    users         436 Jul  1 12:21 log.98

So there seems to be two problems at least.

Shorter log contains only this:

build -- version: 1.83


=============
Building project shell
=============
/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/shell/source/cmdmail
mkout -- version: 1.3
dmake:  /mnt/hdc2/pavel/BuildDir/ooo_11rc_src/solenv/inc/target.mk:  line
2376: Error -- Include file
../../unxlngi4.pro/misc/s_cmdmailentry.dpcc, not
found
---* TG_SLO.MK *---
ERROR: Error 65280 occurred while making
/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/shell/source/cmdmail


Longer logs end with:

Checking DLL ../../../unxlngi4.pro/lib/check_libsyssh.so ...-rwxr-xr-x
   1
/pavel users 53371 Jul 1 12:19 ../../../unxlngi4.pro/lib/libsyssh.so
/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/shell/source/proxysettings
dmake:  /mnt/hdc2/pavel/BuildDir/ooo_11rc_src/solenv/inc/target.mk:  line
2376: Error -- Include file
../../unxlngi4.pro/misc/s_prxsettingsentry.dpcc,
not found
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/mnt/hdc2/pavel/BuildDir/ooo_11rc_src/shell/source/proxysettings
Comment 5 hjs 2003-07-03 19:01:46 UTC
this seems to me quite unrelated to the first problen. may rather be
the same problem as #i16204# and should be handled there.
Comment 6 hjs 2003-07-09 18:52:50 UTC
giving it a target
Comment 7 hjs 2003-08-25 14:10:37 UTC
closing this one. *.dpcc problem already targeted in #i16752#.
Comment 8 hjs 2004-01-06 12:50:33 UTC
.