Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: devel

building mythtv 0.24 on el5, status and instructions (was: Where is MythTV 0.24 for EL5?)

 

 

First page Previous page 1 2 Next page Last page  View All atrpms devel RSS feed   Index | Next | Previous | View Threaded


Axel.Thimm at ATrpms

Nov 18, 2010, 9:11 AM

Post #1 of 45 (1813 views)
Permalink
building mythtv 0.24 on el5, status and instructions (was: Where is MythTV 0.24 for EL5?)

On Thu, 2010-11-18 at 12:09 +0100, Jonathan Martens wrote:
> On 18-11-2010 12:03, Steve Cliffe wrote:
> > Based on recent discussions I don't think this is, or will ever be
> > available for EL5 due to dependency issues.
>
> Any pointers to where I can find this thread? I only found this in the
> archives mentioning that qt45 was the blocker and that it should be easy
> to resolve:

The qt issue has been resolved, but then came a python 2.x issue which
has also been resolved. Now there is an unresolved v4l issue.

If you feel like it, please install qt47 on your system (the 4.7.0-8_14
build is recommended and is the el5 repo), you will also need the
package with atrpms' macros, e.g.

yum install atrpms-rpm-config qt47 qt47-devel qt47-webkit-devel

next grab the latest 0.24 src.rpm. Try to build with

rpmbuild --rebuild --without pulseaudio --without crystalhd mythtv-0.24-250.src.rpm

and you will hit the v4l issue. It doesn't look too difficult to fix, I
wonder how this got broken in the first place. But just because it looks
trivial (e.g. swapping out a header file) it may be not, so it need some
careful digging to understand the change and get it back t working.

Please reply on atrpms-devel, if it's about technical issues (like
having a fix ;).
--
http://thimm.gr/ - http://ATrpms.net/
Attachments: signature.asc (0.19 KB)


atrpms.lists at burns

Nov 20, 2010, 10:56 AM

Post #2 of 45 (1767 views)
Permalink
Re: [ATrpms-users] building mythtv 0.24 on el5, status and instructions (was: Where is MythTV 0.24 for EL5?) [In reply to]

On 18 November 2010 17:11, Axel Thimm <Axel.Thimm [at] atrpms> wrote:

> The qt issue has been resolved, but then came a python 2.x issue which
> has also been resolved. Now there is an unresolved v4l issue.
>
>        yum install atrpms-rpm-config qt47 qt47-devel qt47-webkit-devel

I had to install the the macros via

rpm -i http://dl.atrpms.net/all/atrpms-rpm-config-187-1.noarch.rpm

as their package doesn't seem to be known in the stable/testing repos

> next grab the latest 0.24 src.rpm. Try to build with

Trying now with

http://dl.atrpms.net/all/mythtv-0.24-250.src.rpm

If I have any success I'll be sure to let you know ;-)

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 20, 2010, 1:00 PM

Post #3 of 45 (1767 views)
Permalink
Re: [ATrpms-users] building mythtv 0.24 on el5, status and instructions (was: Where is MythTV 0.24 for EL5?) [In reply to]

On 18 November 2010 17:11, Axel Thimm <Axel.Thimm [at] atrpms> wrote:

> rpmbuild --rebuild --without pulseaudio --without crystalhd mythtv-0.24-250.src.rpm

I had to fix up a few issues with my lib* and *devel packages
but am still struggling with

python-oauth (not in any repo?)
and
fftw-devel (obsoleted by fftw2-devel, but I already have fttw2* installed)

Any thoughts?

Is mixing rpmforge (not rpmforce-testing) with atrpms/atrpms-testing forbidden?

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


jonathan at snetram

Nov 20, 2010, 2:56 PM

Post #4 of 45 (1790 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 18-11-2010 18:11, Axel Thimm wrote:
> and you will hit the v4l issue. It doesn't look too difficult to fix, I
> wonder how this got broken in the first place. But just because it looks
> trivial (e.g. swapping out a header file) it may be not, so it need some
> careful digging to understand the change and get it back t working.

I have been able to resolve the issue (manually) ATM by adding

