Error during start of building LibreOffice 18.104.22.168
audvare at gmail.com
Sun Jul 18 08:07:31 UTC 2021
I got a syntax error from sh/make with the latest version.
The Makefile.in file has a command that runs through the shell with @. It uses \ to separate lines. It contains a comment on the second line that is not consumed by make and is not properly consumed by Bash.
I used sed to remove this line to successfully build: "/# if the systemd-detect-virt command/d"
I can understand that perhaps another shell will correctly consume this, but on macOS latest this does not work. It may be because /bin/sh is still an old copy of Bash while Apple is moving to ZSH.
$ /bin/sh --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin20)
Copyright (C) 2007 Free Software Foundation, Inc.
More information about the LibreOffice