projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.1k stars 505 forks source link

make configurator fails #7257

Open dbkinder opened 2 years ago

dbkinder commented 2 years ago

Using the instructions in misc/config_tools/configurator/README.md, running make configurator fails with:

~/projectacrn/acrn-hypervisor$ make configurator
Sliced schema written to /home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/build/sliced.xsd
Can't detect current acrn-hypervisor version, document string will link to latest
Warning!: enum element OrderedDict([('@value', 'SCHED_IORR')]) does not provide a enumName
Warning!: enum element OrderedDict([('@value', 'TEE_VM'), ('xs:annotation', OrderedDict([('@acrn:views', '')]))]) does not provide a enumName
Warning!: enum element OrderedDict([('@value', 'REE_VM'), ('xs:annotation', OrderedDict([('@acrn:views', '')]))]) does not provide a enumName
{
  "@name": "vm",
  "@maxOccurs": "unbounded",
  "xs:annotation": {
    "xs:documentation": "VM configuration includes **scenario-based** VM configuration\ninformation that is used to describe the characteristics and attributes for\nall VMs in a user scenario. It also includes **launch script-based** VM\nconfiguration information, where parameters are passed to the device model\nto launch post-launched User VMs."
  },
  "xs:alternative": [
    {
      "@test": ".//load_order = 'PRE_LAUNCHED_VM'",
      "@type": "PreLaunchedVMConfigType"
    },
    {
      "@test": ".//load_order = 'SERVICE_VM'",
      "@type": "ServiceVMConfigType"
    },
    {
      "@test": ".//load_order = 'POST_LAUNCHED_VM'",
      "@type": "PostLaunchedVMConfigType"
    }
  ]
}
vm not translated
File PosixPath('/home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/build/sliced.xsd') Convert Success. JSON Schema Write To: PosixPath('/home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/src/assets/schema/scenario.json')
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
cmd(yarn) run in dir(misc/config_tools/configurator) failed and exit
make: *** [Makefile:119: configurator] Error 255
dbkinder commented 2 years ago

Just in case this was a problem only on the master branch, I tried checking out the RC1 branch (same results):

~/projectacrn/acrn-hypervisor$ git status
HEAD detached at acrn-2022w14.5-180000p
nothing to commit, working tree clean
~/projectacrn/acrn-hypervisor$ make configurator
Sliced schema written to /home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/build/sliced.xsd
Can't detect current acrn-hypervisor version, document string will link to latest
Warning!: enum element OrderedDict([('@value', 'SCHED_IORR')]) does not provide a enumName
Warning!: enum element OrderedDict([('@value', 'TEE_VM'), ('xs:annotation', OrderedDict([('@acrn:views', '')]))]) does not provide a enumName
Warning!: enum element OrderedDict([('@value', 'REE_VM'), ('xs:annotation', OrderedDict([('@acrn:views', '')]))]) does not provide a enumName
{
  "@name": "vm",
  "@maxOccurs": "unbounded",
  "xs:annotation": {
    "xs:documentation": "VM configuration includes **scenario-based** VM configuration\ninformation that is used to describe the characteristics and attributes for\nall VMs in a user scenario. It also includes **launch script-based** VM\nconfiguration information, where parameters are passed to the device model\nto launch post-launched User VMs."
  },
  "xs:alternative": [
    {
      "@test": ".//load_order = 'PRE_LAUNCHED_VM'",
      "@type": "PreLaunchedVMConfigType"
    },
    {
      "@test": ".//load_order = 'SERVICE_VM'",
      "@type": "ServiceVMConfigType"
    },
    {
      "@test": ".//load_order = 'POST_LAUNCHED_VM'",
      "@type": "PostLaunchedVMConfigType"
    }
  ]
}
vm not translated
File PosixPath('/home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/build/sliced.xsd') Convert Success. JSON Schema Write To: PosixPath('/home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/src/assets/schema/scenario.json')
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
cmd(yarn) run in dir(misc/config_tools/configurator) failed and exit
make: *** [Makefile:119: configurator] Error 255
~/projectacrn/acrn-hypervisor$
Weiyi-Feng commented 2 years ago

try to run yarn and yarn build in dir misc/config_tools/configurator, maybe some of it cause this error

Weiyi-Feng commented 2 years ago

seems like this issue:

https://github.com/yarnpkg/yarn/issues/2821#issuecomment-284181365

dbkinder commented 2 years ago

@Weiyi-Feng Here's what I get for my yarn version. This looks odd:

~/projectacrn/acrn-hypervisor/misc/config_tools/configurator$ yarn --version
0.32+git

