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.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to