Date: Mon, 31 Dec 2012 14:33:55 +0100 From: Matthias Andree <mandree@FreeBSD.org> To: x11@freebsd.org Subject: Fwd: xfig build failure on amd64 with clang, possibly imake problem? Message-ID: <50E19443.30204@FreeBSD.org> In-Reply-To: <CADLo838HH5x741uERoKUy77WMt8tLuord4xzExgya6FYYemsig@mail.gmail.com> References: <CADLo838HH5x741uERoKUy77WMt8tLuord4xzExgya6FYYemsig@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I can confirm that on FreeBSD 9.1-RELEASE amd64, imake does not work properly if compiled with Clang (instead of GCC). Can we please either have this debugged and fixed, or can someone from x11@ set USE_GCC=any in devel/imake's Makefile? -------- Original-Nachricht -------- Betreff: Re: xfig build failure on amd64 with clang, possibly imake problem? Datum: Mon, 31 Dec 2012 13:16:09 +0000 Von: Chris Rees <utisoft@gmail.com> An: Anton Shterenlikht <mexas@bristol.ac.uk> Kopie (CC): FreeBSD Mailing List <freebsd-ports@freebsd.org>, mjl@luckie.org.nz 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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E19443.30204>