no 'object' file generated ?

Ashod Nakashian ashnakash at gmail.com
Mon Jan 19 10:55:51 PST 2015


Hey Markus,

On Mon, Jan 19, 2015 at 10:54 AM, Markus Mohrhard
<markus.mohrhard at googlemail.com> wrote:
> Hey,
>
> On Mon, Jan 19, 2015 at 4:33 PM, Ashod Nakashian <ashnakash at gmail.com>
> wrote:
>>
>> Anyone know why Jenkins sometimes throws this error?
>>
>>
>> C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows/shell/source/win32/shlxthandler/util/utilities.cxx(110)
>> : error C2220: warning treated as error - no 'object' file generated
>
>
> If you would have quoted the whole text you would have seen the error
> yourself:

Right, and I suspected that. But, as Michael noted, this is unrelated
to my patch. And I had seen it before, and it works in subsequent
build attempts.

Also odd was that I Gerrit wouldn't give me a rebase option, even
though I knew I was behind. I rebased manually, pushed and build
started.

Build failed on Windows at another point, while Linux passed.

[multiple import warnings]
test_ToxTextGenerator.o : warning LNK4217: locally defined symbol
??1SwForm@@QAE at XZ (public: __thiscall SwForm::~SwForm(void)) imported
in function "public: void __thiscall
ToxTextGeneratorTest::ChapterNumberWithTitleIsGeneratedForNumberNoPrepst(void)"
(?ChapterNumberWithTitleIsGeneratedForNumberNoPrepst at ToxTextGeneratorTest@@QAEXXZ)
make[2]: Leaving directory
'C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows'
Makefile:246: recipe for target 'build' failed

http://ci.libreoffice.org/job/lo_gerrit_master/431

Thanks.

>
> C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows/shell/source/win32/shlxthandler/util/utilities.cxx(110)
> : error C2220: warning treated as error - no 'object' file generated
> C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows/shell/source/win32/shlxthandler/util/utilities.cxx(110)
> : warning C4996: 'GetVersionExW': was declared deprecated
>
> So as we are using Werror and use a deprecated function we are aborting the
> build.
>
>
>>
>>
>>
>> I can't find any other failures in the output.
>> That was on Windows. In the same build[*], but on Linux, I have this:
>>
>> nsinstall: cannot access nss.h: No such file or directory
>> ../../coreconf/rules.mk:752: recipe for target 'export' failed
>> make[4]: *** [export] Aborted
>>
>>
>> Any ideas? How can we fix/avoid this?
>
>
>
> The linux one looks more like a problem with the nss build. I doubt that
> this one can be explained by looking at the logs without being able to build
> on the machine.
>
> Regards,
> Markus


More information about the LibreOffice mailing list