#include <linux/videodev2.h>

to

./libs/libmythtv/analogsignalmonitor.cpp

as well as installing video4linux-devel and adding the path to it to
libmythtv.pro to make it compile (after a run of qmake-qt47).

I still need to find out if this is all required and if the build will
finish, but I will do that tomorrow. I am first going to get some sleep
and let my build box chew away on the build.

More to come :-)

Kind regards,

Jonathan

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


Axel.Thimm at ATrpms

Nov 20, 2010, 10:13 PM

Post #5 of 45 (1784 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions (was: Where is MythTV 0.24 for EL5?) [In reply to]

On Sat, 2010-11-20 at 18:56 +0000, Andy Burns wrote:
> On 18 November 2010 17:11, Axel Thimm <Axel.Thimm [at] atrpms> wrote:
>
> > The qt issue has been resolved, but then came a python 2.x issue which
> > has also been resolved. Now there is an unresolved v4l issue.
> >
> > yum install atrpms-rpm-config qt47 qt47-devel qt47-webkit-devel
>
> I had to install the the macros via
>
> rpm -i http://dl.atrpms.net/all/atrpms-rpm-config-187-1.noarch.rpm
>
> as their package doesn't seem to be known in the stable/testing repos

This should not happen, I checked and the package is in stable. Maybe
your yum config is broken in some way excluding some packages?
--
http://thimm.gr/ - http://ATrpms.net/
Attachments: signature.asc (0.19 KB)


Axel.Thimm at ATrpms

Nov 20, 2010, 10:19 PM

Post #6 of 45 (1782 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions (was: Where is MythTV 0.24 for EL5?) [In reply to]

On Sat, 2010-11-20 at 21:00 +0000, Andy Burns wrote:
> On 18 November 2010 17:11, Axel Thimm <Axel.Thimm [at] atrpms> wrote:
>
> > rpmbuild --rebuild --without pulseaudio --without crystalhd mythtv-0.24-250.src.rpm
>
> I had to fix up a few issues with my lib* and *devel packages
> but am still struggling with
>
> python-oauth (not in any repo?)

My fault, I forgot to tag it for release. Fixed now, thanks for noting!

> and
> fftw-devel (obsoleted by fftw2-devel, but I already have fttw2* installed)

That looks strange. Please check which packages exactly are
conflicting/obsoleting. ATrpms' packages have been designed to coexist
for a long time.

> Any thoughts?
>
> Is mixing rpmforge (not rpmforce-testing) with atrpms/atrpms-testing forbidden?

Maybe the fftw issue stems from this. The mixing with rpmforge, aka Dag,
is not forbidden (in fact rpmrepo is a currently dormant proposal to
merge them and others), and if there are conflicts rpmforge and atrpms
usually do find a good solution.
--
http://thimm.gr/ - http://ATrpms.net/
Attachments: signature.asc (0.19 KB)


atrpms.lists at burns

Nov 21, 2010, 12:34 AM

Post #7 of 45 (1784 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions (was: Where is MythTV 0.24 for EL5?) [In reply to]

On 21 November 2010 06:19, Axel Thimm <Axel.Thimm [at] atrpms> wrote:

> On Sat, 2010-11-20 at 21:00 +0000, Andy Burns wrote:
>
>> python-oauth (not in any repo?)
>
> My fault, I forgot to tag it for release. Fixed now, thanks for noting!

Yep, that's now ok

>> fftw-devel (obsoleted by fftw2-devel, but I already have fttw2* installed)
>
> That looks strange. Please check which packages exactly are
> conflicting/obsoleting. ATrpms' packages have been designed to coexist
> for a long time.

Another round of rpm -e --nodeps on all the fftw* packages,
followed by yum install fftw-devel fftw2-devel --enablerepo=atrpms
seems to have cleaned it all up, I'm ready to try building myth24

>> Is mixing rpmforge (not rpmforce-testing) with atrpms/atrpms-testing forbidden?
>
> Maybe the fftw issue stems from this.

