[MacPorts] #39175: py27-pyaudio @0.2.7 fails on case-sensitive file systems
MacPorts
noreply at macports.org
Mon May 20 22:05:24 PDT 2013
#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
More information about the macports-tickets
mailing list