Issue 66940 - W32-bash fails in instsetoo_native
Summary: W32-bash fails in instsetoo_native
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: solenv (show other issues)
Version: current
Hardware: All Windows, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0.4
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 00:06 UTC by quetschke
Modified: 2006-09-05 17:47 UTC (History)
3 users (show)

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


Attachments
patch for solenv/bin/modules (2.62 KB, patch)
2006-07-03 19:24 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2006-07-03 00:06:16 UTC
I finally got ause58 to build to the end using bash, well at least into
instsetoo_native.

I now get this:

******************************************
... creating download installation set ...
******************************************

**************************************************
ERROR: ERROR: Cannot open file
\cygdrive\d\w1\tin_tcsh\instsetoo_native\wntmsci10.pro\OpenOffice\msi\nsis\en-US\English_pack.nsh
for reading
in function: read_file
**************************************************

**************************************************
ERROR: Saved logfile:
/cygdrive/d/w1/tin_tcsh/instsetoo_native/wntmsci10.pro/OpenOffice/msi/logging/en-US/log_SRC680__en-US.log
**************************************************

and this logfile says:

######################################################
Creating download installation sets:
######################################################

Created directory:
/cygdrive/d/w1/tin_tcsh/instsetoo_native/wntmsci10.pro/OpenOffice/msi/install/en-US_download_inprogress
create_directories: Using
/cygdrive/d/w1/tin_tcsh/instsetoo_native/util/../wntmsci10.pro/ for nsis !

Already existing directory, did not create:
/cygdrive/d/w1/tin_tcsh/instsetoo_native/util/../wntmsci10.pro/OpenOffice/

Already existing directory, did not create:
/cygdrive/d/w1/tin_tcsh/instsetoo_native/util/../wntmsci10.pro/OpenOffice/msi/

Created directory:
/cygdrive/d/w1/tin_tcsh/instsetoo_native/util/../wntmsci10.pro/OpenOffice/msi/nsis/

Created directory:
/cygdrive/d/w1/tin_tcsh/instsetoo_native/util/../wntmsci10.pro/OpenOffice/msi/nsis/en-US/
ERROR: Could not copy /cygdrive/c/PROGRA~1/NSIS/Contrib/Language
files/English.nlf to
\cygdrive\d\w1\tin_tcsh\instsetoo_native\wntmsci10.pro\OpenOffice\msi\nsis\en-US\English_pack.nlf
ERROR: Could not copy /cygdrive/c/PROGRA~1/NSIS/Contrib/Modern UI/Language
files/English.nsh to
\cygdrive\d\w1\tin_tcsh\instsetoo_native\wntmsci10.pro\OpenOffice\msi\nsis\en-US\English_pack.nsh

Moved directory from
/cygdrive/d/w1/tin_tcsh/instsetoo_native/wntmsci10.pro/OpenOffice/msi/install/en-US_download_inprogress
to
/cygdrive/d/w1/tin_tcsh/instsetoo_native/wntmsci10.pro/OpenOffice/msi/install/en-US_download_witherror

***************************************************************
ERROR: Cannot open file
\cygdrive\d\w1\tin_tcsh\instsetoo_native\wntmsci10.pro\OpenOffice\msi\nsis\en-US\English_pack.nsh
for reading
in function: read_file
*************************************************************** 

It looks like we are trying to copy something into a cygwin path like this:

\cygdrive\d\w1\tin_tcsh\instsetoo_native\wntmsci10.pro\.....

Note that \ is used and not / and this might be the problem.

@is: Can you give me a hint where this copying is done? It would help me fixing
this.
Comment 1 hjs 2006-07-03 18:15:39 UTC
in solenv/bin/modules these files explicit check for tcsh to determin the
delimiter processing for windows. 

installer/servicesfile.pm
installer/globals.pm
installer/windows/msiglobal.pm
Comment 2 quetschke 2006-07-03 19:24:36 UTC
Created attachment 37472 [details]
patch for solenv/bin/modules
Comment 3 quetschke 2006-07-03 19:25:50 UTC
That was too obvious ;) Thanks!

I'll commit the previous patch to vq33.
Comment 4 quetschke 2006-07-03 19:45:11 UTC
Committed.
Comment 5 hjs 2006-07-07 11:34:20 UTC
.
Comment 6 hjs 2006-09-05 17:47:24 UTC
.