Re: mythtv 0.21 - trouble compiling the port
Hello Greg, 2009/4/23 Greg Larkin : > I have a prepared commits for mythtv and mythtv-frontend and am doing a > Tinderbox build just to make sure there aren't any silly errors present. Good to see that you are still working on the port. I will post any results / discussions on the freebsd-multmiedia mailinglist. I am trying to test the port, but have run into a strange problem, described in this thread[1] on the freebsd-multimedia mailinglist. You might want to read it, in case this is related to the port somehow. References: 1) http://docs.freebsd.org/cgi/getmsg.cgi?fetch=204022+0+archive/2009/freebsd-multimedia/20090419.freebsd-multimedia -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
On Thu, April 23, 2009 4:14 am, Greg Larkin wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bernhard Fröhlich wrote: > [...] >> >> Yes, that is correct. It took me some time to figure out why that only >> affects multimedia/mythtv and not the multimedia/mythtv-frontend port >> though they are nearly the same. The reason is that the mythtranscode >> patch got lost on the way because it was included in my PR but is not in >> the repository. So i have reattached it now. >> >> It is nearly useless to test them in a tinderbox because the problems >> are >> all conflicts with an installed ffmpeg and that does not happen in a >> tinderbox build. > > Hi Bernhard, > > I have a prepared commits for mythtv and mythtv-frontend and am doing a > Tinderbox build just to make sure there aren't any silly errors present. > > Since you mentioned that ffmpeg has caused conflicts previously, can you > tell me how to configure and install it so I can run a separate mythtv > compilation to make sure the patches I have are correct? Just installing the multimedia/ffmpeg port without any enabled options is enough. Then build mythtv with ARTS. The problem is that mythtv includes files from /usr/local/include/libavcodec if it is present but it should never do that because it has his own ffmpeg version included in his source and really wants to build with that. The bug that leads to this is that they use -I../libavcodec as part of their include path whenever they need their ffmpeg headers and put it at the end of the include path. But it happens that configure has already put -I/usr/local/include/arts to the include path and -I/usr/local/include/arts + -I../libavcodec = /usr/local/include/arts/../libavcodec which results in including the system ffmpeg headers - which is wrong, not supported and fails in many strange ways. A simple fix is to put -I../libavcodec at the beginning of the include path then the compiler finds myhttv's ffmpeg headers first and everything works as expected. That errors probably never came up because it only fails when the system ffmpeg headers and the included from mythtv are different in an incompatible way. It is possible that there are more of that wrong include paths that haven't been patched yet but i haven't tested it yet. The easiest check would be to install multimedia/ffmpeg and corrupt each header file of it by adding "#error GOT YOU" at the beginning or something else that needs the compiler to give up and raise an error whenever it happens to include one of the system ffmpeg headers. Then build mythtv with ARTS support and cross your fingers. -- Bernhard Fröhlich http://www.bluelife.at/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernhard Fröhlich wrote: [...] > > Yes, that is correct. It took me some time to figure out why that only > affects multimedia/mythtv and not the multimedia/mythtv-frontend port > though they are nearly the same. The reason is that the mythtranscode > patch got lost on the way because it was included in my PR but is not in > the repository. So i have reattached it now. > > It is nearly useless to test them in a tinderbox because the problems are > all conflicts with an installed ffmpeg and that does not happen in a > tinderbox build. Hi Bernhard, I have a prepared commits for mythtv and mythtv-frontend and am doing a Tinderbox build just to make sure there aren't any silly errors present. Since you mentioned that ffmpeg has caused conflicts previously, can you tell me how to configure and install it so I can run a separate mythtv compilation to make sure the patches I have are correct? Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ78700sRouByUApARAtcuAJ4wLgaSeOFqe8QS+9mBfFVmj2TajACcCoJo uPApUx7BwuP233jHwM1pAsM= =YNRx -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
Hi, 2009/4/17 Greg Larkin : > Would you mind applying this small patch to mythtv/files/pkg-install.in? > > http://people.freebsd.org/~glarkin/diffs/mythtv-pkg-install.in.diff Not at all. :-) > Since the "Unable to start mysqld" message is emitted in two different > places, I'd like to know which one you are getting. I think that the > spurious error might be caused by checking for the process existence too > quickly, but I could be wrong. > > If you have a chance to re-install the port, let me know which message > appears now when it attempts to start mysqld. Here goes: Added group "mythtv". Added user "mythtv". Starting mysql. 2: *** Unable to start mysqld *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. HTH, Have a nice weekend, everybody! -- Regards, Torfinn ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
On Thu, 16 Apr 2009 18:23:27 -0400 Greg Larkin wrote: > Bernhard Fröhlich wrote: > > On Mon, April 13, 2009 8:34 pm, Torfinn Ingolfsen wrote: > >> Hello, > >> > >> 2009/4/13 Bernhard Fröhlich : > >>> Here are the patches that i've needed to get both ports working again. > >>> > >>> > >>> multimedia/mythtv: > >>> > >>> http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro > >>> http://home.bluelife.at/ports/mythtv/patch-programs-mythtranscode-mythtranscode.pro > >> On a freshly updated ports tree and with those two patches, I still > >> get this error: > >> g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch > >> -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor > >> -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT > >> [snip] > > > > Looks like another missing patch. Now i've double checked with your list > > and this is the last missing one. (also taken from mythtv-frontend) > > > > http://home.bluelife.at/ports/mythtv/patch-libs-libmythtv-libmythtv.pro > > > > > >>> multimedia/mythtv-frontend: > >>> > >>> http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro > >> But 'make' in mythtv-frontend works with this patch (completes without > >> errors), on the same machine. > Thanks very much for all of the work organizing the patches. The ports > tree is frozen right now, but once it thaws, I'll commit these changes. Well, but patches that recover ports are accepted. This is the main goal of ports freezing. Just ask an approval from port...@. WBR -- bsam ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Torfinn Ingolfsen wrote: > Hi, > > 2009/4/13 Bernhard Fröhlich : >> Looks like another missing patch. Now i've double checked with your list >> and this is the last missing one. (also taken from mythtv-frontend) >> >> http://home.bluelife.at/ports/mythtv/patch-libs-libmythtv-libmythtv.pro > > Yes, now 'make' in mythtv woks as expected. Thank you. :-) > > However, 'make install' fails if mysql is not running: > > Added group "mythtv". > Added user "mythtv". > Starting mysql. > *** Unable to start mysqld > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > > The port is lying about not being able to start mysql: > > r...@kg-quiet# /usr/local/etc/rc.d/mysql-server status > mysql is running as pid 34965. > > > If I run 'make install' with mysql running, it works as expected. > I'm not really sure how this should be handled. > Perphaps the port should just tell the user that it was unable to > install the database, and tel her / hom how to do it manually? > Hi Torfinn, Would you mind applying this small patch to mythtv/files/pkg-install.in? http://people.freebsd.org/~glarkin/diffs/mythtv-pkg-install.in.diff Since the "Unable to start mysqld" message is emitted in two different places, I'd like to know which one you are getting. I think that the spurious error might be caused by checking for the process existence too quickly, but I could be wrong. If you have a chance to re-install the port, let me know which message appears now when it attempts to start mysqld. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ57HL0sRouByUApARAk6bAJ4/xRvhnUi0vCHuVnU/QaRVdf0wWQCgv5J6 ozMf2y9Zh6yfsqZWMVCmgO4= =+clW -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernhard Fröhlich wrote: > On Mon, April 13, 2009 8:34 pm, Torfinn Ingolfsen wrote: >> Hello, >> >> 2009/4/13 Bernhard Fröhlich : >>> Here are the patches that i've needed to get both ports working again. >>> >>> >>> multimedia/mythtv: >>> >>> http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro >>> http://home.bluelife.at/ports/mythtv/patch-programs-mythtranscode-mythtranscode.pro >> On a freshly updated ports tree and with those two patches, I still >> get this error: >> g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch >> -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor >> -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT >> [snip] > > Looks like another missing patch. Now i've double checked with your list > and this is the last missing one. (also taken from mythtv-frontend) > > http://home.bluelife.at/ports/mythtv/patch-libs-libmythtv-libmythtv.pro > > >>> multimedia/mythtv-frontend: >>> >>> http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro >> But 'make' in mythtv-frontend works with this patch (completes without >> errors), on the same machine. > > Jiha :o) > > Hi Bernhard, Thanks very much for all of the work organizing the patches. The ports tree is frozen right now, but once it thaws, I'll commit these changes. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ56/f0sRouByUApARAqFeAJ9gWAEc/smiDBmLZ/j9I4aZWOJ3oQCfXKV5 sblVMa7eXl+i2ah5GI7Oztw= =q6l/ -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
Hi, 2009/4/13 Bernhard Fröhlich : > Looks like another missing patch. Now i've double checked with your list > and this is the last missing one. (also taken from mythtv-frontend) > > http://home.bluelife.at/ports/mythtv/patch-libs-libmythtv-libmythtv.pro Yes, now 'make' in mythtv woks as expected. Thank you. :-) However, 'make install' fails if mysql is not running: Added group "mythtv". Added user "mythtv". Starting mysql. *** Unable to start mysqld *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. The port is lying about not being able to start mysql: r...@kg-quiet# /usr/local/etc/rc.d/mysql-server status mysql is running as pid 34965. If I run 'make install' with mysql running, it works as expected. I'm not really sure how this should be handled. Perphaps the port should just tell the user that it was unable to install the database, and tel her / hom how to do it manually? -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
On Mon, April 13, 2009 8:34 pm, Torfinn Ingolfsen wrote: > Hello, > > 2009/4/13 Bernhard Fröhlich : >> Here are the patches that i've needed to get both ports working again. >> >> >> multimedia/mythtv: >> >> http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro >> http://home.bluelife.at/ports/mythtv/patch-programs-mythtranscode-mythtranscode.pro > > On a freshly updated ports tree and with those two patches, I still > get this error: > g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch > -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor > -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT > [snip] Looks like another missing patch. Now i've double checked with your list and this is the last missing one. (also taken from mythtv-frontend) http://home.bluelife.at/ports/mythtv/patch-libs-libmythtv-libmythtv.pro >> multimedia/mythtv-frontend: >> >> http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro > > But 'make' in mythtv-frontend works with this patch (completes without > errors), on the same machine. Jiha :o) -- Bernhard Fröhlich http://www.bluelife.at/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
Hello, 2009/4/13 Bernhard Fröhlich : > Here are the patches that i've needed to get both ports working again. > > > multimedia/mythtv: > > http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro > http://home.bluelife.at/ports/mythtv/patch-programs-mythtranscode-mythtranscode.pro On a freshly updated ports tree and with those two patches, I still get this error: g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 -DUSING_XV -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../local/include -I../.. -I.. -I. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/UsageEnvironment/include -I../../../../../../../local/include -I/usr/local/include -o pespacket.o mpeg/pespacket.cpp In file included from mpeg/pespacket.cpp:9: /usr/local/include/artsc/../libavcodec/avcodec.h:2353: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/artsc/../libavcodec/avcodec.h:2347) /usr/local/include/artsc/../libavcodec/avcodec.h:2363: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/artsc/../libavcodec/avcodec.h:2347) mpeg/pespacket.cpp: In member function 'uint PESPacket::CalcCRC() const': mpeg/pespacket.cpp:160: error: 'av_crc04C11DB7' was not declared in this scope gmake[2]: *** [pespacket.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmythtv' gmake[1]: *** [sub-libmythtv] Error 2 gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs' gmake: *** [sub-libs] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. This is on a machine running: r...@kg-quiet# uname -a FreeBSD kg-quiet.kg4.no 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3: Sun Mar 29 14:46:57 CEST 2009 r...@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET amd64 Do I need to do something more than dropping the patches into 'files'? This is the contents of the 'files' drirctory: r...@kg-quiet# pwd /usr/ports/multimedia/mythtv r...@kg-quiet# ls -l files total 40 -rw-r--r-- 1 root wheel 764 Jan 17 2007 makedb -rw-r--r-- 1 root wheel 592 Feb 27 2007 mythbackend.in -rw-r--r-- 1 root wheel 935 Mar 20 22:59 patch-configure -rw-r--r-- 1 root wheel 1190 Mar 30 23:31 patch-libs-libmyth-libmyth.pro -rw-r--r-- 1 root wheel 428 Mar 10 22:08 patch-libs__libmyth__compat.h -rw-r--r-- 1 root wheel 338 Mar 10 22:08 patch-libs__libmyth__util.cpp -rw-r--r-- 1 root wheel 400 Mar 10 22:08 patch-libs__libmythdvdnav__dvd_input.c -rw-r--r-- 1 root wheel 293 Mar 10 22:08 patch-libs__libmythdvdnav__dvdnav_internal.h -rw-r--r-- 1 root wheel 437 Mar 10 22:08 patch-libs__libmythfreemheg__Programs.cpp -rw-r--r-- 1 root wheel 386 Mar 10 22:08 patch-libs__libmythtv__cardutil.cpp -rw-r--r-- 1 root wheel 1457 Mar 10 22:08 patch-libs__libmythupnp__httprequest.cpp -rw-r--r-- 1 root wheel 510 Apr 12 15:44 patch-programs-mythtranscode-mythtranscode.pro -rw-r--r-- 1 root wheel 738 Mar 10 22:08 patch-programs__mythbackend__mainserver.cpp -rw-r--r-- 1 root wheel 456 Mar 10 22:08 patch-programs__mythbackend__scheduler.cpp -rw-r--r-- 1 root wheel 458 Mar 10 22:08 patch-programs__mythfrontend__main.cpp -rw-r--r-- 1 root wheel 500 Mar 10 22:08 patch-programs__mythtv-setup__backendsettings.cpp -rw-r--r-- 1 root wheel 417 Mar 10 22:08 pkg-deinstall.in -rw-r--r-- 1 root wheel 2268 Mar 16 20:10 pkg-install.in -rw-r--r-- 1 root wheel 280 Mar 10 22:08 pkg-message.in > multimedia/mythtv-frontend: > > http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro But 'make' in mythtv-frontend works with this patch (completes without errors), on the same machine. HTH -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
On Mon, April 13, 2009 9:22 am, Torfinn Ingolfsen wrote: > Hello, > > 2009/4/12 Greg Larkin : >> Hi Bernhard, >> >> Thank you for preparing that patch. I am testing it now on my machine >> here, and I will commit the change once verified. >> >> Can anyone else that has had compile errors on this OS/arch combination >> verify that Bernhard's patch has solved the compile problem? > > A small correction here: Bernhard's patch solves *one* compile > problem, there are still one (or more) compilation problem(s) after > applying his patch. Please see the other messages in this thread. Yes, that is correct. It took me some time to figure out why that only affects multimedia/mythtv and not the multimedia/mythtv-frontend port though they are nearly the same. The reason is that the mythtranscode patch got lost on the way because it was included in my PR but is not in the repository. So i have reattached it now. It is nearly useless to test them in a tinderbox because the problems are all conflicts with an installed ffmpeg and that does not happen in a tinderbox build. Here are the patches that i've needed to get both ports working again. multimedia/mythtv: http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro http://home.bluelife.at/ports/mythtv/patch-programs-mythtranscode-mythtranscode.pro multimedia/mythtv-frontend: http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro The good news is, that i've talked to the mythtv developers yesterday and they have already fixed the include path problems that we regularly stumble across. So that should not happen again with mythtv 0.22 Thanks to the testers! -- Bernhard Fröhlich http://www.bluelife.at/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
Hello, 2009/4/12 Greg Larkin : > Hi Bernhard, > > Thank you for preparing that patch. I am testing it now on my machine > here, and I will commit the change once verified. > > Can anyone else that has had compile errors on this OS/arch combination > verify that Bernhard's patch has solved the compile problem? A small correction here: Bernhard's patch solves *one* compile problem, there are still one (or more) compilation problem(s) after applying his patch. Please see the other messages in this thread. HTH -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernhard Fröhlich wrote: > On Mon, March 30, 2009 7:54 pm, Torfinn Ingolfsen wrote: >> Hi, >> I am trying to install the mythtv 0.21 port (multimedia/mythtv) under >> FreeBSd 7.2-prerelease/amd64: >> r...@kg-quiet# uname -a >> FreeBSD kg-quiet.kg4.no 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3: Sun >> Mar 29 14:46:57 CEST 2009 >> r...@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET amd64 >> and ports tree updated yesterday: >> r...@kg-quiet# ll /usr/ports/IN* >> -rw-r--r-- 1 root wheel 19094389 Mar 29 12:14 /usr/ports/INDEX-7 >> -rw-r--r-- 1 root wheel 1261454 Mar 29 09:35 /usr/ports/INDEX-7.bz2 >> -rw-r--r-- 1 root wheel 33808384 Mar 29 12:15 /usr/ports/INDEX-7.db >> >> However, when I do >> cd /usr/ports/multimedia/mythtv >> make >> >> it barfs after a while with: [...] >> >> Stop in /usr/ports/multimedia/mythtv. >> >> Any hints? > > Yeah i can reproduce that too. It's because it takes libavcodec from the > system path which is wrong. Attached patch fixes that problem but then I > get another compile error with Intel XvMC in mythtranscode. That one > probably needs further investigation but it might not bite you if you > don't have intel onboard graphics. > > This patch should fix the above problem: (as usual throw it in mythtv/files) > > http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro > > > --- libs/libmyth/libmyth.pro.orig 2009-03-30 22:55:47.0 +0200 > +++ libs/libmyth/libmyth.pro 2009-03-30 22:58:01.0 +0200 > @@ -43,14 +43,14 @@ > SOURCES += volumebase.cpp volumecontrol.cpp virtualkeyboard.cpp xmlparse.cpp > SOURCES += mythhdd.cpp mythcdrom.cpp storagegroup.cpp dbutil.cpp > > -INCLUDEPATH += ../libmythsamplerate ../libmythsoundtouch > ../libmythfreesurround > -INCLUDEPATH += ../libavcodec ../libavutil > -INCLUDEPATH += ../.. ../ ./ > -DEPENDPATH += ../libmythsamplerate ../libmythsoundtouch > -DEPENDPATH += ../libmythfreesurround > -DEPENDPATH += ../libavcodec ../libavutil > -DEPENDPATH += ../ ../libmythui > -DEPENDPATH += ../libmythupnp > +INCLUDEPATH = ../libmythsamplerate ../libmythsoundtouch > ../libmythfreesurround $${INCLUDEPATH} > +INCLUDEPATH = ../libavcodec ../libavutil $${INCLUDEPATH} > +INCLUDEPATH = ../.. ../ ./ $${INCLUDEPATH} > +DEPENDPATH = ../libmythsamplerate ../libmythsoundtouch $${DEPENDPATH} > +DEPENDPATH = ../libmythfreesurround $${DEPENDPATH} > +DEPENDPATH = ../libavcodec ../libavutil $${DEPENDPATH} > +DEPENDPATH = ../ ../libmythui $${DEPENDPATH} > +DEPENDPATH = ../libmythupnp $${DEPENDPATH} > > > LIBS += -L../libmythsamplerate -lmythsamplerate-$${LIBVERSION} > > > Hi Bernhard, Thank you for preparing that patch. I am testing it now on my machine here, and I will commit the change once verified. Can anyone else that has had compile errors on this OS/arch combination verify that Bernhard's patch has solved the compile problem? Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ4WFs0sRouByUApARApDjAJ9UdqW+aQVnkEDyRRmglJ5Oe8hLnwCfQkMc QVtbnQQiYDvcO2p/xnEj1RE= =xjXA -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
Hello, 2009/3/30 Bernhard Fröhlich : > Yeah i can reproduce that too. It's because it takes libavcodec from the > system path which is wrong. Attached patch fixes that problem but then I > get another compile error with Intel XvMC in mythtranscode. That one > probably needs further investigation but it might not bite you if you > don't have intel onboard graphics. > > This patch should fix the above problem: (as usual throw it in mythtv/files) > > http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro Today I had some time, so I tried compiling mythtv with your patch. It got a bit further, but then failed on this: g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_X11 -DUSING_XV -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../local/include -I../.. -I.. -I. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/UsageEnvironment/include -I../../../../../../../local/include -I/usr/local/include -o pespacket.o mpeg/pespacket.cpp In file included from mpeg/pespacket.cpp:9: /usr/local/include/artsc/../libavcodec/avcodec.h:2353: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/artsc/../libavcodec/avcodec.h:2347) /usr/local/include/artsc/../libavcodec/avcodec.h:2363: warning: 'ImgReSampleContext' is deprecated (declared at /usr/local/include/artsc/../libavcodec/avcodec.h:2347) mpeg/pespacket.cpp: In member function 'uint PESPacket::CalcCRC() const': mpeg/pespacket.cpp:160: error: 'av_crc04C11DB7' was not declared in this scope gmake[2]: *** [pespacket.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmythtv' gmake[1]: *** [sub-libmythtv] Error 2 gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs' gmake: *** [sub-libs] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. Sigh... it really shouldnt be this hard. -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
On Mon, March 30, 2009 7:54 pm, Torfinn Ingolfsen wrote: > Hi, > I am trying to install the mythtv 0.21 port (multimedia/mythtv) under > FreeBSd 7.2-prerelease/amd64: > r...@kg-quiet# uname -a > FreeBSD kg-quiet.kg4.no 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3: Sun > Mar 29 14:46:57 CEST 2009 > r...@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET amd64 > and ports tree updated yesterday: > r...@kg-quiet# ll /usr/ports/IN* > -rw-r--r-- 1 root wheel 19094389 Mar 29 12:14 /usr/ports/INDEX-7 > -rw-r--r-- 1 root wheel 1261454 Mar 29 09:35 /usr/ports/INDEX-7.bz2 > -rw-r--r-- 1 root wheel 33808384 Mar 29 12:15 /usr/ports/INDEX-7.db > > However, when I do > cd /usr/ports/multimedia/mythtv > make > > it barfs after a while with: > gmake[2]: Entering directory > `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' > g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch > -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor > -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC > -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 > -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS > -DUSE_ARTS -DUSING_X11 -DUSING_XRANDR -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT > -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. > -I../../../../../../../local/include > -I../../../../../../../local/include -I../libmythsamplerate > -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec > -I../libavutil -I../.. -I.. -I. -I../../../../../../../local/include > -I/usr/local/include -o audiooutput.o audiooutput.cpp > g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch > -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor > -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC > -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 > -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS > -DUSE_ARTS -DUSING_X11 -DUSING_XRANDR -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT > -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. > -I../../../../../../../local/include > -I../../../../../../../local/include -I../libmythsamplerate > -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec > -I../libavutil -I../.. -I.. -I. -I../../../../../../../local/include > -I/usr/local/include -o audiooutputbase.o audiooutputbase.cpp > In file included from audiooutputdigitalencoder.h:5, > from audiooutputbase.cpp:19: > ../../../../../../../local/include/libavcodec/avcodec.h:2353: warning: > 'ImgReSampleContext' is deprecated (declared at > ../../../../../../../local/include/libavcodec/avcodec.h:2347) > ../../../../../../../local/include/libavcodec/avcodec.h:2363: warning: > 'ImgReSampleContext' is deprecated (declared at > ../../../../../../../local/include/libavcodec/avcodec.h:2347) > audiooutputbase.cpp: In member function 'virtual void > AudioOutputBase::Reconfigure(int, int, int, bool, void*)': > audiooutputbase.cpp:360: error: 'codec_id_string' was not declared in this > scope > gmake[2]: *** [audiooutputbase.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' > gmake[1]: *** [sub-libmyth] Error 2 > gmake[1]: Leaving directory > `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs' > gmake: *** [sub-libs] Error 2 > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv. > > Any hints? Yeah i can reproduce that too. It's because it takes libavcodec from the system path which is wrong. Attached patch fixes that problem but then I get another compile error with Intel XvMC in mythtranscode. That one probably needs further investigation but it might not bite you if you don't have intel onboard graphics. This patch should fix the above problem: (as usual throw it in mythtv/files) http://home.bluelife.at/ports/mythtv/patch-libs-libmyth-libmyth.pro --- libs/libmyth/libmyth.pro.orig 2009-03-30 22:55:47.0 +0200 +++ libs/libmyth/libmyth.pro2009-03-30 22:58:01.0 +0200 @@ -43,14 +43,14 @@ SOURCES += volumebase.cpp volumecontrol.cpp virtualkeyboard.cpp xmlparse.cpp SOURCES += mythhdd.cpp mythcdrom.cpp storagegroup.cpp dbutil.cpp -INCLUDEPATH += ../libmythsamplerate ../libmythsoundtouch ../libmythfreesurround -INCLUDEPATH += ../libavcodec ../libavutil -INCLUDEPATH += ../.. ../ ./ -DEPENDPATH += ../libmythsamplerate ../libmythsoundtouch -DEPENDPATH += ../libmythfreesurround -DEPENDPATH += ../libavcodec ../libavutil -DEPENDPATH += ../ ../libmythui -DEPENDPATH += ../libmythupnp +INCLUDEPATH = ../libmythsamplerate ../libmythsoundtouch ../libmythfreesurround $${INCLUDEPATH} +INCLUDEPATH = ../libavcodec ../libavutil $${INCLUDEPATH} +INCLUDEPATH = ../.. ../ ./ $${INCLUDEPATH} +DEPENDPATH = ../libmythsamplerate ../libmythsoundtou
Re: mythtv 0.21 - trouble compiling the port
On March 30, 2009 1:52 pm Torfinn Ingolfsen wrote: > Hi, > > On Mon, Mar 30, 2009 at 7:54 PM, Torfinn Ingolfsen wrote: > > Any hints? > > It fails under FreeBSD 7.1-stable as well: > r...@kg-v2# uname -a > FreeBSD kg-v2.kg4.no 7.1-STABLE FreeBSD 7.1-STABLE #4: Fri Jan 16 > 18:32:55 CET 2009 r...@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC > amd64 It fails in the same place on FreeBSD 7.1-RELEASE, with ports updated today shortly before noon PDT. FreeBSD rogue.ashesofthe.net 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Jan 3 23:43:49 PST 2009 r...@rogue.ashesofthe.net:/usr/obj/usr/src/sys/ROGUE i386 -- Freddie fjwc...@gmail.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: mythtv 0.21 - trouble compiling the port
Hi, On Mon, Mar 30, 2009 at 7:54 PM, Torfinn Ingolfsen wrote: > Any hints? It fails under FreeBSD 7.1-stable as well: r...@kg-v2# uname -a FreeBSD kg-v2.kg4.no 7.1-STABLE FreeBSD 7.1-STABLE #4: Fri Jan 16 18:32:55 CET 2009 r...@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ARTS -DUSING_X11 -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../local/include -I../libmythsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec -I../libavutil -I../.. -I.. -I. -I../../../../../../../local/include -I/usr/local/include -o audiooutputbase.o audiooutputbase.cpp In file included from audiooutputdigitalencoder.h:5, from audiooutputbase.cpp:19: ../../../../../../../local/include/libavcodec/avcodec.h:2353: warning: 'ImgReSampleContext' is deprecated (declared at ../../../../../../../local/include/libavcodec/avcodec.h:2347) ../../../../../../../local/include/libavcodec/avcodec.h:2363: warning: 'ImgReSampleContext' is deprecated (declared at ../../../../../../../local/include/libavcodec/avcodec.h:2347) audiooutputbase.cpp: In member function 'virtual void AudioOutputBase::Reconfigure(int, int, int, bool, void*)': audiooutputbase.cpp:360: error: 'codec_id_string' was not declared in this scope gmake[2]: *** [audiooutputbase.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' gmake[1]: *** [sub-libmyth] Error 2 gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs' gmake: *** [sub-libs] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20090330-86167-b2pb06-0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! multimedia/mythtv (permission denied) -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
mythtv 0.21 - trouble compiling the port
Hi, I am trying to install the mythtv 0.21 port (multimedia/mythtv) under FreeBSd 7.2-prerelease/amd64: r...@kg-quiet# uname -a FreeBSD kg-quiet.kg4.no 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3: Sun Mar 29 14:46:57 CEST 2009 r...@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET amd64 and ports tree updated yesterday: r...@kg-quiet# ll /usr/ports/IN* -rw-r--r-- 1 root wheel 19094389 Mar 29 12:14 /usr/ports/INDEX-7 -rw-r--r-- 1 root wheel 1261454 Mar 29 09:35 /usr/ports/INDEX-7.bz2 -rw-r--r-- 1 root wheel 33808384 Mar 29 12:15 /usr/ports/INDEX-7.db However, when I do cd /usr/ports/multimedia/mythtv make it barfs after a while with: gmake[2]: Entering directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ARTS -DUSING_X11 -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../local/include -I../libmythsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec -I../libavutil -I../.. -I.. -I. -I../../../../../../../local/include -I/usr/local/include -o audiooutput.o audiooutput.cpp g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -I/usr/local/include/artsc -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ARTS -DUSING_X11 -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../../../../../local/include -I../../../../../../../local/include -I../libmythsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec -I../libavutil -I../.. -I.. -I. -I../../../../../../../local/include -I/usr/local/include -o audiooutputbase.o audiooutputbase.cpp In file included from audiooutputdigitalencoder.h:5, from audiooutputbase.cpp:19: ../../../../../../../local/include/libavcodec/avcodec.h:2353: warning: 'ImgReSampleContext' is deprecated (declared at ../../../../../../../local/include/libavcodec/avcodec.h:2347) ../../../../../../../local/include/libavcodec/avcodec.h:2363: warning: 'ImgReSampleContext' is deprecated (declared at ../../../../../../../local/include/libavcodec/avcodec.h:2347) audiooutputbase.cpp: In member function 'virtual void AudioOutputBase::Reconfigure(int, int, int, bool, void*)': audiooutputbase.cpp:360: error: 'codec_id_string' was not declared in this scope gmake[2]: *** [audiooutputbase.o] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs/libmyth' gmake[1]: *** [sub-libmyth] Error 2 gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.21/libs' gmake: *** [sub-libs] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. Any hints? -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"