[Libreoffice] [PUSHED] Re: idlc/gbuild baddness and leaked /tmp files...

Jan Holesovsky kendy at suse.cz
Mon Sep 19 00:59:21 PDT 2011


Hi Matus,

On 2011-09-08 at 13:38 +0200, Matúš Kukan wrote:

> > as it turned out there was massive leakage fo file in the temp
> > directory with each build.. 150 or so per build... after a while
> > mktemp was running out of filename and working very-very hard to find
> > an empty slot.
> >
> Another missing $, this should fix it:
> 
> define gb_UnoApiPartTarget__command
>         $$(call gb_Output_announce,$(2),$(true),IDL,2)
>         mkdir -p $(call gb_UnoApiPartTarget_get_target,$(2)) && \
> -       RESPONSEFILE=$$(call var2file,$(shell $(gb_MKTEMP)),500,\
> +       RESPONSEFILE=$$(call var2file,$$(shell $(gb_MKTEMP)),500,\
>                 $$(call gb_Helper_convert_native,$$(INCLUDE) $$(DEFS)
> -O $(call gb_UnoApiPartTarget_get_target,$(2)) -verbose -C $$?)) && \
>         $(gb_UnoApiTarget_IDLCCOMMAND) @$$$${RESPONSEFILE} > /dev/null && \
>         rm -f $$$${RESPONSEFILE} && \

Thank you for that! :-)  Fixes the problem for me.  I've re-applied your
patches + this one, and pushed.

Regards,
Kendy



More information about the LibreOffice mailing list