You are not logged in.

#1 2018-05-17 20:24:49

atinker
Member
Registered: 2018-02-10
Posts: 7

./configure: No such file or directory

Hello,

I am attempting to build the pitivi-git package : https://aur.archlinux.org/packages/pitivi-git/

However the process stops with the message : ./configure: No such file or directory

Can anyone offer some assistance?

$git clone [url]http://aur.archlinux.org/pitivi-git.git[/url]
Cloning into 'pitivi-git'...
warning: redirecting to [url]https://aur.archlinux.org/pitivi-git.git/[/url]
remote: Counting objects: 20, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 20 (delta 1), reused 19 (delta 1)
Unpacking objects: 100% (20/20), done.

$cd pitivi-git/
$makepkg -si
==> Making package: pitivi-git 0.98.7539.c7e8c309-1 (Thu May 17 21:07:05 BST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning pitivi git repo...
Cloning into bare repository '/usr/local/aur/pitivi-git/pitivi'...
remote: Counting objects: 47626, done.
remote: Compressing objects: 100% (10239/10239), done.
remote: Total 47626 (delta 37296), reused 47256 (delta 37045)
Receiving objects: 100% (47626/47626), 26.11 MiB | 2.62 MiB/s, done.
Resolving deltas: 100% (37296/37296), done.
==> Validating source files with md5sums...
    pitivi ... Skipped
==> Extracting sources...
  -> Creating working copy of pitivi git repo...
Cloning into 'pitivi'...
done.
==> Starting pkgver()...
==> Updated version: pitivi-git 0.98.7880.5ed4b7f6-1
==> Starting build()...
/usr/local/aur/pitivi-git/PKGBUILD: line 37: ./configure: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by atinker (2018-05-19 08:51:37)

Offline

#2 2018-05-17 20:32:48

loqs
Member
Registered: 2014-03-06
Posts: 17,985

Re: ./configure: No such file or directory

configure has been removed the PKGBUILD has to be altered to use meson.
edit:
https://gitlab.gnome.org/GNOME/pitivi/c … 4eda8942ef

Last edited by loqs (2018-05-17 20:37:38)

Offline

#3 2018-05-17 20:34:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: ./configure: No such file or directory

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2018-05-17 21:04:33

loqs
Member
Registered: 2014-03-06
Posts: 17,985

Re: ./configure: No such file or directory

# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
# Contributor: Kerrick Staley <mail@kerrickstaley.com>
# Contributor: Thomas Schneider <maxmusterm@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Gabor Nyekhelyi (n0gabor) <n0gabor@vipmail.hu>

pkgname=pitivi-git
pkgver=0.98.r506.g5ed4b7f6
pkgrel=1
pkgdesc='Pitivi allows users to easily edit audio/video projects based on the GStreamer framework (Git version)'
arch=('x86_64')
license=('LGPL')
depends=('gsound' 'gst-editing-services' 'gst-plugins-bad' 'gst-plugins-good' 'gst-python'
         'gst-transcoder' 'gtk3' 'libnotify' 'python-cairo' 'python-gobject' 'python-matplotlib'
         'python-numpy')
makedepends=('gst-validate' 'intltool' 'itstool' 'meson')
optdepends=('frei0r-plugins: additional video effects, clip transformation feature'
            'gst-libav: additional multimedia codecs'
            'gst-plugins-ugly: additional multimedia codecs')
provides=('pitivi')
conflicts=('pitivi')
url='http://www.pitivi.org/'

source=('git+https://gitlab.gnome.org/GNOME/pitivi.git')
_gitname='pitivi'
md5sums=('SKIP')

pkgver() {
  cd $_gitname
  git describe | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g;s/\.rc/rc/'
}

prepare() {
  mkdir -p build
}

build() {
  cd  build
  meson --prefix=/usr --buildtype=release ../$_gitname
  ninja
}

package() {
  cd  build
  DESTDIR="$pkgdir" ninja install
}

It still will not build but I suspect that is due to recent changes in cairo as packaged by arch.
Edit:
changed arch from 'any' to 'x86_64'

Last edited by loqs (2018-05-17 22:20:34)

Offline

#5 2018-05-17 22:41:29

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: ./configure: No such file or directory

loqs wrote:

configure has been removed the PKGBUILD has to be altered to use meson.
edit:
https://gitlab.gnome.org/GNOME/pitivi/c … 4eda8942ef

I'm awe-inspired: https://aur.archlinux.org/cgit/aur.git/ … 944a60c7c0

See https://gitlab.gnome.org/GNOME/pitivi/c … 53cdad8522 -- for several years now they used meson, but for a while the configure script was a transition convenience which... simply ran meson, then wrote a Makefile which ran ninja.

So the genius AUR maintainer switched from ./autogen to ./configure, modified an install(1) path to use the meson directory, and did not add meson to the makedepends...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#6 2018-05-17 23:28:50

loqs
Member
Registered: 2014-03-06
Posts: 17,985

Re: ./configure: No such file or directory

@Eschwartz off the original topic but on the topic of strange AUR commits see https://aur.archlinux.org/cgit/aur.git/ … 3f37e9f0ab with the disappearing checksum
which I ran into while working on https://bbs.archlinux.org/viewtopic.php … 3#p1785793

Offline

#7 2018-05-18 00:54:06

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: ./configure: No such file or directory

I'm not even sure how this is possible. -_-


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB