Revertron / Alfis

Alternative Free Identity System
https://alfis.name
GNU Affero General Public License v3.0
306 stars 27 forks source link

thread 'main' panicked at 'No option 'service' defined' getopts-0.2.21 #353

Open CyberNitta opened 1 year ago

CyberNitta commented 1 year ago

Building release and debug normally. Cant run it anymore with GUI on arch linux system.

$:./alfis thread 'main' panicked at 'No option 'service' defined', /home/nitta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getopts-0.2.21/src/lib.rs:799:21 stack backtrace: 0: 0x55a55a053781 - std::backtrace_rs::backtrace::libunwind::trace::h66dc1c6acf794faa at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x55a55a053781 - std::backtrace_rs::backtrace::trace_unsynchronized::ha80d20099a67f790 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x55a55a053781 - std::sys_common::backtrace::_print_fmt::h7b959d43f35f16d4 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:65:5 3: 0x55a55a053781 - ::fmt::hdaa196410d9ee0b9 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:44:22 4: 0x55a55a082f1f - core::fmt::rt::Argument::fmt::h0ddfbbe8be3f80d0 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/fmt/rt.rs:138:9 5: 0x55a55a082f1f - core::fmt::write::h66b3c629f3d623e4 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/fmt/mod.rs:1094:21 6: 0x55a55a04f727 - std::io::Write::write_fmt::hb6d80fba4115e0c2 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/io/mod.rs:1714:15 7: 0x55a55a053595 - std::sys_common::backtrace::_print::h1a49cfb0cf3cce17 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:47:5 8: 0x55a55a053595 - std::sys_common::backtrace::print::hca95c2d0055e42a2 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:34:9 9: 0x55a55a054ac3 - std::panicking::default_hook::{{closure}}::hc03c01c56bca600c at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:269:22 10: 0x55a55a054854 - std::panicking::default_hook::hb2cb5315b6634f1c at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:288:9 11: 0x55a55a055049 - std::panicking::rust_panic_with_hook::h75cd912a39a34e8a at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:705:13 12: 0x55a55a054f47 - std::panicking::begin_panic_handler::{{closure}}::h1498b46f7849e167 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:597:13 13: 0x55a55a053be6 - std::sys_common::backtrace::__rust_end_short_backtrace::hd36a39b27b98086b at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:151:18 14: 0x55a55a054c92 - rust_begin_unwind at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5 15: 0x55a559d66c23 - core::panicking::panic_fmt::h98ef273141454c23 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14 16: 0x55a55a01c374 - getopts::Matches::opt_vals::h016fa338d870fc82 at /home/nitta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getopts-0.2.21/src/lib.rs:799:21 17: 0x55a55a01c3d0 - getopts::Matches::opt_present::h1cee5a1db8c0c869 at /home/nitta/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getopts-0.2.21/src/lib.rs:813:10 18: 0x55a559da80e9 - alfis::main::he9dabeea4d608bd5 at /run/media/nitta/TRANSFER1/Alfis/src/main.rs:149:8 19: 0x55a559d9bc33 - core::ops::function::FnOnce::call_once::h582bab24f61b9bf4 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:250:5 20: 0x55a559d9bc33 - std::sys_common::backtrace::__rust_begin_short_backtrace::hc41acb745da05f9a at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/sys_common/backtrace.rs:135:18 21: 0x55a559d943a9 - std::rt::lang_start::{{closure}}::ha2be21a7e64881db at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:166:18 22: 0x55a55a049dcb - core::ops::function::impls:: for &F>::call_once::h87e9a912d8a0de33 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/function.rs:284:13 23: 0x55a55a049dcb - std::panicking::try::do_call::ha8d57d42181c12cf at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 24: 0x55a55a049dcb - std::panicking::try::h2fdb2d19c253437c at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 25: 0x55a55a049dcb - std::panic::catch_unwind::h9fe5959d2e133449 at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 26: 0x55a55a049dcb - std::rt::lang_start_internal::{{closure}}::ha072eb7bbeaa0b6a at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:48 27: 0x55a55a049dcb - std::panicking::try::do_call::h983dae29f79ed5db at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:500:40 28: 0x55a55a049dcb - std::panicking::try::h15014751f4b412ba at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:464:19 29: 0x55a55a049dcb - std::panic::catch_unwind::hf837426183b1055f at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panic.rs:142:14 30: 0x55a55a049dcb - std::rt::lang_start_internal::h2bbe0b58b2b89a9f at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/rt.rs:148:20 31: 0x55a559dab2dc - main 32: 0x7fa59120ccd0 - 33: 0x7fa59120cd8a - __libc_start_main 34: 0x55a559d674b5 - _start 35: 0x0 - $:uname -a Linux 6.5.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 23 Sep 2023 22:55:13 +0000 x86_64 GNU/Linux $:rustup -V rustup 1.26.0 (5af9b9484 2023-04-05) info: This is the version for the rustup toolchain manager, not the rustc compiler. info: The currently active `rustc` version is `rustc 1.72.1 (d5c2e9c34 2023-09-13)` release [v0.8.4](https://github.com/Revertron/Alfis/releases/tag/v0.8.4) ![Screenshot from 2023-10-03 17-53-51](https://github.com/Revertron/Alfis/assets/79141581/e55425fb-9683-4b6c-aa99-1fce3e3a6a84) $:./alfis ... src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1) Failed to create GBM buffer of size 1023x720: Invalid argument src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1) Failed to create GBM buffer of size 1023x720: Invalid argument src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1) Failed to create GBM buffer of size 1023x720: Invalid argument Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1 ...
Revertron commented 1 year ago

Just fixed it, try to build it from master and run.