[MacPorts] #39175: py27-pyaudio @0.2.7 fails on case-sensitive file systems
#39175: py27-pyaudio @0.2.7 fails on case-sensitive file systems ---------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ---------------------+-------------------------------- Here's the output: {{{ % port -v install py27-pyaudio ---> Computing dependencies for py27-pyaudio. ---> Fetching distfiles for py27-pyaudio ---> pyaudio-0.2.7.tar.gz doesn't seem to exist in /_PATH_/var/macports/distfiles/py-pyaudio ---> Attempting to fetch pyaudio-0.2.7.tar.gz from http://distfiles.macports.org/py-pyaudio % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 178k 100 178k 0 0 165k 0 0:00:01 0:00:01 --:--:-- 182k ---> Verifying checksum(s) for py27-pyaudio ---> Checksumming pyaudio-0.2.7.tar.gz ---> Extracting py27-pyaudio ---> Extracting pyaudio-0.2.7.tar.gz Error: reinplace: couldn't read file "/_PATH_/var/macports/build/__PATH__var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- pyaudio/py27-pyaudio/work/pyaudio-0.2.7/setup.py": no such file or directory Error: org.macports.patch for port py27-pyaudio returned: reinplace sed(1) failed Warning: targets not executed for py27-pyaudio: org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Please see the log file for port py27-pyaudio for details: /_PATH_/var/macports/logs/__PATH__var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyaudio/py27-pyaudio/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-pyaudio failed }}} Note the error: {{{ ... Error: reinplace: couldn't read file "/.../py27-pyaudio/work/pyaudio-0.2.7/setup.py": no such file or directory ... }}} Now take a look at the "work" directory: {{{ % ls /.../py27-pyaudio/work PyAudio-0.2.7 }}} Note that the build script looks for pyaudio-0.2.7 and the directory is actually named PyAudio-0.2.7. This fails on systems with case-sensitive file systems. Here's a quick hack/fix: {{{ % ln PyAudio-0.2.7 /.../py27-pyaudio/work/pyaudio-0.2.7 % ls -Fl /.../py27-pyaudio/work ... PyAudio-0.2.7/ ... pyaudio-0.2.7@ -> PyAudio-0.2.7 % port -v install py27-pyaudio ... }}} -- Ticket URL: <https://trac.macports.org/ticket/39175> MacPorts <http://www.macports.org/> Ports system for OS X
#39175: py27-pyaudio @0.2.7 fails on case-sensitive file systems -------------------------+-------------------- Reporter: mtb19@… | Owner: jaap@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-pyaudio | -------------------------+-------------------- Changes (by larryv@…): * owner: macports-tickets@… => jaap@… * port: => py-pyaudio Comment: Thanks. In the future, please Cc relevant port maintainers. The port should explicitly set `worksrcdir`. {{{ worksrcdir PyAudio-${version} }}} -- Ticket URL: <https://trac.macports.org/ticket/39175#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39175: py27-pyaudio @0.2.7 fails on case-sensitive file systems -------------------------+-------------------- Reporter: mtb19@… | Owner: jaap@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-pyaudio | -------------------------+-------------------- Comment (by jaap@…): Replying to [comment:1 larryv@…]:
Thanks. In the future, please Cc relevant port maintainers.
The port should explicitly set `worksrcdir`. {{{ worksrcdir PyAudio-${version} }}}
Agreed. This seems correct to me. I tested this and that works. Thanks for the suggestion. -- Ticket URL: <https://trac.macports.org/ticket/39175#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39175: py27-pyaudio @0.2.7 fails on case-sensitive file systems -------------------------+-------------------- Reporter: mtb19@… | Owner: jaap@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: py-pyaudio | -------------------------+-------------------- Changes (by larryv@…): * status: new => closed * resolution: => fixed Comment: Cool. Fixed in r106362. -- Ticket URL: <https://trac.macports.org/ticket/39175#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts