Re: [dev] windows xp, cygwin, OOo 2.0.1 dmake gives: mv: cannot stat and hangs after a while

2006-01-05 Thread Volker Quetschke

Hi Henrik,

I didn't read this before answering in the issue. Sorry for this.


I just started a build with the 29.12. snapshot.


Just to confirm, with the 29.12. snapshot I also get lots of hangs and
strange behaviour. Unfortunately I'm leaving for a week in a few hours.



I have the same problems while using the 29.12. snapshot.
I've added more to issue 51560.



If someone could prepare a small testcase to reproduce the hang and post
it to the cygwin mailing list (cygwin at cygwin dot com) that would be
really fantastic.


I haven't been able to do that (I dont consider try to compile OOo
as a small testcase...). I know too little about dmake and tcsh and
bash and sed.
I would like to test what's happening when giving the same sed command
as dmake directly from the tcsh prompt.

That would be an excellent catch.


I also get random coredumps running ./configure.

If you can find what coredumps in configure, that would also
be nice. Configure is a script. If you can strip it down to the few
lines that throw the core for you that would also be a great testcase.
It's good enough that once in while a core is thrown with this reduced
sript.

I'll be back next week and can see what I find next week.

Thanks for trying ;)

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


Re: [dev] windows xp, cygwin, OOo 2.0.1 dmake gives: mv: cannot stat and hangs after a while

2005-12-30 Thread Volker Quetschke
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%)
 

Re: [dev] windows xp, cygwin, OOo 2.0.1 dmake gives: mv: cannot stat and hangs after a while

2005-12-30 Thread Henrik Sundberg
2005/12/31, Volker Quetschke [EMAIL PROTECTED]:
 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.

configure reported this until i found some instmsia.exe and
instmsiw.exe to use (and exitied):
checking for instmsia.exe/instmsiw.exe... configure: error:
instmsia.exe and/or instmsiw.exe are/is missing in the default
location.
These programs are part of the .NET installation and should be found in a
directory similar to:
c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\Deployment\MsiRedist\
As the automatic detection fails please copy the files to external/msi/.

Are there more libraries that I need from a full studio installation?
That are not checked by configure?

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

I would really like to look there, I just don't understand where to
click to see the logs. It is very good to know what is considered
normal.


  =
  Problem 3: dmake hangs
  =
  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

I was trying to locate such command.

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

I believe it is sed.


 Does

 $ ls /proc/*/fd

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

Yes! And ps shows sed every time dmake hangs (and not otherwise), is
there a possibility to use another implementation of sed? Which?
Is the problem inside cygwin1.dll, not in sed?

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

I don't think it stops on exactly the same place every time. But dmake
does not run many seconds between the stops now (cured by ls
/proc/*/fd every time).

I don't know much about bash/tcsh, can you tell me how to write and
run a loop like (ada-style):
loop
   ls /proc/*/fd;
   delay 5.0;
end loop;

Is ctrl-c placing commands in the background, or killing them?
If just placing them in the background - how do I kill a running command?

Once again: Thanks a lot! I get further and further.
/$

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] windows xp, cygwin, OOo 2.0.1 dmake gives: mv: cannot stat and hangs after a while

2005-12-30 Thread Volker Quetschke
Hi!

Does

$ ls /proc/*/fd

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

Yes! And ps shows sed every time dmake hangs (and not otherwise), is
there a possibility to use another implementation of sed? Which?
Is the problem inside cygwin1.dll, not in sed?
 
 Most propably it's cygwin. Please try the 24.12. snapshot. (Reboot
 even if it's not needed.)
 
 I just started a build with the 29.12. snapshot.
Just to confirm, with the 29.12. snapshot I also get lots of hangs and
strange behaviour. Unfortunately I'm leaving for a week in a few hours.

If someone could prepare a small testcase to reproduce the hang and post
it to the cygwin mailing list (cygwin at cygwin dot com) that would be
really fantastic.

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