Bug 111553 - Temporary files written to predetermined location
Summary: Temporary files written to predetermined location
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 12:08 UTC by Paul Menzel
Modified: 2017-08-09 12:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Menzel 2017-08-09 12:08:14 UTC
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/`
Comment 1 Jean-Baptiste Faure 2017-08-09 12:20:23 UTC
This bugtracker is not an helpdesk for users or developers. You should ask for help on dev mailing list or on IRC.
https://wiki.documentfoundation.org/Development

Closing as invalid.

Best regards. JBF
Comment 2 Paul Menzel 2017-08-09 12:24:20 UTC
(In reply to Jean-Baptiste Faure from comment #1)
> This bugtracker is not an helpdesk for users or developers. You should ask
> for help on dev mailing list or on IRC.
> https://wiki.documentfoundation.org/Development
> 
> Closing as invalid.

I am a little surprised about the reaction as it’s clearly a bug in the build system. But I’ll contact the mailing list.