From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 4 17:09:26 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA7165CD for ; Sun, 4 Jan 2015 17:09:26 +0000 (UTC) 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 BB91D275F for ; Sun, 4 Jan 2015 17:09:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t04H9Qcv004459 for ; Sun, 4 Jan 2015 17:09:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196491] comms/gnuradio on 10.1-release not working Date: Sun, 04 Jan 2015 17:09:26 +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 Some People X-Bugzilla-Who: oliver@beefrankly.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hamradio@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 17:09:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196491 Bug ID: 196491 Summary: comms/gnuradio on 10.1-release not working Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: hamradio@FreeBSD.org Reporter: oliver@beefrankly.org Flags: maintainer-feedback?(hamradio@FreeBSD.org) Assignee: hamradio@FreeBSD.org after upgrading my ports to the latest release on CURRENT I noticed gnuradio stopped working. First I thought something messed up with my compiler settings. I tested with a 10.1-release fresh install on a vm to be sure it is not my system. $ cd /usr/ports/comms/gnuradio/ $ make install clean or $ pkg install gnuradio leads to: $ python -c "import gnuradio.gr" Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/site-packages/gnuradio/gr/__init__.py", line 45, in from hier_block2 import * File "/usr/local/lib/python2.7/site-packages/gnuradio/gr/hier_block2.py", line 23, in import pmt File "/usr/local/lib/python2.7/site-packages/pmt/__init__.py", line 55, in from pmt_to_python import pmt_to_python as to_python File "/usr/local/lib/python2.7/site-packages/pmt/pmt_to_python.py", line 22, in import numpy File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 170, in from . import add_newdocs File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 18, in from .polynomial import * File "/usr/local/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 19, in from numpy.linalg import eigvals, lstsq, inv File "/usr/local/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 51, in from .linalg import * File "/usr/local/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 29, in from numpy.linalg import lapack_lite, _umath_linalg ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found I tested: $ python -c "from numpy.linalg import lapack_lite, _umath_linalg" $ works fine. Maybe this is a similar issue, so I assume gnuradio is build with other compiler settings: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184135 But py-numpy seems to work fine. Also the import that fails in the script. Truss excerpt: python -c "import numpy.linalg" access("/usr/local/lib/gcc48/libgfortran.so.3",0) = 0 (0x0) open("/usr/local/lib/gcc48/libgfortran.so.3",O_CLOEXEC,030373770) = 10 (0xa) fstat(10,{ mode=-rwxr-xr-x ,inode=1851572,size=5096224,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,10,0x0) = 34368167936 (0x80080a000) mmap(0x0,3231744,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34431950848 (0x8044de000) mmap(0x8044de000,1126400,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,10,0x0) = 34431950848 (0x8044de000) mmap(0x8047f1000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,10,0x113000) = 34435174400 (0x8047f1000) munmap(0x80080a000,4096) = 0 (0x0) close(10) = 0 (0x0) access("/usr/local/lib/gcc48/libgcc_s.so.1",0) = 0 (0x0) open("/usr/local/lib/gcc48/libgcc_s.so.1",O_CLOEXEC,030373770) = 10 (0xa) Truss excerpt: python -c "import gnuradio.gr" access("/usr/local/lib/gcc48/libgfortran.so.3",0) = 0 (0x0) open("/usr/local/lib/gcc48/libgfortran.so.3",O_CLOEXEC,030373770) = 14 (0xe) fstat(14,{ mode=-rwxr-xr-x ,inode=1851572,size=5096224,blksize=32768 }) = 0 (0x0) access("/lib/libgcc_s.so.1",0) = 0 (0x0) open("/lib/libgcc_s.so.1",O_CLOEXEC,030373770) = 6 (0x6) fstat(6,{ mode=-r--r--r-- ,inode=47351049,size=56384,blksize=32768 }) = 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,6,0x0) = 34368167936 (0x80080a000) mmap(0x0,2154496,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34427904000 (0x804102000) mmap(0x804102000,57344,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,6,0x0) = 34427904000 (0x804102000) mmap(0x80430f000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,6,0xd000) = 34430054400 (0x80430f000) munmap(0x80080a000,4096) = 0 (0x0) close(6) = 0 (0x0) So it seems as gnuradio import uses the wrong(?) libgcc_s.so.1 file (not the gcc48-Version) but uses the gcc48 libgfortran version. $ pkg info gnuradio gnuradio-3.7.4_1 Name : gnuradio Version : 3.7.4_1 Installed on : Sat Jan 3 03:25:38 CET 2015 Origin : comms/gnuradio Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : hamradio comms astro Licenses : GPLv3 Maintainer : hamradio@FreeBSD.org WWW : http://gnuradio.org/redmine/projects/gnuradio Comment : Amateur Radio Software defined radio Options : TESTING : off USRP : on Shared Libs required: libuhd.so.003 libqwt.so.5 libpython2.7.so.1 libportaudio.so.2 liborc-0.4.so.0 libjack.so.0 libgslcblas.so.0 libgsl.so.0 libfftw3f_threads.so.3 libfftw3f.so.3 libboost_unit_test_framework.so.1.55.0 libboost_thread.so.1.55.0 libboost_system.so.1.55.0 libboost_program_options.so.1.55.0 libboost_filesystem.so.1.55.0 libboost_date_time.so.1.55.0 libasound.so.2 libSDL-1.2.so.0 libQtGui.so.4 libQtCore.so.4 Shared Libs provided: libvolk.so.0.0.0 libgnuradio-wxgui.so.3.7.4 libgnuradio-wavelet.so.3.7.4 libgnuradio-vocoder.so.3.7.4 libgnuradio-video-sdl.so.3.7.4 libgnuradio-uhd.so.3.7.4 libgnuradio-trellis.so.3.7.4 libgnuradio-runtime.so.3.7.4 libgnuradio-qtgui.so.3.7.4 libgnuradio-pmt.so.3.7.4 libgnuradio-pager.so.3.7.4 libgnuradio-noaa.so.3.7.4 libgnuradio-filter.so.3.7.4 libgnuradio-fft.so.3.7.4 libgnuradio-fec.so.3.7.4 libgnuradio-fcd.so.3.7.4 libgnuradio-digital.so.3.7.4 libgnuradio-channels.so.3.7.4 libgnuradio-blocks.so.3.7.4 libgnuradio-audio.so.3.7.4 libgnuradio-atsc.so.3.7.4 libgnuradio-analog.so.3.7.4 Annotations : Flat size : 119MiB Description : GNU Radio is a collection of software that when combined with minimal hardware, allows the construction of radios where the actual waveforms transmitted and received are defined by software. What this means is that it turns the digital modulation schemes used in today's high performance wireless devices into software problems. WWW: http://gnuradio.org/redmine/projects/gnuradio $ --- Comment #1 from Bugzilla Automation --- Auto-assigned to maintainer hamradio@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.