From owner-freebsd-ports@freebsd.org Fri Dec 29 10:14:44 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 721D3E8013E for ; Fri, 29 Dec 2017 10:14:44 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4ADB46470B for ; Fri, 29 Dec 2017 10:14:44 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4754BE8013D; Fri, 29 Dec 2017 10:14:44 +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 46ED6E8013A for ; Fri, 29 Dec 2017 10:14:44 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay107.isp.belgacom.be (mailrelay107.isp.belgacom.be [195.238.20.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90DB16470A for ; Fri, 29 Dec 2017 10:14:42 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3AUBpcqB00bAcbS0JFsmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?se0WLfad9pjvdHbS+e9qxAeQG9mDsrQc06L/iOPJYSQ4+5GPsXQPItRndiQuro?= =?us-ascii?q?EopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZv?= =?us-ascii?q?JuTyB4Xek9m72/q99pHPfglEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+?= =?us-ascii?q?VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfM?= =?us-ascii?q?QA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLmhi?= =?us-ascii?q?cJOSAk/m/UiMNwgq1Urw6uqRFk347UeZ2ZOOZicq/Bf94XQ3dKUMZLVyxGB4Ox?= =?us-ascii?q?d5UBD+sDPeZcsoLwuVwOrRylBQayAePg0DlIhmTr1qA9z+QhEAPG3Ag7EtwOqn?= =?us-ascii?q?Tbssv6OboPX+671qXIyi/Db/xP1Dr79YPGcQghrOmPUL5ta8bd10YiGx/fglif?= =?us-ascii?q?q4HpJS2Z2vgTv2Wd8uFuT/igi3Q9pAF0ujWvw8AshZTXiY8N0VDE8Dl5wJ4yJd?= =?us-ascii?q?2lVE53ed6kH4VUtyGdL4Z2QdktQ2VpuCY/1LIGo5m7cDIWyJQmxR7fb+aLfJSP?= =?us-ascii?q?4hLkT+aePzJ4i2hjeLKknRqy9lKgyuLkWsm11lZFsDZFn8HPu3wQzRDf9MeKRu?= =?us-ascii?q?dn8kqu2zuDzR7f5v1aLUwskKrUMZ8hwro+lpoJtkTDGzf7mFn3jK+UckUp4eao?= =?us-ascii?q?6/75bbr4vZCcLJJ7hhv5MqQ0lcyzGf44PRQWX2iH5eS806Xu/VX+QLVQkv02ib?= =?us-ascii?q?LUsJ7AJcsFuKG2GBRV3Zs55xa4FTem34dQoX5SHU9feVrTnpXzOnnUKe/yErG0?= =?us-ascii?q?hFH6wxlxwPWTArzjBt3mKX/YnbLoe601v1Jdyg4b48pS6rhvJvcGOv2lCRy5j8?= =?us-ascii?q?DREhJsa1/8+O3gEtgojo4=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2B+AQATFEZa/8ov8FFcGgEBAQEBAgEBA?= =?us-ascii?q?QEIAQEBAYM+gVonhAeKJHSOIwEBggAzAZZ1ghWFPwICAQEChC5AGAEBAQEBAQE?= =?us-ascii?q?BAQFqKII4IoJKAQUjMyMQCxgCAgUhAgIPKh4GE4oyqHaCJ4ozAQEBBwEBAQEkg?= =?us-ascii?q?Q+CfYh/gzCBboMXgkUgBaNMlSiBAIELkX+YPx85gU9MMAiCZoRYQDeJFAEBAQ?= X-IPAS-Result: =?us-ascii?q?A2B+AQATFEZa/8ov8FFcGgEBAQEBAgEBAQEIAQEBAYM+gVo?= =?us-ascii?q?nhAeKJHSOIwEBggAzAZZ1ghWFPwICAQEChC5AGAEBAQEBAQEBAQFqKII4IoJKA?= =?us-ascii?q?QUjMyMQCxgCAgUhAgIPKh4GE4oyqHaCJ4ozAQEBBwEBAQEkgQ+CfYh/gzCBboM?= =?us-ascii?q?XgkUgBaNMlSiBAIELkX+YPx85gU9MMAiCZoRYQDeJFAEBAQ?= Received: from 202.47-240-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.240.47.202]) by relay.skynet.be with ESMTP; 29 Dec 2017 11:14:33 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id vBTAEW9Q078879; Fri, 29 Dec 2017 11:14:33 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Fri, 29 Dec 2017 11:14:32 +0100 From: Tijl Coosemans To: Yuri Cc: "ports@freebsd.org" Subject: Re: What to do when SCons-based project tries to open $LDFLAGS value as a file? Message-ID: <20171229111432.710bc119@kalimero.tijl.coosemans.org> In-Reply-To: <72c30f3a-1beb-5583-defd-cca6041a06bd@rawbw.com> References: <72c30f3a-1beb-5583-defd-cca6041a06bd@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Dec 2017 10:14:44 -0000 On Thu, 28 Dec 2017 23:35:00 -0800 Yuri wrote: > I am getting this error from scons: >=20 >> g++6 -o lib/libtmv.so.0 " -L/usr/local/lib -fstack-protector =20 >> -Wl,-rpath=3D/usr/local/lib/gcc6 -L/usr/local/lib/gcc6" -fopenmp -shared= ... >> >> g++6: error:=C2=A0 -L/usr/local/lib -fstack-protector =20 >> -Wl,-rpath=3D/usr/local/lib/gcc6 -L/usr/local/lib/gcc6: No such file or= =20 >> directory >=20 > It tries to open LDFLAGS that were passed to it as LINKFLAGS as a file. Figure out where the double quotes come from and remove that.