From owner-freebsd-questions@freebsd.org Fri Sep 20 00:52:05 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CEEB9EB799 for ; Fri, 20 Sep 2019 00:52:05 +0000 (UTC) (envelope-from dvoich@aim.com) Received: from sonic316-12.consmr.mail.bf2.yahoo.com (sonic316-12.consmr.mail.bf2.yahoo.com [74.6.130.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZFY022Dgz4VLn for ; Fri, 20 Sep 2019 00:52:03 +0000 (UTC) (envelope-from dvoich@aim.com) X-YMail-OSG: XvkDNlAVM1nGNhqf5w_a06aWi9pFlfH4cleeVDySktIyaB9SLevn_xgmjOyno_m sOy_Zl_RNBl4fA2DiSYsac2.Z9TSS0MOqgq.47SZyLso_ZzPxZMSaIq30e_IwRHvLN4vPe5iArA8 J_6.mnWwpBSCqlLbA.5YiHmcpVOFSohNjM5WdQZ1NEi3BaWXJDj6IIPjreTcMHOo2GkV3GlAk0yz p5wCVojqZcYDlqZCLW4Y41HucmIzJBxMorOI_rBwWpZk8Qg8FKAtrg1IWfMHoACYe7e.wlbSc_6L xoSBpph85vVHXdN0ULL0gh3I2wTwuq8Bll94EZ1Br.5zbfjt4slnv_xCO4WUlExgiynXqO_mpPaD YLZFHaUTe0vl5FzOOiAQWiiqJcwaFG2hufJnS7xeQQTyHvn9QyA_2A9IfyTmNcUDN8kr4eW8lsg9 QHsgD7wmKp3dTCqCyRls5Y1uxb8FVe75Gi_o1lwOufH2R6Jl1Wf1Q.mv.7bxdzXNLlysaskJcMej xQ5Se.5_tkao6gbSnbH8SSPWb8nmHXXWTFfFmPOAA6zK1DKd3oWryXAwlHWZ2w94j6ztY30e60Dr 2XjKlYrJabPPrCc6sq0M38xnvCEJkN3uylEfASjLL45ZKbjehAus1bcaaX03C9HPcKe6KCxwoPmw dU31CUx5AVmdbeH7u_rEH6T5tBK4JJ7gCC3jecHIciXlx0xiLKluAu2yvSNrF54g1laTcNOyT1xd _o4SDRzf1la7GUlBUx.Y2.q8NdSB8Vp.GCqOAlzVc1p3oI4kI4jMMzXharsaXubobtQV35p2H1o3 gHhZ45.g.wZkCTyxwkRIoAlX6DtTGkaXrtrp1epSGaThdQSzdgfsb_XUhZYULqC4YHtBihO4MoOm 2LyLMA1374Q54.Ty1tTPBp3g_vnE_3H_7Rget3wFvuTz6FN9qJOcTOq.RfqB1TS4TW9nR4dITwkn Lwbg3mTH4T3R4vFPs4P.b9zbFvu1d58wGkL6FTQmv62p0jLm_XvvExeaBVGK1ppJ6ZstWkngAOLC YfbFP5aUobxYP0V1XEkexakjUAe38Lr.1ILL3X8MFf3hYS30m8UfiNuf580f3xE_jcdvcndhZlu6 5TQ2684xWMsUK7I6SrQMqLuo33LHjNRRxoDlb4jbmY3S6O9VpuVf21kz63NLxL3sCxpdhEc6K98. OxsF.SKk7WQP7ghXxqtCBu27Aw2HdcIn1l5iq9efJ2yBbwgKzmw0A9OmJBmHPxTjWwuqvMklkYyA N.lCSjWmA7jYlXdGGAUhn4jpZtSxLzeDlJL0pXzvF5PiSDhZmARGe2zCUrQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.bf2.yahoo.com with HTTP; Fri, 20 Sep 2019 00:52:02 +0000 Received: by smtp430.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID fcf694583b0614c581bed8a2d3c2cacf; Fri, 20 Sep 2019 00:52:01 +0000 (UTC) Date: Thu, 19 Sep 2019 20:52:00 -0400 From: "Vlad D. Markov" To: "Vlad D. Markov" Cc: MJ , freebsd-questions@freebsd.org Subject: Re: Imake fails Message-Id: <20190919205200.b9a89548d5923b0ec46935b3@aim.com> In-Reply-To: <20190919080209.abe7bfd821ecc8cecd17e890@aim.com> References: <20190918152511.fa908fba7c3370ce32d6ba3b@aim.com> <20190918192156.c1ecab9a83307de51a72b4be@aim.com> <7f08a95d-180b-ff1c-0166-20bf5d6a2c5e@gmail.com> <20190919080209.abe7bfd821ecc8cecd17e890@aim.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 46ZFY022Dgz4VLn X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.24 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[aim.com]; R_SPF_ALLOW(-0.20)[+ip4:74.6.128.0/21]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[aim.com:+]; DMARC_POLICY_ALLOW(-0.50)[aim.com,reject]; FREEMAIL_TO(0.00)[aim.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (4.56), ipnet: 74.6.128.0/21(1.45), asn: 26101(1.16), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[aim.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.75)[-0.753,0]; R_DKIM_ALLOW(-0.20)[aim.com:s=a2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.99)[-0.988,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[122.130.6.74.list.dnswl.org : 127.0.5.0]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2019 00:52:05 -0000 On Thu, 19 Sep 2019 08:02:09 -0400 "Vlad D. Markov" wrote: > On Thu, 19 Sep 2019 11:11:51 +1000 > MJ wrote: >=20 > >=20 > > On 19/09/2019 9:21 am, Vlad D. Markov via freebsd-questions wrote: > > > On Thu, 19 Sep 2019 08:58:07 +1000 > > > MJ wrote: > > > > > >> On 19/09/2019 5:25 am, Vlad D. Markov via freebsd-questions wrote: > > >>> I was hoping to build xpat2 but Imake fails. I've had no issues doi= ng the same thing using Debian. > > >>> > > >>> Any ideas how to fix this? > > >>> > > >>> happy$ xmkmf -a > > >>> mv -f Makefile Makefile.bak > > >>> imake -DUseInstalled -I/usr/local/lib/X11/config > > >>> In file included from Imakefile.c:15: > > >>> In file included from /usr/local/lib/X11/config/Imake.tmpl:316: > > >>> /usr/local/lib/X11/config/Imake.rules:1674:27: warning: empty chara= cter constant [-Winvalid-pp-token] > > >>> for flag in ${MAKEFLAGS} ''; do \ = @@\ > > >>> ^ > > >>> In file included from Imakefile.c:15: > > >>> /usr/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .r= ules' file not found > > >>> #include ProjectRulesFile > > >>> ^ > > >>> /usr/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from m= acro 'ProjectRulesFile' > > >>> # define ProjectRulesFile Concat3(<,TopLevelProject,.rules>) > > >>> ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ > > >>> /usr/local/lib/X11/config/Imake.rules:256:23: note: expanded from m= acro 'Concat3' > > >>> #define Concat3(a,b,c)a/**/b/**/c > > >>> ^~~~~~~~~~ > > >>> 1 warning and 1 error generated. > > >>> imake: Exit code 1. > > >>> Stop. > > >> > > >> You probably want to add uname information etc. to aid in any help. > > >> > > >> > > > FreeBSD happy 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64 > > > > > > imake-1.0.8,1 > > > Name : imake > > > Version : 1.0.8,1 > > > Installed on : Wed Sep 18 14:38:50 2019 EDT > > > Origin : devel/imake > > > Architecture : FreeBSD:12:amd64 > > > Prefix : /usr/local > > > Categories : devel > > > Licenses : MIT > > > Maintainer : x11@FreeBSD.org > > > WWW : https://www.x.org/ > > > Comment : Imake and other utilities from X.Org > > > Annotations : > > > FreeBSD_version: 1200086 > > > Flat size : 70.7KiB > > > Description : > > > This package contains X.Org's imake, imake config files, and other bu= ild-related > > > tools. > > > > > > WWW: https://www.x.org/ > > > > > Are you using ports? I have the same v12 FreeBSD and I just built it fr= om games/xpat2 without a problem. This built imake as well. > >=20 > > Why are you using xmkmf? > >=20 > > Cheers > > Mark > >=20 > xpat2 builds well from ports because it uses the supplied Makefile. No pr= oblem there. >=20 > There are multiple options to building xpat2 like using Motif vice Xaw et= c. I prefer the Motif version. There is a tmpl file in the src directory wh= ere you can modify things then run xmkmf to generate the new Makefile and b= uild it to your taste. >=20 >=20 >=20 >=20 > --=20 >=20 The exact same issue I am facing is here: https://bugs.freedesktop.org/show_bug.cgi?id=3D45509 Bugzilla ? Bug 45509 imake is failing with clang I installed gcc9. I set: export IMAKECPP=3D/usr/local/bin/cpp9 imake succeeds now. Vlad