[Cygwin] [Master] failure when compiling liblangtag

Eike Rathke erack at redhat.com
Tue Apr 16 06:44:28 PDT 2013


Hi Mat,

Cc'ing Peter Foley who did the gcc-wrapper.

On Friday, 2013-04-12 23:49:16 +0200, Mat M wrote:

> 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 ?

The SRCDIR looks correct, SRCDIR here specifies the top directory where
the entire source package is located, not it's various subdirectories.

Does the wrapper actually execute the command in that then current
subdirectory?

This error
> cl : Command line error D8003 : missing source filename
is not accidentally caused by the -c option being followed by the
-showIncludes option?

However, what also looks suspicious to me is that the renaming of the
object file does not occur anywhere on that command line, apparently the
target should be

>   CC     liblangtag_la-lt-database.lo
> make[6]: *** [liblangtag_la-lt-database.lo] Error 1

so there should be some -o option followed by the output filename if I'm
not mistaken.

And, last but not least, why does this fail only for Mat?

Seeing wntmsci13.pro in the workdir path suggests this is MSVC 2010,
correct? Maybe that simply works different..

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
For key transition see http://erack.de/key-transition-2013-01-10.txt.asc
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130416/20240e30/attachment.pgp>


More information about the LibreOffice mailing list