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

unsupported target operating system "linux/amd64" #74

Closed
mrpalide opened this issue Oct 4, 2021 · 1 comment
Closed

unsupported target operating system "linux/amd64" #74

mrpalide opened this issue Oct 4, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mrpalide
Copy link

mrpalide commented Oct 4, 2021

Describe the bug:

I get this error when trying to build for linux with arch amd64

i] Target: linux/amd64
[i] Cleaning target directories...
[✓] "dist" dir cleaned: /home/mohammadreza/Projects/me_fynetest/fyne-cross/dist/linux-amd64
[✓] "temp" dir cleaned: /home/mohammadreza/Projects/me_fynetest/fyne-cross/tmp/linux-amd64
[✓] "bin" dir cleaned: /home/mohammadreza/Projects/me_fynetest/fyne-cross/bin/linux-amd64
[i] Checking for go.mod: /home/mohammadreza/Projects/me_fynetest/go.mod
[✓] go.mod found
[i] Building binary...
[✓] Binary: /home/mohammadreza/Projects/me_fynetest/fyne-cross/bin/linux-amd64/me_fynetest
[i] Packaging app...
[!] Default icon not found at "/home/mohammadreza/Projects/me_fynetest/Icon.png"
[✓] Created a placeholder icon using Fyne logo for testing purpose
unsupported target operating system "linux/amd64"
[✗] could not package the Fyne app: could not package the Fyne app: exit status 1

The binary build but I get this error but compressed .zip file not available on fyne-cross/dist folder and get error.

Device and debug info (please complete the following information):

Device info
  • OS: Kubuntu
  • Version: 20.04
  • Go version: 1.16.8
  • fyne-cross version: 1.1.1
  • Fyne version: 2.1
@lucor lucor added the bug Something isn't working label Oct 5, 2021
@lucor lucor self-assigned this Oct 5, 2021
@lucor
Copy link
Member

lucor commented Oct 5, 2021

Thanks for reporting @mrpalide.
Fix added in #75

lucor added a commit to lucor/fyne-io-fyne-cross that referenced this issue Oct 5, 2021
## fyne-cross CLI

### Fixed

- Unsupported target operating system "linux/amd64" fyne-io#74

## base-image

### Changed

- Add xz-utils package to support unix packaging fyne-io/fyne#1919
@lucor lucor mentioned this issue Oct 5, 2021
@lucor lucor closed this as completed in 9b7f52a Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants