[MacPorts] #60851: libiio fails to build under MacOS 10.14.6

MacPorts noreply at macports.org
Thu Jul 16 20:52:23 UTC 2020


#60851: libiio fails to build under MacOS 10.14.6
------------------------------------------+--------------------
 Reporter:  mcquiggi                      |      Owner:  (none)
     Type:  defect                        |     Status:  new
 Priority:  Normal                        |  Milestone:
Component:  ports                         |    Version:  2.6.2
 Keywords:  libiio, 2.6.2, MacOS-10.14.6  |       Port:  libiio
------------------------------------------+--------------------
 Hi There:

 I'm a longtime user of MacPorts, thanks to all you folks for creating this
 service and keeping the thousands of ports running!

 I am a gnuradio user and am trying to install libiio and gr-iio on my
 system, which runs MacOS 10.14.6.

 When I "port install libiio" I get the following messages and the port
 fails to install.  It seems to build, but then fails due a problem with
 /opt/local/lib/python3.7:


 === START ===

 iMac:~ mcquiggi$ sudo port clean libiio
 --->  Cleaning libiio
 iMac:~ mcquiggi$ sudo port install libiio
 --->  Computing dependencies for libiio
 --->  Fetching archive for libiio
 --->  Attempting to fetch libiio-0.20_0+python37.darwin_18.x86_64.tbz2
 from https://packages.macports.org/libiio
 --->  Attempting to fetch libiio-0.20_0+python37.darwin_18.x86_64.tbz2
 from https://ywg.ca.packages.macports.org/mirror/macports/packages/libiio
 --->  Attempting to fetch libiio-0.20_0+python37.darwin_18.x86_64.tbz2
 from http://aus.us.packages.macports.org/macports/packages/libiio
 --->  Fetching distfiles for libiio
 --->  Verifying checksums for libiio
 --->  Extracting libiio
 --->  Applying patches to libiio
 --->  Configuring libiio
 --->  Building libiio
 --->  Staging libiio into destroot
 Error: Failed to destroot libiio: error renaming
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_libiio/libiio/work/destroot/opt/local/lib/python3.7":
 no such file or directory
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_libiio/libiio/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port libiio failed
 iMac:~ mcquiggi$

 === END ===

 I have /opt/local/lib/python3.8, but indeed there is no
 /opt/local/lib/python3.7.

 This seems to be a problem with the install script looking for Python 3.7
 but not seeing it as I have Python 3.8.

 Any help appreciated.  Just wanted to let you know that the install
 portion of the port is broken.

 Kevin McQuiggin
 mcquiggi at sfu.ca

-- 
Ticket URL: <https://trac.macports.org/ticket/60851>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list