pcs icon indicating copy to clipboard operation
pcs copied to clipboard

Unable to build rpm using make rpm command.

Open SomanathThilak opened this issue 3 years ago • 3 comments

Hi I am getting the below error when executing make rpm command to build pcs0.10.13 package on linux 8 server.

checking default settings for rhel fedora... rhel (or alike) default settings will be used checking pip module: pip >= 10.0.0... no (detected: 9.0.3) checking pip module: setuptools ... yes (detected: 39.2.0) checking pip module: setuptools-scm ... yes (detected: 1.15.7) checking pip module: cryptography ... yes (detected: 3.2.1) checking pip module: lxml ... yes (detected: 4.2.3) checking pip module: pycurl ... yes (detected: 7.43.0.2) checking pip module: pyparsing ... yes (detected: 2.1.10) checking pip module: dacite ... no configure: error: Python module dacite not found error: Bad exit status from /var/tmp/rpm-tmp.VejaJG (%build)

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VejaJG (%build) make: *** [Makefile:1283: rpm] Error 1

Even though the pip3 command lists the dacite module when running make rpm it is shown as not found.

When configure.sh is run manually there are no errors.

Please help solve the issue.

SomanathThilak avatar Mar 22 '22 06:03 SomanathThilak

Hi,

Thanks for reaching out. Please, share additional info so that we can better understand and reproduce your issue. Can you list a sequence of commands which leads to the error, and the manual run sequence which works? What's your Linux distribution and version? What's your Python version? Are you using Python virtual environment?

tomjelinek avatar Mar 22 '22 07:03 tomjelinek

Hi,

Thanks for reaching out. Please, share additional info so that we can better understand and reproduce your issue. Can you list a sequence of commands which leads to the error, and the manual run sequence which works? What's your Linux distribution and version? What's your Python version? Are you using Python virtual environment?

Below is the sequence of step i did,

  1. Extracted the pcs tar file
  2. Installed all the required python and ruby dependencies.
  3. Executed autogen.sh
  4. execute configure.sh with no options.
  5. then ran "make rpm" This is where i am facing the above issue.

I am using RedHat 8.4 version with python 3.6. Also i am not using python virtual environment.

SomanathThilak avatar Mar 22 '22 08:03 SomanathThilak

I'm unable to reproduce your issue. Once I install dacite using pip, configure finds it just fine.

Try running ./configure --enable-local-build, this will download Python packages and rubygems automatically when you run make.

tomjelinek avatar Mar 22 '22 12:03 tomjelinek

I'm unable to reproduce your issue. Once I install dacite using pip, configure finds it just fine.

Try running ./configure --enable-local-build, this will download Python packages and rubygems automatically when you run make.

same issue,when I ./configure --enable-local-build,checking pip module: dacite ... yes,but raises a new issue.

