<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/contrib/hashserv, branch mickledore</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=mickledore</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=mickledore'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2022-02-17T17:51:03+00:00</updated>
<entry>
<title>bitbake: contrib: Fix hash server Dockerfile dependencies</title>
<updated>2022-02-17T17:51:03+00:00</updated>
<author>
<name>Daniel Gomez</name>
<email>daniel@qtec.com</email>
</author>
<published>2022-02-14T12:31:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=841a30d8fb44add7d19539f107da52fda077878e'/>
<id>urn:sha1:841a30d8fb44add7d19539f107da52fda077878e</id>
<content type='text'>
When building the Hash Equivalence server Dockerfile, some
dependencies are missing in order to run the hash server properly:

Traceback errors:

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in &lt;module&gt;
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in &lt;module&gt;
    import bb.asyncrpc
ModuleNotFoundError: No module named 'bb'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in &lt;module&gt;
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in &lt;module&gt;
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in &lt;module&gt;
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1930, in &lt;module&gt;
    from . import git
  File "/opt/bbhashserv/lib/bb/fetch2/git.py", line 70, in &lt;module&gt;
    import bb.progress
  File "/opt/bbhashserv/lib/bb/progress.py", line 14, in &lt;module&gt;
    import bb.build
  File "/opt/bbhashserv/lib/bb/build.py", line 27, in &lt;module&gt;
    from bb import data, event, utils
  File "/opt/bbhashserv/lib/bb/data.py", line 36, in &lt;module&gt;
    from bb import data_smart
  File "/opt/bbhashserv/lib/bb/data_smart.py", line 23, in &lt;module&gt;
    import bb, bb.codeparser
  File "/opt/bbhashserv/lib/bb/codeparser.py", line 26, in &lt;module&gt;
    import codegen
ModuleNotFoundError: No module named 'codegen'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in &lt;module&gt;
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in &lt;module&gt;
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in &lt;module&gt;
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1930, in &lt;module&gt;
    from . import git
  File "/opt/bbhashserv/lib/bb/fetch2/git.py", line 70, in &lt;module&gt;
    import bb.progress
  File "/opt/bbhashserv/lib/bb/progress.py", line 14, in &lt;module&gt;
    import bb.build
  File "/opt/bbhashserv/lib/bb/build.py", line 27, in &lt;module&gt;
    from bb import data, event, utils
  File "/opt/bbhashserv/lib/bb/data.py", line 36, in &lt;module&gt;
    from bb import data_smart
  File "/opt/bbhashserv/lib/bb/data_smart.py", line 23, in &lt;module&gt;
    import bb, bb.codeparser
  File "/opt/bbhashserv/lib/bb/codeparser.py", line 32, in &lt;module&gt;
    from bb.pysh import pyshyacc, pyshlex
  File "/opt/bbhashserv/lib/bb/pysh/pyshyacc.py", line 13, in &lt;module&gt;
    import bb.pysh.pyshlex as pyshlex
  File "/opt/bbhashserv/lib/bb/pysh/pyshlex.py", line 17, in &lt;module&gt;
    from ply import lex
ModuleNotFoundError: No module named 'ply'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in &lt;module&gt;
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in &lt;module&gt;
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in &lt;module&gt;
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1935, in &lt;module&gt;
    from . import wget
  File "/opt/bbhashserv/lib/bb/fetch2/wget.py", line 30, in &lt;module&gt;
    from   bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'

(Bitbake rev: 0bd637acfcba5a44230c291889d2a5ff571cb8c6)

Signed-off-by: Daniel Gomez &lt;daniel@qtec.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: contrib: Add Dockerfile for building hash server</title>
<updated>2021-02-16T11:53:25+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2021-02-14T19:36:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f5f6504e5781c6e9d4cef3e9b1c2280fd0a8afdc'/>
<id>urn:sha1:f5f6504e5781c6e9d4cef3e9b1c2280fd0a8afdc</id>
<content type='text'>
Adds a Dockerfile for build the reference hash equivalence server in a
container

(Bitbake rev: d9a0a88db5888039bfbb6ce5129b43350f79b1c1)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
