-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: failed to select a version for `libtock. #37
Comments
This looks like as if the patches were not applied. Try the following command: Then you should be able to run |
I have decompressed OpenSK-master.zip again ,and setup.sh ,board=nrf52840_dongle ./deploy.sh os app nightly-2020-02-03-i686-unknown-linux-gnu unchanged - rustc 1.42.0-nightly (f43c34a13 2020-02-02) info: checking for self-updates nightly-2020-02-03-i686-unknown-linux-gnu unchanged - rustc 1.42.0-nightly (f43c34a13 2020-02-02) info: checking for self-updates make: Leaving directory '/home/xaqfan/Tock_OS/OpenSK-master/third_party/tock/boards/nordic/nrf52840_dongle'
error: failed to select a version for the package failed to select a version for |
In your output, I can see:
The fact that compilation only took 0.02 seconds seems to indicate that there was already a compiled version of Tock in your folder, which contradicts a "fresh" clone of OpenSK. The following error message:
is in contradiction with:
Could you try |
Also, downloading a ZIP file from GitHub shouldn't work because you won't have the git metadata that is needed to bootstrap $ unzip OpenSK-master.zip
Archive: OpenSK-master.zip
51f201653c3054d90cfe6d535a260935f76aba45
[...]
$ cd OpenSK-master
$ ./setup.sh
fatal: not a git repository |
Thank you very much! This issue can close! |
UNSUBSCRIBE
�
From: aiqiang <notifications@github.com>
Sent: Thursday, February 20, 2020 8:04 AM
To: google/OpenSK <OpenSK@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [google/OpenSK] error: failed to select a version for `libtock. (#37)
�
Thank you very much!
that method is useful。But I have other problems after git clone the newest latest version.
This issue can close!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#37?email_source=notifications&email_token=AHT4GTDZDLRMOYN5557RU6DRDYTONA5CNFSM4KXA6BC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMLBMQY#issuecomment-588650051> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHT4GTDZRKSTSO4XV4VTCA3RDYTONANCNFSM4KXA6BCQ> . <https://github.com/notifications/beacon/AHT4GTDXLB54Y45S3TVVUG3RDYTONA5CNFSM4KXA6BC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMLBMQY.gif>
|
I'm trying to download dongle, but I made a mistake in the middle.
I have downloaded the resource files under OpenSK-master/third_party
I have no ideas.
board=nrf52840_dongle ./deploy.sh os app
nightly-2020-02-03-i686-unknown-linux-gnu unchanged - rustc 1.42.0-nightly (f43c34a13 2020-02-02)
info: checking for self-updates
info: component 'rust-std' for target 'thumbv7em-none-eabi' is up to date
make: Entering directory '/home/xaqfan/Tock_OS/OpenSK-master/third_party/tock/boards/nordic/nrf52840_dongle'
Finished release [optimized + debuginfo] target(s) in 0.01s
text data bss dec hex filename
102912 1696 260448 365056 59200 target/thumbv7em-none-eabi/release/nrf52840_dongle
tockloader flash --address 0x00000 --jlink --board nrf52dk target/thumbv7em-none-eabi/release/nrf52840_dongle.bin
Flashing binar(y|ies) to board...
Using known arch and jtag-device for known board nrf52dk
Finished in 7.745 seconds
make: Leaving directory '/home/xaqfan/Tock_OS/OpenSK-master/third_party/tock/boards/nordic/nrf52840_dongle'
Preparing to uninstall apps...
No apps are installed on the board
error: failed to select a version for
libtock
.... required by package
ctap2 v0.1.0 (/home/xaqfan/Tock_OS/OpenSK-master)
versions that meet the requirements
*
are: 0.1.0the package
ctap2
depends onlibtock
, with features:panic_console
butlibtock
does not have these features.failed to select a version for
libtock
which could resolve this conflictWould someone can help me ?
Thanks!
The text was updated successfully, but these errors were encountered: