Skip to content
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

[BUG] watchexec2 breaks build on termux and will soon stop compiling #110

Open
dead10ck opened this issue Dec 23, 2022 · 1 comment
Open

Comments

@dead10ck
Copy link
Contributor

Environment

  • OS: Termux on Android 12
  • Dotter version: 61ebe01 and later

Description

61ebe01 introduced a new transitive dependency on pwd, which does not build on Android due to getpwent and friends being unavailable in bionic.

error[E0432]: unresolved imports `libc::endpwent`, `libc::getpwent`, `libc::setpwent`                                                  --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/pwd-1.3.1/src/unix.rs:2:20
   |
 2 | use libc::{c_char, endpwent, getpwent, getpwnam, getpwuid, getuid, passwd, setpwent};
   |                    ^^^^^^^^  ^^^^^^^^ no `getpwent` in the root            ^^^^^^^^ no `setpwent` in the root
   |                            |                    no `endpwent` in the root
   |                                                                help: a similar name exists in the module
   |
 2 | use libc::{c_char, endpwent, getutent, getpwnam, getpwuid, getuid, passwd, setpwent};
   |                              ~~~~~~~~                          help: a similar name exists in the module
   |
 2 | use libc::{c_char, endpwent, getpwent, getpwnam, getpwuid, getuid, passwd, setutent};
   |                                                                            ~~~~~~~~
For more information about this error, try `rustc --explain E0432`.
error: could not compile `pwd` due to previous error
@SuperCuber SuperCuber changed the title [BUG] watchexec2 breaks build on termux [BUG] watchexec2 breaks build on termux and will soon stop compiling Mar 22, 2023
@SuperCuber
Copy link
Owner

Additionally current version of watchexec pulls in dependencies that will stop compiling soon. Should update to latest release, however there are breaking changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants