krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
1.11k stars 195 forks source link

Building FluffyChat requires sudo #958

Open cyrneko opened 6 months ago

cyrneko commented 6 months ago

Bug Description

Building FluffyChat should not fail because sudo isn't used with the Flutter build command.

Steps to Reproduce

  1. Setup your build environment
  2. Run flutter build linux --release
  3. Build fails because it tries to access /usr/local, which you require root for

Expected Behavior

I expect FluffyChat to build, not to install and access my system directories, when running flutter build linux --release

App Version

commit 68aa225, main branch

Additional Platform Information

Linux Desktop, Ubuntu 22.04 Container

Additional Context

No response

krille-chan commented 6 months ago

Cannot reproduce this. Works fine for me and for CI on Ubuntu 23.10 (22.04 in CI)

cyrneko commented 6 months ago

I couldn't replicate it in CI either, but I could on an Ubuntu 22.04 and 23.10 container, as well as Void Linux

I'll leave this open in case anyone else can replicate it, if not it'll get marked stale anyways.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 120 days with no activity.