From owner-freebsd-x11@FreeBSD.ORG Mon May 18 14:33:51 2015 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41CD7774 for ; Mon, 18 May 2015 14:33:51 +0000 (UTC) Received: from eastrmfepi208.cox.net (eastrmfepi208.cox.net [68.230.241.212]) by mx1.freebsd.org (Postfix) with ESMTP id 01D511072 for ; Mon, 18 May 2015 14:33:50 +0000 (UTC) Received: from eastrmimpo209 ([68.230.241.224]) by eastrmfepo103.cox.net (InterMail vM.8.01.05.15 201-2260-151-145-20131218) with ESMTP id <20150518130405.OCKF32693.eastrmfepo103.cox.net@eastrmimpo209> for ; Mon, 18 May 2015 09:04:05 -0400 Received: from [192.168.3.15] ([72.209.223.190]) by eastrmimpo209 with cox id VR451q004475ef401R45pH; Mon, 18 May 2015 09:04:05 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020202.5559E345.01BA,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.0 cv=a73uAzuF c=1 sm=1 a=ZAcaX8x25vLlsS9BSDEb7A==:17 a=f5xKl4ys9bwA:10 a=8nJEP1OIZ-IA:10 a=kviXuzpPAAAA:8 a=6I5d2MoRAAAA:8 a=NRF7K_vUAAAA:8 a=oub3SE4myfdKY8fR7FcA:9 a=wPNLvfGTeEIA:10 a=ZAcaX8x25vLlsS9BSDEb7A==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Message-ID: <5559E216.8090602@cox.net> Date: Mon, 18 May 2015 08:59:02 -0400 From: "John D. Hendrickson" User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: "Julian H. Stacey" CC: x11@freebsd.org Subject: Re: ports/devel/gccmakedep References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 14:33:51 -0000 Julian H. Stacey wrote: > x11@freebsd.org is MAINTAINER= for this ... > > with current src & ports: > /usr/ports/devel/gccmakedep cat ../../.ctm* > ports-cur 10906 > 11.0-CURRENT /dev/pts/6 jhs 11 lapr/usr/ports/devel/gccmakedep cat ../../.svn* > 386470 > 11.0-CURRENT /dev/pts/6 jhs 12 lapr/usr/ports/devel/gccmakedep > > cd /usr/ports/devel/gccmakedep ; make > ===> Applying FreeBSD patches for gccmakedep-1.0.3 > File to patch: ^D > No file found--skip this patch? [n] y > 1 out of 1 hunks ignored--saving rejects to Oops.rej > => Patch patch-gccmdep.cpp failed to apply cleanly. > > It should not patch > gccmdep.cpp > but patch > gccmakedep.in > > The patch content is also obsolete, there is no > CC=CCCMD > but is a > CC="@CC@" > > I append a new patch file, which builds. > BUT I have Not bothered to analyse what what CC is supposed to be doing, > sufficient for me that it no longer breaks. > Others should please review this. > > --------- > *** gccmakedep.in.orig Wed May 21 20:20:00 2014 > --- gccmakedep.in Mon May 18 13:49:16 2015 > *************** > *** 9,15 **** > # > > TMP=mdep$$.tmp > ! CC="@CC@" > RM="rm -f" > LN="ln" > MV="mv" > --- 9,16 ---- > # > > TMP=mdep$$.tmp > ! # CC="@CC@" > ! CC=${CC:-CCCMD} > RM="rm -f" > LN="ln" > MV="mv" > -------- > > Cheers, > Julian > -- > Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com > Indent previous with "> ". Reply Below as a play script. > Send plain text, Not quoted-printable, HTML, or base64. > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > i'm unhappy with a microsoft friendly win32 team hacking gcc etc after much preparation (gcc glibc etc compiling chain setup) and what i thought was compiling on one host, i now get this when running on a new LFS (linux from scratch): coreutils-8.5) # configure message: # cannot be used with this compiler # a known problem of glibc <= 2.5 with gcc >= 4.3 in # ls.c: In function 'abmon_init': # ls.c:1048: error: 'for' loop initial declarations are only allowed in C99 mo # ls.c:1048: note: use option -std=c99 or -std=gnu99 to compile your code # i check for header damage: but no, headers are diff good The above had worked before i have no idea how: gnu89 is broken so is gnu99 using gcc-4.4.5 (though 3.5 was on the system - i beleived it not in use) they hacked ls(1) abmon_init(void) { ... /* int i; */ for (int i=0; i<12; ++i) WHICH WAS THE ONLY thing holding up the build (other fixes aside) (until install). i think it's absolutely criminal they take what works (ls.c) and break it so there is not chance of it working without delay. i also had to do this (also set allot of environment and compile options) to even start. [ ! -f coreutils-8.5/src/Makefile.in.old.old ] && { cp coreutils-8.5/src/Makefile.in coreutils-8.5/src/Makefile.in.old.old cat << EOF | ed -s r coreutils-8.5/src/Makefile.in /cu_install_program = ..ginstall/ .,.s/ = .*/ = @INSTALL_PROGRAM@/ w coreutils-8.5/src/Makefile.in q EOF } i'm wishing to try BSD sometime - problem is time :)