[Libre-soc-dev] Libre-soc Environment Installation

Santhosh Kumar V V . 123040015 at sastra.ac.in
Thu Jun 16 14:27:56 BST 2022


I apologise sir, I missed to do git pull, I now redone the steps you told
after git pull.

Except for one error all the errors are passed now.

======================================================================
ERROR: tests.test_examples.example_test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
TypeError: example_test() missing 1 required positional argument: 'name'

----------------------------------------------------------------------
Ran 630 tests in 14.767s

FAILED (errors=1)

-------------------------------------------------------------------------------------------------------------------------------------------------------------
Another error is that after updating the folders using git pull
During make svanalysis this error arises

Traceback (most recent call last):
  File "/usr/bin/sphinx-apidoc", line 11, in <module>
    load_entry_point('Sphinx==1.8.4', 'console_scripts', 'sphinx-apidoc')()
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py",
line 474, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py",
line 2846, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py",
line 2450, in load
    return self.resolve()
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py",
line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/sphinx/ext/apidoc.py", line 32, in
<module>
    from sphinx.cmd.quickstart import EXTENSIONS
  File "/usr/lib/python3/dist-packages/sphinx/cmd/quickstart.py", line 49,
in <module>
    from sphinx.util.template import SphinxRenderer
  File "/usr/lib/python3/dist-packages/sphinx/util/template.py", line 17,
in <module>
    from sphinx.jinja2glue import SphinxFileSystemLoader
  File "/usr/lib/python3/dist-packages/sphinx/jinja2glue.py", line 16, in
<module>
    from jinja2 import FileSystemLoader, BaseLoader, TemplateNotFound, \
ImportError: cannot import name 'contextfunction' from 'jinja2'
(/usr/local/lib/python3.7/dist-packages/Jinja2-3.1.2-py3.7.egg/jinja2/__init__.py)
make: *** [Makefile:58: svanlysis] Error 1

This error was not there the last time I tried to make svanalysis.





On Thu, Jun 16, 2022 at 5:15 AM lkcl <luke.leighton at gmail.com> wrote:

> On Thu, Jun 16, 2022 at 10:02 AM Santhosh Kumar V V .
> <123040015 at sastra.ac.in> wrote:
> >
> > Good Afternoon sir, I have run the scripts as exactly given by your
> scripts still there are 3 errors.
>
> did you do "git pull" on dev-env-setup before doing so?
> i made some updates, and fixed exactly these errors,
> yesterday/day-before, and ran the scripts myself before
> letting you know.
>
> > AttributeError: 'VCDWriter' object has no attribute 'register_alias'
>
> this tells me that you are still using the older version of dev-env-setup
> which does not have the fixes that i created.
>
>
> > I have installed coriolis successfully and viewed the chip_r file in 3d
> viewer.
>
> excellent.  you should be able to checkout the LS180_RC7_FINAL tag from
> the soclayout repository:
>
> https://git.libre-soc.org/?p=soclayout.git;a=tag;h=refs/tags/LS180_RC7_FINAL
>
> then you should be able to do (in the coriolis2 chroot)
>
> $ cd soclayout/experiments9
> $ ./build_full_4k_sram.sh
>
> see section 7 here:
> https://libre-soc.org/HDL_workflow/coriolis2/
>
> l.
>


More information about the Libre-soc-dev mailing list