Skip to contentSkip to conversation

PRserv issues?

DISCUSSION Martin Jansa 1 participant 1 message Dec 20, 2012

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]