partial build not show module name on error

Korrawit Pruegsanusak detective.conan.1412 at gmail.com
Sat Feb 11 01:51:17 PST 2012


Hello all,

If a partial build results in an error, the error message doesn't
contain the module name, eg,
$ /opt/lo/bin/make l10ntools
-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /cygdrive/d/libo/l10ntools/source

 it seems that the error is inside '', please re-run build
 inside this module to isolate the error and/or test your fix:

build_error.log should contain the captured output of the failed module(s)

-----------------------------------------------------------------------
To rebuild a specific module:

/opt/lo/bin/make .clean #optional
/opt/lo/bin/make

when the problem is isolated and fixed, re-run '/opt/lo/bin/make'
make: *** [l10ntools] Error 1


The 3 lines that missing module name are:
    it seems that the error is inside '', please re-run build
    /opt/lo/bin/make .clean #optional
    /opt/lo/bin/make

I found that the "Oh dear" is in solenv/bin/build.pl,
    sub cancel_build
at line 1476.

and debugging tells me @broken_modules_names is empty in this case, giving
    my $module = shift @broken_modules_names;
an empty string. But I couldn't go any further. :-)

Could someone have a look? Thanks! :-)

Best Regards,
-- 
Korrawit Pruegsanusak


More information about the LibreOffice mailing list