Package Details: mattermost 5.18.0-1

Git Clone URL: https://aur.archlinux.org/mattermost.git (read-only, click to copy)
Package Base: mattermost
Description: Open source Slack-alternative in Golang and React
Upstream URL: https://mattermost.com
Keywords: chat mattermost messenger networking slack
Licenses: Apache, AGPL
Submitter: mtorromeo
Maintainer: wget (caleb)
Last Packager: wget
Votes: 29
Popularity: 0.37
First Submitted: 2015-08-24 15:14
Last Updated: 2019-12-31 17:31

Latest Comments

1 2 3 4 5 6 ... Next › Last »

marcool04 commented on 2020-01-03 07:58

Hi, Getting this error when trying to upgrade on armv7 (Raspberry Pi 3B+):

g++ -shared -pthread -rdynamic -X "github.com/mattermost/mattermost-server/v5/model.BuildNumber=5.18.0-1" -X "github.com/mattermost/mattermost-server/v5/m
odel.BuildDate=2020-01-02 23:20:56" -X "github.com/mattermost/mattermost-server/v5/model.BuildHash=5.18.0-1 Arch Linux (armv7h)" -X "github.com/mattermost/m
attermost-server/v5/model.BuildHashEnterprise=none" -X "github.com/mattermost/mattermost-server/v5/model.BuildEnterpriseReady=false" -linkmode external -ext
ldflags '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' -s -w -Wl,-soname=binding.node -o Release/obj.target/binding.node -Wl,--start-group Release/obj.
target/binding/src/binding.o Release/obj.target/binding/src/create_string.o Release/obj.target/binding/src/custom_function_bridge.o Release/obj.target/bindi
ng/src/custom_importer_bridge.o Release/obj.target/binding/src/sass_context_wrapper.o Release/obj.target/binding/src/sass_types/boolean.o Release/obj.target
/binding/src/sass_types/color.o Release/obj.target/binding/src/sass_types/error.o Release/obj.target/binding/src/sass_types/factory.o Release/obj.target/bin
ding/src/sass_types/list.o Release/obj.target/binding/src/sass_types/map.o Release/obj.target/binding/src/sass_types/null.o Release/obj.target/binding/src/s
ass_types/number.o Release/obj.target/binding/src/sass_types/string.o Release/obj.target/src/sass.a -Wl,--end-group
g++: error: github.com/mattermost/mattermost-server/v5/model.BuildNumber=5.18.0-1: No such file or directory
g++: error: github.com/mattermost/mattermost-server/v5/model.BuildDate=2020-01-02 23:20:56: No such file or directory
g++: error: github.com/mattermost/mattermost-server/v5/model.BuildHash=5.18.0-1 Arch Linux (armv7h): No such file or directory
g++: error: github.com/mattermost/mattermost-server/v5/model.BuildHashEnterprise=none: No such file or directory
g++: error: github.com/mattermost/mattermost-server/v5/model.BuildEnterpriseReady=false: No such file or directory
g++: error: external: No such file or directory
g++: error: unrecognized command line option ‘-X’
g++: error: unrecognized command line option ‘-X’
g++: error: unrecognized command line option ‘-X’
g++: error: unrecognized command line option ‘-X’
g++: error: unrecognized command line option ‘-X’
make[2]: *** [binding.target.mk:149: Release/obj.target/binding.node] Error 1
make[2]: Leaving directory '/var/cache/trizen/mattermost/src/mattermost-webapp/node_modules/node-sass/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/var/cache/trizen/mattermost/src/mattermost-webapp/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:305:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.19.88-1-ARCH
gyp ERR! command "/usr/bin/node" "/var/cache/trizen/mattermost/src/mattermost-webapp/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass
_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /var/cache/trizen/mattermost/src/mattermost-webapp/node_modules/node-sass
gyp ERR! node -v v13.5.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1

I've taken a look at the mattermost-ldflags.patch file which seems to be where the error is coming from, but can't figure out what's wrong with it… Especially if it compiles on x86_64…

$ g++ --version
g++ (GCC) 8.3.0

Thanks for your work maintaining the aur package for mattermost! Regards, Mark.

wget commented on 2019-12-31 17:33

Package updated.

Tested properly on x86_64. Not retested with x86 (32-bit), armv7 and armv8 aarch64.

We are not yet ready to have reproducible builds yet. Will try to make it happen for 5.19.

wget commented on 2019-12-02 21:28

Package updated.

Note: nodejs 13.2 is broken due to upstream bug (https://github.com/nodejs/node/issues/30581) and due to the new node-sass dependency that is still buggy on node v13. I had to use nodejs 12 lts instead.

wget commented on 2019-11-26 17:24

The upgrade to 5.17 is currently broken. Mattermost now requires to have a nodejs sass binding, but the latter is using a specific libsaas version which cannot be built on Arch. The problem has been reported upstream. We are still waiting to get an answer from them. https://community-release.mattermost.com/core/pl/ni9u1ehku7yktf83rjucgkm8fa

wget commented on 2019-10-20 17:17

@baltitenger I haven't been able to reproduce on my build machine (tested with a fresh container via extra-x86_64-build -c).

@all Any way, package updated to 5.16 :)

baltitenger commented on 2019-10-13 11:44

build fails for me: (v5.15.0)

go install runtime/cgo: open /usr/lib/go/pkg/linux_amd64/runtime/cgo.a: permission denied
# github.com/mattermost/mattermost-server/cmd/platform
loadinternal: cannot find runtime/cgo
# github.com/mattermost/mattermost-server/plugin/interface_generator
loadinternal: cannot find runtime/cgo
make: *** [build/release.mk:6: build-linux] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

wget commented on 2019-09-13 18:04

Package updated.

@danieltetraquark Because this was a dependency that was requested in the past (some versions released this year were still requesting it, this is not the case any more).

@crt I wasn't impacted by that bug, I assume thit has been fixed for 5.14.2.

@baltitenger; 5.15 is affected as well. It is somewhat fixed in master, but another issue is still present. I patched the go dependencies in the mean time.

danieltetraquark commented on 2019-09-13 11:29

Why is python2 required as a build dependency?

roxlu commented on 2019-09-12 07:21

@baltinger, same issue here:

go: willnorris.com/go/imageproxy@v0.8.1-0.20190326225038-d4246a08fdec: invalid pseudo-version: does not match version-control timestamp (2019-04-22T23:49:45Z)

UPDATE:

I fixed it by removing that line from src/mattermost-server/go.mod also remove the line from the very botth; the one with "lint" in it. Then run:

makepkg -esi

Note the -e flag there so your changes are not overwritten again.

crt commented on 2019-09-11 04:12

Just a heads up that a fix for git.apache.org was merged today: https://github.com/mattermost/mattermost-server/pull/12146