From owner-freebsd-ports-bugs@freebsd.org Sat Aug 13 07:42:03 2016 Return-Path: Delivered-To: freebsd-ports-bugs@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 10939BB8830 for ; Sat, 13 Aug 2016 07:42:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFF8F1E60 for ; Sat, 13 Aug 2016 07:42:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7D7g2Ns075821 for ; Sat, 13 Aug 2016 07:42:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211805] graphics/py-opencv import cv2 fails Date: Sat, 13 Aug 2016 07:42:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hassonofer@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhale@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2016 07:42:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211805 Bug ID: 211805 Summary: graphics/py-opencv import cv2 fails Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jhale@FreeBSD.org Reporter: hassonofer@gmail.com Flags: maintainer-feedback?(jhale@FreeBSD.org) Assignee: jhale@FreeBSD.org System: FreeBSD localhost 10.3-RELEASE-p4 FreeBSD 10.3-RELEASE-p4 Description: After installing py27-opencv and py27-numpy using 'pkg', there is a failure= to import cv2 before importing numpy. Script like this: --- import numpy as np import cv2 --- will work, but script like this will fail: --- import cv2 import numpy as np --- Output: "ImportError: numpy.core.multiarray failed to import" If I run a full project, I get a more descriptive error: ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found Steps to reproduce: 1. Install py27-opencv py27-numpy using the binary package manager 'pkg' 2. Run python -c 'exec("import cv2\nimport numpy")' - Error 3. Run python -c 'exec("import numpy\nimport cv2")' - No Error --=20 You are receiving this mail because: You are the assignee for the bug.=