Package Details: telephant-git 20210130-1

Git Clone URL: https://aur.archlinux.org/telephant-git.git (read-only, click to copy)
Package Base: telephant-git
Description: A lightweight but modern Mastodon client, written in Go & QML
Upstream URL: https://github.com/muesli/telephant
Keywords: mastodon
Licenses: MIT
Conflicts: telephant
Provides: telephant
Submitter: muesli
Maintainer: muesli (MOTT)
Last Packager: muesli
Votes: 5
Popularity: 0.000144
First Submitted: 2019-05-26 16:27
Last Updated: 2021-01-30 20:32

Latest Comments

Tio commented on 2021-03-19 21:39

Fails to build for me too:

go: inconsistent vendoring in /var/tmp/pamac-build-tio/telephant-git/src/telephant-git:
    github.com/therecipe/qt/internal/binding/files/docs/5.13.0@v0.0.0-20200904063919-c0c124a5770d: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor

==> ERROR: A failure occurred in build().
    Aborting...


bionade24 commented on 2021-01-31 09:06

Fails to build in a clean chroot:

time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=QuickControls2
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Network
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Gui
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Core
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Qml
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Gui
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=QuickControls2
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Core
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Network
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Qml
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Core
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Gui
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Network
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=QuickControls2
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Qml
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=QuickControls2
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Core
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Network
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Gui
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Qml
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Network
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=QuickControls2
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Gui
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Core
time="2021-01-31T10:05:09+01:00" level=warning msg=parser.LoadModule error=EOF module=Qml
time="2021-01-31T10:05:09+01:00" level=error msg="failed to run command" _func=RunCmd cmd="go list -mod=vendor -tags= -e -f {{join .TestImports \"|\"}}|{{join .XTestImports \"|\"}}|{{join .Deps \"|\"}}" dir=/build/telephant-git/src/gopath/src/github.com/muesli/telephant env="SHELL=/bin/bash SUDO_GID=0 TEXTDOMAINDIR=/usr/share/locale SUDO_COMMAND=/bin/bash -c bash -c cd\\ /startdir;\\ makepkg\\ \"$@\" -bash --syncdeps --noconfirm --log --holdver --skipinteg SUDO_USER=root PWD=/build/telephant-git/src/gopath/src/github.com/muesli/telephant SOURCE_DATE_EPOCH=1612083509 LOGNAME=builduser CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt COMMAND_MODE=legacy LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now HOME=/build LANG=en_US.UTF-8 QT_PKG_CONFIG=true CPPFLAGS=-D_FORTIFY_SOURCE=2 MAKEFLAGS=-j4 TERM=xterm-256color USER=builduser SHLVL=1 CHOST=x86_64-pc-linux-gnu PATH=/build/telephant-git/src/gopath/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt SUDO_UID=0 MAIL=/var/mail/builduser OLDPWD=/build/telephant-git/src GOPATH=/build/telephant-git/src/gopath TEXTDOMAIN=pacman-scripts _=/build/telephant-git/src/gopath/bin/qtdeploy CGO_ENABLED=0 GOFLAGS=-mod=vendor PWD=/build/telephant-git/src/gopath/src/github.com/muesli/telephant USER=builduser OLDPWD=/build/telephant-git/src GOROOT=/usr/lib/go CGO_ENABLED=1 QT_PKG_CONFIG=true TEXTDOMAIN=pacman-scripts GOOS=linux GOARCH=amd64 SOURCE_DATE_EPOCH=1612083509 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now TERM=xterm-256color GOPATH=/build/telephant-git/src/gopath SUDO_USER=root COMMAND_MODE=legacy MAKEFLAGS=-j4 SUDO_GID=0 SHLVL=1 SUDO_UID=0 MAIL=/var/mail/builduser PATH=/build/telephant-git/src/gopath/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl LOGNAME=builduser HOME=/build CPPFLAGS=-D_FORTIFY_SOURCE=2 CHOST=x86_64-pc-linux-gnu TEXTDOMAINDIR=/usr/share/locale CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt LANG=en_US.UTF-8 _=/build/telephant-git/src/gopath/bin/qtdeploy SUDO_COMMAND=/bin/bash -c bash -c cd\\ /startdir;\\ makepkg\\ \"$@\" -bash --syncdeps --noconfirm --log --holdver --skipinteg CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt SHELL=/bin/bash" error="exit status 1" name="go list deps"
go: inconsistent vendoring in /build/telephant-git/src/gopath/src/github.com/muesli/telephant:
        github.com/therecipe/qt/internal/binding/files/docs/5.13.0@v0.0.0-20200904063919-c0c124a5770d: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory

==> ERROR: A failure occurred in build().
    Aborting...

muesli commented on 2019-09-04 02:32

@bionade24: Sadly this was caused by an upstream API breakage. Should be fixed in master now. Thank you!

bionade24 commented on 2019-08-11 15:51

BUILD Fails:

# github.com/muesli/telephant
./attachmentmodel.go:75:31: cannot use p.ID (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./attachmentmodel.go:79:31: cannot use p.Preview (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:144:31: cannot use p.Name (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:148:31: cannot use p.MessageID (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:152:31: cannot use p.PostURL (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:156:31: cannot use p.Author (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:160:31: cannot use p.AuthorURL (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:164:31: cannot use p.AuthorID (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:168:31: cannot use p.Avatar (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:172:31: cannot use p.Body (type string) as type core.QBitArray_ITF in argument to core.NewQVariant14:
        string does not implement core.QBitArray_ITF (missing QBitArray_PTR method)
./messagemodel.go:172:31: too many errors

==> ERROR: A failure occurred in build().
    Aborting..

Built in a clean chroot

bionade24 commented on 2019-06-01 16:22

Doesn't run on an unprivileged user:

panic: operation not permitted

goroutine 1 [running, locked to thread]:
main.init.2()
        /home/oskar/.cache/pikaur/build/telephant-git/src/gopath/src/github.com/muesli/telephant/notifications.go:15 +0x68

Solved: https://github.com/muesli/telephant/issues/44