Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 13:36:09 GMT
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        mexas@bristol.ac.uk, utisoft@gmail.com
Cc:        freebsd-ports@freebsd.org, mjl@luckie.org.nz
Subject:   Re: xfig build failure on amd64 with clang, possibly imake problem?
Message-ID:  <201212311336.qBVDa9sn048483@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <CADLo838HH5x741uERoKUy77WMt8tLuord4xzExgya6FYYemsig@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
	From utisoft@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@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@freebsd.orgmailing list
	http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe,
	send any mail to "freebsd-ports-unsubscribe@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&#39;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, &quot;Anton Shterenlikht&quot; &lt;<a =
	href=3D"mailto:mexas@bristol.ac.uk">mexas@bristol.ac.uk</a>&gt; wrote:<br>
	&gt;<br>
	&gt; Something wrong with imake/clang? Thanks Anton Script started on Sun D=
	ec 30 22:08:55 2012 command: make =3D=3D=3D&gt; =A0Found saved configuratio=
	n for xfig-3.2.5b_1 =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on file: /usr/l=
	ocal/sbin/pkg - found =3D=3D=3D&gt; =A0Extracting for xfig-3.2.5b_1 =3D&gt;=
	 SHA256 Checksum OK for xfig.3.2.5b.full.tar.gz. =3D=3D=3D&gt; =A0Patching =
	for xfig-3.2.5b_1 =3D=3D=3D&gt; =A0Applying FreeBSD patches for xfig-3.2.5b=
	_1 =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on executable: imake - found =3D=
	=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/=
	ice.pc - found =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on file: /usr/local/=
	libdata/pkgconfig/sm.pc - found =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on =
	file: /usr/local/libdata/pkgconfig/x11.pc - found =3D=3D=3D&gt; =A0 xfig-3.=
	2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =3D=3D=
	=3D&gt; =A0 xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xex=
	t.pc - found =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on file: /usr/local/li=
	bdata/pkgconfig/xi.pc - found =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on fi=
	le: /usr/local/libdata/pkgconfig/xmu.pc - found =3D=3D=3D&gt; =A0 xfig-3.2.=
	5b_1 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =3D=3D=3D=
	&gt; =A0 xfig-3.2.5b_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc =
	- found =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on shared library: jpeg.11 =
	- found =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on shared library: png15 - =
	found =3D=3D=3D&gt; =A0 xfig-3.2.5b_1 depends on shared library: Xaw3d.8 - =
	found =3D=3D=3D&gt; =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&#39;#&#39; 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} &#39;&#39;; 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&#39;#&#39; 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&#39; X11 .rules&#39; 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 &#39;ProjectRulesFile&#39; # define ProjectRulesFile =
	=A0 =A0 =A0 Concat3(&lt;,TopLevelProject,.rules&gt;) [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 &#39;Concat3&#39; #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&gt; =A0Building for=
	 xfig-3.2.5b_1 &quot;Makefile&quot;, line 11: Need an operator &quot;Makefi=
	le&quot;, line 12: Need an operator &quot;Makefile&quot;, line 15: Need an =
	operator &quot;Makefile&quot;, line 16: Need an operator &quot;Makefile&quo=
	t;, line 17: Need an operator &quot;Makefile&quot;, line 18: Need an operat=
	or &quot;Makefile&quot;, line 20: Need an operator &quot;Makefile&quot;, li=
	ne 38: Need an operator &quot;Makefile&quot;, line 39: Need an operator &qu=
	ot;Makefile&quot;, line 40: Need an operator &quot;Makefile&quot;, line 56:=
	 Need an operator &quot;Makefile&quot;, line 57: Need an operator &quot;Mak=
	efile&quot;, line 62: Need an operator &quot;Makefile&quot;, line 63: Need =
	an operator &quot;Makefile&quot;, line 64: Need an operator &quot;Makefile&=
	quot;, line 147: Need an operator &quot;Makefile&quot;, line 148: Need an o=
	perator &quot;Makefile&quot;, line 149: Need an operator &quot;Makefile&quo=
	t;, line 162: Need an operator &quot;Makefile&quot;, line 163: Need an oper=
	ator &quot;Makefile&quot;, line 166: Need an operator &quot;Makefile&quot;,=
	 line 167: Need an operator &quot;Makefile&quot;, line 168: Need an operato=
	r &quot;Makefile&quot;, line 169: Need an operator &quot;Makefile&quot;, li=
	ne 256: Need an operator &quot;Makefile&quot;, line 475: Need an operator &=
	quot;Makefile&quot;, line 516: Need an operator &quot;Makefile&quot;, line =
	517: Need an operator &quot;Makefile&quot;, line 815: Inconsistent operator=
	 for xfig &quot;Makefile&quot;, line 817: Missing dependency operator &quot=
	;Makefile&quot;, line 823: Need an operator &quot;Makefile&quot;, line 825:=
	 Need an operator &quot;Makefile&quot;, line 826: Need an operator &quot;Ma=
	kefile&quot;, line 830: Need an operator &quot;Makefile&quot;, line 831: Ne=
	ed an operator &quot;Makefile&quot;, line 832: Need an operator &quot;Makef=
	ile&quot;, line 835: Need an operator &quot;Makefile&quot;, line 836: Need =
	an operator &quot;Makefile&quot;, line 840: Need an operator &quot;Makefile=
	&quot;, line 841: Need an operator &quot;Makefile&quot;, line 842: Need an =
	operator &quot;Makefile&quot;, line 843: Need an operator &quot;Makefile&qu=
	ot;, line 846: Need an operator &quot;Makefile&quot;, line 857: Need an ope=
	rator &quot;Makefile&quot;, line 861: Need an operator &quot;Makefile&quot;=
	, line 862: Need an operator &quot;Makefile&quot;, line 866: Need an operat=
	or &quot;Makefile&quot;, line 867: Need an operator &quot;Makefile&quot;, l=
	ine 869: Need an operator &quot;Makefile&quot;, line 949: Need an operator =
	&quot;Makefile&quot;, line 954: Need an operator &quot;Makefile&quot;, line=
	 959: Need an operator &quot;Makefile&quot;, line 962: Need an operator &qu=
	ot;Makefile&quot;, line 999: Need an operator &quot;Makefile&quot;, line 10=
	02: Need an operator &quot;Makefile&quot;, line 1005: Need an operator &quo=
	t;Makefile&quot;, line 1018: Need an operator &quot;Makefile&quot;, 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@freebsd.org">freebsd-ports@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 &quot;<a href=3D"mailto:freebsd-ports-unsubscribe@freebsd.=
	org">freebsd-ports-unsubscribe@freebsd.org</a>&quot;</p>


	--f46d044794f912612704d225d172--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311336.qBVDa9sn048483>