Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 305969

Summary: media-tv/xbmc-9999 compiles, but fails src_install: cannot stat */styles/*/, no such file or directory
Product: Gentoo Linux Reporter: Thomas Andersson <filigran>
Component: Current packagesAssignee: Gentoo Xbox project <xbox>
Status: RESOLVED FIXED    
Severity: normal CC: roland.jax
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Andersson 2010-02-20 00:02:27 UTC
Trying to update media-tv/xbmc-9999 using paludis.
It compiles fine, copies binary, then fails with the following message:

Copying XBMC binary to /var/tmp/paludis/media-tv-xbmc-9999/image//usr/share/xbmc/xbmc.bin
You can run XBMC with the command 'xbmc'
Copying support and legal files...                                             
Done!
Copying system files to /var/tmp/paludis/media-tv-xbmc-9999/image//usr/share/xbmc
install: cannot stat `/var/tmp/paludis/media-tv-xbmc-9999/work/xbmc-9999/web/*/styles/*/': No such file or directory
/usr/libexec/paludis/utils/doins: doins returned error 2

!!! ERROR in media-tv/xbmc-9999::gentoo:
!!! In src_install at line 4316
!!! (no message provided)

I solved the problem by recompiling it, and creating the folder it wants while it compiles. It then has something to stat and completes successfully.

Reproducible: Always

Steps to Reproduce:
1. paludis -i =media-tv/xbmc-9999 --dl-reinstall-scm always
2. wait for it to compile
3. amaze at error

Actual Results:  
Compiles fine but fails at src_install

Expected Results:  
Installed application
Comment 1 Roland Jax 2010-02-21 18:27:45 UTC
Just change this in ebuild

< 	insinto /usr/share/xbmc/web/styles/
< 	doins -r "${S}"/web/*/styles/*/ || die
---
> 	insinto /usr/share/xbmc/web/
> 	doins -r "${S}"/web/* || die

I dont know if this is correct, but it works.
The Web Interface will be reworked this days, so i don't care about this.
Comment 2 SpanKY gentoo-dev 2010-05-23 18:42:18 UTC
dropped the install lines completely

http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.51&r2=1.52