Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Python scripts not found?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tel
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2006
Posts: 111

PostPosted: Mon Jul 16, 2012 10:48 pm    Post subject: Python scripts not found? Reply with quote

I'm trying to install mythtv 0.25, and I'm getting this on the installation phase (the compile worked perfectly):

make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/programs'
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/default-wide /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/classic /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/DVR /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/Slave /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/Terra /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/defaultmenu /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/mediacentermenu /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/MythCenter /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
sh ./cpsvndir /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/MythCenter-wide /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
install -m 644 -p /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes/mythuitheme.dtd /var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/themes/
make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1/themes'
* ERROR: media-tv/mythtv-0.25.1_p20120715 failed (install phase):
* python_convert_shebangs(): Python scripts not found
*
* Call stack:
* ebuild.sh, line 85: Called src_install
* environment, line 5784: Called python_convert_shebangs '-q' '2' '/var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/image//usr/share/mythtv/contrib/imports/mirobridge/mirobridge/mirobridge_interpreter_2_0_3.py'
* environment, line 3554: Called die
* The specific snippet of code:
* die "${FUNCNAME}(): Python scripts not found";
*
* If you need support, post the output of `emerge --info '=media-tv/mythtv-0.25.1_p20120715'`,
* the complete build log and the output of `emerge -pqv '=media-tv/mythtv-0.25.1_p20120715'`.
* The complete build log is located at '/var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/temp/environment'.
* Working directory: '/var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1'
* S: '/var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/work/mythtv-0.25.1'

>>> Failed to emerge media-tv/mythtv-0.25.1_p20120715, Log file:

>>> '/var/tmp/portage/media-tv/mythtv-0.25.1_p20120715/temp/build.log'

--------------------------------------------------------------------------

For what it's worth, python is indeed installed and works fine. Any clue where I need to go to fix this?

Thanks!
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1546

PostPosted: Mon Jul 16, 2012 11:36 pm    Post subject: Reply with quote

tel ...

the python_convert_shebangs() function is from the python.eclass, the ebuild is calling it to make sure any installed python scripts are run with python2 ... why its failing I'm not sure, but it doesn't seem to find whatever is returned for "${file}", but then oddly the path to the *.py is listed (strangely nested "*/mirobridge/mirobridge/*"). Looking at the ebuild that section seems fine to me, the only reason I could see it failing is if ${file} was empty, which it doesn't seem to be.

Anyhow, usual procedure ... emerge --info and pastbin the full build.log ...

In the meantime you might try setting MAKEOPTS="-j1" and try emerging, but I doubt that is the cause.

HTH & best ...

khay
Back to top
View user's profile Send private message
tel
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2006
Posts: 111

PostPosted: Tue Jul 17, 2012 3:13 pm    Post subject: Reply with quote

Sorry. Forgot about the particulars (and MAKEOPTS="-j1" didn't do the trick.)

emerge --info is here:
http://bpaste.net/show/35427/

and the build log is here:
http://bpaste.net/show/35428/
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1546

PostPosted: Tue Jul 17, 2012 3:34 pm    Post subject: Reply with quote

tel ...

sorry, this isn't gentoo, you should take the problem to the funtoo forums.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum