You are not logged in.

#1 2006-05-18 01:59:23

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

[solved] Problems creating exscalibar PKGBUILD

Hi there,

i am currently trying to put exscalibar into an arch package, but it fails at the end of the build process and gives me a package with only .FILELIST and .PKGINFO included, but nothing more... I think this happens because exscalibar uses a nonstandard configure and always wants to be installed in $QTDIR. If i pass any --prefix while configuring it, it will be ignored... I have also tried to pass $QTDIR as a prefix, but no chance... It seems like the install path is hardcoded into the makefile, and when makepkg installs it into the build directory, the libs and headers will be installed to their real destination...

Here is what makepkg gives me:

==> Making package: exscalibar 1.0.4-1 (Thu May 18 03:16:09 CEST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of exscalibar-1.0.4.tar.bz2
==> Validating source files with MD5sums
    exscalibar-1.0.4.tar.bz2 ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf exscalibar-1.0.4.tar.bz2
==> Starting build()...
---------------------------- snip ----------------------------
it configures and compiles correctly without any errors...
---------------------------- snip ----------------------------
==> Removing info/doc files...
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Finished making: exscalibar  (Thu May 18 03:31:01 CEST 2006)

Take a look here for more output:
http://www.rafb.net/paste/results/tocnS515.html

If you want to try this yourself, here is the PKGBUILD i have until now:

pkgname=exscalibar
pkgver=1.0.4
pkgrel=1
pkgdesc="Exscalibar is an EXtendable, SCalable Architecture for Live, Interactive or Batch-orientated Audio-signal Refinement."
url="http://www.sf.net/projects/exscalibar"
license="GPL"
depends=('qt')
provides=('exscalibar')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/sourceforge/exscalibar/$pkgname-$pkgver.tar.bz2)
md5sums=('3b0abeb7648d3732e5f4702c4a2be4ab')

build() {
        cd $startdir/src/$pkgname-$pkgver
         ./configure
        make || return 1
        make DESTDIR=$startdir/pkg install

I would appreciate if someone tries and tell me whats missing or what i do wrong....


thx

Funkyou


want a modular and tweaked KDE for arch? try kdemod

Offline

#2 2006-05-18 03:04:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [solved] Problems creating exscalibar PKGBUILD

Fixed PKGBUILD below.
I removed the provides=('exscalibar') . It is not needed. It is just common sense that each packages provides itself.
It wasn't working because you need to specify EXSCALIBAR_LOCATION. It was explained in the docs. When creating a PKGBUILD, you should read the README and INSTALL files in the source tarball. wink

pkgname=exscalibar
pkgver=1.0.4
pkgrel=1
pkgdesc="Exscalibar is an EXtendable, SCalable Architecture for Live, Interactive or Batch-orientated Audio-signal Refinement."
url="http://www.sf.net/projects/exscalibar"
license="GPL"
depends=('qt')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sourceforge.net/sourceforge/exscalibar/$pkgname-$pkgver.tar.bz2)
md5sums=('3b0abeb7648d3732e5f4702c4a2be4ab')

build() {
        cd $startdir/src/$pkgname-$pkgver
        EXSCALIBAR_LOCATION=$startdir/pkg/opt/qt  ./configure
        make || return 1
        make install
}

Offline

#3 2006-05-18 14:32:54

funkyou
Member
From: Berlin, DE
Registered: 2006-03-19
Posts: 848
Website

Re: [solved] Problems creating exscalibar PKGBUILD

Thx Snowman,

well, i read the INSTALL and README files, but i did not know that i can do EXSCALIBAR_LOCATION=$startdir/pkg/opt/qt  ./configure inside the PKGBUILD... To be precise: I was not sure that i can do this, and where and how to place the variable inside the PKGBUILD smile

Btw: Exscalibar enables the moodbar inside amarok 1.4, so thanks again smile


want a modular and tweaked KDE for arch? try kdemod

Offline

Board footer

Powered by FluxBB