/root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/platform/twisted.py Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/dacite/config.py ... File "/usr/lib64/pcs/pcs_bundled/packages/dacite/config.py", line 7 type_hooks: Dict[Type, Callable[[Any], Any]] = field(default_factory=dict) ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/dacite/core.py ... File "/usr/lib64/pcs/pcs_bundled/packages/dacite/core.py", line 34 def from_dict(data_class: Type[T], data: Data, config: Optional[Config] = None) -> T: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/dacite/dataclasses.py ... File "/usr/lib64/pcs/pcs_bundled/packages/dacite/dataclasses.py", line 14 def get_default_value_for_field(field: Field) -> Any: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/dacite/exceptions.py ... File "/usr/lib64/pcs/pcs_bundled/packages/dacite/exceptions.py", line 4 def name(type: Type) -> str: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/dacite/types.py ... File "/usr/lib64/pcs/pcs_bundled/packages/dacite/types.py", line 8 type_hooks: Dict[Type, Callable[[Any], Any]], cast: List[Type], target_type: Type, value: Any ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/auth.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/auth.py", line 90 callback_uri: Optional[str] = None, ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/autoreload.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/autoreload.py", line 117 def start(check_time: int = 500) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/concurrent.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/concurrent.py", line 52 def is_future(x: Any) -> bool: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/curl_httpclient.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/curl_httpclient.py", line 50 self, max_clients: int = 10, defaults: Optional[Dict[str, Any]] = None ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/escape.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/escape.py", line 43 def xhtml_escape(value: Union[str, bytes]) -> str: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/gen.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/gen.py", line 131 def _value_from_stopiteration(e: Union[StopIteration, "Return"]) -> Any: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/http1connection.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/http1connection.py", line 43 def init(self) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/httpclient.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/httpclient.py", line 91 async_client_class: "Optional[Type[AsyncHTTPClient]]" = None, ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/httpserver.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/httpserver.py", line 156 def init(self, *args: Any, **kwargs: Any) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/httputil.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/httputil.py", line 67 def _normalize_header(name: str) -> str: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/ioloop.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/ioloop.py", line 61 def fileno(self) -> int: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/iostream.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/iostream.py", line 98 def init(self, real_error: Optional[BaseException] = None) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/locale.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/locale.py", line 62 def get(*locale_codes: str) -> "Locale": ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/locks.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/locks.py", line 41 def init(self) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/log.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/log.py", line 55 def _stderr_supports_color() -> bool: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/netutil.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/netutil.py", line 57 port: int, ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/options.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/options.py", line 140 def init(self) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/platform/asyncio.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/platform/asyncio.py", line 46 def fileno(self) -> int: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/platform/caresresolver.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/platform/caresresolver.py", line 35 def initialize(self) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/platform/twisted.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/platform/twisted.py", line 61 def initialize(self) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/process.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/process.py", line 48 def cpu_count() -> int: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/queues.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/queues.py", line 60 future: Future, timeout: Union[None, float, datetime.timedelta] ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/routing.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/routing.py", line 194 self, request: httputil.HTTPServerRequest, **kwargs: Any ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/simple_httpclient.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/simple_httpclient.py", line 53 def init(self, message: str) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/tcpclient.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/tcpclient.py", line 57 addrinfo: List[Tuple], ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/tcpserver.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/tcpserver.py", line 126 ssl_options: Optional[Union[Dict[str, Any], ssl.SSLContext]] = None, ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/template.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/template.py", line 227 def filter_whitespace(mode: str, text: str) -> str: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/asyncio_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/asyncio_test.py", line 35 async def add_callback(): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/concurrent_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/concurrent_test.py", line 115 def test_future(self: typing.Any): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/gen_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/gen_test.py", line 383 async def f2(): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/httpclient_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/httpclient_test.py", line 142 def get(self) -> None: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/httpserver_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/httpserver_test.py", line 54 async def read_stream_body(stream): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/httputil_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/httputil_test.py", line 28 def form_data_args() -> Tuple[Dict[str, List[bytes]], Dict[str, List[HTTPFile]]]: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/ioloop_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/ioloop_test.py", line 363 async def callback(): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/iostream_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/iostream_test.py", line 66 def test_connection_closed(self: typing.Any): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/locks_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/locks_test.py", line 359 async def f(): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/netutil_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/netutil_test.py", line 45 def test_localhost(self: typing.Any): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/process_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/process_test.py", line 82 async def f(): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/queues_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/queues_test.py", line 166 async def f(): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/simple_httpclient_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/simple_httpclient_test.py", line 149 def get_app(self: typing.Any): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/tcpserver_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/tcpserver_test.py", line 51 async def handle_stream(self, stream, address): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/testing_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/testing_test.py", line 78 async def callback(): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/util_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/util_test.py", line 227 print("hello", file=f) ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/web_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/web_test.py", line 2376 def test_flow_control_fixed_body(self: typing.Any): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/test/websocket_test.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/test/websocket_test.py", line 202 async def open(self): ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/testing.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/testing.py", line 50 reuse_port: bool = False, address: str = "127.0.0.1" ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/util.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/util.py", line 54 def _get_emulated_is_finalizing() -> Callable[[], bool]: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/web.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/web.py", line 211 application: "Application", ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/websocket.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/websocket.py", line 63 def compress(self, data: bytes) -> bytes: ^ SyntaxError: invalid syntax

Compiling /root/rpmbuild/BUILDROOT/pcs-0.10-1.14.dirty.a.ky10.loongarch64/usr/lib64/pcs/pcs_bundled/packages/tornado/wsgi.py ... File "/usr/lib64/pcs/pcs_bundled/packages/tornado/wsgi.py", line 51 def to_wsgi_str(s: bytes) -> str: ^ SyntaxError: invalid syntax

错误:/var/tmp/rpm-tmp.rZWF43 (%install) 退出状态不好

RPM 构建错误: /var/tmp/rpm-tmp.rZWF43 (%install) 退出状态不好 make: *** [Makefile:1303:rpm] 错误 1

ashore1992 avatar Nov 02 '22 07:11 ashore1992

Hi @ashore1992,

These seem to be errors coming from Python. What Python version are you using? Pcs requires Python 3.6 or newer.

tomjelinek avatar Nov 02 '22 13:11 tomjelinek

Hi @ashore1992,

These seem to be errors coming from Python. What Python version are you using? Pcs requires Python 3.6 or newer.

[root@test pcs]# python3 --version Python 3.7.4

ashore1992 avatar Nov 03 '22 01:11 ashore1992

@ashore1992,

I'm unable to reproduce your issue. Can you post how exactly you run autogen.sh, configure and make and their outputs? Do you have more than one Python version installed on your machine?

tomjelinek avatar Nov 03 '22 16:11 tomjelinek

@ashore1992,

I'm unable to reproduce your issue. Can you post how exactly you run autogen.sh, configure and make and their outputs? Do you have more than one Python version installed on your machine?

my system has python [root@test pcs]# python python python3.7m python2 python3.7m-config python2.7 python3.7m-loongarch64-config python2.7-config python3-chardetect python2.7-debug python3-config python2.7-debug-config python3-coverage python2-config python3-pyinotify python2-debug python-argcomplete-check-easy-install-script python2-debug-config python-argcomplete-tcsh python3 python-config python3.7 python-debug python3.7-config python-debug-config

now I copy all my outputs,please help me analyse,it's too long,so put all in a file

complier.txt

ashore1992 avatar Nov 04 '22 01:11 ashore1992

@ashore1992,

I'm unable to reproduce your issue. Can you post how exactly you run autogen.sh, configure and make and their outputs? Do you have more than one Python version installed on your machine?

also,there's a prompt,I don't know if this has any effect /usr/lib/python3.7/site-packages/setuptools/dist.py:407: UserWarning: The version specified ('0.10.14.4-f986') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % self.metadata.version

ashore1992 avatar Nov 04 '22 01:11 ashore1992