This machine has been around for a while, during that time I'm sure
it's been sledge-hammered into working by installing whatever is
necessary to make it work NOW and then having to repair that when a
yum update goes wrong later (typicall conflicts with the codec
libraries that have ended up with _0 or whatever appended to the
version names).

I think it's clean now, thankfully you do work together to solve
cross-repo issues (I haven't ever had e.g. livna on this box).

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 21, 2010, 1:46 AM

Post #8 of 45 (1787 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 20 November 2010 22:56, Jonathan Martens <jonathan [at] snetram> wrote:

> I have been able to resolve the issue (manually) ATM by adding
>
>  #include <linux/videodev2.h>
>
> to
>
>  ./libs/libmythtv/analogsignalmonitor.cpp

Did that

> as well as installing video4linux-devel

and that

> and adding the path to it to
> libmythtv.pro to make it compile (after a run of qmake-qt47).

I have zero prior knowledge of qmake, but couldn't figure out what was
necessary to add to the .pro file

rpmbuild seems to call qmake so you probably don't need that as a
manual step, I got errors that timestamp was not defined where
videodev2.h was included in analogsignalmonitor.cpp

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 21, 2010, 3:59 AM

Post #9 of 45 (1786 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 21 November 2010 09:46, Andy Burns <atrpms.lists [at] burns> wrote:

> On 20 November 2010 22:56, Jonathan Martens <jonathan [at] snetram> wrote:
>
>> I have been able to resolve the issue (manually) ATM by adding
>>  #include <linux/videodev2.h>
>> to
>>  ./libs/libmythtv/analogsignalmonitor.cpp

I also needed #include <sys/time.h> , or should that be <linux/time.h> ?

>>  and adding the path to it to
>> libmythtv.pro to make it compile (after a run of qmake-qt47).

presume you mean something along the lines of

using_v4l {
INCLUDEPATH += /usr/include/v4l
....
}

I still just seem to be shoving errors from one module to another though ...

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 21, 2010, 10:46 AM

Post #10 of 45 (1787 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 21 November 2010 11:59, Andy Burns <atrpms.lists [at] burns> wrote:

> On 21 November 2010 09:46, Andy Burns <atrpms.lists [at] burns> wrote:
>
>> On 20 November 2010 22:56, Jonathan Martens <jonathan [at] snetram> wrote:
>>
>>> I have been able to resolve the issue (manually) ATM by adding
>>>  #include <linux/videodev2.h>

OK getting somewhere, but wondering if my header files are screwed up

I needed to make sure it included the version of videodev2.h from
/usr/include/v4l/linux
rather than the version from /usr/linux

Also had to include videodef.h to pick up one missing #define from videodef2.h

Looking at the version of videodef2.h on the bytesex site, I put back
the #include for sys/time.h
and moved the #include compiler.h to be conditional on the #ifdef
__KERNEL (despite the comments saying no kernel conditional code is
allowed) and also did a "null" #define of __user

after that little lot, it built all the files in the libs/libmythtv
folder that it failed on before

but I don't think I should be having to edit the V4L2 includes, is it
likely my installation?

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 21, 2010, 10:51 AM

Post #11 of 45 (1787 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 21 November 2010 18:46, Andy Burns <atrpms.lists [at] burns> wrote:

> after that little lot, it built all the files in the libs/libmythtv

The rpmbuild now fails building mythavtest with some QT related errors

/usr/lib/qt47/libQtWebKit.so.4: undefined reference to `sqlite3_prepare16_v2'
/usr/lib/qt47/libQtWebKit.so.4: undefined reference to `sqlite3_column_value'

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 21, 2010, 11:43 AM

Post #12 of 45 (1786 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 21 November 2010 18:46, Andy Burns <atrpms.lists [at] burns> wrote:

> OK getting somewhere, but wondering if my header files are screwed up

I didn't appreciate the v4l headers came from an atrpms package rather
than a centos/rhel package

attached are two patches that get large parts of myth24 build
(executables such as mythavtest, mythcommflag, mythvosd, mythjobqueue
and mythfrontend fail with the sqlite errors I mentioned)

There may be other problems.
Attachments: andyv4l.patch (0.41 KB)
  andymyth.patch (0.74 KB)


atrpms.lists at burns

Nov 21, 2010, 4:27 PM

Post #13 of 45 (1821 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 21 November 2010 18:51, Andy Burns <atrpms.lists [at] burns> wrote:

> The rpmbuild now fail [...] with some QT related errors
> /usr/lib/qt47/libQtWebKit.so.4: undefined reference to `sqlite3_prepare16_v2'
> /usr/lib/qt47/libQtWebKit.so.4: undefined reference to `sqlite3_column_value'

Tried adding various libraries and library paths

LIBS += -L/usr/lib/qt47/plugins/sqldrivers
LIBS += -lqsqlite
LIBS += -lsqlite3

but that doesn't satisfy those symbols

p.s. sorry about the binary format of the patches in the previous
email, I wasn't aware gmail would do that!

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 21, 2010, 11:59 PM

Post #14 of 45 (1789 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 22 November 2010 07:39, Jonathan Martens <jonathan [at] snetram> wrote:

> Do we really need sqlite support? Perhaps we can disable this (at least for
> now to see if compile runs to the end and produces useable binaries).

I did have that thought, obviously myth only supports mysql, the
sqlite dependency seems to come from qt-webkit I'm not sure where that
comes from, but when I upgraded from qt44 to qt47 they were both
pulled in, I was hoping Axel might be able to chip in some hint from
when he built the qt packages ...

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 22, 2010, 12:28 AM

Post #15 of 45 (1786 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 22 November 2010 07:59, Andy Burns <atrpms.lists [at] burns> wrote:

> sqlite dependency seems to come from qt-webkit I'm not sure where that
> comes from, but when I upgraded from qt44 to qt47 they were both
> pulled in

Is it possible that qt47-sqlite requires sqlite 3.6.21.1 or newer?

http://www.sqlite.org/c3ref/step.html

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 22, 2010, 2:26 PM

Post #16 of 45 (1784 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 22 November 2010 08:28, Andy Burns <atrpms.lists [at] burns> wrote:

> sqlite dependency seems to come from qt-webkit I'm not sure where that
> comes from, but when I upgraded from qt44 to qt47 they were both
> pulled in

Upgraded to http://dl.atrpms.net/el5-i386/atrpms/testing/sqlite-3.6.20-1.el5.i386.rpm
and corresponding -devel and now all executables build, will try a
full build from scratch now ...

Axel, any reason those sqlite packages appear not to be published in testing?

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 22, 2010, 3:38 PM

Post #17 of 45 (1793 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 22 November 2010 22:26, Andy Burns <atrpms.lists [at] burns> wrote:

> all executables build, will try a full build from scratch now ...

Well, it builds all the libs/progs but fails at the packaging step,
hopefully simple to solve, but will probably be tomorrow night before
I get chance to look again

RPM build errors:
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/lib/mythtv/plugins/libmythweather.so
File not found by glob:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/i18n/mythweather_*.qm
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/mythweather
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/weather_settings.xml
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/weather-ui.xml
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/cloudy.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/fair.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/flurries.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/fog.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/logo.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/lshowers.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/mcloudy.png
File not found by glob:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/mw*.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/pcloudy.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/rainsnow.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/showers.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/snowshow.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/sunny.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/thunshowers.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/unknown.png
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default-wide/weather-ui.xml
File not found by glob:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default-wide/mw-*.png
File listed twice: /usr/share/mythtv/games/PC/gamelist.xml
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/lib/mythtv/plugins/libmythnetvision.so
File not found by glob:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/i18n/mythnetvision_*.qm
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/mythnetvision
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/netvisionmenu.xml
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/netvision-ui.xml
File not found:
/var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default-wide/netvision-ui.xml
File not found: /var/tmp/mythtv-0.24-250.RHL5-root/usr/bin/mythfillnetvision
File listed twice: /usr/include/mythtv/libmyth/mythconfig.mak
File listed twice: /usr/include/mythtv/libmythdb/mythconfig.mak
File listed twice: /usr/include/mythtv/mythconfig.mak

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 22, 2010, 3:58 PM

Post #18 of 45 (1787 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 22 November 2010 23:38, Andy Burns <atrpms.lists [at] burns> wrote:

> fails at the packaging step

Here's my patches so far (not as binary attachment this time!)

==============================================================
--- mythtv.spec.org 2010-11-22 22:27:39.000000000 +0000
+++ mythtv.spec 2010-11-22 23:47:22.000000000 +0000
@@ -61,6 +61,7 @@
Source401: mythweb.conf-0.21
Patch100: mythtv-%{version}-svnfixes.patch
Patch101: mythtv-0.22-ostreaming.patch
+Patch102: mythv4l2.patch
Patch200: mythplugins-%{version}-svnfixes.patch
Patch300: mythplugins-0.19-gcc4.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -68,6 +69,7 @@
BuildRequires: libXxf86vm-devel, libXmu-devel
BuildRequires: %{_includedir}/freetype2
BuildRequires: qt4-devel >= 4.5.0, mysql-devel
+BuildRequires: sqlite-devel >= 3.6.20
%{?with_pulseaudio:BuildRequires: pulseaudio-libs-devel >= 0.9.7}
BuildRequires: alsa-lib-devel, arts-devel
BuildRequires: jack-audio-connection-kit-devel
@@ -413,6 +415,7 @@
cd mythtv-%{version}
%patch100 -p1
%patch101 -p1 -b .ostreaming
+%patch102 -p1

cp -a %{SOURCE101} %{SOURCE102} %{SOURCE103} %{SOURCE104} %{SOURCE105} .
for file in mythbackend.init \
@@ -968,6 +971,9 @@
/var/www/html/mythweb

%changelog
+* Mon Nov 22 2010 Andy Burns <atrpms [at] adslpipe> - 0.24-251ab
+- V4L and sqlite fixes to build on centos5
+
* Tue Nov 16 2010 Axel Thimm <Axel.Thimm [at] ATrpms> - 0.24-250
- Update to latest svn fixes (27235).
==============================================================
--- mythtv-0.24/libs/libmythtv/analogsignalmonitor.cpp.org 2010-11-21
19:10:53.000000000 +0000
+++ mythtv-0.24/libs/libmythtv/analogsignalmonitor.cpp 2010-11-21
19:11:13.000000000 +0000
@@ -6,6 +6,7 @@
#include <sys/ioctl.h>
#include <poll.h>

+#include <linux/videodev2.h>
#include <linux/videodev.h>

#include "mythverbose.h"
--- mythtv-0.24/libs/libmythtv/libmythtv.pro.org 2010-11-21
19:11:29.000000000 +0000
+++ mythtv-0.24/libs/libmythtv/libmythtv.pro 2010-11-21 19:12:11.000000000 +0000
@@ -471,7 +471,7 @@
using_v4l {
HEADERS += v4lchannel.h analogsignalmonitor.h
SOURCES += v4lchannel.cpp analogsignalmonitor.cpp
-
+ INCLUDEPATH += /usr/include/v4l
DEFINES += USING_V4L
}
==============================================================
--- /usr/include/v4l/linux/videodev2.h 2010-03-28 03:09:47.000000000 +0100
+++ /usr/include/v4l/linux/videodev2.h.new 2010-11-21 19:18:26.000000000 +0000
@@ -58,10 +58,11 @@

#ifdef __KERNEL__
#include <linux/time.h> /* need struct timeval */
+#include <linux/compiler.h>
#else
#include <sys/time.h>
+#define __user
#endif
-#include <linux/compiler.h>
#include <linux/ioctl.h>
#include <linux/types.h>
===============================================================

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


Axel.Thimm at ATrpms

Nov 24, 2010, 12:56 AM

Post #19 of 45 (1774 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On Sun, 2010-11-21 at 18:51 +0000, Andy Burns wrote:
> On 21 November 2010 18:46, Andy Burns <atrpms.lists [at] burns> wrote:
>
> > after that little lot, it built all the files in the libs/libmythtv
>
> The rpmbuild now fails building mythavtest with some QT related errors
>
> /usr/lib/qt47/libQtWebKit.so.4: undefined reference to `sqlite3_prepare16_v2'
> /usr/lib/qt47/libQtWebKit.so.4: undefined reference to `sqlite3_column_value'

You already answered this in another post, but just for the archives:
You also need to update sqlite to the version found in the repo (3.6
something).
--
http://thimm.gr/ - http://ATrpms.net/
Attachments: signature.asc (0.19 KB)


Axel.Thimm at ATrpms

Nov 24, 2010, 1:04 AM

Post #20 of 45 (1770 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On Mon, 2010-11-22 at 07:59 +0000, Andy Burns wrote:
> On 22 November 2010 07:39, Jonathan Martens <jonathan [at] snetram> wrote:
>
> > Do we really need sqlite support? Perhaps we can disable this (at least for
> > now to see if compile runs to the end and produces useable binaries).
>
> I did have that thought, obviously myth only supports mysql, the
> sqlite dependency seems to come from qt-webkit I'm not sure where that
> comes from, but when I upgraded from qt44 to qt47 they were both
> pulled in, I was hoping Axel might be able to chip in some hint from
> when he built the qt packages ...

The sqlite is part of the qt47 build and runtime requirements. The qt47
packages are an almost one-to-one backpackaging of what Fedora ships.

Since we are going this route (shipping a newer qt) I wanted to allow
more consumers to use these packages, not only mythtv users. There are
several pros/cons to that:

pros:
o more users than mythtv, qt47 packages do more good to this world ;)
o more testers of these packages even outside the mythtv world
o easier upgrading since it's 99% of what Fedora ships
o (related to the last): faster response to CVEs

cons:
o too many dependencies, mythtv needs about half of them
o build time is too long
o need to backpackage stuff like sqlite we don't really want to be
shipping/maintaining

Given that the cons were dealt with, I like that we can now offer qt
4.7.x to EL5/EL6 users for any reasons they need it.
--
http://thimm.gr/ - http://ATrpms.net/
Attachments: signature.asc (0.19 KB)


Axel.Thimm at ATrpms

Nov 24, 2010, 1:05 AM

Post #21 of 45 (1766 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On Mon, 2010-11-22 at 22:26 +0000, Andy Burns wrote:
> On 22 November 2010 08:28, Andy Burns <atrpms.lists [at] burns> wrote:
>
> > sqlite dependency seems to come from qt-webkit I'm not sure where that
> > comes from, but when I upgraded from qt44 to qt47 they were both
> > pulled in
>
> Upgraded to http://dl.atrpms.net/el5-i386/atrpms/testing/sqlite-3.6.20-1.el5.i386.rpm
> and corresponding -devel and now all executables build, will try a
> full build from scratch now ...
>
> Axel, any reason those sqlite packages appear not to be published in testing?

I'm not sure what you mean, you did pick them up from their published
location in testing. Do you mean that your yum did not see these
packages? Maybe a yum misconfiguration?
--
http://thimm.gr/ - http://ATrpms.net/
Attachments: signature.asc (0.19 KB)


