[
https://issues.apache.org/jira/browse/AURORA-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13984565#comment-13984565
]
Bhuvan Arumugam commented on AURORA-368:
----------------------------------------
[~wickman] i think protobuf in pypi.python is a valid python dist. I could
install it using pip. The one in
{{http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz}} isn't a valid
python source dist. As you said, it's protobuf source.
Looking through the 3rdparty/python/BUILD i don't see protobuf as a
requirement. I'd presume one of these deps in turn install protobuf. Can you
let me know howto enforce pants to enforce the repos for protobuf? It should
download from pypi.python.org.
{code}
bhuvan@build bin]$ ./pip install
https://pypi.python.org/packages/source/p/protobuf/protobuf-2.5.0.tar.gz
Downloading/unpacking
https://pypi.python.org/packages/source/p/protobuf/protobuf-2.5.0.tar.gz
Using download cache from
/var/tmp/pip/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fprotobuf%2Fprotobuf-2.5.0.tar.gz
Running setup.py egg_info for package from
https://pypi.python.org/packages/source/p/protobuf/protobuf-2.5.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): setuptools in
/home/bhuvan/venv/lib/python2.6/site-packages (from protobuf==2.5.0)
Installing collected packages: protobuf
Running setup.py install for protobuf
Skipping installation of
/home/bhuvan/venv/lib/python2.6/site-packages/google/__init__.py (namespace
package)
Installing
/home/bhuvan/venv/lib/python2.6/site-packages/protobuf-2.5.0-py2.6-nspkg.pth
Successfully installed protobuf
Cleaning up...
{code}
> newer pants/commons lib break aurora packaging
> ----------------------------------------------
>
> Key: AURORA-368
> URL: https://issues.apache.org/jira/browse/AURORA-368
> Project: Aurora
> Issue Type: Bug
> Components: Build, Packaging
> Affects Versions: 0.5.0
> Reporter: Bhuvan Arumugam
> Attachments: AURORA-368.out
>
>
> Ever since pants and commons library were upgraded, we are unable to package
> gc_executor binary. If it matter, we are using OEL6 with py26. Refer to
> attachment for PANTS_VERBOSE output.
> https://github.com/apache/incubator-aurora/commit/ddd2329eaefa780a680ed34e1aecb9c5240f03dd
> It complain following error:
> {code}
> Untranslateable: Package
> SourcePackage(u'http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz')
> is not translateable.
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)