From owner-freebsd-ports@freebsd.org Sat Sep 23 22:43:36 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 B1005E123EC for ; Sat, 23 Sep 2017 22:43:36 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA1022C3 for ; Sat, 23 Sep 2017 22:43:36 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 99AECE123EB; Sat, 23 Sep 2017 22:43:36 +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 9928FE123EA for ; Sat, 23 Sep 2017 22:43:36 +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 6E1DC22C1; Sat, 23 Sep 2017 22:43:36 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (125-209-137-153.dyn.iinet.net.au [125.209.137.153]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v8NMhUiF085398 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 23 Sep 2017 15:43:33 -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: Sun, 24 Sep 2017 06:43:24 +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: Sat, 23 Sep 2017 22:43:36 -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 works! please commit.. > > -Dimitry