Axel.Thimm at ATrpms

Nov 24, 2010, 1:10 AM

Post #22 of 45 (1777 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On Mon, 2010-11-22 at 23:38 +0000, Andy Burns wrote:
> On 22 November 2010 22:26, Andy Burns <atrpms.lists [at] burns> wrote:
>
> > all executables build, will try a full build from scratch now ...
>
> Well, it builds all the libs/progs but fails at the packaging step,
> hopefully simple to solve, but will probably be tomorrow night before
> I get chance to look again

The errors mean that some plugins have not been built, e.g. you will
have to browse back to the front of your build logs and see why
mythweather and mythnetvision did not build.

> RPM build errors:
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/lib/mythtv/plugins/libmythweather.so
> File not found by glob:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/i18n/mythweather_*.qm
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/mythweather
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/weather_settings.xml
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/weather-ui.xml
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/cloudy.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/fair.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/flurries.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/fog.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/logo.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/lshowers.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/mcloudy.png
> File not found by glob:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/mw*.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/pcloudy.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/rainsnow.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/showers.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/snowshow.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/sunny.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/thunshowers.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/unknown.png
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default-wide/weather-ui.xml
> File not found by glob:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default-wide/mw-*.png
> File listed twice: /usr/share/mythtv/games/PC/gamelist.xml
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/lib/mythtv/plugins/libmythnetvision.so
> File not found by glob:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/i18n/mythnetvision_*.qm
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/mythnetvision
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/netvisionmenu.xml
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default/netvision-ui.xml
> File not found:
> /var/tmp/mythtv-0.24-250.RHL5-root/usr/share/mythtv/themes/default-wide/netvision-ui.xml
> File not found: /var/tmp/mythtv-0.24-250.RHL5-root/usr/bin/mythfillnetvision
> File listed twice: /usr/include/mythtv/libmyth/mythconfig.mak
> File listed twice: /usr/include/mythtv/libmythdb/mythconfig.mak
> File listed twice: /usr/include/mythtv/mythconfig.mak


