First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 56426
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Television related Applications in Gentoo's Portage <media-tv@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stephane Bonnell <gentoo.steph@e-bonnell.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mythtv.diff patch to mythtv-0.15.1-r1.ebuild patch Neil Katin 2004-07-11 15:43 0000 981 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 56426 depends on: Show dependency tree
Bug 56426 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-07-08 01:56 0000
When I try to emerge mythtv with directfb enabled I get the following error:

>>> emerge (1 of 1) media-tv/mythtv-0.15.1-r1 to /
>>> md5 src_uri ;-) mythtv-0.15.1.tar.bz2
X
opengl
>>> Unpacking source...
>>> Unpacking mythtv-0.15.1.tar.bz2 to /var/tmp/portage/mythtv-0.15.1-r1/work
directfb
 * Applying mythtv-0.15-directfb.patch...                                 [ ok ]
/usr/sbin/ebuild.sh: line 1: gcc-major-version: command not found
/usr/sbin/ebuild.sh: line 1: gcc-minor-version: command not found
/usr/sbin/ebuild.sh: line 67: [: : integer expression expected
>>> Source unpacked.
alsa
arts
directfb
lirc
opengl
X
xv
Could not find mkspecs for your QMAKESPEC after trying:
        /usr/qt/3/mkspecs
        /usr/qt/3/mkspecs
        /usr/qt/3/mkspecs
        /usr/qt/3
        /usr/qt/3
Error processing project file: /var/tmp/portage/mythtv-0.15.1-r1/work/mythtv-0.15.1/mythtv.pro
Please note that these settings only deal with libavcodec, not MythTV.
CPU              x86
Big Endian       no
MMX enabled      yes
Vector Builtins  yes
Creating config.mak and config.h
sed: can't read programs/mythfilldatabase/Makefile: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-tv/mythtv-0.15.1-r1 failed.
!!! Function src_compile, Line 158, Exitcode 2
!!! compile problem


Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Rutger Hendriks 2004-07-10 06:59:59 0000 -------
I get the same thing on AMD64

I've already added a comment about the gcc-major-version thing in bug 52819

# emerge -av mythtv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-tv/mythtv-0.15.1-r1 [0.15.1] +X +alsa +arts -cle266 +directfb -dvb +lcd +lirc -nvidia +opengl  0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) media-tv/mythtv-0.15.1-r1 to /
>>> md5 src_uri ;-) mythtv-0.15.1.tar.bz2
X
opengl
>>> Unpacking source...
>>> Unpacking mythtv-0.15.1.tar.bz2 to /var/tmp/portage/mythtv-0.15.1-r1/work
directfb
 * Applying mythtv-0.15-directfb.patch...                                                                                                                               [ ok ]
/usr/sbin/ebuild.sh: line 1: gcc-major-version: command not found
/usr/sbin/ebuild.sh: line 1: gcc-minor-version: command not found
/usr/sbin/ebuild.sh: line 67: [: : integer expression expected
>>> Source unpacked.
alsa
arts
directfb
lcd
lirc
opengl
X
xv
Could not find mkspecs for your QMAKESPEC after trying:
        /usr/qt/3/mkspecs
        /usr/qt/3/mkspecs
        /usr/qt/3/mkspecs
        /usr/qt/3
        /usr/qt/3
Error processing project file: /var/tmp/portage/mythtv-0.15.1-r1/work/mythtv-0.15.1/mythtv.pro
Please note that these settings only deal with libavcodec, not MythTV.
CPU              unknown
Big Endian       no
Creating config.mak and config.h
sed: can't read programs/mythfilldatabase/Makefile: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-tv/mythtv-0.15.1-r1 failed.
!!! Function src_compile, Line 158, Exitcode 2
!!! compile problem


------- Comment #2 From Rutger Hendriks 2004-07-10 09:32:36 0000 -------
I fixed the gcc-major-version errors by including gcc to inherit (thanks to
Herbie in bug 52819 ) 

The mkspecs error can be solved by adding
export QMAKESPEC="linux-g++"
right in front of
qmake -o "Makefile" "${PN}.pro"
in the ebuild

now I don't know what I did, but it worked :)
Someone with brains can probably fix it decently and universally:)
Cheers

------- Comment #3 From Neil Katin 2004-07-11 15:43:07 0000 -------
I have the same problem when not using directfb; I suggest the
submitter update the Summary to "Can't emerge mythtv-0.15.1-r1"
since it dies whether or not you have USE=directfb.

I can confirm that the patch suggested by loial@home.nl
in comment #2 worked for me.

I also will attach a diff of the two ebuilds.


------- Comment #4 From Neil Katin 2004-07-11 15:43:51 0000 -------
Created an attachment (id=35212) [details]
patch to mythtv-0.15.1-r1.ebuild

------- Comment #5 From André Terpstra 2004-07-12 11:42:12 0000 -------
Neil's patch worked for me.

------- Comment #6 From Daniel Ahlberg (RETIRED) 2004-07-13 09:11:48 0000 -------
In CVS, thanks!

First Last Prev Next    No search results available      Search page      Enter new bug