I just cloned the 14.05 version and did a create_builddir. From the created build directory I did a basic "make run/printf". That immediately gave me the following error: *using run script --include** **couldn't read file "--include": no such file or directory** ** while executing** **"source $include_name"** ** ("foreach" body line 3)** ** invoked from within** **"foreach include_name [get_cmd_arg --include ""] {** ** puts "using run script $include_name"** ** source $include_name** **}"** ** (file "/Work/Genode/genode-14.05/tool/run" line 850)** **make: *** [run/printf] Error 1*
I had no command line parameters other than the make run...
What have I missed?
Thanks, Bob.
Hi Bob,
I'm wondering, which platform have you specified to the create_builddir tool? I just created fresh build directories for 'linux_x86' and 'nova_x86_32' and both worked fine when executing 'make run/printf'.
Cheers Norman
On 05/30/2014 09:11 PM, Bob Stewart wrote:
I just cloned the 14.05 version and did a create_builddir. From the created build directory I did a basic "make run/printf". That immediately gave me the following error: *using run script --include** **couldn't read file "--include": no such file or directory** ** while executing** **"source $include_name"** ** ("foreach" body line 3)** ** invoked from within** **"foreach include_name [get_cmd_arg --include ""] {** ** puts "using run script $include_name"** ** source $include_name** **}"** ** (file "/Work/Genode/genode-14.05/tool/run" line 850)** **make: *** [run/printf] Error 1*
I had no command line parameters other than the make run...
What have I missed?
Thanks, Bob.
The platform is base-hw. The toolchain hasn't changed in this release?
Bob
Sent with AquaMail for Android http://www.aqua-mail.com
On May 30, 2014 3:22:39 PM Norman Feske <norman.feske@...1...> wrote:
Hi Bob,
I'm wondering, which platform have you specified to the create_builddir tool? I just created fresh build directories for 'linux_x86' and 'nova_x86_32' and both worked fine when executing 'make run/printf'.
Cheers Norman
On 05/30/2014 09:11 PM, Bob Stewart wrote:
I just cloned the 14.05 version and did a create_builddir. From the created build directory I did a basic "make run/printf". That immediately gave me the following error: *using run script --include** **couldn't read file "--include": no such file or directory** ** while executing** **"source $include_name"** ** ("foreach" body line 3)** ** invoked from within** **"foreach include_name [get_cmd_arg --include ""] {** ** puts "using run script $include_name"** ** source $include_name** **}"** ** (file "/Work/Genode/genode-14.05/tool/run" line 850)** **make: *** [run/printf] Error 1* I had no command line parameters other than the make run... What have I missed? Thanks, Bob.
-- Dr.-Ing. Norman Feske Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi Bob,
The platform is base-hw. The toolchain hasn't changed in this release?
I cannot reproduce the problem for base-hw (using hw_pbxa9) either, unfortunately. The tool chain has not changed. So the problem must lie somewhere else.
Could you please post the output when activating the verbose output as follows:
make run/printf VERBOSE=
Also, it would possibly help me to know which Linux distribution and version you are using.
Furthermore, could you please double-check that the problem does not occur with Genode 14.02 on the same Linux installation?
Thank you Norman
Norman, The following is the VERBOSE output {note the two --include lines): * **/Work/Genode/Builds/14.05/base-hw$ make run/printf VERBOSE=** **test -f "/Work/Genode/genode-14.05/repos/base/run/printf.run" || (echo "Error: No run script for printf"; exit -1)** **/Work/Genode/genode-14.05/tool/run --genode-dir /Work/Genode/genode-14.05 ** ** --name printf ** ** --specs "genode hw_bbb" ** ** --repositories "/Work/Genode/genode-14.05/repos/base /Work/Genode/genode-14.05/repos/os /Work/Genode/genode-14.05/repos/demo /Work/Genode/genode-14.05/repos/libports /Work/Genode/genode-14.05/repos/dde_linux" ** ** --cross-dev-prefix "" ** ** --qemu-args "" ** ** --include ** ** --include /Work/Genode/genode-14.05/repos/base/run/printf.run** **using run script --include** **couldn't read file "--include": no such file or directory** ** while executing** **"source $include_name"** ** ("foreach" body line 3)** ** invoked from within** **"foreach include_name [get_cmd_arg --include ""] {** ** puts "using run script $include_name"** ** source $include_name** **}"** ** (file "/Work/Genode/genode-14.05/tool/run" line 850)** **make: *** [run/printf] Error 1*
My own project run script fails to build in the same manner while it happily builds in 14.02.
On 14.02, run/printf builds ok as the the following VERBOSE output shows with two complete --include lines:
*make run/printf VERBOSE=** **test -f "/Work/Genode/genode-14.02/base/run/printf.run" || (echo "Error: No run script for printf"; exit -1)** **/Work/Genode/genode-14.02/tool/run --genode-dir /Work/Genode/genode-14.02 ** ** --name printf ** ** --specs "genode hw_bbb hw platform_bbb cortex_a8 omap3 am33xx tl16c750 gpio bbb pwm arm_v7a arm_v7 arm 32bit" ** ** --repositories "/Work/Genode/genode-14.02/base-hw /Work/Genode/genode-14.02/base /Work/Genode/genode-14.02/os /Work/Genode/genode-14.02/demo /Work/Genode/genode-14.02/libports /Work/Genode/genode-14.02/dde_linux" ** ** --cross-dev-prefix "/usr/local/genode-gcc/bin/genode-arm-" ** ** --qemu-args "" ** ** --include /Work/Genode/genode-14.02/base-hw/run/env ** ** --include /Work/Genode/genode-14.02/base/run/printf.run** **using run script /Work/Genode/genode-14.02/base-hw/run/env** **using run script /Work/Genode/genode-14.02/base/run/printf.run** **spawn make core init test/printf** **make[1]: Entering directory `/Work/Genode/Builds/14.02/base-hw'** **checking library dependencies...* . . .
Thanks, Bob
On 05/30/2014 06:07 PM, Norman Feske wrote:
Hi Bob,
The platform is base-hw. The toolchain hasn't changed in this release?
I cannot reproduce the problem for base-hw (using hw_pbxa9) either, unfortunately. The tool chain has not changed. So the problem must lie somewhere else.
Could you please post the output when activating the verbose output as follows:
make run/printf VERBOSE=
Also, it would possibly help me to know which Linux distribution and version you are using.
Furthermore, could you please double-check that the problem does not occur with Genode 14.02 on the same Linux installation?
Thank you Norman
Normal, It looks like make is not reading the spec-hw_bbb.mk from repos/base-hw/mk/, although I did copy it over from 14.02 and added the new PROCESSORS = 1 line. The platform spec file, spec-platform_bbb.mk was also copied over from 14.02 to repos/base/mk. Tomorrow I'll figure out what the issue is although all my additional make files appear to be copied to the correct locations.
Thanks, Bob
On 05/30/2014 07:02 PM, Bob Stewart wrote:
Norman, The following is the VERBOSE output {note the two --include lines):
**/Work/Genode/Builds/14.05/base-hw$ make run/printf VERBOSE=** **test -f "/Work/Genode/genode-14.05/repos/base/run/printf.run" || (echo "Error: No run script for printf"; exit -1)** **/Work/Genode/genode-14.05/tool/run --genode-dir /Work/Genode/genode-14.05 ** ** --name printf ** ** --specs "genode hw_bbb" ** ** --repositories "/Work/Genode/genode-14.05/repos/base /Work/Genode/genode-14.05/repos/os /Work/Genode/genode-14.05/repos/demo /Work/Genode/genode-14.05/repos/libports /Work/Genode/genode-14.05/repos/dde_linux" ** ** --cross-dev-prefix "" ** ** --qemu-args "" ** ** --include ** ** --include /Work/Genode/genode-14.05/repos/base/run/printf.run** **using run script --include** **couldn't read file "--include": no such file or directory** ** while executing** **"source $include_name"** ** ("foreach" body line 3)** ** invoked from within** **"foreach include_name [get_cmd_arg --include ""] {** ** puts "using run script $include_name"** ** source $include_name** **}"** ** (file "/Work/Genode/genode-14.05/tool/run" line 850)** **make: *** [run/printf] Error 1*
My own project run script fails to build in the same manner while it happily builds in 14.02.
On 14.02, run/printf builds ok as the the following VERBOSE output shows with two complete --include lines:
*make run/printf VERBOSE=** **test -f "/Work/Genode/genode-14.02/base/run/printf.run" || (echo "Error: No run script for printf"; exit -1)** **/Work/Genode/genode-14.02/tool/run --genode-dir /Work/Genode/genode-14.02 ** ** --name printf ** ** --specs "genode hw_bbb hw platform_bbb cortex_a8 omap3 am33xx tl16c750 gpio bbb pwm arm_v7a arm_v7 arm 32bit" ** ** --repositories "/Work/Genode/genode-14.02/base-hw /Work/Genode/genode-14.02/base /Work/Genode/genode-14.02/os /Work/Genode/genode-14.02/demo /Work/Genode/genode-14.02/libports /Work/Genode/genode-14.02/dde_linux" ** ** --cross-dev-prefix "/usr/local/genode-gcc/bin/genode-arm-" ** ** --qemu-args "" ** ** --include /Work/Genode/genode-14.02/base-hw/run/env ** ** --include /Work/Genode/genode-14.02/base/run/printf.run** **using run script /Work/Genode/genode-14.02/base-hw/run/env** **using run script /Work/Genode/genode-14.02/base/run/printf.run** **spawn make core init test/printf** **make[1]: Entering directory `/Work/Genode/Builds/14.02/base-hw'** **checking library dependencies...* . . .
Thanks, Bob
On 05/30/2014 06:07 PM, Norman Feske wrote:
Hi Bob,
The platform is base-hw. The toolchain hasn't changed in this release?
I cannot reproduce the problem for base-hw (using hw_pbxa9) either, unfortunately. The tool chain has not changed. So the problem must lie somewhere else.
Could you please post the output when activating the verbose output as follows:
make run/printf VERBOSE=
Also, it would possibly help me to know which Linux distribution and version you are using.
Furthermore, could you please double-check that the problem does not occur with Genode 14.02 on the same Linux installation?
Thank you Norman
Hi Bob,
thank you for posting the verbose output.
It appears as if the run tool is started without the proper platform environment. Normally, two '--include' arguments are passed to the run tool. The first is the platform-specific run environment (i.e., base-hw/run/env), and the second is the actual run script (base/run/printf.run).
**/Work/Genode/genode-14.05/tool/run --genode-dir /Work/Genode/genode-14.05 ** ** --name printf ** ** --specs "genode hw_bbb" ** ** --repositories "/Work/Genode/genode-14.05/repos/base /Work/Genode/genode-14.05/repos/os /Work/Genode/genode-14.05/repos/demo /Work/Genode/genode-14.05/repos/libports /Work/Genode/genode-14.05/repos/dde_linux" ** ** --cross-dev-prefix "" ** ** --qemu-args "" ** ** --include ** ** --include /Work/Genode/genode-14.05/repos/base/run/printf.run**
Because there is nothing specified as value for the first '--include' argument, the run tool interprets the second '--include' tag as value for the first '--include' argument. So we need to find out why the top-level Makefile of the build-system fails to specify a sensible run environment.
Since you are using your custom platform (bbb), I guess that you have not not applied and adjusted all of your changes related to the create_builddir tool to the new version. I suppose that your changes include an added file named 'tool/builddir/etc/build.conf.hw_bbb'. In line with the other hw plaforms, I would expect it to have the following content:
REPOSITORIES += $(GENODE_DIR)/repos/base-hw
In the old version, the path name is different (the "repos/" path element wasn't there). Maybe you missed to update the path when going from the old to the new version?
For reference, have you already tried to see how one of the regular platforms (like 'hw_pbxa9') works?
Cheers Norman
Thanks, Norman. You are correct, I had copied over my build.conf.hw_bbb from 14.02 without thinking about its content. The building process now works fine.
Many thanks, Bob
Sent with AquaMail for Android http://www.aqua-mail.com
On May 30, 2014 10:24:36 PM Norman Feske <norman.feske@...1...> wrote:
Hi Bob,
thank you for posting the verbose output.
It appears as if the run tool is started without the proper platform environment. Normally, two '--include' arguments are passed to the run tool. The first is the platform-specific run environment (i.e., base-hw/run/env), and the second is the actual run script (base/run/printf.run).
**/Work/Genode/genode-14.05/tool/run --genode-dir /Work/Genode/genode-14.05 ** ** --name printf ** ** --specs "genode hw_bbb" ** ** --repositories "/Work/Genode/genode-14.05/repos/base /Work/Genode/genode-14.05/repos/os /Work/Genode/genode-14.05/repos/demo /Work/Genode/genode-14.05/repos/libports /Work/Genode/genode-14.05/repos/dde_linux" ** ** --cross-dev-prefix "" ** ** --qemu-args "" ** ** --include ** ** --include /Work/Genode/genode-14.05/repos/base/run/printf.run**
Because there is nothing specified as value for the first '--include' argument, the run tool interprets the second '--include' tag as value for the first '--include' argument. So we need to find out why the top-level Makefile of the build-system fails to specify a sensible run environment.
Since you are using your custom platform (bbb), I guess that you have not not applied and adjusted all of your changes related to the create_builddir tool to the new version. I suppose that your changes include an added file named 'tool/builddir/etc/build.conf.hw_bbb'. In line with the other hw plaforms, I would expect it to have the following content:
REPOSITORIES += $(GENODE_DIR)/repos/base-hw
In the old version, the path name is different (the "repos/" path element wasn't there). Maybe you missed to update the path when going from the old to the new version?
For reference, have you already tried to see how one of the regular platforms (like 'hw_pbxa9') works?
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main