-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi,
I'm on Arch Linux x64 with python being version 3.3.3.
I ran the following commands:
./autogen.sh
./configure prefix=/usr --disable-static
python setup.py test
Result:
Generating google/protobuf/descriptor_pb2.py...
Generating google/protobuf/compiler/plugin_pb2.py...
running test
running egg_info
creating protobuf.egg-info
writing protobuf.egg-info/PKG-INFO
writing top-level names to protobuf.egg-info/top_level.txt
writing namespace_packages to protobuf.egg-info/namespace_packages.txt
writing dependency_links to protobuf.egg-info/dependency_links.txt
writing manifest file 'protobuf.egg-info/SOURCES.txt'
package init file 'google/protobuf/compiler/__init__.py' not found (or not a regular file)
reading manifest file 'protobuf.egg-info/SOURCES.txt'
writing manifest file 'protobuf.egg-info/SOURCES.txt'
running build_ext
Generating google/protobuf/unittest_pb2.py...
[libprotobuf ERROR google/protobuf/descriptor.cc:4153] "protobuf_unittest.FOO2" uses the same enum value as "protobuf_unittest.FOO1". If this is intended, set 'option allow_alias = true;' to the enum definition.
[libprotobuf ERROR google/protobuf/descriptor.cc:4153] "protobuf_unittest.BAR2" uses the same enum value as "protobuf_unittest.BAR1". If this is intended, set 'option allow_alias = true;' to the enum definition.
Generating google/protobuf/unittest_custom_options_pb2.py...
Generating google/protobuf/unittest_import_pb2.py...
Generating google/protobuf/unittest_mset_pb2.py...
Generating google/protobuf/unittest_no_generic_services_pb2.py...
Generating google/protobuf/internal/more_extensions_pb2.py...
Generating google/protobuf/internal/more_messages_pb2.py...
Traceback (most recent call last):
File "setup.py", line 154, in <module>
"Protocol Buffers are Google's data interchange format.",
File "/usr/lib/python3.3/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.3/distutils/dist.py", line 929, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.3/distutils/dist.py", line 948, in run_command
cmd_obj.run()
File "/usr/lib/python3.3/site-packages/setuptools/command/test.py", line 138, in run
self.with_project_on_sys_path(self.run_tests)
File "/usr/lib/python3.3/site-packages/setuptools/command/test.py", line 118, in with_project_on_sys_path
func()
File "/usr/lib/python3.3/site-packages/setuptools/command/test.py", line 164, in run_tests
testLoader = cks
File "/usr/lib/python3.3/unittest/main.py", line 124, in __init__
self.parseArgs(argv)
File "/usr/lib/python3.3/unittest/main.py", line 168, in parseArgs
self.createTests()
File "/usr/lib/python3.3/unittest/main.py", line 175, in createTests
self.module)
File "/usr/lib/python3.3/unittest/loader.py", line 137, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python3.3/unittest/loader.py", line 137, in <listcomp>
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python3.3/unittest/loader.py", line 122, in loadTestsFromName
test = obj()
File "/home/rschwab/build/python-protobuf-git/src/python3-protobuf/python/setup.py", line 73, in MakeTestSuite
import google.protobuf.internal.generator_test as generator_test
File "/home/rschwab/build/python-protobuf-git/src/python3-protobuf/python/google/protobuf/internal/generator_test.py", line 47, in <module>
from google.protobuf import unittest_custom_options_pb2
File "/home/rschwab/build/python-protobuf-git/src/python3-protobuf/python/google/protobuf/unittest_custom_options_pb2.py", line 4, in <module>
from google.protobuf.internal import enum_type_wrapper
ImportError: cannot import name enum_type_wrapper
Metadata
Metadata
Assignees
Labels
No labels