After a bunch of magical incantations from that #2821 issue you referenced, I've now got a newer version of yarn installed:

~/projectacrn/acrn-hypervisor/doc/static$ yarn --version
1.22.18

We need explicit instructions, including specific version numbers to make sure were getting the right packages.

dbkinder commented 2 years ago

Here's what I see when doing a make configurator with the new version of yarn. It does succeed this time, but with lots of odd messages that look like errors:

~/projectacrn/acrn-hypervisor$ make configurator
Sliced schema written to /home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/build/sliced.xsd
Can't detect current acrn-hypervisor version, document string will link to latest
Warning!: enum element OrderedDict([('@value', 'SCHED_IORR')]) does not provide a enumName
Warning!: enum element OrderedDict([('@value', 'TEE_VM'), ('xs:annotation', OrderedDict([('@acrn:views', '')]))]) does not provide a enumName
Warning!: enum element OrderedDict([('@value', 'REE_VM'), ('xs:annotation', OrderedDict([('@acrn:views', '')]))]) does not provide a enumName
{
  "@name": "vm",
  "@maxOccurs": "unbounded",
  "xs:annotation": {
    "xs:documentation": "VM configuration includes **scenario-based** VM configuration\ninformation that is used to describe the characteristics and attributes for\nall VMs in a user scenario. It also includes **launch script-based** VM\nconfiguration information, where parameters are passed to the device model\nto launch post-launched User VMs."
  },
  "xs:alternative": [
    {
      "@test": ".//load_order = 'PRE_LAUNCHED_VM'",
      "@type": "PreLaunchedVMConfigType"
    },
    {
      "@test": ".//load_order = 'SERVICE_VM'",
      "@type": "ServiceVMConfigType"
    },
    {
      "@test": ".//load_order = 'POST_LAUNCHED_VM'",
      "@type": "PostLaunchedVMConfigType"
    }
  ]
}
vm not translated
File PosixPath('/home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/build/sliced.xsd') Convert Success. JSON Schema Write To: PosixPath('/home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/src/assets/schema/scenario.json')
yarn install v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @rollup/plugin-replace@4.0.0" has unmet peer dependency "rollup@^1.20.0 || ^2.0.0".
warning "@rollup/plugin-replace > @rollup/pluginutils@3.1.0" has unmet peer dependency "rollup@^1.20.0||^2.0.0".
[4/4] Building fresh packages...
Done in 33.20s.
yarn run v1.22.18
$ vite build
vite v2.8.6 building for production...
<script src="https://cdn.jsdelivr.net/pyodide/v0.19.1/full/pyodide.js"> in "/index.html" can't be bundled without type="module" attribute
transforming (1180) node_modules/core-js-pure/internals/object-is-prototype-of.jsUse of eval is strongly discouraged, as it poses security risks and may cause issues with minification
Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
✓ 1202 modules transformed.
build/assets/favicon.17e50649.svg            1.49 KiB
build/assets/back_arrow_icon.058d6b47.svg    0.39 KiB
build/assets/ACRN_Logo.bde39803.svg          3.77 KiB
build/assets/Roboto-Regular.8fe15cd1.woff2   48.69 KiB
build/assets/Roboto-Regular.8318421f.woff    66.80 KiB
build/assets/Plus.6716f923.svg               0.29 KiB
build/assets/dropdown_arrow.5d135564.svg     0.39 KiB
build/assets/top_pattern.aae40744.png        19.60 KiB
build/index.html                             0.86 KiB
build/assets/index.ccf3a857.js               141.21 KiB / gzip: 27.78 KiB
build/assets/index.7627b472.css              160.53 KiB / gzip: 24.89 KiB
build/assets/vendor.2697be1e.js              1207.26 KiB / gzip: 336.17 KiB

