Sign inSign up

eorituz/von-image

By eorituz

•Updated over 6 years ago

Armv7 version of https://hub.docker.com/r/bcgovimages/von-image

Image
0

169

eorituz/von-image repository overview

Armv7 version of https://hub.docker.com/r/bcgovimages/von-image⁠

How to:

error[E0308]: mismatched types
   --> src/lib.rs:380:28
    |
380 |         unsafe { *id_ptr = record.id.as_ptr() as *const i8; }
    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
    |
    = note: expected type `*const u8`
               found type `*const i8`

error[E0308]: mismatched types
   --> src/lib.rs:403:30
    |
403 |         unsafe { *type_ptr = record.type_.as_ptr() as *const i8; }
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
    |
    = note: expected type `*const u8`
               found type `*const i8`

error[E0308]: mismatched types
   --> src/lib.rs:451:35
    |
451 |         unsafe { *tags_json_ptr = record.tags.as_ptr() as *const i8; }
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
    |
    = note: expected type `*const u8`
               found type `*const i8`

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0308`.
error: Could not compile `storage-postgres`.

To learn more, run the command again with --verbose.

(As mentioned in https://github.com/remacs/remacs/issues/1393⁠ I replaced all the const i8 occurrences the compiler complained about with const libc::c_char)

  • You will also need to manually fix, as the PR is not in the latest release at the time of writing this https://github.com/hyperledger/indy-sdk/pull/2210⁠
  • My bugfixes are located here https://github.com/eorituz/indy-sdk⁠
  • Next, you will have to make a release including your bugfixes
  • Get thehttps://codeload.github.com/USER/indy-sdk/legacy.tar.gz/master like link download link - See here https://developer.github.com/v3/repos/contents/#response-4⁠ (make sure it's a tarball)
  • You will need to replace the "indy_sdk_url" variable in the make_image.py in the von-image repo with your https://codeload.github.com/... link
  • Next replace every cd indy-sdk*/ with cd *indy-sdk*/ in the von-image/VERSION/Docker.ubuntu file. This is required because the extracted folder from your indy_sdk will have your username upfront. (The VERSION is the path variable in the von-image/make_install.py file)
  • Build your von-image cd von-image and python3 make_image.py XXX --py36

Tag summary

Content type

Image

Digest

Size

98.4 MB

Last updated

over 6 years ago

docker pull eorituz/von-image:py36-1.14-1