You are not logged in.

#1 2004-10-21 10:12:04

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

error compressing pkg while building mythtv-0.16

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

#2 2004-10-21 10:50:06

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: error compressing pkg while building mythtv-0.16

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  wink


Mr Green

Offline

#3 2004-10-21 14:16:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: error compressing pkg while building mythtv-0.16

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

#4 2004-10-21 17:19:39

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: error compressing pkg while building mythtv-0.16

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

#5 2004-10-21 17:44:12

hcman
Member
From: Missoula, MT/Zaandam, Netherla
Registered: 2003-06-10
Posts: 66

Re: error compressing pkg while building mythtv-0.16

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

#6 2004-10-21 18:27:30

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: error compressing pkg while building mythtv-0.16

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

#7 2004-10-21 21:26:38

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: error compressing pkg while building mythtv-0.16

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

#8 2004-10-22 12:48:28

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: error compressing pkg while building mythtv-0.16

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

#9 2004-10-22 14:09:06

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: error compressing pkg while building mythtv-0.16

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

#10 2004-10-22 14:27:53

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: error compressing pkg while building mythtv-0.16

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

#11 2004-10-22 15:11:17

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: error compressing pkg while building mythtv-0.16

Emmm like finish the job then  lol

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

Board footer

Powered by FluxBB