You are not logged in.

#1 2018-11-30 11:17:08

capstabs
Member
Registered: 2018-11-30
Posts: 1

autopass-git: cannot stat 'autopass': No such file or directory

Hello,

im trying to install with yaourt "aur/autopass-git". But I get the following error:

==> Continue building autopass-git ? [Y/n]
==> --------------------------------------
==> y

==> Building and installing package
==> Making package: autopass-git 0.r52.dc87443-2 (Fri 30 Nov 2018 12:09:54 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning autopass-git git repo...
Cloning into bare repository '/tmp/yaourt-tmp-teachai/aur-autopass-git/autopass-git'...
remote: Enumerating objects: 381, done.
remote: Total 381 (delta 0), reused 0 (delta 0), pack-reused 381
Receiving objects: 100% (381/381), 78.79 KiB | 413.00 KiB/s, done.
Resolving deltas: 100% (198/198), done.
==> Validating source files with sha512sums...
    autopass-git ... Skipped
==> Extracting sources...
  -> Creating working copy of autopass-git git repo...
Cloning into 'autopass-git'...
done.
==> Starting pkgver()...
==> Updated version: autopass-git 0.r103.eca49bc-1
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'autopass': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Makepkg was unable to build autopass-git.
==> Restart building autopass-git ? [y/N]
==> -------------------------------------
==> 

Does anyone knows what I need to change in the PKGBUILD to fix this error?

# Maintainer: Joakim Reinert <mail+aur@jreinert.com>

pkgname=autopass-git
pkgver=0.r103.eca49bc
pkgrel=1
pkgdesc='a rofi frontend for pass'
arch=(any)
url='https://github.com/jreinert/autopass'
license=('MIT')
depends=(ruby pass rofi xdotool xorg-xwininfo libnotify xclip)
makedepends=(git)

source=("${pkgname}::git+https://github.com/jreinert/autopass.git")
sha512sums=(SKIP)
provides=('autopass')
conflicts=('autopass')
optdepends=('passed-git: batch editing of pass entries with sed')

pkgver() {
  cd "${pkgname}"
  printf '0.r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${pkgname}"
  install -d "$pkgdir/usr/bin"
  install -m755 autopass "$pkgdir/usr/bin/autopass"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

Thanks in advance

Offline

#2 2018-11-30 12:45:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 8,404
Website

Re: autopass-git: cannot stat 'autopass': No such file or directory

A quick glance at the repo shows that autopass script is now in a bin directory in the repo. You'll need to change line 27 in the PKGBUILD to reflect this.

Flag the package Out of Date to let the maintainer know they need to update the PKGBUILD.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB