Issue 27657 - ConvertDSW needs GUI running
Summary: ConvertDSW needs GUI running
Status: CLOSED DUPLICATE of issue 30561
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.1
Hardware: All Windows XP
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: oliver.bolte
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-09 19:52 UTC by josef.cacek
Modified: 2004-09-02 09:46 UTC (History)
6 users (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 josef.cacek 2004-04-09 19:52:13 UTC
Compiling OOo 1.1.1 sources on Win 2003 server through ssh-connection.

Czech language project is migrating from VC6 to VC.NET 2002 now.
Our connection to compile-server is through SSH (Cygwin server). Problem is that
ConvertDSW utility starts .NET Environment application window (and also its
small form). It crashs because ssh-service cannot display any application window.
Comment 1 pavel 2004-04-09 19:58:32 UTC
Confirmed.
Comment 2 quetschke 2004-04-10 15:03:18 UTC
Are you by any chance trying to login with RSA based authentication
(private/public key) ?

Then: Don't do that. When you do not login with a valid Windows user name and
his password, you get in trouble. See this thread:
<http://www.cygwin.com/ml/cygwin/2003-09/msg01179.html>

When you know which rights are missing to a user, and yo're not able to
change them with your windows GUI, try editights (cygwin prog), see
/usr/share/doc/Cygwin/editrights-1.01-1.README for details.

If everything fails post the error to cygwin@cygwin.com

I don't have access to a 2003, but I build my W32-tcsh builds on a Windows
2000 to which I am connected with ssh. (.NET 2000 build with ConvertDSW)

And even if it works, it is ugly, because for two times during a build the .NET
GUI pops up and when you manage to activate a different window at that time
your build is stuck.

It is unacceptable, but I didn't invent it. I'm cc'ing Oliver, he did it ;)

In issue 14323 I describe what to do to create the .NET project files and
to create modified patch files for berkeleydb and ?icu?.

And secondly Micheal Meeks has created dmake makefiles for berkeleydb, see
issue 27400, so the problem is half solved.
Comment 3 quetschke 2004-04-11 03:22:35 UTC
I cannot take action in this issue, OOo should build without GUI.

Reassigned to owner of selected subcomponent.
Comment 4 pavel 2004-04-11 11:39:50 UTC
vq: we are both using the same machine with kwart. At least I use RSA key but
even when I remove authorized_keys and login via password, it is still the same.

This is really unacceptable solution for now.

Oliver, we need wdevenv only to convert files, right? Can we pre-convert them
and only include converted version in the tree? Can we completely get rid of them?

Does Michael's patch remove the need for wdevenv completely?

Sorry to ask so many questions, but I do not know MS Win environment that much.
kwart should be able to test everything though ;-)
Comment 5 pavel 2004-04-11 11:46:22 UTC
Setting prio to P2, because:

- localization builds can't use VC6 because of #i21646#
- .NET 2002 builds are not completely usable even though we would like
localization teams to use them (because of #i21646#).

Set target to 1.1.2 because we want to have localized builds.

Czech team is ready to help and test proposed solutions. We are not able to
provide any localized builds right now (we are doing builds in about 10
languages for other teams).
Comment 6 pavel 2004-04-11 14:51:38 UTC
My build stoped in idlc on makedep.exe. GUI message popped up:

http://tmp.janik.cz/OpenOffice.org/27657/makedepend.png

The same messages pops up when simply running makedep.exe.
Comment 7 pavel 2004-04-11 15:03:47 UTC
For now, I'll use

#MAKEDEPEND*=$(WRAPCMD) makedepend
MAKEDEPEND*=true

in unitools.mk
Comment 8 quetschke 2004-04-11 15:25:03 UTC
pavel, please check your path, see issue 26833. (Just a guess, for me
it just miscompiles when I use the wrong makedepend, no popup)
Comment 9 pavel 2004-04-11 15:56:14 UTC
vq: no, my makedepend.exe tells me:

pavel@drogo:~/BuildDir/ooo_cws_srx645_ooo112fix1_src> /usr/X11R6/bin/makedepend.exe 
/usr/X11R6/bin/makedepend: error:  [mM]akefile is not present
pavel@drogo:~/BuildDir/ooo_cws_srx645_ooo112fix1_src> 

The right one is used.

On the other hand, another tool does the same as makedepend.exe: ldump4.exe.
When run, it will produce GUI window with "The application failed to initialize
properly (0xc0000022). Click ...".

Something is wrong ;-)
Comment 10 pavel 2004-04-11 17:29:44 UTC
Hmm, thix c0000022 bug is because msvcp70.dll and msvcr70.dll are delivered as
non-executable to the solver even though they are marked as executable in the
source directory and even in external/msvc*70.

