xfig build failure on amd64 with clang, possibly imake problem?

Anton Shterenlikht mexas at bristol.ac.uk
Mon Dec 31 13:36:18 UTC 2012


	From utisoft at gmail.com Mon Dec 31 13:34:27 2012

	Yes.

	imake doesn't run properly if built with clang; you must build with GCC/g++.

	Chris

So is this something for the port maintaner (x11@)
to sort out?

Anton


	On 31 Dec 2012 13:11, "Anton Shterenlikht" <mexas at bristol.ac.uk> wrote:
	>
	> Something wrong with imake/clang? Thanks Anton Script started on Sun Dec
	30 22:08:55 2012 command: make ===>  Found saved configuration for
	xfig-3.2.5b_1 ===>   xfig-3.2.5b_1 depends on file: /usr/local/sbin/pkg -
	found ===>  Extracting for xfig-3.2.5b_1 => SHA256 Checksum OK for
	xfig.3.2.5b.full.tar.gz. ===>  Patching for xfig-3.2.5b_1 ===>  Applying
	FreeBSD patches for xfig-3.2.5b_1 ===>   xfig-3.2.5b_1 depends on
	executable: imake - found ===>   xfig-3.2.5b_1 depends on file:
	/usr/local/libdata/pkgconfig/ice.pc - found ===>   xfig-3.2.5b_1 depends on
	file: /usr/local/libdata/pkgconfig/sm.pc - found ===>   xfig-3.2.5b_1
	depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===>
	xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found
	===>   xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xext.pc
	- found ===>   xfig-3.2.5b_1 depends on file:
	/usr/local/libdata/pkgconfig/xi.pc - found ===>   xfig-3.2.5b_1 depends on
	file: /usr/local/libdata/pkgconfig/xmu.pc - found ===>   xfig-3.2.5b_1
	depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===>
	xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
	===>   xfig-3.2.5b_1 depends on shared library: jpeg.11 - found ===>
	xfig-3.2.5b_1 depends on shared library: png15 - found ===>   xfig-3.2.5b_1
	depends on shared library: Xaw3d.8 - found ===>  Configuring for
	xfig-3.2.5b_1 imake -DUseInstalled -I/usr/local/lib/X11/config In file
	included from Imakefile.c:16: In file included from
	/usr/local/lib/X11/config/Imake.tmpl:109:
	[1m/usr/local/lib/X11/config/FreeBSD.cf:451:35:  [0;1;31merror:  [1m'#' is
	not followed by a       macro parameter #define IncludeMakefile(file) @@#
	dependencies are in .depend [0;1;32m                                  ^
	[0mIn file included from Imakefile.c:16: In file included from
	/usr/local/lib/X11/config/Imake.tmpl:316:
	[1m/usr/local/lib/X11/config/Imake.rules:1674:27:  [0;1;35mwarning:
	 [1mempty character constant       [-Winvalid-pp-token]         for flag in
	${MAKEFLAGS} ''; do \                               @@\ [0;1;32m
	                      ^ [1m/usr/local/lib/X11/config/Imake.rules:1897:35:
	 [0;1;31merror:  [1m'#' is not followed by a       macro parameter #define
	IncludeMakefile(file) @@# dependencies are in .depend [0;1;32m
	                     ^ [0mIn file included from Imakefile.c:16:
	[1m/usr/local/lib/X11/config/Imake.tmpl:2144:10:  [0;1;31mfatal error:
	 [1m' X11 .rules' file       not found #include ProjectRulesFile [0;1;32m
	      ^ [1m/usr/local/lib/X11/config/Imake.tmpl:2142:35:  [0;1;30mnote:
	 [0mexpanded from macro       'ProjectRulesFile' # define ProjectRulesFile
	      Concat3(<,TopLevelProject,.rules>) [0;1;32m
	             ^ [1m/usr/local/lib/X11/config/Imake.rules:256:23:
	 [0;1;30mnote:  [0mexpanded from macro       'Concat3' #define
	Concat3(a,b,c)a/**/b/**/c [0;1;32m                      ^ [0m1 warning and
	3 errors generated. imake: Exit code 1.   Stop. ===>  Building for
	xfig-3.2.5b_1 "Makefile", line 11: Need an operator "Makefile", line 12:
	Need an operator "Makefile", line 15: Need an operator "Makefile", line 16:
	Need an operator "Makefile", line 17: Need an operator "Makefile", line 18:
	Need an operator "Makefile", line 20: Need an operator "Makefile", line 38:
	Need an operator "Makefile", line 39: Need an operator "Makefile", line 40:
	Need an operator "Makefile", line 56: Need an operator "Makefile", line 57:
	Need an operator "Makefile", line 62: Need an operator "Makefile", line 63:
	Need an operator "Makefile", line 64: Need an operator "Makefile", line
	147: Need an operator "Makefile", line 148: Need an operator "Makefile",
	line 149: Need an operator "Makefile", line 162: Need an operator
	"Makefile", line 163: Need an operator "Makefile", line 166: Need an
	operator "Makefile", line 167: Need an operator "Makefile", line 168: Need
	an operator "Makefile", line 169: Need an operator "Makefile", line 256:
	Need an operator "Makefile", line 475: Need an operator "Makefile", line
	516: Need an operator "Makefile", line 517: Need an operator "Makefile",
	line 815: Inconsistent operator for xfig "Makefile", line 817: Missing
	dependency operator "Makefile", line 823: Need an operator "Makefile", line
	825: Need an operator "Makefile", line 826: Need an operator "Makefile",
	line 830: Need an operator "Makefile", line 831: Need an operator
	"Makefile", line 832: Need an operator "Makefile", line 835: Need an
	operator "Makefile", line 836: Need an operator "Makefile", line 840: Need
	an operator "Makefile", line 841: Need an operator "Makefile", line 842:
	Need an operator "Makefile", line 843: Need an operator "Makefile", line
	846: Need an operator "Makefile", line 857: Need an operator "Makefile",
	line 861: Need an operator "Makefile", line 862: Need an operator
	"Makefile", line 866: Need an operator "Makefile", line 867: Need an
	operator "Makefile", line 869: Need an operator "Makefile", line 949: Need
	an operator "Makefile", line 954: Need an operator "Makefile", line 959:
	Need an operator "Makefile", line 962: Need an operator "Makefile", line
	999: Need an operator "Makefile", line 1002: Need an operator "Makefile",
	line 1005: Need an operator "Makefile", line 1018: Need an operator
	"Makefile", line 1023: Missing dependency operator make: fatal errors
	encountered -- cannot continue *** [do-build] Error code 1 Stop in
	/usr/ports/graphics/xfig. *** [build] Error code 1 Stop in
	/usr/ports/graphics/xfig. Script done on Sun Dec 30 22:09:02 2012
	_______________________________________________
	freebsd-ports at freebsd.orgmailing list
	http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe,
	send any mail to "freebsd-ports-unsubscribe at freebsd.org"

	--f46d044794f912612704d225d172
	Content-Type: text/html; charset=ISO-8859-1
	Content-Transfer-Encoding: quoted-printable

	<p dir=3D"ltr">Yes.</p>
	<p dir=3D"ltr">imake doesn't run properly if built with clang; you must=
	 build with GCC/g++.</p>
	<p dir=3D"ltr">Chris</p>
	<p dir=3D"ltr">On 31 Dec 2012 13:11, "Anton Shterenlikht" <<a =
	href=3D"mailto:mexas at bristol.ac.uk">mexas at bristol.ac.uk</a>> wrote:<br>
	><br>
	> Something wrong with imake/clang? Thanks Anton Script started on Sun D=
	ec 30 22:08:55 2012 command: make =3D=3D=3D> =A0Found saved configuratio=
	n for xfig-3.2.5b_1 =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on file: /usr/l=
	ocal/sbin/pkg - found =3D=3D=3D> =A0Extracting for xfig-3.2.5b_1 =3D>=
	 SHA256 Checksum OK for xfig.3.2.5b.full.tar.gz. =3D=3D=3D> =A0Patching =
	for xfig-3.2.5b_1 =3D=3D=3D> =A0Applying FreeBSD patches for xfig-3.2.5b=
	_1 =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on executable: imake - found =3D=
	=3D=3D> =A0 xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/=
	ice.pc - found =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on file: /usr/local/=
	libdata/pkgconfig/sm.pc - found =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on =
	file: /usr/local/libdata/pkgconfig/x11.pc - found =3D=3D=3D> =A0 xfig-3.=
	2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =3D=3D=
	=3D> =A0 xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xex=
	t.pc - found =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on file: /usr/local/li=
	bdata/pkgconfig/xi.pc - found =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on fi=
	le: /usr/local/libdata/pkgconfig/xmu.pc - found =3D=3D=3D> =A0 xfig-3.2.=
	5b_1 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =3D=3D=3D=
	> =A0 xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc =
	- found =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on shared library: jpeg.11 =
	- found =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on shared library: png15 - =
	found =3D=3D=3D> =A0 xfig-3.2.5b_1 depends on shared library: Xaw3d.8 - =
	found =3D=3D=3D> =A0Configuring for xfig-3.2.5b_1 imake -DUseInstalled -=
	I/usr/local/lib/X11/config In file included from Imakefile.c:16: In file in=
	cluded from /usr/local/lib/X11/config/Imake.tmpl:109: [1m/usr/local/lib/X11=
	/config/FreeBSD.cf:451:35: =A0[0;1;31merror: =A0[1m'#' is not follo=
	wed by a =A0 =A0 =A0 macro parameter #define IncludeMakefile(file) @@# depe=
	ndencies are in .depend [0;1;32m =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
	=A0 =A0 =A0 =A0 =A0 =A0 =A0^ [0mIn file included from Imakefile.c:16: In fi=
	le included from /usr/local/lib/X11/config/Imake.tmpl:316: [1m/usr/local/li=
	b/X11/config/Imake.rules:1674:27: =A0[0;1;35mwarning: =A0[1mempty character=
	 constant =A0 =A0 =A0 [-Winvalid-pp-token] =A0 =A0 =A0 =A0 for flag in ${MA=
	KEFLAGS} ''; do \ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
	=A0 =A0 =A0 @@\ [0;1;32m =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
	=A0 =A0 =A0 =A0 ^ [1m/usr/local/lib/X11/config/Imake.rules:1897:35: =A0[0;1=
	;31merror: =A0[1m'#' is not followed by a =A0 =A0 =A0 macro paramet=
	er #define IncludeMakefile(file) @@# dependencies are in .depend [0;1;32m =
	=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^ [0mIn =
	file included from Imakefile.c:16: [1m/usr/local/lib/X11/config/Imake.tmpl:=
	2144:10: =A0[0;1;31mfatal error: =A0[1m' X11 .rules' file =A0 =A0 =
	=A0 not found #include ProjectRulesFile [0;1;32m =A0 =A0 =A0 =A0 ^ [1m/usr/=
	local/lib/X11/config/Imake.tmpl:2142:35: =A0[0;1;30mnote: =A0[0mexpanded fr=
	om macro =A0 =A0 =A0 'ProjectRulesFile' # define ProjectRulesFile =
	=A0 =A0 =A0 Concat3(<,TopLevelProject,.rules>) [0;1;32m =A0 =A0 =A0 =
	=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^ [1m/us=
	r/local/lib/X11/config/Imake.rules:256:23: =A0[0;1;30mnote: =A0[0mexpanded =
	from macro =A0 =A0 =A0 'Concat3' #define Concat3(a,b,c)a/**/b/**/c =
	[0;1;32m =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^ [0m1 warning and 3 er=
	rors generated. imake: Exit code 1. =A0 Stop. =3D=3D=3D> =A0Building for=
	 xfig-3.2.5b_1 "Makefile", line 11: Need an operator "Makefi=
	le", line 12: Need an operator "Makefile", line 15: Need an =
	operator "Makefile", line 16: Need an operator "Makefile&quo=
	t;, line 17: Need an operator "Makefile", line 18: Need an operat=
	or "Makefile", line 20: Need an operator "Makefile", li=
	ne 38: Need an operator "Makefile", line 39: Need an operator &qu=
	ot;Makefile", line 40: Need an operator "Makefile", line 56:=
	 Need an operator "Makefile", line 57: Need an operator "Mak=
	efile", line 62: Need an operator "Makefile", line 63: Need =
	an operator "Makefile", line 64: Need an operator "Makefile&=
	quot;, line 147: Need an operator "Makefile", line 148: Need an o=
	perator "Makefile", line 149: Need an operator "Makefile&quo=
	t;, line 162: Need an operator "Makefile", line 163: Need an oper=
	ator "Makefile", line 166: Need an operator "Makefile",=
	 line 167: Need an operator "Makefile", line 168: Need an operato=
	r "Makefile", line 169: Need an operator "Makefile", li=
	ne 256: Need an operator "Makefile", line 475: Need an operator &=
	quot;Makefile", line 516: Need an operator "Makefile", line =
	517: Need an operator "Makefile", line 815: Inconsistent operator=
	 for xfig "Makefile", line 817: Missing dependency operator &quot=
	;Makefile", line 823: Need an operator "Makefile", line 825:=
	 Need an operator "Makefile", line 826: Need an operator "Ma=
	kefile", line 830: Need an operator "Makefile", line 831: Ne=
	ed an operator "Makefile", line 832: Need an operator "Makef=
	ile", line 835: Need an operator "Makefile", line 836: Need =
	an operator "Makefile", line 840: Need an operator "Makefile=
	", line 841: Need an operator "Makefile", line 842: Need an =
	operator "Makefile", line 843: Need an operator "Makefile&qu=
	ot;, line 846: Need an operator "Makefile", line 857: Need an ope=
	rator "Makefile", line 861: Need an operator "Makefile"=
	, line 862: Need an operator "Makefile", line 866: Need an operat=
	or "Makefile", line 867: Need an operator "Makefile", l=
	ine 869: Need an operator "Makefile", line 949: Need an operator =
	"Makefile", line 954: Need an operator "Makefile", line=
	 959: Need an operator "Makefile", line 962: Need an operator &qu=
	ot;Makefile", line 999: Need an operator "Makefile", line 10=
	02: Need an operator "Makefile", line 1005: Need an operator &quo=
	t;Makefile", line 1018: Need an operator "Makefile", line 10=
	23: Missing dependency operator make: fatal errors encountered -- cannot co=
	ntinue *** [do-build] Error code 1 Stop in /usr/ports/graphics/xfig. *** [b=
	uild] Error code 1 Stop in /usr/ports/graphics/xfig. Script done on Sun Dec=
	 30 22:09:02 2012 _______________________________________________ <a href=
	=3D"mailto:freebsd-ports at freebsd.org">freebsd-ports at freebsd.org</a> mailing=
	 list <a href=3D"http://lists.freebsd.org/mailman/listinfo/freebsd-ports">h=
	ttp://lists.freebsd.org/mailman/listinfo/freebsd-ports</a> To unsubscribe, =
	send any mail to "<a href=3D"mailto:freebsd-ports-unsubscribe at freebsd.=
	org">freebsd-ports-unsubscribe at freebsd.org</a>"</p>


	--f46d044794f912612704d225d172--



More information about the freebsd-ports mailing list