From owner-freebsd-ports@FreeBSD.ORG Mon Dec 31 13:36:18 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5995B7E for ; Mon, 31 Dec 2012 13:36:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 707958FC08 for ; Mon, 31 Dec 2012 13:36:18 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1TpfXG-00038G-Mj; Mon, 31 Dec 2012 13:36:11 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TpfXF-00050d-Tg; Mon, 31 Dec 2012 13:36:10 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id qBVDa9q5048484; Mon, 31 Dec 2012 13:36:09 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id qBVDa9sn048483; Mon, 31 Dec 2012 13:36:09 GMT (envelope-from mexas) Date: Mon, 31 Dec 2012 13:36:09 GMT From: Anton Shterenlikht Message-Id: <201212311336.qBVDa9sn048483@mech-cluster241.men.bris.ac.uk> To: mexas@bristol.ac.uk, utisoft@gmail.com Subject: Re: xfig build failure on amd64 with clang, possibly imake problem? In-Reply-To: Cc: freebsd-ports@freebsd.org, mjl@luckie.org.nz X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2012 13:36:18 -0000 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" 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

Yes.

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

Chris

On 31 Dec 2012 13:11, "Anton Shterenlikht" <mexas@bristol.ac.uk> wrote:
>
> 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 "= ;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 _______________________________________________ freebsd-ports@freebsd.org mailing= list h= ttp://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, = send any mail to "freebsd-ports-unsubscribe@freebsd.org"

--f46d044794f912612704d225d172--