Temporary files written to predetermined location during build

Paul Menzel pmenzel at molgen.mpg.de
Wed Aug 9 12:27:39 UTC 2017


Dear LibreOffice folks,


I was asked in #111553 (Temporary files written to predetermined 
location) [1] to contact the mailing list.

> Building LibreOffice 5.4.0.3 with one user, and then building it with another
> user shows that it tries to write to the same paths in the temporary directory,
> which of course fails.
> 
> ```
> […]
> ------------------------------------
> ... languages de_en-US ...
> ... analyzing files ...
> ... analyzing files with flag FILELIST ...
> filelist
> /dev/shm/bee-root/libreoffice/libreoffice-5.4.0.3-0/build/workdir/Package/xmlsec.filelist
> is empty
> ... analyzing files with flag SCPZIP_REPLACE ...
> ... analyzing all directories for this product ...
> ... analyzing links ...
> ... analyzing unix links ...
> ... creating profiles ...
> fatal: Not a git repository (or any parent up to mount point /dev)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
> ERROR: Failure in installer.pm
> ERROR: ERROR: Cannot open file
> /tmp/LibreOffice//profiles/de_en-US/gid_Brand_Profile_Bootstrap_Ini/bootstraprc
> for writing at
> /dev/shm/bee-root/libreoffice/libreoffice-5.4.0.3-0/source/solenv/bin/modules/installer/files.pm
> line 85.
> 
> ... cleaning the output tree ...
> ... removing directory /tmp/ooopackaging6idOna/i_647771502279265 ...
> 
> *************************************************
> ERROR: Cannot write log file
> /tmp/LibreOffice//logging/de_en-US/log_540_de_en-US.log, Permission denied
> *************************************************
> Failed to install: No such file or directory at
> /dev/shm/bee-root/libreoffice/libreoffice-5.4.0.3-0/source/solenv/bin/ooinstall
> line 92.
> Makefile:311: recipe for target 'install' failed
> make: *** [install] Error 2
> ```
> 
> At least the two directories below contain conflicting files.
> 
> 1.  `/tmp/LibreOffice/profiles/de_en-US/`
> 2.  `/tmp/LibreOffice/logging/de_en-US/`


Kind regards,

Paul


[1] https://bugs.documentfoundation.org/show_bug.cgi?id=111553


More information about the LibreOffice mailing list