Package Details: telephant-git 1:0.1+rc3+10.r316.20210130.da437b7-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: MOTT
Last Packager: dreieck
Votes: 5
Popularity: 0.000000
First Submitted: 2019-05-26 16:27 (UTC)
Last Updated: 2024-01-13 15:07 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2024-01-13 15:08 (UTC)

I fixed the PKGBUILD as much as I can, but it still fails to build for me. So I orphan it again.

dreieck commented on 2024-01-13 14:30 (UTC)

I get a build error that qtdeploy cannot be found:

/tmp/makepkg/yay/telephant-git/PKGBUILD: line 37: /tmp/makepkg/build/telephant-git/src/gopath/bin/qtdeploy: No such file or directory

Regards!

dreieck commented on 2024-01-13 14:25 (UTC)

Please move the go specific download stuff out from build() into prepare() so that no internet connection is needed after prepare():

==> Starting build()...
github.com/therecipe/qt (download)
[...]

Regards!

dreieck commented on 2024-01-13 14:24 (UTC)

Please write a proper pkgver() function that guarantees strongly monotoneously increasing $pkgver with each upstream commit.

E.g. you could use:

pkgver() {
  cd "${srcdir}/${_pkgname}"

  _ver="$(git describe  --tags | sed 's|^xf86-input-wacom-||' | sed 's|-g[0-9a-fA-F]*$||' | tr '-' '+')"
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
  _hash="$(git rev-parse --short HEAD)"

  if [ -z "${_ver}" ]; then
    error "Version could not be determined."
    return 1
  else
    printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
  fi
}

(and please set $epoch=1 when adopting it, since it changes the $pkgver scheme.)

Regards and thanks for maintaining!,
and: This issue from 2022-06-02 still needs to be solved!

dr460nf1r3 commented on 2022-06-02 12:53 (UTC)

Needs sources updated to git+https://..., fails to download as of now.

strubbl commented on 2021-10-21 17:27 (UTC)

I still get the same issue as Tio. I opened an issue: https://github.com/muesli/telephant/issues/69

Tio commented on 2021-03-19 21:39 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC) (edited on 2019-08-11 15:52 (UTC) by bionade24)

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