Opened 4 years ago

Closed 4 years ago

#60750 closed defect (invalid)

totem-pl-parser @3.10.8 Makefile:1675: *** missing separator. Stop.

Reported by: kencu (Ken) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: totem-pl-parser

Description

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.

Change History (2)

comment:1 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 4 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: assignedclosed

Current version 3.26.5 builds using meson instead of autotools so this is no longer pertinent. Please open a new ticket on the current version if there are any remaining issues. Thanks.

Note: See TracTickets for help on using tickets.