Package Details: telepresence-git 0.105-1

Git Clone URL: https://aur.archlinux.org/telepresence-git.git (read-only, click to copy)
Package Base: telepresence-git
Description: Local development against a remote Kubernetes or OpenShift cluster - http://www.telepresence.io
Upstream URL: https://github.com/datawire/telepresence
Licenses: Apache
Submitter: leledumbo
Maintainer: leledumbo
Last Packager: leledumbo
Votes: 0
Popularity: 0.000000
First Submitted: 2018-05-11 12:58
Last Updated: 2020-05-06 21:58

Latest Comments

isra17 commented on 2020-05-07 14:31

package start failing with latest update:

==> Extracting sources...
  -> Creating working copy of src git repo...
fatal: repository '/home/isra/.cache/yay/telepresence-git/src' does not exist
==> ERROR: Failure while creating working copy of src git repo
    Aborting...

Reverting

pkgver() {
-  cd ${srcdir}/src
+  cd ${srcdir}
   git describe --abbrev=0
 }

Works

cwrau commented on 2019-11-27 11:57

@leledumbo: Mh, works for me?

Also in an empty docker container

pacman -Sy
pacman -S git
cd /tmp/
git clone https://aur.archlinux.org/telepresence-git.git
useradd kuchen
chown -R kuchen telepresence-git/
pacman -S --needed base-devel curl conntrack-tools python-virtualenv socat sshfs torsocks
su kuchen
  cd telepresence-git/
  makepkg
pacman -U telepresence-git/telepresence-git-0.103-1-any.pkg.tar.xz 

After the python 3.8 update, you had to clean reinstall all your python packages, maybe you missed one?

leledumbo commented on 2019-11-27 10:53

@CWRau: got that added, but I'm stuck here now and not sure on how to fix this:

==> Starting package()...
Installing Telepresence in /mnt/LinuxShared/MyAUR/telepresence-git/pkg/telepresence-git/usr
Built /tmp/tmp.BMXgZS6EZK/dist/telepresence
warning: no previously-included files matching '*' found under directory 'docs/_build'
Error: Command '['/tmp/tmpsxwbe02r/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "packaging/build-sshuttle.py", line 77, in <module>
    main()
  File "packaging/build-sshuttle.py", line 73, in main
    build_sshuttle(output)
  File "packaging/build-sshuttle.py", line 44, in build_sshuttle
    check_call(["python3", "-m", "venv", str(build / "venv")])
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python3', '-m', 'venv', '/tmp/tmpsxwbe02r/venv']' returned non-zero exit status 1.
==> ERROR: A failure occurred in package().
    Aborting...

cwrau commented on 2019-09-17 08:44

Building fails for me:

==> Starting pkgver()...
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version: 
Error making: telepresence-git

Works when I fix the pkgver command:

diff --git a/PKGBUILD b/PKGBUILD
index b7a1593..f49afdd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,6 +22,7 @@ source=("src::git+https://github.com/datawire/telepresence.git")
 md5sums=('SKIP')

 pkgver() {
+  cd ${srcdir}/src
   git describe --abbrev=0
 }