Issue 9819 - Parallel build fails in desktop/source/pkgchk
Summary: Parallel build fails in desktop/source/pkgchk
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 643C
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: rt
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks: 9443
  Show dependency tree
 
Reported: 2002-12-04 13:11 UTC by chris
Modified: 2002-12-11 12:28 UTC (History)
1 user (show)

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


Attachments
Patch against OO643C desktop/source/pkgchk/makefile.mk (432 bytes, patch)
2002-12-04 13:13 UTC, chris
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description chris 2002-12-04 13:11:56 UTC
Parallel build fails because pkgchk depends on the shared library.

chris@shawn:/usr/local/src/ooffice/oo_cvs/desktop/source/pkgchk$ dmake -P2
ccache g++-3.2 -fmessage-length=0 -c -I. -I. -I../inc -I../../inc
-I../../unx/inc -I../../unxlngi4.pro/inc -I.
-I/usr/local/src/ooffice/oo_cvs/solver/643/unxlngi4.pro/inc/stl
-I/usr/local/src/ooffice/oo_cvs/solver/643/unxlngi4.pro/inc/external
-I/usr/local/src/ooffice/oo_cvs/solver/643/unxlngi4.pro/inc
-I/usr/local/src/ooffice/oo_cvs/solenv/unxlngi4/inc
-I/usr/local/src/ooffice/oo_cvs/solenv/inc -I/usr/local/src/ooffice/oo_cvs/res
-I/usr/local/src/ooffice/oo_cvs/solver/643/unxlngi4.pro/inc/stl
-I/usr/local/src/ooffice/oo_cvs/solenv/inc/Xp31 -I/usr/lib/j2sdk1.3/include
-I/usr/lib/j2sdk1.3/include/linux
-I/usr/lib/j2sdk1.3/include/native_threads/include -I/usr/X11R6/include     -I.
-I../../res -I. -O1   -pipe -mcpu=pentiumpro -fno-for-scope -fpermissive
-fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC300
-DINTEL -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT
-DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3 -DSUPD=643 -DBUILD=836------------------------------
2 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_ON -DCUI
-DSOLAR_JAVA -DSRX643  -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -w -o
../../unxlngi4.pro/slo/pkgchk_dflt_description.o
../../unxlngi4.pro/misc/pkgchk_dflt_description.cxx
if ( -e ../../unxlngi4.pro/slo/pkgchk_dflt_description.o) touch
../../unxlngi4.pro/slo/pkgchk_dflt_description.obj
cat ../../unxlngi4.pro/misc/pkgchk.cmd
------------------------------
Making: ../../unxlngi4.pro/bin/pkgchk
unx
Making: ../../unxlngi4.pro/slo/pkgchk_dflt_description.obj
ccache gcc-3.2 -Wl,-export-dynamic -Wl,--noinhibit-exec -L../../unxlngi4.pro/lib
-L../lib -L/usr/local/src/ooffice/oo_cvs/solenv/unxlngi4/lib
-L/usr/local/src/ooffice/oo_cvs/solver/643/unxlngi4.pro/lib
-L/usr/local/src/ooffice/oo_cvs/solenv/unxlngi4/lib -L/usr/lib/j2sdk1.3/lib
-L/usr/lib/j2sdk1.3/jre/lib/i386 -L/usr/lib/j2sdk1.3/jre/lib/i386/client
-L/usr/lib/j2sdk1.3/jre/lib/i386/native_threads -L/usr/X11R6/lib -o
../../unxlngi4.pro/bin/pkgchk ../../unxlngi4.pro/obj/pkgchk_app.o \
-lsal -lcppu -lpkgchk643li -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++
/usr/bin/ld: cannot find -lpkgchk643li
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../../unxlngi4.pro/bin/pkgchk'
Comment 1 chris 2002-12-04 13:13:30 UTC
Created attachment 3899 [details]
Patch against OO643C desktop/source/pkgchk/makefile.mk
Comment 2 rt 2002-12-10 16:22:57 UTC
Ause asked me to take care of this one.
- reassigned to me
Comment 3 rt 2002-12-10 16:30:58 UTC
Patch applied to OO643 branch and joined to HEAD and SRX644.
Comment 4 rt 2002-12-10 16:32:29 UTC
Chris, would you please verify and close?

Rüdiger
Comment 5 rt 2002-12-10 16:34:51 UTC
Re-opening to be able to send it back to Chris for Verify&Close.
Comment 6 rt 2002-12-10 16:35:55 UTC
Reassigning
Comment 7 chris 2002-12-10 17:04:21 UTC
Thanks a lot Rüdiger for applying the patch to the three branches.  I
reported against 643C since that is where I was concentrating on, but
OOO_STABLE_1 is essentially the same and therefore would benefit from
the patch too.  Could you apply to the OOO_STABLE_1 branch too please?

For the other branches I'm happy to verify that the patch was
committed correctly.

Thanks,
Chris
Comment 8 rt 2002-12-10 17:36:05 UTC
OK, it's on OOO_STABLE_1 now, too.

Rüdiger
Comment 9 rt 2002-12-11 11:51:37 UTC
Setting to fixed.
Comment 10 rt 2002-12-11 11:53:06 UTC
Chris, did I understand you right that you already verified the fix?
Comment 11 chris 2002-12-11 12:28:48 UTC
Many thanks Rüdiger for your quick response.  I've now verified
visually on all branches, and tested on OO643C.  Closing issue.

Chris