https://bugs.freedesktop.org/show_bug.cgi?id=58043

          Priority: medium
            Bug ID: 58043
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: truncated files left over?
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: lio...@mamane.lu
          Hardware: All
            Status: UNCONFIRMED
           Version: 3.6.4.3 rc
         Component: Libreoffice
           Product: LibreOffice

In my libreoffice-3-6 tree, after a "make" aborted because not enough space on
hard disk, a subsequent "make" (after freeing enough space on the disk) fails
with errors such as:


terminate called after throwing an instance of
'CppUnit::DynamicLibraryManagerException'
  what():  Failed to load dynamic library:
/home/master/src/libreoffice/workdirs/libreoffice-3.6/workdir/unxlngx6/LinkTarget/CppunitTest/libtest_filter_tiff_test.so


terminate called after throwing an instance of
'CppUnit::DynamicLibraryManagerException'
  what():  Failed to load dynamic library:
/home/master/src/libreoffice/workdirs/libreoffice-3.6/workdir/unxlngx6/LinkTarget/CppunitTest/libtest_filter_tga_test.so


terminate called after throwing an instance of
'CppUnit::DynamicLibraryManagerException'
  what():  Failed to load dynamic library:
/home/master/src/libreoffice/workdirs/libreoffice-3.6/workdir/unxlngx6/LinkTarget/CppunitTest/libtest_hwpfilter_test_hwpfilter.so


My presumption is that these files (or a .o file contained in them) were
created, but left truncated after the "ENOSPC" error. When the build ofa file
fails after it has been partially written to disk, it should be deleted, else
make will never try to remake it.

Ideally the compiler / linker / ... should do that, but if it does not, we can
wrap each call to a compiler / linker / ... in something like

 set -e; $(CC) "$<" || ( RET=$?; rm -f "$<"; exit $? )

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to