Re: having trouble building udkapi module on master today

2012-05-17 Thread Noel Grandin



On 2012-05-17 00:01, Michael Stahl wrote:
so anything more than 1 \ following "X:" is considered invalid. 
presumably the configure.in should set this up better? i've tried to 
fix it, please try again now..


Awesome, thanks, working much better :-)

Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: having trouble building udkapi module on master today

2012-05-16 Thread Michael Stahl
On 16/05/12 15:14, Noel Grandin wrote:
> 
> 
> On 2012-05-16 14:51, Matúš Kukan wrote:
>> Only to change config_host.mk:
>> - export WORKDIR=D://workdir/wntmsci12.pro
>> + export WORKDIR=D:/workdir/wntmsci12.pro
>> I mean to replace // ->  /
>> I have no idea if that can help but I can't see any other difference.
>>
> 
> Cool, that works. Now how do we get configure to generate the correct 
> thing in the first place?

ah yes, i tried to grep through the windows file URL code, and it does
this in /sal/osl/w32/file_url.cxx:

> if ( 1 == _tcsspn( lpComponent, CHARSET_SEPARATOR ) )
> lpComponent++;
> else if ( *lpComponent )
> fValid = FALSE;

so anything more than 1 \ following "X:" is considered invalid.

presumably the configure.in should set this up better?

i've tried to fix it, please try again now...

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: having trouble building udkapi module on master today

2012-05-16 Thread Matúš Kukan
On 16 May 2012 15:14, Noel Grandin  wrote:
>
>
> On 2012-05-16 14:51, Matúš Kukan wrote:
>>
>> Only to change config_host.mk:
>> - export WORKDIR=D://workdir/wntmsci12.pro
>> + export WORKDIR=D:/workdir/wntmsci12.pro
>> I mean to replace // ->  /
>> I have no idea if that can help but I can't see any other difference.
>>
>
> Cool, that works. Now how do we get configure to generate the correct thing
> in the first place?

This may or may not be a good idea:

--- a/configure.in
+++ b/configure.in
@@ -47,6 +47,7 @@ PathFormat()
 fi
 fi
 fi
+formatted_path=`echo $formatted_path | sed 's/\/$//'`
 }

 echo ""

I can't tell if we always want that.

Best,
Matus
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: having trouble building udkapi module on master today

2012-05-16 Thread Noel Grandin



On 2012-05-16 14:51, Matúš Kukan wrote:

Only to change config_host.mk:
- export WORKDIR=D://workdir/wntmsci12.pro
+ export WORKDIR=D:/workdir/wntmsci12.pro
I mean to replace // ->  /
I have no idea if that can help but I can't see any other difference.



Cool, that works. Now how do we get configure to generate the correct 
thing in the first place?


Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: having trouble building udkapi module on master today

2012-05-16 Thread Matúš Kukan
On 16 May 2012 14:39, Noel Grandin  wrote:
> Hi
>
> So, as it turns out I was wrong, and this is in fact related to the
> --with-solver-and-workdir-root=/cygdrive/D option.
> The log below contains more info, and I've also dumped the contents of the
> RESPONSEFILE.
> It looks like the code is somehow trying to write to the incorrect location,
> but I can't see anything that looks wrong.
> Any ideas?

Only to change config_host.mk:
- export WORKDIR=D://workdir/wntmsci12.pro
+ export WORKDIR=D:/workdir/wntmsci12.pro
I mean to replace // -> /
I have no idea if that can help but I can't see any other difference.

HTH,
Matus
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: having trouble building udkapi module on master today

2012-05-16 Thread Noel Grandin

Hi

So, as it turns out I was wrong, and this is in fact related to the 
--with-solver-and-workdir-root=/cygdrive/D option.
The log below contains more info, and I've also dumped the contents of 
the RESPONSEFILE.
It looks like the code is somehow trying to write to the incorrect 
location, but I can't see anything that looks wrong.

Any ideas?

Thanks, Noel Grandin

[ build IDL ] udkapi/com/sun/star/idl
mkdir -p D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/ 
&& RESPONSEFILE=C:/cygwin/tmp/gbuild.3gBKfW && 
PATH="${PATH}:/cygdrive/d/solver/wntmsci12.pro/bin" 
SOLARBINDIR=D://solver/wntmsci12.pro/bin 
D://solver/wntmsci12.pro/bin/idlc.exe @${RESPONSEFILE} > /dev/null && rm 
-f ${RESPONSEFILE} && touch 
D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/idl.done
D:\solver\wntmsci12.pro\bin\idlc.exe: could not write dep file 
'/udk-modules.d'
D:\solver\wntmsci12.pro\bin\idlc.exe: detected 1 
errorsD:\solver\wntmsci12.pro\bin\idlc.exe Version 1.1

$ more /tmp/gbuild.3gBKfW
  -IC:/LibreOffice/libo/udkapi -ID://solver/wntmsci12.pro/idl  -M 
