Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2021-06-14 15:56:05

MK Malik
Member
Registered: 2021-06-14
Posts: 1

lto1: fatal error compilation terminated (Aster 14.6, Linux 20.04LTS)

Hello,

I have managed to install all the support packages but the installation for aster is failing with the following error message in config.log file

err: lto1: fatal error: bytecode stream in file ‘/home/khalid/anaconda3/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a’ generated with LTO version 6.0 instead of the expected 8.1
compilation terminated.
lto-wrapper: fatal error: /usr/bin/g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

from /tmp/install_aster.6679/aster-14.6.0: Test does not build: Traceback (most recent call last):
  File "/tmp/install_aster.6679/aster-14.6.0/.waf3-2.0.20-df7687050314fa98c5daa534cb234b8c/waflib/Configure.py", line 335, in run_build
    bld.compile()
  File "/tmp/install_aster.6679/aster-14.6.0/.waf3-2.0.20-df7687050314fa98c5daa534cb234b8c/waflib/Build.py", line 176, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
-> task in 'testprog' failed with exit status 1 (run with -v to display more information)
    task details in: /tmp/install_aster.6679/aster-14.6.0/build/std/.conf_check_b367436918f7cae05acae23362c521b8/testbuild/release/testprog.log

Could not build a python embedded interpreter
from /tmp/install_aster.6679/aster-14.6.0: The configuration failed

The system is Ubuntu 20.04LTS. I have attached the setup.log file.

Thanks

Last edited by MK Malik (2021-06-14 16:33:28)


Attachments:
setup.log, Size: 33.5 KiB, Downloads: 242

Offline