From owner-freebsd-ports@FreeBSD.ORG Thu Feb 27 14:40:58 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5FAA7DF; Thu, 27 Feb 2014 14:40:58 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68A4910F2; Thu, 27 Feb 2014 14:40:58 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id to1so2098793ieb.30 for ; Thu, 27 Feb 2014 06:40:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vD68Ee0HI/5i3Hj7h3fehngtDFaXhsS1PhyeGX4gN8s=; b=RyNBFtV2NVOWbzR8ba2MYfxOmSYxJKQyBv8hJ373YIBP6RAouP3BF6GVlvmY95Iulf /yjGbigvGIejvP980jQo3tgIZD9Z5DXZk6eO/5Kzeodqlx3rAHczii5LgScDQbg0UlBO ErbXuDuSQ+lQ8k+mOykOKSO5IgrJP6c1EBbpSXOfKdazPOJZJ+VX6Ep8IJFOhQAPUAFy xNOwn/9bpGLHcqAArISC//NCuwIVMt2WLPAjf3vlydAsWV+SjanF/6Tm8x26LR+N3gQq en12dImWJ7i+X10znAOgxR/1Z01s9KmnanCpXyRsZwUEpNEMmgLp9PXdN5fuxqp4R8zc 8Iiw== MIME-Version: 1.0 X-Received: by 10.42.27.136 with SMTP id j8mr5660029icc.69.1393512057905; Thu, 27 Feb 2014 06:40:57 -0800 (PST) Received: by 10.50.164.227 with HTTP; Thu, 27 Feb 2014 06:40:57 -0800 (PST) In-Reply-To: <530f4b12.46a1e00a.7c8f.29da@mx.google.com> References: <530f4b12.46a1e00a.7c8f.29da@mx.google.com> Date: Thu, 27 Feb 2014 08:40:57 -0600 Message-ID: Subject: Re: py.sqlite3 fails to build in firefox port From: Scot Hetzel To: buddha Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current , FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 14:40:58 -0000 On Thu, Feb 27, 2014 at 8:26 AM, buddha wrote: > cc: error: unknown argument: '-R/usr/local/lib' > > Python build finished, but the necessary bits to build these modules were not found: > _bsddb _tkinter dl > imageop linuxaudiodev ossaudiodev > spwd sunaudiodev > To find the necessary bits, look in setup.py in detect_modules() for the module's name. > > > Failed to build these modules: > _sqlite3 > > running build_scripts > > > This is the output from the /py-sqlite3/work/Python-2.7.6 directory. > > In the /www/firefox port the compilation fails with: > cc: error: unknown argument: '-R/usr/local/lib' > error: command 'cc' failed with exit status 1 > *** Error code 1 > > Here is my pkg info for python utils > py27-libxml2-2.8.0 Python interface for XML parser library for GNOME > py27-setuptools-2.0.1 Python packages installer > python-2.7_1,2 The "meta-port" for the default version of Python interpreter > python2-2_2 The "meta-port" for version 2 of the Python interpreter > python27-2.7.6_2 Interpreted object-oriented programming language Try the following patch to lang/python27: http://docs.freebsd.org/cgi/mid.cgi?CAALwa8m9-dpiO4fpA_BG-QeZyo9wsRpDVXHz_CTNUYeFLK7GVA If someone could commit the patch, it would fix this issue for all users that are using clang 3.4. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.