--
http://thimm.gr/ - http://ATrpms.net/
Attachments: signature.asc (0.19 KB)


Axel.Thimm at ATrpms

Nov 24, 2010, 1:14 AM

Post #23 of 45 (1766 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On Mon, 2010-11-22 at 23:58 +0000, Andy Burns wrote:
> On 22 November 2010 23:38, Andy Burns <atrpms.lists [at] burns> wrote:
>
> > fails at the packaging step
>
> Here's my patches so far (not as binary attachment this time!)

Thanks for all the work you are putting in this!

> ==============================================================
> --- /usr/include/v4l/linux/videodev2.h 2010-03-28 03:09:47.000000000 +0100
> +++ /usr/include/v4l/linux/videodev2.h.new 2010-11-21 19:18:26.000000000 +0000
> @@ -58,10 +58,11 @@
>
> #ifdef __KERNEL__
> #include <linux/time.h> /* need struct timeval */
> +#include <linux/compiler.h>
> #else
> #include <sys/time.h>
> +#define __user
> #endif
> -#include <linux/compiler.h>
> #include <linux/ioctl.h>
> #include <linux/types.h>
> ===============================================================

This suggest a respin of v4l packages, I'll see what that implies. Last
time I checked the backport tree wasn't being maintained anymore.
--
http://thimm.gr/ - http://ATrpms.net/
Attachments: signature.asc (0.19 KB)


atrpms.lists at burns

Nov 24, 2010, 2:56 PM

Post #24 of 45 (1771 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 24 November 2010 09:05, Axel Thimm <Axel.Thimm [at] atrpms> wrote:

> On Mon, 2010-11-22 at 22:26 +0000, Andy Burns wrote:
>
>> Axel, any reason those sqlite packages appear not to be published in testing?
>
> I'm not sure what you mean, you did pick them up from their published
> location in testing. Do you mean that your yum did not see these
> packages? Maybe a yum misconfiguration?

Yes, I mean yum didn't see them, I did used to have priorities set on
atrpms and rpmforge repos, now I have removed the priorities, and have
them both disabled by default, and was just using --enablerepo=atrpms*
but it still wouldn't pick up sqlite 3.6.x I had to use rpmfind to see
that they existed and got them via wget ...

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel


atrpms.lists at burns

Nov 24, 2010, 3:03 PM

Post #25 of 45 (1766 views)
Permalink
Re: building mythtv 0.24 on el5, status and instructions [In reply to]

On 24 November 2010 09:10, Axel Thimm <Axel.Thimm [at] atrpms> wrote:

> The errors mean that some plugins have not been built, e.g. you will
> have to browse back to the front of your build logs and see why
> mythweather and mythnetvision did not build.

Logs? I just saw about a zillion lines of deprecation warnings go
whizzing past, didn't keep them ;-)

I'll do another build and capture stderr/stdout.

I thought it was odd that some "theme" related parts were missing,
especially as myttv-themes was the only 0.24 rpm you'd previously
built, but it makes sense if they're part of those two programs ...

_______________________________________________
atrpms-devel mailing list
atrpms-devel [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-devel

First page Previous page 1 2 Next page Last page  View All atrpms devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.