Skip to content

Linux build fails on 9.16.1 due to sentry-native extraction permission error (works on 9.16.0) #3630

Description

@eximius313

Platform

Flutter Desktop Linux

Obfuscation

Enabled

Debug Info

Enabled

Doctor

[✓] Flutter (Channel stable, 3.38.4, on Debian GNU/Linux 11 (bullseye) 6.6.87.2-microsoft-standard-WSL2, locale en_US.UTF-8) [52ms]
• Flutter version 3.38.4 on channel stable at /home/eximius/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 66dd93f9a2 (4 months ago), 2025-12-03 14:56:10 -0800
• Engine revision a5cb96369e
• Dart version 3.10.3
• DevTools version 2.51.1
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

Environment

  • OS: Ubuntu (WSL2)
  • Filesystem: project located on /mnt/d (Windows NTFS mount)
  • Flutter: stable
  • Packaging: Fastforge .deb
  • Target: Linux x64
  • CMake: 3.18
  • Ninja build

Other Error Monitoring Solution

No

Other Error Monitoring Solution Name

No response

Version

9.16.1

Steps to Reproduce

Build command:

fastforge release --name=dev --jobs=release-dev-linux-deb

After upgrading sentry_flutter from 9.16.0 to 9.16.1, Linux builds started failing during the sentry-native fetch/extract phase.

Reverting back to 9.16.0 immediately fixes the problem.

This happens reliably when building a Flutter Linux app using Fastforge on a project located on a mounted Windows filesystem (/mnt/d/...) under WSL.

Expected Result

Build should succeed the same way it does on 9.16.0

Actual Result

CMake Error at sentry-native-subbuild/sentry-native-populate-prefix/src/sentry-native-populate-stamp/extract-sentry-native-populate.cmake:51 (file):
  file RENAME failed to rename

    /mnt/d/project/build/linux/x64/release/_deps/ex-sentry-native-populate1234

  to

    /mnt/d/project/build/linux/x64/release/_deps/sentry-native-src

  because: Permission denied

Are you willing to submit a PR?

None

Metadata

Metadata

Assignees

Labels

Projects

Status
Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions