From: David B. <bil...@us...> - 2023-02-07 10:12:54
|
Wolfgang Dautermann reverted this in commit [e00f35] with message Build system: Escape '#' in $(shell ...) command. Otherwise the build with GNU Make <= 4.2 fails, see https://stackoverflow.com/questions/53836858/ And GNU Make 4.2.1 is included in Ubuntu 20.04 so it may be in use for some years, the distribution is supported until 2025. --- ** [bugs:#4094] Build warning in share: grep: warning: stray \ before #** **Status:** closed **Group:** None **Created:** Mon Jan 30, 2023 11:33 AM UTC by David Billinghurst **Last Updated:** Sun Feb 05, 2023 01:24 AM UTC **Owner:** David Billinghurst There are several harmless build warnings in the share subdirectory. ~~~ grep: warning: stray \ before # ~~~ It is generated in the system call to generate make variable sharefiles. A web search didn't find any need to escape '#' in an extended grep regex. The fix is trivial. Tested with GNU egrep. I wonder if it will be a problem with other versions of egrep. ~~~ diff --git a/share/Makefile.am b/share/Makefile.am index f56124228..5681b5872 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -7,8 +7,8 @@ egrep -v 'CVS|Makefile(\.in|\.am)?|^\./Makefile|\.gitignore|\.gitattributes' | \ egrep -v '/fortran/' | \ egrep -v 'colnew/ex./' | \ egrep -v 'lbfgs/.*\.f' | \ -egrep -v '/\.\#' | \ -egrep -v '~|\#' | \ +egrep -v '/\.#' | \ +egrep -v '~|#' | \ sed -e 's%\./%%' | \ sort -f -d | \ sed '$$s/\\$$//' ) ~~~ --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |