From owner-freebsd-current@FreeBSD.ORG Thu Jun 6 23:07:31 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D7521EBB for ; Thu, 6 Jun 2013 23:07:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1D01A81 for ; Thu, 6 Jun 2013 23:07:31 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::6d2b:b588:192c:cf0] (unknown [IPv6:2001:7b8:3a7:0:6d2b:b588:192c:cf0]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 27ACF5C44; Fri, 7 Jun 2013 01:07:29 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Can't compile lxpanel From: Dimitry Andric In-Reply-To: Date: Fri, 7 Jun 2013 01:07:26 +0200 Content-Transfer-Encoding: 7bit Message-Id: <6390C1B9-5DBC-473D-8AE3-D4E7BFC700E9@FreeBSD.org> References: To: Walter Hurry X-Mailer: Apple Mail (2.1508) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 23:07:31 -0000 On Jun 6, 2013, at 18:21, Walter Hurry wrote: > On Thu, 06 Jun 2013 09:19:20 -0600, asomers wrote: >> Looks like a bug upstream. If this port worked in FreeBSD-9, then the >> difference might be the switch from gcc to clang. You could try >> compiling the port with gcc. Just add these lines to /etc/make.conf >> >> CC=gcc CXX=g++ >> CPP=gcpp >> >> Note: that will change the compiler used for ALL ports, as well as >> kernel and world. To selectively change the compiler for just a few >> ports, you can follow the examples here: >> http://www.freebsd.org/doc/en/articles/custom-gcc/article.html >> > Thank you. Yes, switching to gcc (for that port only) worked. > > So should that go down as a defect in lxpanel, or in clang? It is a defect in lxpanel. The code is simply broken, as the error messages clearly show.