Henrik Sundberg wrote:
> The most (only?) important problem is number three: "dmake hangs". I
> describe them in chronological order,
> 
> =====================
> Environment description:
> =====================
> I checked out the tower using: cvs
> -d:pserver:[EMAIL PROTECTED]:/cvs update -r
> OpenOffice_2_0_1 OpenOffice >hesu/cvs_update_log.txt
> 
> Nothing is changed except that I use version 1.143.2.3 of
> config_office/configure.in, due to problems with my DirectX
> installation.
> 
> I've tried to get my environment functional by using free alternatives
> to "Visual studio 2003" and therefor have to use these configure
> parameters:
> $ ./configure --with-cl-home="/cygdrive/c/Program/Microsoft Visual
> Studio .NET 2003/Vc7"
> --with-jdk-home="/cygdrive/c/Program/Java/j2sdk1.4.2_10"
> --with-use-shell=tcsh --with-midl-path="/cygdrive/c/Program/Microsoft
> Platform SDK/Bin"
> --with-csc-path="/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.1.4322"
> --with-frame-home="/cygdrive/c/Program/Microsoft.NET/SDK/v1.1"
> --with-ant-home="/cygdrive/c/Program/apache-ant-1.6.5"

Just to make sure. It were not the missing instmsia.exe and instmsiw.exe
that let the build fail, there are important libraries missing. configure
is not checking if these libraries are present and therefore it will not
complain. But you are welcome to find workarounds.

> (I just had to fetch instmsia.exe and instmsiw.exe from my computer at
> work. I think this is OK according to the MS license, since I'm using
> parts of the paid-for studio for private use at home.)
> 
> =====================
> Problem 1: mv: cannot stat
> =====================
> I get this error output from dmake:
> mv: cannot stat `./wntmsci10.pro/misc/build/ttf-bitstream-vera-1.10':
> No such file or directory
> mv: cannot stat `./wntmsci10.pro/misc/build/boost-1.30.2': No such
> file or directory
> mv: cannot stat `../wntmsci10.pro/misc/build/spirit-1.6.1': No such
> file or directory
> 
> What does it mean? Do I have to fix this?
You don't provide any context. Please always provide a few lines before the 
actual
error to get an idea what you mean. In general this:
<http://wiki.services.openoffice.org/wiki/Debug_Build_Problems>
gives some hints. (Not needed in this case)

I now what that is, tg_ext.mk is using a mv / rm combination to clean up.\
If there is nothing to delete it complains about this. This is just noise.

> =====================
> Problem 2: zip not found or empty
> =====================
> dmake then reports this in errror output:
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
>         zip warning: ../../wntmsci10.pro/bin/autotextuser.zip not found or 
> empty
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
>         zip warning:
> ../../../wntmsci10.pro/bin/autotextshare_en-US.zip not found or empty
>         zip warning: ../../../wntmsci10.pro/bin/autocorr.zip not found or 
> empty
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
>         zip warning: ../../wntmsci10.pro/bin/database.zip not found or empty
>         zip warning: ../../wntmsci10.pro/bin/databasebiblio.zip not
> found or empty
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
>         zip warning: ../../wntmsci10.pro/bin/gallroot.zip not found or empty
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
>         zip warning: ../../../wntmsci10.pro/bin/gallbullets.zip not
> found or empty
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
>         zip warning: ../../../wntmsci10.pro/bin/gallsound.zip not found or 
> empty
> zipdep -- version: 1.12
> Multi Platform Enabled Edition
> 
> What can I do to avaoid this?
Nothing! Or provide patches. This is just a warning from zip that -u (update)
is used even though there is nothing to update.

You can always look at:
<http://go-ooo.org/tinderbox/all_trees.express.html>
for successfull builds and compare the buildlogs.

> =====================
> Problem 3: dmake hangs
> =====================
> After the output above, dmake hangs. Without consuming more CPU (I
> waited an hour).
> The file containing standard output ends like this:
> ------------------------------
> Making: ../../../wntmsci10.pro/bin/gallsound.zip
> rebuilding zipfiles
> ------------------------------
> zip -u -j ../../../wntmsci10.pro/bin/gallsound.zip  *   -x  
> makefile.*  -x delzip -x "*CVS*" || if ("$status" != "12" && "$status"
> != "1") exit $status && echo "Nothing to update for zip"
>   adding: sg100.sdv (deflated 95%)
>   adding: sg100.thm (deflated 93%)
>   adding: sg30.sdv (deflated 95%)
>   adding: sg30.thm (deflated 88%)
> ------------------------------
> Making: ../../../wntmsci10.pro/misc/gallerygallerysound.dpz
> dmake  -f makefile.mk product="full" make_zip_deps=true  
> ../../../wntmsci10.pro/misc/gallsound.dpzz
> echo # > ../../../wntmsci10.pro/misc/gallsound.dpzz
> type 4
> zipdep.pl -u -j  ../../../wntmsci10.pro/bin/gallsound.zip "*" "-x"
> "makefile.*" -x "*CVS*" >> ../../../wntmsci10.pro/misc/gallsound.dpzz
> cat   ../../../wntmsci10.pro/misc/gallsound.dpzz /tmp/mk7GPA2h | grep
> -v "CVS" >> ../../../wntmsci10.pro/misc/gallerygallerysound.dpz
> echo zipdep_langs=en-US  >> 
> ../../../wntmsci10.pro/misc/gallerygallerysound.dpz
> -------------
> /cygdrive/c/OpenOffice/extras/source/gallery/gallery_system
> 
> ---* tg_merge.mk *---
> 
> I think the last line is due to my ctrl-c.
> I have downloaded a snapshot of cygwin1.dll (from 2005-12-27), due to
> issue i#51560#, but that did not solve the problem.
> 
> How can I get further?

Debug the problem. It doesn't help much to say that it works for me, it does ;) 
.
I currently use

$ uname -a
CYGWIN_NT-5.0 lisi 1.5.19s(0.149/4/2) 20051224 14:32:37 i686 unknown unknown 
Cygwin

but that doesn't mean that the 2005-12-27 snapshot is not working.

Can you find out what is hanging? (ps and task manager might be your friend.)

Does

$ ls /proc/*/fd

help to "cure" the hang? If yes, you are member of an elite club. ;)

Is the hang reproducable? You don't have to build everything, just:
$ cd extras ; rm -rf wntmsci10.pro ; build

Volker

-- 
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

Reply via email to