XBMC PKGBUILD for raspberry pi

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: XBMC PKGBUILD for raspberry pi

Postby AndyPi » Fri Oct 05, 2012 5:41 pm

Hi trying a naive (first time!) build of xbmx package.

On Pi In directory /work/xbmc-rbp-git/ I have the latest PKGBUILD. After installing all dependencies. I try makepkg --asroot.
with following output...
makepkg --asroot
==> Determining latest git revision...
-> Version found: 20121005
==> Making package: xbmc-rbp-git 20121005-1 (Fri 5 Oct 18:23:12 BST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
-> Connecting to GIT server...
Cloning into 'xbmc'...
remote: Counting objects: 16151, done.
remote: Compressing objects: 100% (12338/12338), done.
remote: Total 16151 (delta 3899), reused 10489 (delta 2858)
Receiving objects: 100% (16151/16151), 62.38 MiB | 145 KiB/s, done.
Resolving deltas: 100% (3899/3899), done.
Checking out files: 100% (14651/14651), done.
-> GIT checkout done or server timeout.
/work/xbmc-rbp-git/PKGBUILD: line 59: ./configure: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...

As I say Im new to this so probably something simple but unsaid.

regards

Andy
AndyPi
 
Posts: 10
Joined: Thu Aug 02, 2012 1:57 pm

Re: XBMC PKGBUILD for raspberry pi

Postby tgc » Fri Oct 05, 2012 10:06 pm

$this->bbcode_second_pass_quote('AndyPi', 'H')i trying a naive (first time!) build of xbmx package.
...
-> GIT checkout done or server timeout.
/work/xbmc-rbp-git/PKGBUILD: line 59: ./configure: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...

As I say Im new to this so probably something simple but unsaid.

This is actually caused by a fault in the PKGBUILD. I've updated it in the AUR. I've tried myself to build the pkg on the Pi, but unfortunantly the compilation fails because it runs out of memory. So either a build system is needed or some swap.
tgc
 
Posts: 66
Joined: Sun May 20, 2012 8:05 am

Re: XBMC PKGBUILD for raspberry pi

Postby WarheadsSE » Sat Oct 06, 2012 2:18 am

You can feel free to fork & do pull requests to keep it up to date in the build system.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: XBMC PKGBUILD for raspberry pi

Postby yomp » Sat Oct 06, 2012 11:01 am

Hi,
I've installed an up-to-date arch linux on my rasppi and would like to use xbmc on it. The current installation I got is: xbmc-rbp-git-20120929-1

With the former softfloat architecture I had a "smoother" experience, there was no noise between tracks and the GUI was responding faster. Is there any performance setting I am missing?
Oh, and since the last pacman update and boot I've a red "no sound"-symbol next to the clock in the upper right corner. But xbmc still plays music.

Is this somehow the developer threat? I just don't know where to post this otherwise.

Thank you all for your work, it is astonishing what this little pi is capable of because of you.

Regards,
yomp
 
Posts: 1
Joined: Sat Oct 06, 2012 10:51 am

Re: XBMC PKGBUILD for raspberry pi

Postby pepedog » Sat Oct 06, 2012 11:31 am

$this->bbcode_second_pass_quote('', 'O')h, and since the last pacman update and boot....

Did you run sync before reboot?
If its a firmware kernel issue, reinstall linux-raspberrypi and raspberrypi-firmware again, sync and then systemctl reboot to try again, hopefully with arm128 start.elf
There won't be any firmware or kernel updates for a few days, big things are happening, waiting for it to settle
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: XBMC PKGBUILD for raspberry pi

Postby AndyPi » Sun Oct 07, 2012 10:13 am

Hi

still trying to build latest xbmc from AUR on Raspberry. Fist off it failed becaseu it needed TAGLIB, I installed it. Then it runs for a long time vbut finally failed with

make -C tools/TexturePacker/
make[1]: Entering directory `/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/tools/TexturePacker'
g++ -D_LINUX -DUSE_LZO_PACKING md5.cpp SDL_anigif.cpp XBTFWriter.cpp XBMCTex.cpp /work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTF.cpp -lSDL_image -lSDL -llzo2 -L/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/lib/libsquish -lsquish-native -Wl,-rpath=/lib -o TexturePacker
XBTFWriter.cpp:25:25: fatal error: guilib/XBTF.h: No such file or directory
compilation terminated.
XBMCTex.cpp:38:25: fatal error: guilib/XBTF.h: No such file or directory
compilation terminated.
make[1]: *** [TexturePacker] Error 1
make[1]: Leaving directory `/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/tools/TexturePacker'
make: *** [tools/TexturePacker/TexturePacker] Error 2
==> ERROR: A failure occurred in build().
Aborting...

I had a look to see if these files exist and they do...

find / -name XBTF*
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTFReader.P
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTFReader.h
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTFReader.o
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTF.cpp
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTF.P
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTF.h
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTFReader.cpp
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/xbmc/guilib/XBTF.o
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/tools/TexturePacker/XBTFWriter.cpp
/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/tools/TexturePacker/XBTFWriter.h

Any suggestions ??

regards

Andy

PS it looks like no include paths in added because NATIVE ROOT PATH undefined !
AndyPi
 
Posts: 10
Joined: Thu Aug 02, 2012 1:57 pm

Re: XBMC PKGBUILD for raspberry pi

Postby tgc » Sun Oct 07, 2012 10:12 pm

$this->bbcode_second_pass_quote('AndyPi', 's')till trying to build latest xbmc from AUR on Raspberry. Fist off it failed becaseu it needed TAGLIB, I installed it. Then it runs for a long time vbut finally failed with
...
XBTFWriter.cpp:25:25: fatal error: guilib/XBTF.h: No such file or directory
compilation terminated.
XBMCTex.cpp:38:25: fatal error: guilib/XBTF.h: No such file or directory
compilation terminated.
make[1]: *** [TexturePacker] Error 1
make[1]: Leaving directory `/work/xbmc-rbp-git/xbmc-rbp-git/src/xbmc/tools/TexturePacker'
make: *** [tools/TexturePacker/TexturePacker] Error 2
==> ERROR: A failure occurred in build().
Aborting...
...
PS it looks like no include paths in added because NATIVE ROOT PATH undefined !

It seems OpenElec migth have a patch: https://github.com/OpenELEC/OpenELEC.tv ... work.patch
This also requires using a new configure option. Feel free to try it out, don't have the time to do it myself right now...
tgc
 
Posts: 66
Joined: Sun May 20, 2012 8:05 am
Top

Re: XBMC PKGBUILD for raspberry pi

Postby tgc » Mon Oct 08, 2012 9:37 am

I've updated the PKGBUILD on in the AUR with the patch, please try again :)
tgc
 
Posts: 66
Joined: Sun May 20, 2012 8:05 am

Re: XBMC PKGBUILD for raspberry pi

Postby AndyPi » Mon Oct 08, 2012 12:58 pm

Hi,

I bodged the Texturepacker makefile myself and it compiled to the end (hurray !). Then I had a go with the new package in AUR, completely clean setup...but got...

==> Determining latest git revision...
-> Version found: 20121008
==> Making package: xbmc-rbp-git 20121008-1 (Mon 8 Oct 13:46:15 BST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading xbmc-11.0.2-321-texturepacker-hostflags-and-rework.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6413 100 6413 0 0 6429 0 --:--:-- --:--:-- --:--:-- 7839
==> Validating source files with md5sums...
xbmc-11.0.2-321-texturepacker-hostflags-and-rework.patch ... Passed
==> Extracting Sources...
==> Starting build()...
-> Connecting to GIT server...
Cloning into 'xbmc'...
remote: Counting objects: 16150, done.
remote: Compressing objects: 100% (12351/12351), done.
remote: Total 16150 (delta 3891), reused 10518 (delta 2844)
Receiving objects: 100% (16150/16150), 62.34 MiB | 254 KiB/s, done.
Resolving deltas: 100% (3891/3891), done.
Checking out files: 100% (14651/14651), done.
-> GIT checkout done or server timeout.
patching file configure.in
Hunk #1 succeeded at 452 (offset 67 lines).
Hunk #2 succeeded at 597 (offset 125 lines).
Hunk #3 succeeded at 613 with fuzz 1 (offset 124 lines).
Hunk #4 succeeded at 2010 (offset 358 lines).
patching file lib/libsquish/Makefile.in
Hunk #2 FAILED at 11.
1 out of 2 hunks FAILED -- saving rejects to file lib/libsquish/Makefile.in.rej
patching file tools/TexturePacker/Makefile.in
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file tools/TexturePacker/Makefile.in.rej
==> Starting package()...
make: *** No rule to make target `install'. Stop.
==> ERROR: A failure occurred in package().
Aborting...

any thoughts....

Andy
AndyPi
 
Posts: 10
Joined: Thu Aug 02, 2012 1:57 pm

Re: XBMC PKGBUILD for raspberry pi

Postby tgc » Mon Oct 08, 2012 2:41 pm

$this->bbcode_second_pass_quote('AndyPi', 'H')i,

I bodged the Texturepacker makefile myself and it compiled to the end (hurray !). Then I had a go with the new package in AUR, completely clean setup...but got...

==> Determining latest git revision...
-> Version found: 20121008
==> Making package: xbmc-rbp-git 20121008-1 (Mon 8 Oct 13:46:15 BST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading xbmc-11.0.2-321-texturepacker-hostflags-and-rework.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6413 100 6413 0 0 6429 0 --:--:-- --:--:-- --:--:-- 7839
==> Validating source files with md5sums...
xbmc-11.0.2-321-texturepacker-hostflags-and-rework.patch ... Passed
==> Extracting Sources...
==> Starting build()...
-> Connecting to GIT server...
Cloning into 'xbmc'...
remote: Counting objects: 16150, done.
remote: Compressing objects: 100% (12351/12351), done.
remote: Total 16150 (delta 3891), reused 10518 (delta 2844)
Receiving objects: 100% (16150/16150), 62.34 MiB | 254 KiB/s, done.
Resolving deltas: 100% (3891/3891), done.
Checking out files: 100% (14651/14651), done.
-> GIT checkout done or server timeout.
patching file configure.in
Hunk #1 succeeded at 452 (offset 67 lines).
Hunk #2 succeeded at 597 (offset 125 lines).
Hunk #3 succeeded at 613 with fuzz 1 (offset 124 lines).
Hunk #4 succeeded at 2010 (offset 358 lines).
patching file lib/libsquish/Makefile.in
Hunk #2 FAILED at 11.
1 out of 2 hunks FAILED -- saving rejects to file lib/libsquish/Makefile.in.rej
patching file tools/TexturePacker/Makefile.in
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file tools/TexturePacker/Makefile.in.rej
==> Starting package()...
make: *** No rule to make target `install'. Stop.
==> ERROR: A failure occurred in package().
Aborting...

any thoughts....

Andy

Are you sure you are using the PKGBUILD? It seems it does not configure or build...
tgc
 
Posts: 66
Joined: Sun May 20, 2012 8:05 am
Top

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests