-
Notifications
You must be signed in to change notification settings - Fork 23
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
Update to v7.7.1 #162
base: master
Are you sure you want to change the base?
Update to v7.7.1 #162
Conversation
We will need to investigate more, but for some reason the build is trying to pull an old version of the golang libc package that doesn't support some of our targets, such as freebsd/arm. The actual error is
but I'm not sure yet where the @1.16.7 is coming from since Mattermost's go.mod is referencing [email protected] which does have freebsd/arm support (1.16.7 didn't). I see v1.16.7 in the go.sum, so maybe it's a transitive dependency problem that we could potentially fix with a redirect in a patched version of go.mod or similar. |
Then again, even the current version of libc lacks support for dragonfly or linux/mips*, so we may need to either open an issue with Mattermost asking them to remove this dependency (which has worked in the past for similar problems), patch around it ourselves, or drop support for those configurations. |
Also build for linux/arm64 failed on my side : https://github.com/locness3/ubiquitous-memory/actions/runs/4032134173/jobs/6931836737 |
This looks like they re-introduced the Boards build step, which is going to require more work like we had to do to accommodate mmctl. My employer no longer uses an arm64 build of Mattermost, so if someone else can pick this up, that would be helpful. |
I would assume that this isn't solely an issue with arm64 |
You are correct. What I meant to say was that we're using an x86 build of Mattermost which means we can take official drops rather than relying on builds produced by this repo which means I no longer have the time to contribute here the way I have been. :) |
Hello, I have some machines with other architectures, and I want to deploy Mattermost and Focalboard on MIPS or LoongArch. However, I only have binaries compiled for AMD, and I want to compile plugins for MIPS or LoongArch myself to experiment with. Do you have any suggestions, or do you have any plans to support LoongArch architecture on GitHub or focalboard in mips ? I am new to compiling with Go. Could you please help me ,thank you ! |
Either someone needs to help out with the comments I've made above, or you need to petition the official Mattermost team to ask for support for your desired architecture. This is a volunteer-run project that has no volunteers available at the moment. The steps you need for compiling are in the build scripts in this repo. The Github action is as much a walkthrough as you'll be able to find. |
This is in Mattermost 7.10's release notes:
I don't know if this will be good or bad for this project. :) |
Sorry to disturb you again , I had built mmctl and webapp ,but stuck in server . Shortly , libc is not support mipsel ,and my new arch - loongarch ,how did you build it in mips64el and succeed (I saw libc not support mips64el), I just forked your repo use the scripts - build.sh and stuck in libc when I build server , The following are concrete messages , I will be very grateful if you answer my question . make --directory=/build/go/src/github.com/mattermost/mattermost-server build-linux package-linux BUILD_NUM[263/1936] package github.com/mattermost/mattermost-server/v6/api4 |
I will try to build v7.10 and v7.11 in my architecture ,thanks for your information . |
I didn't build it in mips64el - the libc problems are described earlier in this thread: #162 (comment) |
Hello, I've just cloned your build script and update to run arm/v7 & arm64. All is ok. https://github.com/remiheens/mattermost-docker-arm |
Supersedes @earlmedina 's #161