When creating hdl workers in 2.4.7 their OWD is now given the extension “-hdl” (e.g. worker-hdl.xml), however the search paths for the rcc slave attributes haven’t been updated and so can’t search for these new variants of the file.
The slave attribute does work with new rcc files, which similarly now have the “-rcc” extension (worker-rcc.xml).
Output from a demo proxy worker searching for a worker:
OCPI( 8:407.0937): Component 0: name: demo_worker impl: demo_worker.hdl spec: selection:
OCPI(10:407.0937): Trying to open 'hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open 'hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open 'gen/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../lib/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../specs/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open 'hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open 'gen/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../specs/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../lib/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../demo_proxy.comp/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../../components/lib/hdl/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../../components/lib/rcc/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../../components/lib/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../../imports/ocpi.core/exports/lib/components/hdl/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../../imports/ocpi.core/exports/lib/components/rcc/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../../imports/ocpi.core/exports/lib/components/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open '../../imports/ocpi.core/exports/specs/hdl/demo_worker.xml', and failed
OCPI(10:407.0937): Trying to open 'hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open 'hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open 'gen/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../lib/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../specs/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open 'hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open 'gen/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../specs/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../lib/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../demo_proxy.comp/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../../components/lib/hdl/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../../components/lib/rcc/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../../components/lib/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../../imports/ocpi.core/exports/lib/components/hdl/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../../imports/ocpi.core/exports/lib/components/rcc/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../../imports/ocpi.core/exports/lib/components/hdl/demo_worker-rcc.xml', and failed
OCPI(10:407.0937): Trying to open '../../imports/ocpi.core/exports/specs/hdl/demo_worker-rcc.xml', and failed
For file demo_proxy-rcc.xml: slave processing error: for worker demo_worker.hdl: Cannot find worker using "hdl/demo_worker-rcc" or "hdl/demo_worker": File "hdl/demo_worker-rcc" could not be opened for reading/parsing. Files tried: hdl/demo_worker-rcc.xml, hdl/demo_worker-rcc.xml, gen/hdl/demo_worker-rcc.xml, ../lib/hdl/demo_worker-rcc.xml, ../specs/hdl/demo_worker-rcc.xml, hdl/demo_worker-rcc.xml, gen/hdl/demo_worker-rcc.xml, ../specs/hdl/demo_worker-rcc.xml, ../lib/hdl/demo_worker-rcc.xml, ../demo_proxy.comp/hdl/demo_worker-rcc.xml, ../../components/lib/hdl/hdl/demo_worker-rcc.xml, ../../components/lib/rcc/hdl/demo_worker-rcc.xml, ../../components/lib/hdl/demo_worker-rcc.xml, ../../imports/ocpi.core/exports/lib/components/hdl/hdl/demo_worker-rcc.xml, ../../imports/ocpi.core/exports/lib/components/rcc/hdl/demo_worker-rcc.xml, ../../imports/ocpi.core/exports/lib/components/hdl/demo_worker-rcc.xml, ../../imports/ocpi.core/exports/specs/hdl/demo_worker-rcc.xml. CWD is /home/fergus/Documents/hdl_worker_test/components/demo_proxy.rcc
make[2]: *** [gen/demo_proxy-worker.hh] Error 1
make[1]: *** [demo_proxy.rcc] Error 2
make: *** [rcc] Error 2