unicows.dll is executable though 8)

Wonderful ;-)
Comment 11 quetschke 2004-04-12 03:16:41 UTC
Sounds like a rights issue with different windows user settings. Try getfacl .
Comment 12 oliver.bolte 2004-04-13 11:49:43 UTC
Hi,
actually berkeleydb, icu and python needs wdevenv/ConvertDSW.
I see several problems.
Michael's patch may work for berkeleydb (I haven't tested it). But it always has
to be made again if we change to another version. If we include the converted
*.sln, *.vcproj files for .NET 2002 into the tree it won't work with .NET 2003
because these files are incompatible with .NET 2003 and these patches aren't
really small.On OOo 1.1.x codeline we have icu version 2.2, on OOo 2.0 we have
version 2.6 .
The conversion of *.dsw/*.dsp into .sln/*.vcproj files is done by the IDE of the
.NET compiler which needs a display. I can't change this. 

*** This issue has been marked as a duplicate of 14323 ***
Comment 13 pavel 2004-04-13 12:03:39 UTC
This is not duplicate.

The summary is "ConvertDSW needs GUI". This is not solved.
Comment 14 Martin Hollmichel 2004-04-13 13:05:29 UTC
set target to 1.1.3, as there is no short term solution in sight, we should
discuss this problem in some more detail at dev@tools in the meantime.
Comment 15 utomo99 2004-04-21 10:44:00 UTC
maybe related
http://qa.openoffice.org/issues/show_bug.cgi?id=24426
I also got 0xc0000022 problems, on module officecfg on Win xp sp1, VC .net 
2002. 
but did not get the problems on win 2000. 

Comment 16 quetschke 2004-05-25 21:03:51 UTC
vq->pjanik:
Hi Pavel,

somehow I never realised the meaning of this:

> Hmm, thix c0000022 bug is because msvcp70.dll and msvcr70.dll are delivered as
> non-executable to the solver even though they are marked as executable in the
> source directory and even in external/msvc*70.

Can you please double check that they are really executable in external/msvcp70?

What does ls -l *.dll report in external/msvcp70 and solver/.... for these dlls?

If this really is a deliver problem, can you please open a new issue?
Comment 17 pavel 2004-06-01 19:40:54 UTC
vq: The error message shown at

http://tmp.janik.cz/OpenOffice.org/27657/makedepend.png

was caused by bad access rights, but in fact I do not know what was the cause of
it. As soon as I see it again, I'm going to file issue for it.

But I'm now building without problems.
Comment 18 pavel 2004-08-17 11:57:39 UTC
no discussion taken places thus retarget to 1.1.4.

obo: shouldn't we retarget to 2.0 instead?
Comment 19 oliver.bolte 2004-08-31 16:48:07 UTC
Hi Pavel,

I can't see any chance to fix this on 1.1.x codeline.
On SRC680 m50 it's already solved for icu and berkeleydb.
What's about to retarget it to OOo 2.0 and close this task?

Oliver.
Comment 20 pavel 2004-09-01 06:03:08 UTC
No problem for me.

Or marking this is duplicate of the issue which was used to fix this?
Comment 21 oliver.bolte 2004-09-02 09:40:25 UTC
set target to OOo 2.0
Comment 22 oliver.bolte 2004-09-02 09:43:40 UTC
duplicate to 30561 and 30978
icu and berkeleydb aren't using ConvertDSW anymore.

*** This issue has been marked as a duplicate of 30561 ***
Comment 23 oliver.bolte 2004-09-02 09:46:18 UTC
.