From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 15 14:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0DB00D6B for ; Fri, 15 Mar 2013 14:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E4E87656 for ; Fri, 15 Mar 2013 14:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2FEe0Aw053577 for ; Fri, 15 Mar 2013 14:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2FEe0Hq053576; Fri, 15 Mar 2013 14:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 15 Mar 2013 14:40:00 GMT Resent-Message-Id: <201303151440.r2FEe0Hq053576@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, Vladimir Chukharev Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4F812D53 for ; Fri, 15 Mar 2013 14:39:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 3F50464D for ; Fri, 15 Mar 2013 14:39:15 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2FEdEbU099892 for ; Fri, 15 Mar 2013 14:39:14 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2FEdEtE099891; Fri, 15 Mar 2013 14:39:14 GMT (envelope-from nobody) Message-Id: <201303151439.r2FEdEtE099891@red.freebsd.org> Date: Fri, 15 Mar 2013 14:39:14 GMT From: Vladimir Chukharev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/176993: math/py-matplotlib/work does not see installed numpy X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 14:40:01 -0000 >Number: 176993 >Category: ports >Synopsis: math/py-matplotlib/work does not see installed numpy >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 15 14:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Vladimir Chukharev >Release: 8.3-STABLE >Organization: >Environment: FreeBSD vovavaio 8.3-STABLE FreeBSD 8.3-STABLE #62 r247016: Wed Feb 20 11:35:37 EET 2013 root@vovavaio:/usr/obj/usr/src/sys/VOVA i386 >Description: I try and fail to update py-matplotlib . The ports system correctly detects that a numpy port is installed by looking at the file numeric.py, then during port build a configure program complains that there is no numpy. See attached logs of the update. >How-To-Repeat: >Fix: Patch attached with submission follows: $ sudo DISABLE_VULNERABILITIES=y nice portmaster -H -D -G --no-confirm py27-matplotlib ===>>> Currently installed version: py27-matplotlib-1.2.0 ===>>> Port directory: /usr/ports/math/py-matplotlib ===>>> Launching 'make checksum' for math/py-matplotlib in background ===>>> Gathering dependency list for math/py-matplotlib from ports ===>>> Initial dependency check complete for math/py-matplotlib ===>>> Starting build for math/py-matplotlib <<<=== ===>>> All dependencies are up to date ===> Cleaning for py27-matplotlib-1.2.0_1 ===>>> Logging build to /tmp/port_log-20903-py-matplotlib.TgfFYEd3 ===>>> make failed for math/py-matplotlib ===>>> Aborting update ===>>> Build/Install logs available: /tmp/port_log-20903-py-matplotlib.TgfFYEd3 Terminated ===>>> You can restart from the point of failure with this command line: portmaster math/py-matplotlib $ sudo cat /tmp/port_log-20903-py-matplotlib.TgfFYEd3 ===> Found saved configuration for py27-matplotlib-1.2.0_1 ===> Extracting for py27-matplotlib-1.2.0_1 => SHA256 Checksum OK for matplotlib-1.2.0.tar.gz. /bin/chmod -R ga+r /usr/ports/math/py-matplotlib/work ===> Patching for py27-matplotlib-1.2.0_1 ===> Applying FreeBSD patches for py27-matplotlib-1.2.0_1 /usr/bin/sed -i.bak -e 's|/usr/local|/usr/local|g' -e 's|%%TCL_INCLUDEDIR%%|/usr/local/include/tcl8.5|g' -e 's|%%TK_INCLUDEDIR%%|/usr/local/include/tk8.5|g' -e 's|%%TCL_LIBDIR%%|/usr/local/lib/tcl8.5|g' -e 's|%%TK_LIBDIR%%|/usr/local/lib/tk8.5|g' -e 's|%%TCL_VER%%|85|g' -e 's|%%TK_VER%%|85|g' /usr/ports/math/py-matplotlib/work/matplotlib-1.2.0/setupext.py /usr/bin/sed -i.bak -e 's|%%GTK_BACKEND%%|True|g' -e 's|%%GTKAGG_BACKEND%%|True|g' -e 's|%%TKAGG_BACKEND%%|True|g' -e 's|%%WXAGG_BACKEND%%|False|g' /usr/ports/math/py-matplotlib/work/matplotlib-1.2.0/setup.cfg ===> py27-matplotlib-1.2.0_1 depends on file: /usr/local/lib/python2.7/site-packages/numpy/core/numeric.py - found ===> py27-matplotlib-1.2.0_1 depends on package: py27-dateutil>=1.4 - found ===> py27-matplotlib-1.2.0_1 depends on package: py27-pytz>=0 - found ===> py27-matplotlib-1.2.0_1 depends on package: py27-tkinter>0 - found ===> py27-matplotlib-1.2.0_1 depends on file: /usr/local/bin/python2.7 - found ===> py27-matplotlib-1.2.0_1 depends on executable: pkgconf - found ===> py27-matplotlib-1.2.0_1 depends on file: /usr/local/bin/intltool-extract - found ===> py27-matplotlib-1.2.0_1 depends on executable: pygobject-codegen-2.0 - found ===> py27-matplotlib-1.2.0_1 depends on file: /usr/local/libdata/pkgconfig/pygtk-2.0.pc - found ===> py27-matplotlib-1.2.0_1 depends on shared library: freetype - found ===> py27-matplotlib-1.2.0_1 depends on shared library: png15 - found ===> py27-matplotlib-1.2.0_1 depends on shared library: glib-2.0 - found ===> py27-matplotlib-1.2.0_1 depends on shared library: pcre - found ===> py27-matplotlib-1.2.0_1 depends on shared library: atk-1.0.0 - found ===> py27-matplotlib-1.2.0_1 depends on shared library: gtk-x11-2.0.0 - found ===> py27-matplotlib-1.2.0_1 depends on shared library: glade-2.0.0 - found ===> py27-matplotlib-1.2.0_1 depends on shared library: xml2.5 - found ===> py27-matplotlib-1.2.0_1 depends on shared library: pango-1.0.0 - found ===> Configuring for py27-matplotlib-1.2.0_1 basedirlist is: ['/usr/local', '/usr'] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.2.0 python: 2.7.3 (default, Mar 14 2013, 11:27:23) [GCC 4.2.1 20070831 patched [FreeBSD]] platform: freebsd8 REQUIRED DEPENDENCIES numpy: no * You must install numpy 1.4 or later to build * matplotlib. *** Error code 1 Stop in /usr/ports/math/py-matplotlib. $ pkg_info -W /usr/local/lib/python2.7/site-packages/numpy/core/numeric.py /usr/local/lib/python2.7/site-packages/numpy/core/numeric.py was installed by package py27-numpy-1.6.2_1,1 >Release-Note: >Audit-Trail: >Unformatted: