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

could not clean the "bin" dir #217

Closed
philiplb opened this issue Dec 25, 2023 · 2 comments
Closed

could not clean the "bin" dir #217

philiplb opened this issue Dec 25, 2023 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@philiplb
Copy link

philiplb commented Dec 25, 2023

Describe the bug:

I have the hello-world Fyne program and want to cross compile it from MacOS, M1 CPU. It fails with this error message: "could not clean the "bin" dir".

To Reproduce:

Steps to reproduce the behaviour:

  1. Run fyne-cross darwin -arch=amd64 -debug -no-cache -app-id=de.philiplb.foo in the source folder.

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

Device info
  • OS: MacOS
  • Version: 14.0
  • Go version: 1.21.5
  • fyne-cross version: 1.4.0
  • Fyne version: 2.4.3
Debug info
fyne-cross darwin -arch=amd64 -debug -no-cache -app-id=de.philiplb.foo

[i] Target: darwin/amd64
&command.localContainerImage{baseContainerImage:command.baseContainerImage{arch:"amd64", os:"darwin", id:"darwin-amd64", env:map[string]string{"CC":"zig cc -v -target x86_64-macos.10.12 -isysroot /sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks", "CGO_LDFLAGS":"--sysroot /sdk -F/System/Library/Frameworks -L/usr/lib", "CXX":"zig c++ -v -target x86_64-macos.10.12 -isysroot /sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks", "GOARCH":"amd64", "GOOS":"darwin"}, tags:[]string(nil), mount:[]command.containerMountPoint{command.containerMountPoint{name:"project", localHost:"/Users/philiplb/repos/foo/src", inContainer:"/app"}}, DockerImage:"docker.io/fyneio/fyne-cross-images:darwin"}, runner:(*command.localContainerEngine)(0x1400014e090)}
[i] Cleaning target directories...
/usr/local/bin/docker run --rm -t -w /app -v /Users/philiplb/repos/foo/src:/app --platform linux/arm64 -u 501:20 --entrypoint fixuid -v /private/tmp/com.apple.launchd.VlhzF6pzTy/Listeners:/tmp/ssh-agent -e SSH_AUTH_SOCK=/tmp/ssh-agent -e CGO_ENABLED=1 -e GOCACHE=/go/go-build -e "GOFLAGS=-ldflags=-s -ldflags=-w" -e CGO_LDFLAGS=--sysroot /sdk -F/System/Library/Frameworks -L/usr/lib -e GOOS=darwin -e GOARCH=amd64 -e CC=zig cc -v -target x86_64-macos.10.12 -isysroot /sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks -e CXX=zig c++ -v -target x86_64-macos.10.12 -isysroot /sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks docker.io/fyneio/fyne-cross-images:darwin rm -rf /app/fyne-cross/bin/darwin-amd64
docker: Error response from daemon: error while creating mount source path '/host_mnt/private/tmp/com.apple.launchd.VlhzF6pzTy/Listeners': mkdir /host_mnt/private/tmp/com.apple.launchd.VlhzF6pzTy/Listeners: operation not supported.
[✗] could not clean the "bin" dir /app/fyne-cross/bin/darwin-amd64: exit status 125

@andydotxyz
Copy link
Member

Dupe of #214, it's fixed already but not released yet iirc.

@andydotxyz andydotxyz added the duplicate This issue or pull request already exists label Dec 25, 2023
@andydotxyz andydotxyz closed this as not planned Won't fix, can't repro, duplicate, stale Dec 25, 2023
@philiplb
Copy link
Author

I see, thank you very much!
And merry christmas :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants