From owner-freebsd-ports@freebsd.org Thu Sep 28 04:46:25 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09BA2E28691 for ; Thu, 28 Sep 2017 04:46:25 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E70C46F393 for ; Thu, 28 Sep 2017 04:46:24 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E5A64E2868F; Thu, 28 Sep 2017 04:46:24 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5491E2868D for ; Thu, 28 Sep 2017 04:46:24 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C0FED6F392; Thu, 28 Sep 2017 04:46:24 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (115-166-15-49.dyn.iinet.net.au [115.166.15.49]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v8S4kJoG007426 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 27 Sep 2017 21:46:22 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: compler warnings in ports not supported in gcc 4.2.1 (stable/10) To: Dimitry Andric Cc: "ports@FreeBSD.org" , Steve Wills References: <94cf6bd4-87ec-c405-7f5c-2347219aa928@freebsd.org> From: Julian Elischer Message-ID: Date: Thu, 28 Sep 2017 12:46:13 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2017 04:46:25 -0000 On 24/9/17 5:58 am, Dimitry Andric wrote: > On 23 Sep 2017, at 23:42, Julian Elischer wrote: >> Trying to compile the emulators/open-vm-tools-nox11 port >> >> but I end up dying with: >> >> libtool: compile: cc -DPACKAGE_NAME=3D\"open-vm-tools\" -DPACKAGE_TAR= NAME=3D\"open-vm-tools\" -DPACKAGE_VERSION=3D\"10.1.5\" "-DPACKAGE_STRING= =3D\"open-vm-tools 10.1.5\"" -DPACKAGE_BUGREPORT=3D\"open-vm-tools-devel@= lists.sourceforge.net\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"open-vm-tools\= " -DVERSION=3D\"10.1.5\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE= _SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D= 1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_U= NISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -DX_DISPLAY_MISSI= NG=3D1 -DHAVE_DLOPEN=3D1 -DNO_PROCPS=3D1 -DNO_DNET=3D1 -DHAVE_INTTYPES_H=3D= 1 -DHAVE_STDINT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_WCHAR_H=3D1 -DHAVE_SYS_P= ARAM_H=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_USER_H=3D1 -DHAVE__BOOL=3D1 = -DHAVE_STDBOOL_H=3D1 -DHAVE_STRUCT_STAT_ST_RDEV=3D1 -DTIME_WITH_SYS_TIME=3D= 1 -DNO_XSM=3D1 -DNO_XCOMPOSITE=3D1 -DNO_MULTIMON=3D1 -I. -I/usr/ports/emu= lators/open-vm-tools-nox11/work/open-vm-tools-stable-10.1.5/open-vm-tools= /lib/include -I/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tool= s-stable-10.1.5/open-vm-tools/lib/include -Wno-deprecated-declarations -i= system /usr/local/include -DUSING_AUTOCONF=3D1 -DOPEN_VM_TOOLS -DNO_ICU -= DVMX86_TOOLS -O2 -pipe -DPANZURA_DEV -DPZ_FBSD_10 -isystem /usr/local/inc= lude -fno-strict-aliasing -Wall -Werror -Wno-unused-function -Wno-address= -of-packed-member -Wno-unknown-warning-option -Wno-unused -MT nicinfo_xdr= =2Elo -MD -MP -MF .deps/nicinfo_xdr.Tpo -c nicinfo_xdr.c -fPIC -DPIC -o = =2Elibs/nicinfo_xdr.o >> cc1: error: unrecognized command line option "-Wno-address-of-packed-m= ember" >> cc1: error: unrecognized command line option "-Wno-unknown-warning-opt= ion" >> *** [nicinfo_xdr.lo] Error code 1 >> >> >> the system in question is compiled with gcc >> >> >> is there a supported way of making the port not set those flags on eac= h cc1 command? > This appears to have been broken by r444773. Try replacing > emulators/open-vm-tools/files/patch-configure.ac with the attached file= =2E > > -Dimitry Dimitry, could you commit your fix.?=A0 I confirm it corrects the problem= =2E