Skip to content

openSUSE support / install fails silently? #92

@K0-RR

Description

@K0-RR

This is not a rant, I don't expect You to support things You don't use daily

Describe the bug
I tried to install dosr on opensuse tumbleweed but the cargo command printed Unsupported OS so, after locating the "culprit", which starts here

impl OsTarget {

, for fun, I modified my /etc/os-release to contain the word fedora.

At first the installation failed without explicit reason – something along "OS error 2" – but running it again with strace allowed me to narrow it down to missing pandoc on my system.

Next try seemed to install correctly:

cargo xtask install -bip sudo
    Finished `release` profile [optimized] target(s) in 0.12s
     Running `target/release/xtask install -bip sudo`
Failed to find executable dnf: No such file or directory
Failed to find executable dnf: No such file or directory
   Compiling rootasrole v3.3.4 (/home/k0rr/RootAsRole)
    Finished `release` profile [optimized] target(s) in 54.41s
   Compiling rootasrole v3.3.4 (/home/k0rr/RootAsRole)
    Finished `release` profile [optimized] target(s) in 1m 14s

No errors (ignoring that missing dnf obviously) but dosr binary wasn't copied from ./target/release/dosr. Any idea why?

Expected behaviour

  • Clear error messages – although I'm the one breaking the check, I still think it should fail cleanly, stating pandoc is missing.
  • Support for less popular distros, because I'm openSUSE and OpenMandriva fanboy – maybe package dosr for nixOS, if this would be possible for such tool, as that would make it available for every niche distribution.
  • Successful install

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions