Error during start of building LibreOffice 7.2.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

https://github.com/LibreOffice/core/blob/master/Makefile.in#L63

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.

-- 
Andrew Udvare
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux