From owner-freebsd-ports@FreeBSD.ORG Thu Mar 18 02:30:55 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33F45106564A for ; Thu, 18 Mar 2010 02:30:55 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id E0B9C8FC1A for ; Thu, 18 Mar 2010 02:30:54 +0000 (UTC) Received: by gwj15 with SMTP id 15so843368gwj.13 for ; Wed, 17 Mar 2010 19:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Qi8XqjylCdpaHSQ+c5rqCQiuu2Jn+UsdIgcGYvc3+RU=; b=cEclsJJx3M15CN11I47awMWq/AnsfRwQ/m6/E/q6RbX73DRI48jFQjaHddi9XwbC9+ NUymlCwm6G9C7RBHpCgC26bLE1PJ7sxjBoizUBm5ZkNqZwv/ZtP80gErM3xVXT+A03KI 62J3abLSFxVXuPO2ofG3gYVVKi86vKJi1W1ZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZiEGYpXbJPiAdW0FKn2jEvaBOeFwjXbpYhVUyI+LHm7omUQnnZ4OTRkHDxPvPIrmgZ XA+L6Dz3Vd38Na/IXPUyYNXih4C68EhEITnfyeDNSK4hoiJu2NIMYSLzIF2kYA7pDU4R fJe406nokZMLwdFHdjP/baKyUq8MJ5gcENufg= MIME-Version: 1.0 Received: by 10.150.45.17 with SMTP id s17mr6019857ybs.80.1268879454000; Wed, 17 Mar 2010 19:30:54 -0700 (PDT) In-Reply-To: <970380131003171926y8ad3288x42a86507ea967873@mail.gmail.com> References: <970380131003171146g73c81069t4fff06a349c2acc3@mail.gmail.com> <970380131003171835i19383b57nc52886cc6e64ce25@mail.gmail.com> <9DAB6E99-9E7F-4444-BC25-5BF219A90E88@mac.com> <970380131003171900n1dfcab48o4f9d65ff761cf513@mail.gmail.com> <5EB1BD7C-F1AC-4FA7-B918-C7A661776CFD@mac.com> <970380131003171926y8ad3288x42a86507ea967873@mail.gmail.com> Date: Wed, 17 Mar 2010 21:30:53 -0500 Message-ID: <970380131003171930t725c381av4ae8e508e2ec18e2@mail.gmail.com> From: Jason Garrett To: Chuck Swiger , FreeBSD Ports Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: lang/guile fails to build on amd64 / 9-CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 02:30:55 -0000 On Wed, Mar 17, 2010 at 21:26, Jason Garrett wrote: > On Wed, Mar 17, 2010 at 21:06, Chuck Swiger wrote: >> On Mar 17, 2010, at 7:00 PM, Jason Garrett wrote: >>> This must be set by default as I have set no other flags in >>> /etc/make.conf or otherwise. How would I go about un-setting this? >>> -Wno-error? >> >> Yes, that should do it: >> >> =A0touch /etc/make.conf && echo "CFLAGS +=3D -Wno-error" >> /etc/make.co= nf >> >> Please note that I'm inferring from the compiler treating a #warning as = an error; if you show more of the actual compilation line, the list might b= e better able to understand what the compiler flags were and where they mig= ht have been set. >> >> Regards, >> -- >> -Chuck >> >> > > I set -Wno-error as suggested, it is present during compile but the > -Werror is still set at the end. I also found where -Werror is set. > First I need to enable sshd on the machine and get a good copy paste, > more to come! > Here is the error with 2 lines on top of it, see where -Wno-error and -Werror are both set? ./guile-snarf -o stacks.x stacks.c -DHAVE_CONFIG_H -I.. -I.. -I.. -I/usr/local/include -O2 -pipe -Wno-error -march=3Dnocona -fno-strict-aliasing -Wall -Wmissing-prototypes -Werror ./guile-snarf -o stime.x stime.c -DHAVE_CONFIG_H -I.. -I.. -I.. -I/usr/local/include -O2 -pipe -Wno-error -march=3Dnocona -fno-strict-aliasing -Wall -Wmissing-prototypes -Werror In file included from stime.c:76: /usr/include/sys/timeb.h:42:2: error: #warning "this file includes which is deprecated" gmake[2]: *** [stime.x] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.6/libguil= e' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.6' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/lang/guile.