[MacPorts] #60721: gstreamer1 @1.16.2 controller-enumtypes.c:6:1: error: stray \ in program (due to make >= 4.3)

MacPorts noreply at macports.org
Sun May 30 22:45:23 UTC 2021


#60721: gstreamer1 @1.16.2 controller-enumtypes.c:6:1: error: stray \ in program
(due to make >= 4.3)
-------------------------------------------------+-------------------------
  Reporter:  kencu                               |      Owner:  dbevans
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  gstreamer1 gstreamer1-gst-plugins-  |
  base                                           |
-------------------------------------------------+-------------------------

Comment (by kencu):

 https://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=108&set=custom

 * WARNING: Backward-incompatibility!
   Number signs (#) appearing inside a macro reference or function
 invocation
   no longer introduce comments and should not be escaped with backslashes:
   thus a call such as:
 {{{
     foo := $(shell echo '#')
 }}}
   is legal.  Previously the number sign needed to be escaped, for example:
 {{{
     foo := $(shell echo '\#')
 }}}
   Now this latter will resolve to "\#".  If you want to write makefiles
   portable to both versions, assign the number sign to a variable:
 {{{
     H := \#
     foo := $(shell echo '$H')
 }}}
   This was claimed to be fixed in 3.81, but wasn't, for some reason.
   To detect this change search for 'nocomment' in the .FEATURES variable.

-- 
Ticket URL: <https://trac.macports.org/ticket/60721#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list