[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
Sat Jun 27 05:11:34 UTC 2020


#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:
 Keywords:          |       Port:  gstreamer1 gstreamer1-gst-plugins-base
--------------------+----------------------------------------------------
 I ran into errors building gstreamer and friends on Tiger with the error
 above. It looks like this in the log:
 {{{
 :info:build controller-enumtypes.c:10: error: stray '\' in program
 :info:build controller-enumtypes.c:10: error: stray '#' in program
 :info:build controller-enumtypes.c:10: error: expected '=', ',', ';',
 'asm' or '__attribute__' before string constant
 :info:build controller-enumtypes.c:11: error: stray '\' in program
 :info:build controller-enumtypes.c:11: error: stray '#' in program
 }}}

 apparently this construct
 {{{
 :info:build /opt/local/bin/glib-mkenums \
 :info:build --fhead "#ifdef HAVE_CONFIG_H\n#include
 \"config.h\"\n#endif\n\n#include \"controller-enumtypes.h\"\n\n\#include
 \"gstinterpolationcontrolsource.h\" \n\#include \"gstlfocontrolsource.h\""
 \
 :info:build --fprod "\n/* enumerations from \"@filename@\" */" \
 :info:build --vhead "GType\n at enum_name@_get_type (void)\n{\n  static
 volatile gsize g_define_type_id__volatile = 0;\n  if (g_once_init_enter
 (&g_define_type_id__volatile)) {\n    static const G at Type@Value values[] =
 {"     \
 :info:build --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\"
 }," \
 :info:build --vtail "      { 0, NULL, NULL }\n    };\n    GType
 g_define_type_id = g_ at type@_register_static (\"@EnumName@\", values);\n
 g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);\n  }\n
 return g_define_type_id__volatile;\n}\n" \
 :info:build gstinterpolationcontrolsource.h gstlfocontrolsource.h >
 controller-enumtypes.c
 }}}
 doesn't work with make versions >= 4.3 <https://bugs.gentoo.org/705974>.

 There are patches in that gentoo ticket for the gstreamer* series.

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


More information about the macports-tickets mailing list