[MacPorts] #35332: py-keyring will not install
MacPorts
noreply at macports.org
Fri Aug 3 02:40:56 PDT 2012
#35332: py-keyring will not install
---------------------------------------+------------------------------------
Reporter: pavel.hlavnicka@… | Owner: and.damore@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: py-keyring
---------------------------------------+------------------------------------
Comment(by and.damore@…):
Replying to [comment:8 pavel.hlavnicka@…]:
> {{{
> xxx:~ pavel$ xcode-select -print-path
> /Applications/Xcode.app/Contents/Developer
>
> xxx:~ pavel$ port select --show python
> The currently selected version for 'python' is 'python27'.
>
> xxx:~ pavel$ which python
> /opt/local/bin/python
>
> xxx:~ pavel$ python --version
> Python 2.7.3
>
> xxx:~ pavel$ python -c "import subprocess;
print(subprocess.Popen(['/usr/bin/xcodebuild', '-version'], env={},
stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate())"
> ('Xcode 4.4\nBuild version 4F250\n', '')
>
> xxx:~ pavel$ which xcodebuild
> /usr/bin/xcodebuild
> }}}
All your output seems safe, but the log error clearly indicates
{{{
IndexError: list index out of range'' on the runcmd() return value
}}}
so something is wrong while running setup.py
> ... I have just tried {{{port install py-keyring}}} on the same terminal
as the above with the same issue in the log file
That's weird, ''py-keyring'' shouldn't build anything at all when not
build a subport like ''py27-keyring''
Retry building ''py-keyring'' cleaning the ports before
{{{
port clean py27-keyring py-keyring
port -d install py-keyring
}}}
> feel free to mail me and we can do some online session to investigate
I usually hang out on the IRC channel.
I'm attaching a portfile patch, please download ''port-py_keyring.diff'',
execute
{{{
cd $(port dir py-keyring)
sudo port clean py27-keyring py-keyring
patch -p0 <~/Downloads/port-py_keyring.diff
sudo port -v build py27-keyring | grep commandRes
}}}
and paste the output.
--
Ticket URL: <https://trac.macports.org/ticket/35332#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list