[MacPorts] #60750: totem-pl-parser @3.10.8 Makefile:1675: *** missing separator. Stop.

MacPorts noreply at macports.org
Wed Jul 1 18:41:11 UTC 2020


#60750: totem-pl-parser @3.10.8 Makefile:1675: *** missing separator.  Stop.
--------------------+-----------------------------
 Reporter:  kencu   |      Owner:  dbevans
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  totem-pl-parser
--------------------+-----------------------------
 This is on Catalina.

 totem-pl-parser first failed because it had bad "Makefile fragments" and
 asked for {{{--disable-dependency-tracking}}}.

 after adding that, you get:
 {{{
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/clang -arch x86_64
 -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk  -pipe
 -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -arch x86_64 -c -o stub.lo stub.c
 libtool: compile:  /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -pipe
 -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -arch x86_64 -c stub.c  -fno-common -DPIC -o .libs/stub.o
 libtool: compile:  /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -pipe
 -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -arch x86_64 -c stub.c -o stub.o >/dev/null 2>&1
 /bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/clang -arch x86_64
 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
 x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -arch x86_64 -o libtotem_glibc.la  stub.lo
 libtool: link: ar cru .libs/libtotem_glibc.a .libs/stub.o
 libtool: link: ranlib .libs/libtotem_glibc.a
 libtool: link: ( cd ".libs" && rm -f "libtotem_glibc.la" && ln -s
 "../libtotem_glibc.la" "libtotem_glibc.la" )
 make[2]: Leaving directory `/opt/local/var/macports/build
 /_opt_macportsofficial_macports-ports_gnome_totem-pl-parser/totem-pl-
 parser/work/totem-pl-parser-3.10.8/lib'
 Making all in plparse
 make[2]: Entering directory `/opt/local/var/macports/build
 /_opt_macportsofficial_macports-ports_gnome_totem-pl-parser/totem-pl-
 parser/work/totem-pl-parser-3.10.8/plparse'
 Makefile:1675: *** missing separator.  Stop.
 make[2]: Leaving directory `/opt/local/var/macports/build
 /_opt_macportsofficial_macports-ports_gnome_totem-pl-parser/totem-pl-
 parser/work/totem-pl-parser-3.10.8/plparse'
 make[1]: *** [all-recursive] Error 1
 }}}

 That error turns out to be due to a bare {{{@CODE_COVERAGE_RULES@}}} left
 in the {{{plparse/Makefile}}}, probably because we are running autogen and
 remaking ours, I thought:

 {{{
 plparse/Makefile.am
 85:     $(CODE_COVERAGE_CFLAGS)         \
 103:    $(CODE_COVERAGE_LDFLAGS)                \
 145:    $(CODE_COVERAGE_CFLAGS)         \
 157:    $(CODE_COVERAGE_LDFLAGS)                        \
 235:@CODE_COVERAGE_RULES@
 }}}

 Removing our {{{autogen.sh}}} use, and just using the existing Makefiles
 as they come in the port, does work:
 {{{
  % port -v installed | grep totem
   totem-pl-parser @3.10.8_0 (active) platform='darwin 19' archs='x86_64'
 date='2020-07-01T11:31:38-0700'
 }}}
 although obviously without whatever the {{{autogen.sh}}} was supposed to
 be doing with {{{libintl}}}.

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


More information about the macports-tickets mailing list