[Cygwin] [Master] failure when compiling liblangtag
Mat M
matm at gmx.fr
Fri Apr 12 14:49:16 PDT 2013
Le Fri, 12 Apr 2013 13:30:55 +0200, Michael Stahl <mstahl at redhat.com> a
écrit:
> On 11/04/13 00:29, Mat M wrote:
>> Hello
>>
>> it was already like that yesterday, and to day too, with commit
>> 7f101a29e12ce6ca
>>
>> After a failure of a "standard make", I did:
>> make liblangtag.clean && make verbose=t liblangtag
>> which told me
>> cd D:/src/libo/liblangtag && /opt/lo/bin/make -j 4 -rsr clean
>>
>
> looks like the GCC wrapper that is used on windows is doing something
> wrong...
>
> please edit solenv/gcc-wrapper/wrapper.cxx around line 151 there is a
> commented out printing of the arguments that are passed to cl.exe; i
> hope you should be able to find out what is going wrong going backwards
> from there.
>
Thank you Michael
Command is :
C:\cygwin\opt\lo\bin\ccache.exe cl.exe -nologo -EHsc -MD -Gy -Zc:wchar_t-
-Ob1 -Oxs -Oy- -DHAVE_CONFIG_H -I. -I.. -I../liblangtag/ -I..
-I../liblangtag/ -I.. -D__LANGTAG_COMPILATION
-DBUILDDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DSRCDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DREGDATADIR=\"/usr/local/share/liblangtag\"
-DLANGTAG_EXT_MODULE_PATH=\"/usr/local/lib/liblangtag\"
-ID:/src/libo/workdir/wntmsci13.pro/UnpackedTarball/xml2/include
-DG_LOG_DOMAIN=\"LangTag\" -Zi -c -showIncludes lt-database.c
So SRCDIR stops at langtag, but lt-database.c is in liblangtag, but we
also see make entering liblangtag subdir. The langtag Makefile needs a fix
?
Full log from liblangtag make:
========== Build Information ==========
CFLAGS: -g
LDFLAGS:
make[2]: Entering directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag'
/opt/lo/bin/make all-recursive
make[3]: Entering directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag'
Making all in liblangtag
make[4]: Entering directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag/liblangtag'
/opt/lo/bin/make all-recursive
make[5]: Entering directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag/liblangtag'
make[6]: Entering directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag/liblangtag'
CC liblangtag_la-lt-database.lo
CC liblangtag_la-lt-error.lo
CC liblangtag_la-lt-ext-module.lo
CC liblangtag_la-lt-ext-module-data.lo
CMD= C:\cygwin\opt\lo\bin\ccache.exe cl.exe -nologo -EHsc -MD -Gy
-Zc:wchar_t- -Ob1 -Oxs -Oy- -DHAVE_CONFIG_H -I. -I.. -I../liblangtag/ -I..
-I../liblangtag/ -I.. -D__LANGTAG_COMPILATION
-DBUILDDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DSRCDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DREGDATADIR=\"/usr/local/share/liblangtag\"
-DLANGTAG_EXT_MODULE_PATH=\"/usr/local/lib/liblangtag\"
-ID:/src/libo/workdir/wntmsci13.pro/UnpackedTarball/xml2/include
-DG_LOG_DOMAIN=\"LangTag\" -Zi -c -showIncludes lt-error.c
CMD= C:\cygwin\opt\lo\bin\ccache.exe cl.exe -nologo -EHsc -MD -Gy
-Zc:wchar_t- -Ob1 -Oxs -Oy- -DHAVE_CONFIG_H -I. -I.. -I../liblangtag/ -I..
-I../liblangtag/ -I.. -D__LANGTAG_COMPILATION
-DBUILDDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DSRCDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DREGDATADIR=\"/usr/local/share/liblangtag\"
-DLANGTAG_EXT_MODULE_PATH=\"/usr/local/lib/liblangtag\"
-ID:/src/libo/workdir/wntmsci13.pro/UnpackedTarball/xml2/include
-DG_LOG_DOMAIN=\"LangTag\" -Zi -c -showIncludes lt-database.c
CMD= C:\cygwin\opt\lo\bin\ccache.exe cl.exe -nologo -EHsc -MD -Gy
-Zc:wchar_t- -Ob1 -Oxs -Oy- -DHAVE_CONFIG_H -I. -I.. -I../liblangtag/ -I..
-I../liblangtag/ -I.. -D__LANGTAG_COMPILATION
-DBUILDDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DSRCDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DREGDATADIR=\"/usr/local/share/liblangtag\"
-DLANGTAG_EXT_MODULE_PATH=\"/usr/local/lib/liblangtag\"
-ID:/src/libo/workdir/wntmsci13.pro/UnpackedTarball/xml2/include
-DG_LOG_DOMAIN=\"LangTag\" -Zi -c -showIncludes lt-ext-module.c
CMD= C:\cygwin\opt\lo\bin\ccache.exe cl.exe -nologo -EHsc -MD -Gy
-Zc:wchar_t- -Ob1 -Oxs -Oy- -DHAVE_CONFIG_H -I. -I.. -I../liblangtag/ -I..
-I../liblangtag/ -I.. -D__LANGTAG_COMPILATION
-DBUILDDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DSRCDIR=\"/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag\"
-DREGDATADIR=\"/usr/local/share/liblangtag\"
-DLANGTAG_EXT_MODULE_PATH=\"/usr/local/lib/liblangtag\"
-ID:/src/libo/workdir/wntmsci13.pro/UnpackedTarball/xml2/include
-DG_LOG_DOMAIN=\"LangTag\" -Zi -c -showIncludes lt-ext-module-data.c
cl : Command line error D8003 : missing source filename
cl : Command line error D8003 : missing source filename
cl : Command line error D8003 : missing source filename
cl : Command line error D8003 : missing source filename
make[6]: *** [liblangtag_la-lt-database.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: *** [liblangtag_la-lt-error.lo] Error 1
make[6]: *** [liblangtag_la-lt-ext-module.lo] Error 1
make[6]: *** [liblangtag_la-lt-ext-module-data.lo] Error 1
make[6]: Leaving directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag/liblangtag'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag/liblangtag'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag/liblangtag'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/cygdrive/d/src/libo/workdir/wntmsci13.pro/UnpackedTarball/langtag'
make[1]: ***
[D:/src/libo/workdir/wntmsci13.pro/ExternalProject/langtag/build] Error 2
make[1]: Leaving directory `/cygdrive/d/src/libo/liblangtag'
make: *** [liblangtag] Error 2
--
Mat M
More information about the LibreOffice
mailing list