(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
Generate `tauri.conf.json` by `tauri.json`.
    Updating crates.io index
    Updating git repository `https://github.com/Weiyi-Feng/tauri.git`
  Downloaded async-channel v1.6.1
  Downloaded memoffset v0.6.5
  Downloaded itoa v1.0.1
  Downloaded futures-executor v0.3.21
  Downloaded sha1 v0.6.1
  Downloaded sha1_smol v1.0.0
  Downloaded scopeguard v1.1.0
  Downloaded tempfile v3.3.0
  Downloaded pathdiff v0.2.1
  Downloaded parking_lot_core v0.8.5
  Downloaded tinyvec_macros v0.1.0
  Downloaded tinyvec v1.5.1
  Downloaded async-lock v2.5.0
  Downloaded autocfg v1.1.0
  Downloaded base64 v0.13.0
  Downloaded bincode v1.3.3
  Downloaded bitflags v1.3.2
  Downloaded rayon v1.5.1
  Downloaded rayon-core v1.9.1
  Downloaded os_info v3.2.0
  Downloaded darling_core v0.13.1
  Downloaded cty v0.2.2
  Downloaded serde_with_macros v1.5.1
  Downloaded cairo-sys-rs v0.15.1
  Downloaded bzip2 v0.4.3
  Downloaded ctor v0.1.21
  Downloaded crossbeam-epoch v0.9.7
  Downloaded cssparser-macros v0.6.0
  Downloaded adler32 v1.2.0
  Downloaded tendril v0.4.2
  Downloaded regex v1.5.4
  Downloaded derive_more v0.99.17
  Downloaded dirs-sys-next v0.1.2
  Downloaded dtoa v0.4.8
  Downloaded either v1.6.1
  Downloaded dirs-next v2.0.0
  Downloaded digest v0.10.3
  Downloaded env_logger v0.9.0
  Downloaded fnv v1.0.7
  Downloaded fastrand v1.7.0
  Downloaded form_urlencoded v1.0.1
  Downloaded derivative v2.2.0
  Downloaded rustversion v1.0.6
  Downloaded same-file v1.0.6
  Downloaded ryu v1.0.9
  Downloaded futures-task v0.3.21
  Downloaded serde_derive v1.0.136
  Downloaded futures-sink v0.3.21
  Downloaded remove_dir_all v0.5.3
  Downloaded regex-syntax v0.6.25
  Downloaded futures-util v0.3.21
  Downloaded smallvec v1.8.0
  Downloaded rand_pcg v0.2.1
  Downloaded siphasher v0.3.9
  Downloaded raw-window-handle v0.4.2
  Downloaded serialize-to-javascript v0.1.1
  Downloaded serialize-to-javascript-impl v0.1.1
  Downloaded rfd v0.7.0
  Downloaded stable_deref_trait v1.2.0
  Downloaded strum v0.21.0
  Downloaded strum_macros v0.21.1
  Downloaded static_assertions v1.1.0
  Downloaded soup2-sys v0.1.0
  Downloaded rustc_version v0.3.3
  Downloaded http v0.2.6
  Downloaded ident_case v1.0.1
  Downloaded humantime v2.1.0
  Downloaded hex v0.4.3
  Downloaded heck v0.4.0
  Downloaded mac v0.1.1
  Downloaded heck v0.3.3
  Downloaded slab v0.4.5
  Downloaded sha2 v0.10.2
  Downloaded serde_urlencoded v0.7.1
  Downloaded syn v1.0.86
  Downloaded time v0.1.43
  Downloaded instant v0.1.12
  Downloaded indexmap v1.8.0
  Downloaded thread_local v1.1.4
  Downloaded thiserror-impl v1.0.30
  Downloaded thiserror v1.0.30
  Downloaded termcolor v1.1.2
  Downloaded tar v0.4.38
  Downloaded idna v0.2.3
  Downloaded serde_json v1.0.79
  Downloaded lazy_static v1.4.0
  Downloaded jobserver v0.1.24
  Downloaded itoa v0.4.8
  Downloaded itertools v0.10.3
  Downloaded hashbrown v0.11.2
  Downloaded toml v0.5.8
  Downloaded typenum v1.15.0
  Downloaded glob v0.3.0
  Downloaded generic-array v0.14.5
  Downloaded futures v0.3.21
  Downloaded darling_macro v0.13.1
  Downloaded cfg-if v1.0.0
  Downloaded bytes v1.1.0
  Downloaded byteorder v1.4.3
  Downloaded block-buffer v0.10.2
  Downloaded unicode-normalization v0.1.19
  Downloaded unicode-segmentation v1.9.0
  Downloaded uuid v0.8.2
  Downloaded utf-8 v0.7.6
  Downloaded waker-fn v1.1.0
  Downloaded lock_api v0.4.6
  Downloaded log v0.4.14
  Downloaded walkdir v2.3.2
  Downloaded xattr v0.2.2
  Downloaded dirs-sys v0.3.7
  Downloaded dtoa-short v0.3.3
  Downloaded dirs v4.0.0
  Downloaded strsim v0.10.0
  Downloaded string_cache_codegen v0.5.1
  Downloaded state v0.5.2
  Downloaded tauri-build v1.0.0-rc.3
  Downloaded system-deps v5.0.0
  Downloaded version-compare v0.1.0
  Downloaded treediff v3.0.2
  Downloaded wildmatch v2.1.0
  Downloaded webkit2gtk-sys v0.17.0
  Downloaded gdk-pixbuf v0.15.6
  Downloaded field-offset v0.3.4
  Downloaded enumflags2_derive v0.7.3
  Downloaded tauri-utils v1.0.0-rc.3
  Downloaded x11-dl v2.19.1
  Downloaded gdkx11-sys v0.15.1
  Downloaded gdk-pixbuf-sys v0.15.1
  Downloaded gdk v0.15.4
  Downloaded x11 v2.19.1
  Downloaded gio-sys v0.14.0
  Downloaded gtk3-macros v0.15.4
  Downloaded gobject-sys v0.14.0
  Downloaded glib-sys v0.14.0
  Downloaded zbus v2.1.1
  Downloaded zbus_names v2.1.0
  Downloaded adler v1.0.2
  Downloaded zbus_macros v2.1.1
  Downloaded arrayref v0.3.6
  Downloaded aho-corasick v0.7.18
  Downloaded arrayvec v0.7.2
  Downloaded async-executor v1.4.1
  Downloaded gtk-sys v0.15.3
  Downloaded async-io v1.6.0
  Downloaded json-patch v0.2.6
  Downloaded kuchiki v0.8.1
  Downloaded infer v0.4.0
  Downloaded blake3 v1.3.1
  Downloaded globset v0.4.8
  Downloaded ignore v0.4.18
  Downloaded glib-macros v0.15.6
  Downloaded gobject-sys v0.15.5
  Downloaded getrandom v0.2.5
  Downloaded futures-lite v1.12.0
  Downloaded deflate v0.8.6
  Downloaded javascriptcore-rs-sys v0.4.0
  Downloaded javascriptcore-rs v0.16.0
  Downloaded http-range v0.1.5
  Downloaded html5ever v0.25.1
  Downloaded glib-sys v0.15.6
  Downloaded gio-sys v0.15.6
  Downloaded cache-padded v1.2.0
  Downloaded bstr v0.2.17
  Downloaded zstd-safe v4.1.4+zstd.1.5.2
  Downloaded constant_time_eq v0.1.5
  Downloaded gio v0.15.6
  Downloaded zip v0.5.13
  Downloaded cfg_aliases v0.1.1
  Downloaded glib v0.15.6
  Downloaded parking_lot v0.11.2
  Downloaded libc v0.2.119
  Downloaded zvariant_derive v3.1.2
  Downloaded anyhow v1.0.55
  Downloaded percent-encoding v2.1.0
  Downloaded parking v2.0.0
  Downloaded async-broadcast v0.3.4
  Downloaded async-task v4.1.0
  Downloaded atk v0.15.1
  Downloaded attohttpc v0.18.0
  Downloaded cargo_toml v0.11.4
  Downloaded cairo-rs v0.15.6
  Downloaded semver-parser v0.10.2
  Downloaded subtle v2.4.1
  Downloaded shared_child v1.0.0
  Downloaded ucd-trie v0.1.3
  Downloaded proc-macro-error v1.0.4
  Downloaded cfb v0.4.0
  Downloaded phf_shared v0.8.0
  Downloaded cfg-expr v0.9.1
  Downloaded cfg-expr v0.10.2
  Downloaded phf_macros v0.10.0
  Downloaded rand v0.7.3
  Downloaded phf v0.8.0
  Downloaded pest v2.1.3
  Downloaded atk-sys v0.15.1
  Downloaded gtk v0.15.4
  Downloaded tokio v1.17.0
  Downloaded os_pipe v1.0.1
  Downloaded phf_shared v0.10.0
  Downloaded servo_arc v0.1.1
  Downloaded pkg-config v0.3.24
  Downloaded png v0.16.8
  Downloaded pin-utils v0.1.0
  Downloaded once_cell v1.9.0
  Downloaded num_cpus v1.13.1
  Downloaded miniz_oxide v0.3.7
  Downloaded memchr v2.4.1
  Downloaded flate2 v1.0.22
  Downloaded serde v1.0.136
  Downloaded crossbeam-deque v0.8.1
  Downloaded webkit2gtk v0.17.1
  Downloaded getrandom v0.1.16
  Downloaded open v2.1.0
  Downloaded gdk-sys v0.15.1
  Downloaded pollster v0.2.5
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded proc-macro-crate v1.1.3
  Downloaded version-compare v0.0.11
  Downloaded proc-macro-hack v0.5.19
  Downloaded phf_codegen v0.8.0
  Downloaded polling v2.2.0
  Downloaded phf v0.10.1
  Downloaded filetime v0.2.15
  Downloaded rand_core v0.6.3
  Downloaded phf_macros v0.8.0
  Downloaded phf_generator v0.8.0
  Downloaded markup5ever v0.10.1
  Downloaded phf_generator v0.10.0
  Downloaded miniz_oxide v0.4.4
  Downloaded rand_chacha v0.2.2
  Downloaded native-tls v0.2.8
  Downloaded notify-rust v4.5.6
  Downloaded futures-io v0.3.21
  Downloaded futures-core v0.3.21
  Downloaded futures-channel v0.3.21
  Downloaded event-listener v2.5.2
  Downloaded crypto-common v0.1.3
  Downloaded convert_case v0.4.0
  Downloaded serde_with v1.12.0
  Downloaded clap v3.1.2
  Downloaded zvariant v3.1.2
  Downloaded pin-project-lite v0.2.8
  Downloaded nodrop v0.1.14
  Downloaded nix v0.23.1
  Downloaded ordered-stream v0.0.1
  Downloaded async-recursion v0.3.2
  Downloaded openssl-probe v0.1.5
  Downloaded precomputed-hash v0.1.1
  Downloaded openssl v0.10.38
  Downloaded quote v1.0.15
  Downloaded proc-macro2 v1.0.36
  Downloaded rand v0.8.5
  Downloaded textwrap v0.14.2
  Downloaded concurrent-queue v1.2.2
  Downloaded cc v1.0.73
  Downloaded atty v0.2.14
  Downloaded async-trait v0.1.52
  Downloaded cfg-expr v0.8.1
  Downloaded ashpd v0.2.4
  Downloaded zstd v0.10.0+zstd.1.5.2
  Downloaded serde_repr v0.1.7
  Downloaded futures-macro v0.3.21
  Downloaded unicode-bidi v0.3.7
  Downloaded semver v0.11.0
  Downloaded rustc_version v0.4.0
  Downloaded selectors v0.22.0
  Downloaded bzip2-sys v0.1.11+1.0.8
  Downloaded string_cache v0.8.3
  Downloaded zstd-sys v1.6.3+zstd.1.5.2
  Downloaded unicode-xid v0.2.2
  Downloaded system-deps v3.2.0
  Downloaded version_check v0.9.4
  Downloaded url v2.2.2
  Downloaded thin-slice v0.1.1
  Downloaded matches v0.1.9
  Downloaded semver v1.0.6
  Downloaded futf v0.1.5
  Downloaded socket2 v0.4.4
  Downloaded fxhash v0.2.1
  Downloaded os_str_bytes v6.0.0
  Downloaded new_debug_unreachable v1.0.4
  Downloaded ppv-lite86 v0.2.16
  Downloaded foreign-types v0.3.2
  Downloaded cssparser v0.27.2
  Downloaded crossbeam-utils v0.8.7
  Downloaded foreign-types-shared v0.1.1
  Downloaded crossbeam-channel v0.5.2
  Downloaded crc32fast v1.3.2
  Downloaded openssl-sys v0.9.72
  Downloaded pango v0.15.6
  Downloaded rand_core v0.5.1
  Downloaded rand_chacha v0.3.1
  Downloaded pango-sys v0.15.1
  Downloaded enumflags2 v0.7.3
  Downloaded easy-parallel v3.2.0
  Downloaded darling v0.13.1
  Downloaded cpufeatures v0.2.1
  Downloaded system-deps v6.0.2
  Downloaded tao v0.6.2
  Downloaded wry v0.13.3
  Downloaded 300 crates (18.1 MB) in 2.26s (largest was `tao` at 2.3 MB)
   Compiling proc-macro2 v1.0.36
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.86
   Compiling serde v1.0.136
   Compiling serde_derive v1.0.136
   Compiling pkg-config v0.3.24
   Compiling smallvec v1.8.0
   Compiling libc v0.2.119
   Compiling heck v0.4.0
   Compiling cfg-if v1.0.0
   Compiling version-compare v0.1.0
   Compiling autocfg v1.1.0
   Compiling memchr v2.4.1
   Compiling ppv-lite86 v0.2.16
   Compiling siphasher v0.3.9
   Compiling anyhow v1.0.55
   Compiling getrandom v0.1.16
   Compiling version_check v0.9.4
   Compiling futures-core v0.3.21
   Compiling bitflags v1.3.2
   Compiling proc-macro-hack v0.5.19
   Compiling unicode-segmentation v1.9.0
   Compiling pin-project-lite v0.2.8
   Compiling once_cell v1.9.0
   Compiling version-compare v0.0.11
   Compiling futures-io v0.3.21
   Compiling parking_lot_core v0.8.5
   Compiling slab v0.4.5
   Compiling either v1.6.1
   Compiling log v0.4.14
   Compiling futures-channel v0.3.21
   Compiling futures-task v0.3.21
   Compiling futures-util v0.3.21
   Compiling futures-sink v0.3.21
   Compiling serde_json v1.0.79
   Compiling pin-utils v0.1.0
   Compiling lazy_static v1.4.0
   Compiling scopeguard v1.1.0
   Compiling strum v0.21.0
   Compiling byteorder v1.4.3
   Compiling crossbeam-utils v0.8.7
   Compiling fnv v1.0.7
   Compiling strsim v0.10.0
   Compiling ident_case v1.0.1
   Compiling convert_case v0.4.0
   Compiling rustversion v1.0.6
   Compiling matches v0.1.9
   Compiling ucd-trie v0.1.3
   Compiling new_debug_unreachable v1.0.4
   Compiling precomputed-hash v0.1.1
   Compiling mac v0.1.1
   Compiling zstd-safe v4.1.4+zstd.1.5.2
   Compiling itoa v1.0.1
   Compiling ryu v1.0.9
   Compiling tinyvec_macros v0.1.0
   Compiling dtoa v0.4.8
   Compiling utf-8 v0.7.6
   Compiling gio v0.15.6
   Compiling stable_deref_trait v1.2.0
   Compiling nodrop v0.1.14
   Compiling itoa v0.4.8
   Compiling typenum v1.15.0
   Compiling unicode-bidi v0.3.7
   Compiling percent-encoding v2.1.0
   Compiling thin-slice v0.1.1
   Compiling cache-padded v1.2.0
   Compiling crossbeam-epoch v0.9.7
   Compiling fastrand v1.7.0
   Compiling regex-syntax v0.6.25
   Compiling crc32fast v1.3.2
   Compiling same-file v1.0.6
   Compiling parking v2.0.0
   Compiling rayon-core v1.9.1
   Compiling event-listener v2.5.2
   Compiling waker-fn v1.1.0
   Compiling bytes v1.1.0
   Compiling static_assertions v1.1.0
   Compiling async-trait v0.1.52
   Compiling subtle v2.4.1
   Compiling cty v0.2.2
   Compiling sha1_smol v1.0.0
   Compiling async-task v4.1.0
   Compiling easy-parallel v3.2.0
   Compiling adler32 v1.2.0
   Compiling foreign-types-shared v0.1.1
   Compiling tao v0.6.2
   Compiling openssl v0.10.38
   Compiling hex v0.4.3
   Compiling adler v1.0.2
   Compiling native-tls v0.2.8
   Compiling cpufeatures v0.2.1
   Compiling glob v0.3.0
   Compiling wry v0.13.3
   Compiling arrayvec v0.7.2
   Compiling arrayref v0.3.6
   Compiling constant_time_eq v0.1.5
   Compiling hashbrown v0.11.2
   Compiling termcolor v1.1.2
   Compiling http-range v0.1.5
   Compiling semver v1.0.6
   Compiling rfd v0.7.0
   Compiling base64 v0.13.0
   Compiling cfg_aliases v0.1.1
   Compiling openssl-probe v0.1.5
   Compiling wildmatch v2.1.0
   Compiling remove_dir_all v0.5.3
   Compiling pathdiff v0.2.1
   Compiling pollster v0.2.5
   Compiling textwrap v0.14.2
   Compiling humantime v2.1.0
   Compiling state v0.5.2
   Compiling cfg-expr v0.10.2
   Compiling cfg-expr v0.8.1
   Compiling cfg-expr v0.9.1
   Compiling instant v0.1.12
   Compiling gtk v0.15.4
   Compiling x11 v2.19.1
   Compiling x11-dl v2.19.1
   Compiling phf_shared v0.8.0
   Compiling phf_shared v0.10.0
   Compiling memoffset v0.6.5
   Compiling miniz_oxide v0.4.4
   Compiling rayon v1.5.1
   Compiling indexmap v1.8.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling generic-array v0.14.5
   Compiling thread_local v1.1.4
   Compiling itertools v0.10.3
   Compiling heck v0.3.3
   Compiling lock_api v0.4.6
   Compiling fxhash v0.2.1
   Compiling pest v2.1.3
   Compiling futf v0.1.5
   Compiling tinyvec v1.5.1
   Compiling dtoa-short v0.3.3
   Compiling servo_arc v0.1.1
   Compiling form_urlencoded v1.0.1
   Compiling concurrent-queue v1.2.2
   Compiling walkdir v2.3.2
   Compiling async-lock v2.5.0
   Compiling http v0.2.6
   Compiling raw-window-handle v0.4.2
   Compiling sha1 v0.6.1
   Compiling miniz_oxide v0.3.7
   Compiling deflate v0.8.6
   Compiling foreign-types v0.3.2
   Compiling tauri v1.0.0-rc.3 (https://github.com/Weiyi-Feng/tauri.git#015e15cf)
   Compiling open v2.1.0
   Compiling tendril v0.4.2
   Compiling semver-parser v0.10.2
   Compiling unicode-normalization v0.1.19
   Compiling quote v1.0.15
   Compiling jobserver v0.1.24
   Compiling getrandom v0.2.5
   Compiling num_cpus v1.13.1
   Compiling async-broadcast v0.3.4
   Compiling ordered-stream v0.0.1
   Compiling async-channel v1.6.1
   Compiling socket2 v0.4.4
   Compiling atty v0.2.14
   Compiling xattr v0.2.2
   Compiling dirs-sys-next v0.1.2
   Compiling time v0.1.43
   Compiling filetime v0.2.15
   Compiling tempfile v3.3.0
   Compiling os_pipe v1.0.1
   Compiling shared_child v1.0.0
   Compiling dirs-sys v0.3.7
   Compiling futures-lite v1.12.0
   Compiling aho-corasick v0.7.18
   Compiling bstr v0.2.17
   Compiling os_str_bytes v6.0.0
   Compiling polling v2.2.0
   Compiling crossbeam-channel v0.5.2
   Compiling png v0.16.8
   Compiling semver v0.11.0
   Compiling rand_core v0.5.1
   Compiling cc v1.0.73
   Compiling rand_core v0.6.3
   Compiling uuid v0.8.2
   Compiling parking_lot v0.11.2
   Compiling idna v0.2.3
   Compiling dirs-next v2.0.0
   Compiling tokio v1.17.0
   Compiling tar v0.4.38
   Compiling dirs v4.0.0
   Compiling nix v0.23.1
   Compiling async-executor v1.4.1
   Compiling regex v1.5.4
   Compiling flate2 v1.0.22
   Compiling async-io v1.6.0
   Compiling clap v3.1.2
   Compiling rustc_version v0.3.3
   Compiling rand_chacha v0.2.2
   Compiling rand_pcg v0.2.1
   Compiling crypto-common v0.1.3
   Compiling block-buffer v0.10.2
   Compiling rand_chacha v0.3.1
   Compiling zstd-sys v1.6.3+zstd.1.5.2
   Compiling openssl-sys v0.9.72
   Compiling blake3 v1.3.1
   Compiling bzip2-sys v0.1.11+1.0.8
   Compiling cfb v0.4.0
   Compiling crossbeam-deque v0.8.1
   Compiling darling_core v0.13.1
   Compiling globset v0.4.8
   Compiling env_logger v0.9.0
   Compiling field-offset v0.3.4
   Compiling rand v0.7.3
   Compiling digest v0.10.3
   Compiling rand v0.8.5
   Compiling thiserror-impl v1.0.30
   Compiling futures-macro v0.3.21
   Compiling cssparser v0.27.2
   Compiling strum_macros v0.21.1
   Compiling cssparser-macros v0.6.0
   Compiling html5ever v0.25.1
   Compiling derive_more v0.99.17
   Compiling serialize-to-javascript-impl v0.1.1
   Compiling ctor v0.1.21
   Compiling enumflags2_derive v0.7.3
   Compiling derivative v2.2.0
   Compiling async-recursion v0.3.2
   Compiling serde_repr v0.1.7
   Compiling infer v0.4.0
   Compiling ignore v0.4.18
   Compiling phf_generator v0.8.0
   Compiling sha2 v0.10.2
   Compiling phf_generator v0.10.0
   Compiling darling_macro v0.13.1
   Compiling thiserror v1.0.30
   Compiling phf_codegen v0.8.0
   Compiling string_cache_codegen v0.5.1
   Compiling phf_macros v0.8.0
   Compiling phf_macros v0.10.0
   Compiling darling v0.13.1
   Compiling selectors v0.22.0
   Compiling markup5ever v0.10.1
   Compiling futures-executor v0.3.21
   Compiling serde_with_macros v1.5.1
   Compiling phf v0.8.0
   Compiling futures v0.3.21
   Compiling phf v0.10.1
   Compiling toml v0.5.8
   Compiling string_cache v0.8.3
   Compiling url v2.2.2
   Compiling enumflags2 v0.7.3
   Compiling serde_urlencoded v0.7.1
   Compiling os_info v3.2.0
   Compiling bincode v1.3.3
   Compiling serde_with v1.12.0
   Compiling treediff v3.0.2
   Compiling serialize-to-javascript v0.1.1
   Compiling system-deps v6.0.2
   Compiling proc-macro-crate v1.1.3
   Compiling system-deps v3.2.0
   Compiling system-deps v5.0.0
   Compiling cargo_toml v0.11.4
   Compiling attohttpc v0.18.0
   Compiling json-patch v0.2.6
   Compiling glib-macros v0.15.6
   Compiling gtk3-macros v0.15.4
   Compiling zvariant_derive v3.1.2
   Compiling zbus_macros v2.1.1
   Compiling glib-sys v0.14.0
   Compiling gobject-sys v0.14.0
   Compiling gio-sys v0.14.0
   Compiling glib-sys v0.15.6
   Compiling gobject-sys v0.15.5
   Compiling gdk-sys v0.15.1
   Compiling gio-sys v0.15.6
   Compiling atk-sys v0.15.1
   Compiling cairo-sys-rs v0.15.1
   Compiling pango-sys v0.15.1
   Compiling gdk-pixbuf-sys v0.15.1
   Compiling gtk-sys v0.15.3
   Compiling gdkx11-sys v0.15.1
   Compiling soup2-sys v0.1.0
   Compiling javascriptcore-rs-sys v0.4.0
   Compiling webkit2gtk-sys v0.17.0
   Compiling kuchiki v0.8.1
   Compiling zvariant v3.1.2
   Compiling tauri-utils v1.0.0-rc.3
   Compiling glib v0.15.6
   Compiling zbus_names v2.1.0
   Compiling tauri-build v1.0.0-rc.3
   Compiling zbus v2.1.1
   Compiling bzip2 v0.4.3
   Compiling zip v0.5.13
   Compiling pango v0.15.6
   Compiling cairo-rs v0.15.6
   Compiling atk v0.15.1
   Compiling javascriptcore-rs v0.16.0
   Compiling ashpd v0.2.4
   Compiling notify-rust v4.5.6
   Compiling acrn-configurator v0.1.0 (/home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/src-tauri)
   Compiling gdk-pixbuf v0.15.6
   Compiling gdk v0.15.4
   Compiling zstd v0.10.0+zstd.1.5.2
   Compiling tauri-utils v1.0.0-rc.2 (https://github.com/Weiyi-Feng/tauri.git#015e15cf)
   Compiling tauri-codegen v1.0.0-rc.2 (https://github.com/Weiyi-Feng/tauri.git#015e15cf)
   Compiling webkit2gtk v0.17.1
   Compiling tauri-macros v1.0.0-rc.2 (https://github.com/Weiyi-Feng/tauri.git#015e15cf)
   Compiling tauri-runtime v0.3.2 (https://github.com/Weiyi-Feng/tauri.git#015e15cf)
   Compiling tauri-runtime-wry v0.3.2 (https://github.com/Weiyi-Feng/tauri.git#015e15cf)
    Finished release [optimized] target(s) in 5m 50s
[tauri:build] Binary stripped, size reduced by 6.49 MB
    Bundling acrn-configurator_0.3.0_amd64.deb
    Bundling acrn-configurator_0.3.0_amd64.AppImage
    Finished 2 bundles at:
        /home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/src-tauri/target/release/bundle/deb/acrn-configurator_0.3.0_amd64.deb
        /home/dbkinder/projectacrn/acrn-hypervisor/misc/config_tools/configurator/src-tauri/target/release/bundle/appimage/acrn-configurator_0.3.0_amd64.AppImage
Done in 574.27s.
~/projectacrn/acrn-hypervisor$
dbkinder commented 2 years ago

Here were the steps I used to get to the right yarn version:

 sudo apt remove --auto-remove cmdtest
 curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
 sudo apt update
 sudo apt install yarn
Weiyi-Feng commented 2 years ago

My yarn is 1.22.17, but the error “There are no scenarios; must have at least one.” Comes from the cmdtest package’s yarn command, not our nodejs package manager tool’s yarn command.

The log is used to tell user “I’m working, not hang up”, so do we have some better idea to tell user this message?