You are not logged in.
I have been trying to build mythtv using the PKGBUILD from here:
http://bbs.archlinux.org/viewtopic.php? … ght=mythtv
(made by Net@Worm).
It builds fine but at the final stage I get:
==> 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: mythtv (Thu Oct 21 10:43:54 CEST 2004
The package then installs but there is no filelist and <pacman -Ql> gives no information. What's going on here?
Arjan
PS The PKGBUILD:
pkgname=mythtv
pkgver=0.16
pkgrel=1
pkgdesc="MythTV is a homebrew PVR project that I've been working on in my spare time. It's been under h
eavy development for two years, and is now quite useable and featureful."
url="http://www.mythtv.org"
license=""
depends=('freetype2' 'lame' 'qt' 'mysql')
makedepends=()
conflicts=()
source=($pkgname-$pkgver.tar.bz2)
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure
qmake mythtv.pro
make || return 1
make prefix=$startdir/pkg/usr/local install
}
Offline
package builds here with same error ...
thinking that package description is wrong ...
pkgdesc="MythTV is a homebrew PVR project "
might be better ....
HTH
try pacman -Qi mythtv
Mr Green
Offline
the "cannot stat" error basically implies that there are no files to compress - that means that somehow the "make install" failed... or there was a failure before that.... try running those commands by hand, one at a time, and see if anything fails
Offline
my guess is that all your files might be installing directlyto your system and not into the pkg/ directory. if you had been using fakeroot to build this package it would give you a better idea on what is going on. building as user with fakeroot would through all sorts of errors if the build tried to install directly to your system.
AKA uknowme
I am not your friend
Offline
Yes exactly what happened Sarah31. I don't have the time to look into it any further right now though so it'll have to wait.
Mythtv works installed from source so it's just a matter of getting the PKGBUILD right to use it as an arch pkg.
Arjan
Offline
to fix this, look in the Makefile - the $prefix variable you specified is not used... it is most likely DESTDIR or PREFIX... check it then you can fix the pkgbuild
Offline
try changing " make $prefix=$startdir/usr/pkg .... install " to " make DESTDIR=$startdir/pkg install "
to make sure it end out in /usr/local just add --prefix=/usr/local to the configure line (note that is usually the default for most source)
AKA uknowme
I am not your friend
Offline
changed PKGBUILD... (sarah31)
still get
==> 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: mythtv (Fri Oct 22 13:43:00 BST 2004)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr/local
qmake mythtv.pro
make || return 1
make DESTDIR=$startdir/pkg install
}
Mr Green
Offline
first off.... you need to add some --enable flags to the ./configure call (alot of it defaults to no... check ./configure --help
i would enable ogg vorbis too and add that as in the "depends" array...
i'm atempting to build this now, when i finish it I will post my findings.... out of curiosity, qmake is part of what package? I want to add that in the makedepends array....
Offline
you want this: and scratch what i said about the --enable flags... they're commented out in the configure file... my fault
pkgname=mythtv
pkgver=0.16
pkgrel=1
pkgdesc="MythTV is a homebrew PVR project that I've been working on in my spare time"
url="http://www.mythtv.org"
depends=('freetype2' 'lame' 'mysql')
source=(http://www.mythtv.org/mc/$pkgname-$pkgver.tar.bz2)
md5sums=()
build()
{
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr/local
qmake mythtv.pro
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
Offline
Emmm like finish the job then
pkgname=mythtv
pkgver=0.16
pkgrel=1
pkgdesc="MythTV is a homebrew PVR project that I've been working on in my spare time. It's been under h
eavy development for two years, and is now quite useable and featureful."
url="http://www.mythtv.org"
license=""
depends=('freetype2' 'lame' 'qt' 'mysql')
makedepends=()
conflicts=()
source=(http://www.mythtv.org/mc/$pkgname-$pkgver.tar.bz2)
md5sums=('0eba17cf64c96ea3ead23e7e15419cc0')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr/local
qmake mythtv.pro
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
Mr Green
Offline