From owner-freebsd-multimedia@FreeBSD.ORG Mon Nov 10 22:19:32 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D3F1065678; Mon, 10 Nov 2008 22:19:32 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [213.47.211.116]) by mx1.freebsd.org (Postfix) with ESMTP id 929B78FC1B; Mon, 10 Nov 2008 22:19:31 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from [78.142.74.81] (helo=chii.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1Kzf6O-00035v-8r; Mon, 10 Nov 2008 23:19:27 +0100 Date: Mon, 10 Nov 2008 23:19:20 +0100 From: Bernhard Froehlich To: Torfinn Ingolfsen Message-ID: <20081110231920.78c38e21@chii.bluelife.at> In-Reply-To: <20081109125253.41488c7a.torfinn.ingolfsen@broadpark.no> References: <20080921180743.313a5a08@chii.bluelife.at> <200809212243.05068.shoesoft@gmx.net> <200809222219.14268.shoesoft@gmx.net> <20080924214956.6936e491@chii.bluelife.at> <20081102012335.e7465e42.torfinn.ingolfsen@broadpark.no> <20081104225543.6f45897f@chii.bluelife.at> <20081109125253.41488c7a.torfinn.ingolfsen@broadpark.no> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/B=rkWebngq+4ywZNeM6mFvY" X-Spam-Score: -1.4 (-) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, 09 Nov 2008 12:52:53 +0100 Torfinn Ingolfsen wrote: > On Tue, 04 Nov 2008 22:55:43 +0100 > Bernhard Froehlich wrote: > > > I've also updated my archive to include that patch: > > > > http://home.bluelife.at/ports/mythtv-cft-041108.tar.gz > > MythTV seems to be a tough beast to tame. :-) > I decided to test the archive above on a new machine, this time a SMP > machine running FreeBSD 5.4-prerelease: > tingo@kg-vm$ uname -a > FreeBSD kg-vm.kg4.no 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #3: Sun Nov 2 10:44:32 CET 2008 root@kg-vm.kg4.no:/usr/obj/usr/src/sys/SMP amd64 > > Note: this machine has not had any MythTV ports installed before, and I am not doing anything > "behind the scenes" here - I just untar the archive and do 'make' and 'make install'. I select default options. > Here goes: > > root@kg-vm# pwd > /usr/ports/multimedia/mythtv-frontend > root@kg-vm# uname -a > FreeBSD kg-vm.kg4.no 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #3: Sun Nov 2 10:44:32 CET 2008 root@kg-vm.kg4.no:/usr/obj/usr/src/sys/SMP amd64 > root@kg-vm# make clean > ===> Cleaning for qmake-3.3.8_1 > ===> Cleaning for qt-3.3.8_9 > ===> Cleaning for lame-3.97_1 > ===> Cleaning for libmng-1.0.10 > ===> Cleaning for lcms-1.17, 1 > ===> Cleaning for mythtv-frontend-0.21 > > [snip] > > cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DHAVE_XVMC_VLD -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I. -I.. -I../.. -I../libavutil -I../libswscale -I../../../../../../../local/include -I/usr/local/include -o allcodecs.o allcodecs.c > allcodecs.c: In function `avcodec_register_all': > allcodecs.c:119: error: `ENABLE_MSZH_DECODER' undeclared (first use in this function) > allcodecs.c:119: error: (Each undeclared identifier is reported only once > allcodecs.c:119: error: for each [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 DNS_FROM_SECURITYSAGE RBL: Envelope sender in blackholes.securitysage.com -0.1 AWL AWL: From: address is in the auto white-list Cc: freebsd-multimedia@freebsd.org, glarkin@FreeBSD.org Subject: Re: CFT: MythTV Fixes X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 22:19:32 -0000 --MP_/B=rkWebngq+4ywZNeM6mFvY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sun, 09 Nov 2008 12:52:53 +0100 Torfinn Ingolfsen wrote: > On Tue, 04 Nov 2008 22:55:43 +0100 > Bernhard Froehlich wrote: > > > I've also updated my archive to include that patch: > > > > http://home.bluelife.at/ports/mythtv-cft-041108.tar.gz > > MythTV seems to be a tough beast to tame. :-) > I decided to test the archive above on a new machine, this time a SMP > machine running FreeBSD 5.4-prerelease: > tingo@kg-vm$ uname -a > FreeBSD kg-vm.kg4.no 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #3: Sun Nov 2 10:44:32 CET 2008 root@kg-vm.kg4.no:/usr/obj/usr/src/sys/SMP amd64 > > Note: this machine has not had any MythTV ports installed before, and I am not doing anything > "behind the scenes" here - I just untar the archive and do 'make' and 'make install'. I select default options. > Here goes: > > root@kg-vm# pwd > /usr/ports/multimedia/mythtv-frontend > root@kg-vm# uname -a > FreeBSD kg-vm.kg4.no 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #3: Sun Nov 2 10:44:32 CET 2008 root@kg-vm.kg4.no:/usr/obj/usr/src/sys/SMP amd64 > root@kg-vm# make clean > ===> Cleaning for qmake-3.3.8_1 > ===> Cleaning for qt-3.3.8_9 > ===> Cleaning for lame-3.97_1 > ===> Cleaning for libmng-1.0.10 > ===> Cleaning for lcms-1.17,1 > ===> Cleaning for mythtv-frontend-0.21 > > [snip] > > cc -c -pipe -march=k8 -fomit-frame-pointer -O3 -I/usr/local/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -DPIC -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DHAVE_XVMC_VLD -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I. -I.. -I../.. -I../libavutil -I../libswscale -I../../../../../../../local/include -I/usr/local/include -o allcodecs.o allcodecs.c > allcodecs.c: In function `avcodec_register_all': > allcodecs.c:119: error: `ENABLE_MSZH_DECODER' undeclared (first use in this function) > allcodecs.c:119: error: (Each undeclared identifier is reported only once > allcodecs.c:119: error: for each function it appears in.) > allcodecs.c:133: error: `ENABLE_RPZA_DECODER' undeclared (first use in this function) > allcodecs.c:171: error: `ENABLE_ZLIB_ENCODER' undeclared (first use in this function) > allcodecs.c:171: error: `ENABLE_ZLIB_DECODER' undeclared (first use in this function) > allcodecs.c:172: error: `ENABLE_ZMBV_ENCODER' undeclared (first use in this function) > allcodecs.c:172: error: `ENABLE_ZMBV_DECODER' undeclared (first use in this function) > allcodecs.c:228: error: `ENABLE_PCM_ZORK_ENCODER' undeclared (first use in this function) > allcodecs.c:228: error: `ENABLE_PCM_ZORK_DECODER' undeclared (first use in this function) > gmake[2]: *** [allcodecs.o] Error 1 > gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv-frontend/work/mythtv-0.21/libs/libavcodec' > gmake[1]: *** [sub-libavcodec] Error 2 > gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv-frontend/work/mythtv-0.21/libs' > gmake: *** [sub-libs] Error 2 > *** Error code 2 > > Stop in /usr/ports/multimedia/mythtv-frontend. > *** Error code 1 > > Stop in /usr/ports/multimedia/mythtv-frontend. > > HTH I've attached a patch that should fix that nasty problem now and also updated the patchset if you like that more. http://home.bluelife.at/ports/mythtv-cft-101108.tar.gz Playing Sherlock: The murder was your locale which triggered a bug in the configure script that uses "tr" to translate words into upper and lowercase. I've seen that because in my config.h there is #define CONFIG_ZLIB_DECODER 1 #define ENABLE_ZLIB_DECODER 1 and yours contained #define CONFIG_]LIB_DECODER 1 #define ENABLE_]LIB_DECODER 1 All "z" got replaced by "]" instead of "Z" which seems to be a weirdness of locales and "tr". The mythtv developers have already found and fixed that in trunk so i have taken that few lines and created a patch for that issue. Thanks for your kind help to track this one down, that was really an interesting one! -- Bernhard Froehlich http://www.bluelife.at/ --MP_/B=rkWebngq+4ywZNeM6mFvY Content-Type: application/octet-stream; name=patch-configure-toupper Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=patch-configure-toupper LS0tIGNvbmZpZ3VyZS5vcmlnCTIwMDgtMTEtMTAgMjI6NDQ6MjYuMDAwMDAwMDAwICswMTAwCisr KyBjb25maWd1cmUJMjAwOC0xMS0xMCAyMjo0NToxNi4wMDAwMDAwMDAgKzAxMDAKQEAgLTI3NCwx MyArMjc0LDEzIEBACiAgICAgZXhpdCAxCiB9CiAKLSMgInRyICdbYS16XScgJ1tBLVpdJyIgaXMg YSB3b3JrYXJvdW5kIGZvciBTb2xhcmlzIHRyIG5vdCBncm9ra2luZyAidHIgYS16IEEtWiIKKyMg QXZvaWQgbG9jYWxlIHdlaXJkbmVzcywgYmVzaWRlcyB3ZSByZWFsbHkganVzdCB3YW50IHRvIHRy YW5zbGF0ZSBBU0NJSS4KIHRvdXBwZXIoKXsKLSAgICBlY2hvICIkQCIgfCB0ciAnW2Etel0nICdb QS1aXScKKyAgICBlY2hvICIkQCIgfCB0ciBhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5eiBBQkNE RUZHSElKS0xNTk9QUVJTVFVWV1hZWgogfQogCiB0b2xvd2VyKCl7Ci0gICAgZWNobyAiJEAiIHwg dHIgJ1tBLVpdJyAnW2Etel0nCisgICAgZWNobyAiJEAiIHwgdHIgQUJDREVGR0hJSktMTU5PUFFS U1RVVldYWVogYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoKIH0KIAogc2V0X2FsbCgpewo= --MP_/B=rkWebngq+4ywZNeM6mFvY--