[OE-core] PRserv issues?

Martin Jansa martin.jansa at gmail.com
Thu Dec 20 09:55:29 UTC 2012


I'm trying to use PRserv, according to
https://wiki.yoctoproject.org/wiki/PR_Service
I've used:
PRSERV_HOST = "localhost"
PRSERV_PORT = "10001"
USE_PR_SERV = "1"
"Bitbake itself will take care of starting and stopping the server."

Expecting that PRSERV_PORT is just TCP port and 10001 will work the same
as 0 from wiki. It should be written on wiki that localhost:0 has special meaning.

lib/prserv/serv.py:
def is_local_special(host, port):
    if host.strip().upper() == 'localhost'.upper() and (not port):

With 10001 it failed later with:
ERROR: Can NOT get PRAUTO, exception [Errno 111] Connection refused
ERROR: Function failed: package_get_auto_pr
ERROR: Logfile of failure stored in: /OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/temp/log.do_package.11135
ERROR: Task 10 (/OE/oe-core/meta-qt5/recipes-qt/qt5/qtbase_5.0.0.bb, do_package) failed with exit code '1'

So I've tried to disable PRserv completely, again assuming that
USE_PR_SERV controls whole PRserv use, setting USE_PR_SERV = "0"
to finally build qtbase and new error:
ERROR: PRservice localhost:10001 not available

I know it's my fault I haven't read the source first, but maybe wiki
should be more updated a bit.

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121220/e311565e/attachment-0002.sig>


More information about the Openembedded-core mailing list