From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 13 15:00:20 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F167610656A4 for ; Thu, 13 Jan 2011 15:00:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AC19E8FC17 for ; Thu, 13 Jan 2011 15:00:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0DF0JK8010843 for ; Thu, 13 Jan 2011 15:00:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0DF0JX8010832; Thu, 13 Jan 2011 15:00:19 GMT (envelope-from gnats) Resent-Date: Thu, 13 Jan 2011 15:00:19 GMT Resent-Message-Id: <201101131500.p0DF0JX8010832@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Peter C. Lai" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1697F106564A for ; Thu, 13 Jan 2011 14:56:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 054BF8FC24 for ; Thu, 13 Jan 2011 14:56:39 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p0DEucKL025879 for ; Thu, 13 Jan 2011 14:56:38 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p0DEucBp025878; Thu, 13 Jan 2011 14:56:38 GMT (envelope-from nobody) Message-Id: <201101131456.p0DEucBp025878@red.freebsd.org> Date: Thu, 13 Jan 2011 14:56:38 GMT From: "Peter C. Lai" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153952: python26 + pth fails to reconfigure cflags to include -I${LOCALBASE}/include/pth in include path X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 15:00:20 -0000 >Number: 153952 >Category: ports >Synopsis: python26 + pth fails to reconfigure cflags to include -I${LOCALBASE}/include/pth in include path >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 13 15:00:19 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Peter C. Lai >Release: 8.2-RC1 >Organization: Cesium Hyperfine Informatics >Environment: ports cvsup as of 13 Jan 2011, amd64 arch >Description: We ran into a problem building devel/gobject-introspection during 'make configure' with the following error related to python detection with python26 built with pth: (from config.log) /usr/local/include/python2.6/Python.h:163:17: error: pth.h: No such file or directory Obviously pth was present in: % find /usr/ -name pth.h /usr/obj/usr/ports/devel/pth/work/pth-2.0.7/pth.h /usr/local/include/pth/pth.h however, config wasn't picking it up: % python2.6-config --clfags Usage: /usr/local/bin/python2.6-config [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help] uab# python2.6-config --cflags -I/usr/local/include/python2.6 -I/usr/local/include/python2.6 -fno-strict-aliasing -O2 -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -fno-strict-aliasing -DNDEBUG -O2 -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -fno-strict-aliasing During python26 installation, -I${LOCALBASE}/include/pth isn't being added to the default include path for python26... >How-To-Repeat: 1. Build lang/python26 WITH_PTH 2. Attempt to build devel/gobject-introspection TAD: configure will fail at: checking for headers required to compile python extensions... not found configure: error: Python headers not found >Fix: that's for python@ to figure out :) cc to bms@ since he originated the pth patch. >Release-Note: >Audit-Trail: >Unformatted: