[Libre-soc-bugs] [Bug 696] [Coroliosis 2] Library libMut Not Found During Alliance Install
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Oct 1 17:07:07 BST 2021
https://bugs.libre-soc.org/show_bug.cgi?id=696
--- Comment #41 from andrey at technepisteme.xyz ---
Created attachment 145
--> https://bugs.libre-soc.org/attachment.cgi?id=145&action=edit
Alliance-check-toolkit make lvx log
(In reply to Luke Kenneth Casson Leighton from comment #40)
> you'd put "sudo" in front of the alliance "make install".
>
> this attempts to log in as root... which of course does not
> have the environment variables set up.
>
> the install of alliance is done as a *user*, not as a system-wide
> install, and therefore does not require root.
What a mistake... should've combed the wiki more as that doesn't have "sudo" in
front of it. Probably got confused when I was converting from root to normal
user script. Apologies.
So Alliance now installs which is great!
However when doing "make lvx" as part of alliance-check-toolkit, I get several
python errors (full log attached):
...
Traceback (most recent call last):
File "/home/rohdo/alliance-check-toolkit/bin/doChip.py", line 11, in <module>
import Cfg
ImportError: dynamic module does not define module export function (PyInit_Cfg)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rohdo/alliance-check-toolkit/bin/doChip.py", line 40, in <module>
showPythonTrace( __file__, e, False )
NameError: name 'showPythonTrace' is not defined
...
*** mbk error *** alcloadphfig : unable to open file : arm_chip_cts_r.ap .
make: *** [mk/alliance.mk:50: arm_chip_cts_r_ext.al] Error 100
My PYTHONPATH variable is loaded.
Just before this error the makefile script uses coriolisEnv.py, so that might
be an issue again?
The alliance-check-toolkit steps are:
source coriolisenv
touch alliance-check-toolkit/etc/mk/users.d/user-$USER.mk
cat <<EOG >>alliance-check-toolkit/etc/mk/users.d/user-$USER.mk
export
CORIOLIS_TOP=/home/$USER/coriolis-2.x/Linux.x86_64/Release.Shared/install
export ALLIANCE_TOP=/home/$USER/alliance/install
export CHECK_TOOLKIT=/home/$USER/alliance-check-toolkit
export YOSYS_TOP=/home/$USER/yosys
EOG
source /home/$USER/.bash_profile
cd alliance-check-toolkit/benchs/ARM/cmos
make lvx
make cgt
The file user-$USER.mk (alliance-check-toolkit/etc/mk/users.d/user-$USER.mk)
contains environment variables which are loaded during "make lvx".
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list