Gerwin,On Tue, Jan 20, 2015 at 3:02 PM, Gerwin Klein <Gerwin.Klein@nicta.com.au> wrote:Hi David,
yes, it seems the Isabelle installation step failed already. The command ./isabelle/bin/isabelle components -a should print the list of missing components as it did, but should then start downloading them. Instead it printed an error message about dirname.Isabelle did go on to download and install the components (sorry: the ellipsis was supposed to suggest that). I did not see any other warnings or errors after the message about dirname.Is there any way I could test to make sure this installation succeeded?It’s possible that it is picking up the wrong kind of shell to run the script. Do you have bash installed? The script is trying to run bash using “#!/usr/bin/env bash"Bash is installed. When I type /usr/bin/env bash at my prompt I get a new bash shell prompt.The wrong path out of run_tests also seems to be related to dirname. It’s this line that seems to be going wrong:
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
in this case DIR should just become “.”, but it seems to return the empty string instead.I added a line to echo DIR in the run_scripts and it prints out my current working directory, as I would expect.The nature of the failure makes me think there might some environment variable that I am supposed to set .. could that be?It looks like the test failure was generated by "make" .. can you tell me where (the directory in which) make is run and/or tell me where to find the Makefile it is using?Cheers,
Gerwin
> On 21.01.2015, at 05:41, David Greve <david.greve@rockwellcollins.com> wrote:
>
>
> I am attempting to run the sel4 proofs on linux Mint 17.1 (64-bit).
>
> I have a copy of the "verification" project and have walked through all of the setup steps up to the point of running run_test. When I do, I encounter numerous failures, the first of which says:
>
> ------------------------------------------------------------------------
> TEST FAILURE: CamkesAdlSpec
>
> /isabelle/bin/isabelle build -b -v -d "" CamkesAdlSpec
> make: /isabelle/bin/isabelle: Command not found
> /bin/sh: /isabelle/bin/isabelle: No such file or directory
> make: *** [CamkesAdlSpec] Error 127
>
> ------------------------------------------------------------------------
>
> Note that the isabelle command appears to be missing a leading path.
>
> I think the script is somehow failing to pick up my working directory.
>
> Now, when I was setting up isabelle, I did see the following message:
>
> $ ./isabelle/bin/isabelle components -a
> ### Missing Isabelle component: "/home/dagreve/.isabelle/contrib/cvc3-2.4.1"
> ...
> ### Missing Isabelle component: "/home/dagreve/.isabelle/contrib/xz-java-1.2-1"
> dirname: missing operand
> Try 'dirname --help' for more information.
> ...
>
> The setup completed without further errors, but I wonder if this is a contributing factor?
>
> Thanks,
> Dave
>
> _______________________________________________
> Devel mailing list
> Devel@sel4.systems
> https://sel4.systems/lists/listinfo/devel
________________________________
The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments.