Unsafe directory

Colomban Wendling cwendling at hypra.fr
Thu Jul 13 09:17:53 UTC 2023


Hello Régis,

Le 13/07/2023 à 09:00, Regis Perdreau a écrit :
> I'm trying to build master under Windows 11/cygwin.
> Build failed with the message "autogen.sh: unsafe home directory: 
> `/home/Régis Perdreau"

I'm not knowledgeable about Windows/CygWin, but I have two wild guesses:
- the directory name contains non-ASCII characters ("é")
- the directory name contains a space

If it's anything like gnupg, it's likely the space (see the hardly 
readable check in https://github.com/gpg/gnupg/blob/master/autogen.sh#L127)

You probably can work around this by either actually changing CygWin's 
homedir, or just adjust $HOME to point to some directory without those 
characters (e.g. HOME=/tmp/homedir, or anything less temporary yet still 
without spaces).

HTH
- Colomban


More information about the LibreOffice mailing list