From owner-freebsd-ports@FreeBSD.ORG Mon Apr 13 18:34:18 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F06BF106566B; Mon, 13 Apr 2009 18:34:18 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id DD5C18FC16; Mon, 13 Apr 2009 18:34:17 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by bwz8 with SMTP id 8so2132607bwz.43 for ; Mon, 13 Apr 2009 11:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=W4GdLOFKFhog3PtPUp288MHljYVTS2KPIzDF6BPTV5Y=; b=lKSNSsHlWDMCtLMKeylhkvDPzvuVx9xkRUeY1YryLDl0nJxuZ/jd1zzwFheFF3j4We +w+1vMjD2AhavpMVlm2wjQAxy+vu6YRwbmBKyziDy7QUTn5kIuv6VlZdLYY4oBb4/zMz D98Pts1LNWPYhbpWi832UuMdOkEX1fGVlVoqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=U5mOMVq1ixLzlZuPYytju+9mbhB8tM6AkNnA9F9f4UFYStaCEjLrnrTqk8GWE242IY DIXl880rGrQNkIcBYj7/nWWYDreEWNokvSXeqs+KyPKMNVMUY76QLgrWCHoM1xm4zVn3 ppMRDEVfHTu+U0WJJdIj9P4GM68mbX9Nvhpr4= MIME-Version: 1.0 Received: by 10.223.114.208 with SMTP id f16mr1756669faq.91.1239647655648; Mon, 13 Apr 2009 11:34:15 -0700 (PDT) In-Reply-To: <8e44ebf15169796f60883e3c409bbb62.squirrel@webmail.itac.at> References: <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at> <49E1616C.5060404@FreeBSD.org> <8e44ebf15169796f60883e3c409bbb62.squirrel@webmail.itac.at> Date: Mon, 13 Apr 2009 20:34:15 +0200 Message-ID: From: Torfinn Ingolfsen To: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Ports ML Subject: Re: mythtv 0.21 - trouble compiling the port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 18:34:19 -0000 Hello, 2009/4/13 Bernhard Fr=F6hlich : > 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-mythtra= nscode.pro On a freshly updated ports tree and with those two patches, I still get this error: g++ -c -pipe -march=3Dk8 -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=3D64 -DPREFIX=3D\"/usr/local\" -DLIBDIR=3D\"/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 sc= ope 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: root@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 root@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: root@kg-quiet# pwd /usr/ports/multimedia/mythtv root@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__carduti= l.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 --=20 Regards, Torfinn Ingolfsen