D://workdir/wntmsci12.pro/Dep/UnoApiPartTarget/udkapi/com/sun/star/ -O 
D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/ -verbose 
-C C:/LibreOffice/libo/udkapi/com/sun/star/udk-modules.idl



On 2012-05-15 16:12, Noel Grandin wrote:

Hi

Started getting errors sometime yesterday - any ideas?
I don't see any commits in this area recently.
(This may be related to the fact that I've got 
--with-solver-and-workdir-root=/cygdrive/D in my configure settings)


Thanks, Noel Grandin


make -r -f /cygdrive/C/LibreOffice/libo/Makefile.top udkapi
make[1]: Entering directory `/cygdrive/C/LibreOffice/libo'
cd udkapi && make -j 15 -rs gb_PARTIALBUILD=T
[ build IDL ] udkapi/com/sun/star/idl
make[2]: Entering directory `/cygdrive/C/LibreOffice/libo/udkapi'
[ build IDL ] udkapi/com/sun/star/beans/idl
[ build IDL ] udkapi/com/sun/star/bridge/idl
[ build IDL ] udkapi/com/sun/star/bridge/oleautomation/idl
D:\solver\wntmsci12.pro\bin\idlc.exe: could not write dep file 
'/udk-modules.d'
D:\solver\wntmsci12.pro\bin\idlc.exe: detected 1 
errorsD:\solver\wntmsci12.pro\bin\idlc.exe Version 1.1


make[2]: *** 
[D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/idl.done] 
Error 1

make[2]: *** Waiting for unfinished jobs
D:\solver\wntmsci12.pro\bin\idlc.exe: could not write dep file 
'/Ambiguous.d'
D:\solver\wntmsci12.pro\bin\idlc.exe: detected 1 
errorsD:\solver\wntmsci12.pro\bin\idlc.exe Version 1.1


make[2]: *** 
[D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/beans/idl.done] 
Error 1
D:\solver\wntmsci12.pro\bin\idlc.exe: could not write dep file 
'/Bridge.d'
D:\solver\wntmsci12.pro\bin\idlc.exe: detected 1 
errorsD:\solver\wntmsci12.pro\bin\idlc.exe Version 1.1


make[2]: *** 
[D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/bridge/idl.done] 
Error 1

make[2]: *** wait: No child processes.  Stop.
make[1]: *** [udkapi] Error 2
make[1]: Leaving directory `/cygdrive/C/LibreOffice/libo'
make: *** [udkapi] Error 2

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice




Disclaimer: http://www.peralex.com/disclaimer.html


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


having trouble building udkapi module on master today

2012-05-15 Thread Noel Grandin

Hi

Started getting errors sometime yesterday - any ideas?
I don't see any commits in this area recently.
(This may be related to the fact that I've got 
--with-solver-and-workdir-root=/cygdrive/D in my configure settings)


Thanks, Noel Grandin


make -r -f /cygdrive/C/LibreOffice/libo/Makefile.top udkapi
make[1]: Entering directory `/cygdrive/C/LibreOffice/libo'
cd udkapi && make -j 15 -rs gb_PARTIALBUILD=T
[ build IDL ] udkapi/com/sun/star/idl
make[2]: Entering directory `/cygdrive/C/LibreOffice/libo/udkapi'
[ build IDL ] udkapi/com/sun/star/beans/idl
[ build IDL ] udkapi/com/sun/star/bridge/idl
[ build IDL ] udkapi/com/sun/star/bridge/oleautomation/idl
D:\solver\wntmsci12.pro\bin\idlc.exe: could not write dep file 
'/udk-modules.d'
D:\solver\wntmsci12.pro\bin\idlc.exe: detected 1 
errorsD:\solver\wntmsci12.pro\bin\idlc.exe Version 1.1


make[2]: *** 
[D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/idl.done] Error 
1

make[2]: *** Waiting for unfinished jobs
D:\solver\wntmsci12.pro\bin\idlc.exe: could not write dep file 
'/Ambiguous.d'
D:\solver\wntmsci12.pro\bin\idlc.exe: detected 1 
errorsD:\solver\wntmsci12.pro\bin\idlc.exe Version 1.1


make[2]: *** 
[D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/beans/idl.done] 
Error 1

D:\solver\wntmsci12.pro\bin\idlc.exe: could not write dep file '/Bridge.d'
D:\solver\wntmsci12.pro\bin\idlc.exe: detected 1 
errorsD:\solver\wntmsci12.pro\bin\idlc.exe Version 1.1


make[2]: *** 
[D://workdir/wntmsci12.pro/UnoApiPartTarget/udkapi/com/sun/star/bridge/idl.done] 
Error 1

make[2]: *** wait: No child processes.  Stop.
make[1]: *** [udkapi] Error 2
make[1]: Leaving directory `/cygdrive/C/LibreOffice/libo'
make: *** [udkapi] Error 2

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice